Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-01 23:59:03.306764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-01 23:59:13.795127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-01 23:59:42.428139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:00:08.313882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/39/image_25042025_20_39_24_9422.jpg', '/home/pi/Desktop/images/25042025/20/40/image_25042025_20_40_15_9417.jpg', '/home/pi/Desktop/images/25042025/20/40/image_25042025_20_40_25_10381.jpg', '/home/pi/Desktop/images/25042025/20/40/image_25042025_20_40_35_10365.jpg', '/home/pi/Desktop/images/25042025/20/40/image_25042025_20_40_45_9357.jpg', '/home/pi/Desktop/images/25042025/20/40/image_25042025_20_40_55_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/39/image_25042025_20_39_24_9422.jpg
/home/pi/Desktop/images/25042025/20/40/image_25042025_20_40_15_9417.jpg
/home/pi/Desktop/images/25042025/20/40/image_25042025_20_40_25_10381.jpg
/home/pi/Desktop/images/25042025/20/40/image_25042025_20_40_35_10365.jpg
/home/pi/Desktop/images/25042025/20/40/image_25042025_20_40_45_9357.jpg
/home/pi/Desktop/images/25042025/20/40/image_25042025_20_40_55_10449.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355187930","1355187962","1355188022","1355187875","1355187902","1355187994"],"photo_ids_order":["1355187875","1355187902","1355187930","1355187962","1355187994","1355188022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16c9672b7e4d7f52fb313b38fc14b39a.jpg","text":"TemporaryFile(/tmp/multipartBody1091757228596316859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136869218,"filename":"image_25042025_20_40_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/66c88478bdffcf5a83b55784f2247879.jpg","text":"TemporaryFile(/tmp/multipartBody2415142311059619856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136869218,"filename":"image_25042025_20_40_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/5/2/e9e501fd2c9e53620af833179f74c50b.jpg","text":"TemporaryFile(/tmp/multipartBody5744724008154639670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136869218,"filename":"image_25042025_20_40_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/5/2/085f748dd9ffa428ba96bb983018751f.jpg","text":"TemporaryFile(/tmp/multipartBody2122114505779677489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136869218,"filename":"image_25042025_20_39_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2ac0e8672074b73e88cf3cec932b52b.jpg","text":"TemporaryFile(/tmp/multipartBody5997282055753587755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136869218,"filename":"image_25042025_20_40_15_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b13020e5bbde40586afc564d3197dc89.jpg","text":"TemporaryFile(/tmp/multipartBody3993970747510978430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136869218,"filename":"image_25042025_20_40_45_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355187930","file1":"1355187902","file0":"1355187875","file4":"1355187994","file5":"1355188022","file3":"1355187962"},"map_files_photo_id_array":[{"photo_id":"1355188022","filename":"file5"},{"photo_id":"1355187930","filename":"file2"},{"photo_id":"1355187994","filename":"file4"},{"photo_id":"1355187902","filename":"file1"},{"photo_id":"1355187875","filename":"file0"},{"photo_id":"1355187962","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355187930":["hashtag1","hashtag2"]},{"1355187962":["hashtag1","hashtag2"]},{"1355188022":["hashtag1","hashtag2"]},{"1355187875":["hashtag1","hashtag2"]},{"1355187902":["hashtag1","hashtag2"]},{"1355187994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355187930, 1355187962, 1355188022, 1355187875, 1355187902, 1355187994)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.44424486160278 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:01:03.234154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/40/image_25042025_20_41_04_9347.jpg', '/home/pi/Desktop/images/25042025/20/41/image_25042025_20_41_15_10505.jpg', '/home/pi/Desktop/images/25042025/20/41/image_25042025_20_41_24_9429.jpg', '/home/pi/Desktop/images/25042025/20/41/image_25042025_20_41_35_10423.jpg', '/home/pi/Desktop/images/25042025/20/41/image_25042025_20_41_45_10372.jpg', '/home/pi/Desktop/images/25042025/20/41/image_25042025_20_41_54_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/40/image_25042025_20_41_04_9347.jpg
/home/pi/Desktop/images/25042025/20/41/image_25042025_20_41_15_10505.jpg
/home/pi/Desktop/images/25042025/20/41/image_25042025_20_41_24_9429.jpg
/home/pi/Desktop/images/25042025/20/41/image_25042025_20_41_35_10423.jpg
/home/pi/Desktop/images/25042025/20/41/image_25042025_20_41_45_10372.jpg
/home/pi/Desktop/images/25042025/20/41/image_25042025_20_41_54_9346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355188251","1355188385","1355188304","1355188334","1355188276","1355188429"],"photo_ids_order":["1355188251","1355188276","1355188304","1355188334","1355188385","1355188429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/73da8d49b6235077b4afbc67460f964a.jpg","text":"TemporaryFile(/tmp/multipartBody2998977118554956538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136924990,"filename":"image_25042025_20_41_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3e7a67cd5886024be71a888ede6bb00.jpg","text":"TemporaryFile(/tmp/multipartBody1123661401378735072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136924990,"filename":"image_25042025_20_41_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/5/2/3f48ca0b38dfbf13f4711ff18425cbae.jpg","text":"TemporaryFile(/tmp/multipartBody1357777981069847493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136924990,"filename":"image_25042025_20_41_24_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d88cf5c5b9e1b53ceb823f3201a1741.jpg","text":"TemporaryFile(/tmp/multipartBody1337028329239712186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136924990,"filename":"image_25042025_20_41_35_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58e21972ff048b6e3294dabab08df281.jpg","text":"TemporaryFile(/tmp/multipartBody8719559281446473832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136924990,"filename":"image_25042025_20_41_15_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae62c571509df1fba2679c83144bcd10.jpg","text":"TemporaryFile(/tmp/multipartBody9191080816633061930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136924990,"filename":"image_25042025_20_41_54_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355188304","file1":"1355188276","file0":"1355188251","file4":"1355188385","file5":"1355188429","file3":"1355188334"},"map_files_photo_id_array":[{"photo_id":"1355188429","filename":"file5"},{"photo_id":"1355188304","filename":"file2"},{"photo_id":"1355188385","filename":"file4"},{"photo_id":"1355188276","filename":"file1"},{"photo_id":"1355188251","filename":"file0"},{"photo_id":"1355188334","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355188251":["hashtag1","hashtag2"]},{"1355188385":["hashtag1","hashtag2"]},{"1355188304":["hashtag1","hashtag2"]},{"1355188334":["hashtag1","hashtag2"]},{"1355188276":["hashtag1","hashtag2"]},{"1355188429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355188251, 1355188385, 1355188304, 1355188334, 1355188276, 1355188429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41307497024536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:01:42.188712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/41/image_25042025_20_42_05_10381.jpg', '/home/pi/Desktop/images/25042025/20/42/image_25042025_20_42_15_10414.jpg', '/home/pi/Desktop/images/25042025/20/42/image_25042025_20_42_25_9383.jpg', '/home/pi/Desktop/images/25042025/20/42/image_25042025_20_42_35_10429.jpg', '/home/pi/Desktop/images/25042025/20/42/image_25042025_20_42_44_9365.jpg', '/home/pi/Desktop/images/25042025/20/42/image_25042025_20_42_55_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/41/image_25042025_20_42_05_10381.jpg
/home/pi/Desktop/images/25042025/20/42/image_25042025_20_42_15_10414.jpg
/home/pi/Desktop/images/25042025/20/42/image_25042025_20_42_25_9383.jpg
/home/pi/Desktop/images/25042025/20/42/image_25042025_20_42_35_10429.jpg
/home/pi/Desktop/images/25042025/20/42/image_25042025_20_42_44_9365.jpg
/home/pi/Desktop/images/25042025/20/42/image_25042025_20_42_55_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355188662","1355188607","1355188690","1355188579","1355188552","1355188633"],"photo_ids_order":["1355188552","1355188579","1355188607","1355188633","1355188662","1355188690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/14aca80373adad2e11fb95d8b31bf83c.jpg","text":"TemporaryFile(/tmp/multipartBody6433988393088027456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136963657,"filename":"image_25042025_20_42_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/5/2/04c370d5df2ad9296fa4a81d3210ce19.jpg","text":"TemporaryFile(/tmp/multipartBody1895339831454138212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136963657,"filename":"image_25042025_20_42_25_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/217a5545ba3b50ca8331baad22a8b2d3.jpg","text":"TemporaryFile(/tmp/multipartBody1944644222748042573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136963657,"filename":"image_25042025_20_42_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cf5b5e28733764850b57cda8176ff1ae.jpg","text":"TemporaryFile(/tmp/multipartBody568796430907515678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136963657,"filename":"image_25042025_20_42_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/5/2/c97c3922bac9fb7ea841581014794c2c.jpg","text":"TemporaryFile(/tmp/multipartBody307442582998455211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136963657,"filename":"image_25042025_20_42_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/612fc269204a966da548b02291b8ca9e.jpg","text":"TemporaryFile(/tmp/multipartBody8791075677322248818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746136963657,"filename":"image_25042025_20_42_35_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355188607","file1":"1355188579","file0":"1355188552","file4":"1355188662","file5":"1355188690","file3":"1355188633"},"map_files_photo_id_array":[{"photo_id":"1355188690","filename":"file5"},{"photo_id":"1355188607","filename":"file2"},{"photo_id":"1355188662","filename":"file4"},{"photo_id":"1355188579","filename":"file1"},{"photo_id":"1355188552","filename":"file0"},{"photo_id":"1355188633","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355188662":["hashtag1","hashtag2"]},{"1355188607":["hashtag1","hashtag2"]},{"1355188690":["hashtag1","hashtag2"]},{"1355188579":["hashtag1","hashtag2"]},{"1355188552":["hashtag1","hashtag2"]},{"1355188633":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355188662, 1355188607, 1355188690, 1355188579, 1355188552, 1355188633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.966780185699463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:02:42.373634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/42/image_25042025_20_43_05_10379.jpg', '/home/pi/Desktop/images/25042025/20/43/image_25042025_20_43_15_9351.jpg', '/home/pi/Desktop/images/25042025/20/43/image_25042025_20_43_25_10414.jpg', '/home/pi/Desktop/images/25042025/20/43/image_25042025_20_43_34_9347.jpg', '/home/pi/Desktop/images/25042025/20/43/image_25042025_20_43_45_10475.jpg', '/home/pi/Desktop/images/25042025/20/43/image_25042025_20_43_55_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/42/image_25042025_20_43_05_10379.jpg
/home/pi/Desktop/images/25042025/20/43/image_25042025_20_43_15_9351.jpg
/home/pi/Desktop/images/25042025/20/43/image_25042025_20_43_25_10414.jpg
/home/pi/Desktop/images/25042025/20/43/image_25042025_20_43_34_9347.jpg
/home/pi/Desktop/images/25042025/20/43/image_25042025_20_43_45_10475.jpg
/home/pi/Desktop/images/25042025/20/43/image_25042025_20_43_55_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355189118","1355189089","1355189236","1355189262","1355189184","1355189142"],"photo_ids_order":["1355189089","1355189118","1355189142","1355189184","1355189236","1355189262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ab9a5c885cca9a6df90406b465a14caa.jpg","text":"TemporaryFile(/tmp/multipartBody3670385578457015864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137023845,"filename":"image_25042025_20_43_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db94e7674ddcc70e78d28f49636af916.jpg","text":"TemporaryFile(/tmp/multipartBody5520863636730418396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137023845,"filename":"image_25042025_20_43_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/5/2/bf335b59825ae2a66561c4c2449a54e0.jpg","text":"TemporaryFile(/tmp/multipartBody2111556898336858700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137023845,"filename":"image_25042025_20_43_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/5/2/c739214afd0ed654db56f28ef183d0c7.jpg","text":"TemporaryFile(/tmp/multipartBody2044541093349119580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137023845,"filename":"image_25042025_20_43_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c6c25ddcc463d8703ff065549061c53.jpg","text":"TemporaryFile(/tmp/multipartBody651759588700957433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137023845,"filename":"image_25042025_20_43_34_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4282f5d199bea4770172a13e31e98484.jpg","text":"TemporaryFile(/tmp/multipartBody5181262554614464686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137023845,"filename":"image_25042025_20_43_25_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355189142","file1":"1355189118","file0":"1355189089","file4":"1355189236","file5":"1355189262","file3":"1355189184"},"map_files_photo_id_array":[{"photo_id":"1355189262","filename":"file5"},{"photo_id":"1355189142","filename":"file2"},{"photo_id":"1355189236","filename":"file4"},{"photo_id":"1355189118","filename":"file1"},{"photo_id":"1355189089","filename":"file0"},{"photo_id":"1355189184","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355189118":["hashtag1","hashtag2"]},{"1355189089":["hashtag1","hashtag2"]},{"1355189236":["hashtag1","hashtag2"]},{"1355189262":["hashtag1","hashtag2"]},{"1355189184":["hashtag1","hashtag2"]},{"1355189142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355189118, 1355189089, 1355189236, 1355189262, 1355189184, 1355189142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.229552030563354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:03:42.713193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/43/image_25042025_20_44_05_9465.jpg', '/home/pi/Desktop/images/25042025/20/44/image_25042025_20_44_15_10506.jpg', '/home/pi/Desktop/images/25042025/20/44/image_25042025_20_44_25_9372.jpg', '/home/pi/Desktop/images/25042025/20/44/image_25042025_20_44_35_10439.jpg', '/home/pi/Desktop/images/25042025/20/44/image_25042025_20_44_44_9349.jpg', '/home/pi/Desktop/images/25042025/20/44/image_25042025_20_44_55_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/43/image_25042025_20_44_05_9465.jpg
/home/pi/Desktop/images/25042025/20/44/image_25042025_20_44_15_10506.jpg
/home/pi/Desktop/images/25042025/20/44/image_25042025_20_44_25_9372.jpg
/home/pi/Desktop/images/25042025/20/44/image_25042025_20_44_35_10439.jpg
/home/pi/Desktop/images/25042025/20/44/image_25042025_20_44_44_9349.jpg
/home/pi/Desktop/images/25042025/20/44/image_25042025_20_44_55_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":["1355189625","1355189585","1355189612","1355189621","1355189626","1355189559"],"photo_ids_order":["1355189559","1355189585","1355189612","1355189621","1355189625","1355189626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e320d8896f9b6a38a237f6c0ff65baf.jpg","text":"TemporaryFile(/tmp/multipartBody2048771827456548489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137084190,"filename":"image_25042025_20_44_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/5/2/6c2dd88cb889494dde7328850bdda5fb.jpg","text":"TemporaryFile(/tmp/multipartBody7813288261693562864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137084190,"filename":"image_25042025_20_44_15_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cf3a779f3cbb07d83a82057f34e2e7c4.jpg","text":"TemporaryFile(/tmp/multipartBody2516805411717516566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137084190,"filename":"image_25042025_20_44_25_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d01133bdcbaeb396a32f13ab70cd77f.jpg","text":"TemporaryFile(/tmp/multipartBody5214580861914644945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137084190,"filename":"image_25042025_20_44_35_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b82bf50ee5c887d1eb5d8c6188034939.jpg","text":"TemporaryFile(/tmp/multipartBody8044091700169443754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137084190,"filename":"image_25042025_20_44_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/5/2/45c3ad18a03d61d9bfb2d1b79d4225c3.jpg","text":"TemporaryFile(/tmp/multipartBody3595094839541249135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137084190,"filename":"image_25042025_20_44_05_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355189612","file1":"1355189585","file0":"1355189559","file4":"1355189625","file5":"1355189626","file3":"1355189621"},"map_files_photo_id_array":[{"photo_id":"1355189626","filename":"file5"},{"photo_id":"1355189612","filename":"file2"},{"photo_id":"1355189625","filename":"file4"},{"photo_id":"1355189585","filename":"file1"},{"photo_id":"1355189559","filename":"file0"},{"photo_id":"1355189621","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355189625":["hashtag1","hashtag2"]},{"1355189585":["hashtag1","hashtag2"]},{"1355189612":["hashtag1","hashtag2"]},{"1355189621":["hashtag1","hashtag2"]},{"1355189626":["hashtag1","hashtag2"]},{"1355189559":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355189625, 1355189585, 1355189612, 1355189621, 1355189626, 1355189559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33184742927551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:04:42.871658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/44/image_25042025_20_45_05_10350.jpg', '/home/pi/Desktop/images/25042025/20/45/image_25042025_20_45_14_9404.jpg', '/home/pi/Desktop/images/25042025/20/45/image_25042025_20_45_25_10371.jpg', '/home/pi/Desktop/images/25042025/20/45/image_25042025_20_45_35_10420.jpg', '/home/pi/Desktop/images/25042025/20/45/image_25042025_20_45_45_9427.jpg', '/home/pi/Desktop/images/25042025/20/45/image_25042025_20_45_55_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/44/image_25042025_20_45_05_10350.jpg
/home/pi/Desktop/images/25042025/20/45/image_25042025_20_45_14_9404.jpg
/home/pi/Desktop/images/25042025/20/45/image_25042025_20_45_25_10371.jpg
/home/pi/Desktop/images/25042025/20/45/image_25042025_20_45_35_10420.jpg
/home/pi/Desktop/images/25042025/20/45/image_25042025_20_45_45_9427.jpg
/home/pi/Desktop/images/25042025/20/45/image_25042025_20_45_55_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355189649","1355189645","1355189648","1355189647","1355189644","1355189646"],"photo_ids_order":["1355189644","1355189645","1355189646","1355189647","1355189648","1355189649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee1b59a80b2f3267f005cbc9588fbe0a.jpg","text":"TemporaryFile(/tmp/multipartBody853436701432914288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137144334,"filename":"image_25042025_20_45_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/5/2/7cee640e76713e173ec881afb2d2d3f0.jpg","text":"TemporaryFile(/tmp/multipartBody7640845690650656607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137144334,"filename":"image_25042025_20_45_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/5/2/48b2e654d2598ded2093977576c03e5b.jpg","text":"TemporaryFile(/tmp/multipartBody6781531497675248752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137144334,"filename":"image_25042025_20_45_45_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f1c37740b14581d7a39b88b79529fa8a.jpg","text":"TemporaryFile(/tmp/multipartBody7715550917045831943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137144334,"filename":"image_25042025_20_45_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/5/2/40ef842e317b9fc28f30b5ac79e6e8ec.jpg","text":"TemporaryFile(/tmp/multipartBody7143254125158964156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137144334,"filename":"image_25042025_20_45_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/5/2/b5170323641847a560476e040fd3d98e.jpg","text":"TemporaryFile(/tmp/multipartBody46301960502503207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137144334,"filename":"image_25042025_20_45_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355189646","file1":"1355189645","file0":"1355189644","file4":"1355189648","file5":"1355189649","file3":"1355189647"},"map_files_photo_id_array":[{"photo_id":"1355189649","filename":"file5"},{"photo_id":"1355189646","filename":"file2"},{"photo_id":"1355189648","filename":"file4"},{"photo_id":"1355189645","filename":"file1"},{"photo_id":"1355189644","filename":"file0"},{"photo_id":"1355189647","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355189649":["hashtag1","hashtag2"]},{"1355189645":["hashtag1","hashtag2"]},{"1355189648":["hashtag1","hashtag2"]},{"1355189647":["hashtag1","hashtag2"]},{"1355189644":["hashtag1","hashtag2"]},{"1355189646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355189649, 1355189645, 1355189648, 1355189647, 1355189644, 1355189646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28764033317566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:05:43.041356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/45/image_25042025_20_46_05_9367.jpg', '/home/pi/Desktop/images/25042025/20/46/image_25042025_20_46_15_10400.jpg', '/home/pi/Desktop/images/25042025/20/46/image_25042025_20_46_25_10369.jpg', '/home/pi/Desktop/images/25042025/20/46/image_25042025_20_46_35_9386.jpg', '/home/pi/Desktop/images/25042025/20/46/image_25042025_20_46_45_10437.jpg', '/home/pi/Desktop/images/25042025/20/46/image_25042025_20_46_54_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/45/image_25042025_20_46_05_9367.jpg
/home/pi/Desktop/images/25042025/20/46/image_25042025_20_46_15_10400.jpg
/home/pi/Desktop/images/25042025/20/46/image_25042025_20_46_25_10369.jpg
/home/pi/Desktop/images/25042025/20/46/image_25042025_20_46_35_9386.jpg
/home/pi/Desktop/images/25042025/20/46/image_25042025_20_46_45_10437.jpg
/home/pi/Desktop/images/25042025/20/46/image_25042025_20_46_54_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355189931","1355189829","1355189802","1355189861","1355189912","1355189887"],"photo_ids_order":["1355189802","1355189829","1355189861","1355189887","1355189912","1355189931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad79084f05d0c6f4d9a093dd73088b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7742780942780110512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137204520,"filename":"image_25042025_20_46_54_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8eef37c3a0067c039855296719907fed.jpg","text":"TemporaryFile(/tmp/multipartBody1306817341421314074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137204520,"filename":"image_25042025_20_46_15_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ea3eac299de007ed5eb517d845da757.jpg","text":"TemporaryFile(/tmp/multipartBody1515306367648008215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137204520,"filename":"image_25042025_20_46_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2bd96fd9acdc682ab718b2473e3e2e57.jpg","text":"TemporaryFile(/tmp/multipartBody770538132383384211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137204520,"filename":"image_25042025_20_46_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6ea80f67718c84494235c08b25aae4d.jpg","text":"TemporaryFile(/tmp/multipartBody3411140840998124330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137204520,"filename":"image_25042025_20_46_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/5/2/6813eae6a83659acacdb11d6235eeb67.jpg","text":"TemporaryFile(/tmp/multipartBody1767728058704321624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137204520,"filename":"image_25042025_20_46_35_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355189861","file1":"1355189829","file0":"1355189802","file4":"1355189912","file5":"1355189931","file3":"1355189887"},"map_files_photo_id_array":[{"photo_id":"1355189931","filename":"file5"},{"photo_id":"1355189861","filename":"file2"},{"photo_id":"1355189912","filename":"file4"},{"photo_id":"1355189829","filename":"file1"},{"photo_id":"1355189802","filename":"file0"},{"photo_id":"1355189887","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355189931":["hashtag1","hashtag2"]},{"1355189829":["hashtag1","hashtag2"]},{"1355189802":["hashtag1","hashtag2"]},{"1355189861":["hashtag1","hashtag2"]},{"1355189912":["hashtag1","hashtag2"]},{"1355189887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355189931, 1355189829, 1355189802, 1355189861, 1355189912, 1355189887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41472387313843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:06:42.258711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/46/image_25042025_20_47_05_10387.jpg', '/home/pi/Desktop/images/25042025/20/47/image_25042025_20_47_15_10421.jpg', '/home/pi/Desktop/images/25042025/20/47/image_25042025_20_47_35_10438.jpg', '/home/pi/Desktop/images/25042025/20/47/image_25042025_20_48_05_10361.jpg', '/home/pi/Desktop/images/25042025/20/48/image_25042025_20_48_25_9364.jpg', '/home/pi/Desktop/images/25042025/20/48/image_25042025_20_48_35_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/46/image_25042025_20_47_05_10387.jpg
/home/pi/Desktop/images/25042025/20/47/image_25042025_20_47_15_10421.jpg
/home/pi/Desktop/images/25042025/20/47/image_25042025_20_47_35_10438.jpg
/home/pi/Desktop/images/25042025/20/47/image_25042025_20_48_05_10361.jpg
/home/pi/Desktop/images/25042025/20/48/image_25042025_20_48_25_9364.jpg
/home/pi/Desktop/images/25042025/20/48/image_25042025_20_48_35_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":["1355190004","1355190051","1355190039","1355190030","1355190035","1355190037"],"photo_ids_order":["1355190004","1355190030","1355190035","1355190037","1355190039","1355190051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95c46fd348f9d2beb30ff8f0738e2889.jpg","text":"TemporaryFile(/tmp/multipartBody6321726825940257412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137263733,"filename":"image_25042025_20_47_05_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/255a8ade79688d6801d84e236ec18e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6887311635420652272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137263733,"filename":"image_25042025_20_48_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/5/2/730efdab480245e6a5c190c901cbdcc7.jpg","text":"TemporaryFile(/tmp/multipartBody7028335570389572738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137263733,"filename":"image_25042025_20_48_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c674a1a6d73633555f0b0c77040a77d.jpg","text":"TemporaryFile(/tmp/multipartBody2169982851940873510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137263733,"filename":"image_25042025_20_47_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0de1e3140cc376926b655bfe234f1162.jpg","text":"TemporaryFile(/tmp/multipartBody2205183066299381782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137263733,"filename":"image_25042025_20_47_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/5/2/4902410f7bf85536f87313084f037a19.jpg","text":"TemporaryFile(/tmp/multipartBody6674138443044815167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137263733,"filename":"image_25042025_20_48_05_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190035","file1":"1355190030","file0":"1355190004","file4":"1355190039","file5":"1355190051","file3":"1355190037"},"map_files_photo_id_array":[{"photo_id":"1355190051","filename":"file5"},{"photo_id":"1355190035","filename":"file2"},{"photo_id":"1355190039","filename":"file4"},{"photo_id":"1355190030","filename":"file1"},{"photo_id":"1355190004","filename":"file0"},{"photo_id":"1355190037","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190004":["hashtag1","hashtag2"]},{"1355190051":["hashtag1","hashtag2"]},{"1355190039":["hashtag1","hashtag2"]},{"1355190030":["hashtag1","hashtag2"]},{"1355190035":["hashtag1","hashtag2"]},{"1355190037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190004, 1355190051, 1355190039, 1355190030, 1355190035, 1355190037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55455446243286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:07:42.558848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/48/image_25042025_20_48_44_9421.jpg', '/home/pi/Desktop/images/25042025/20/48/image_25042025_20_48_55_10409.jpg', '/home/pi/Desktop/images/25042025/20/48/image_25042025_20_49_05_10344.jpg', '/home/pi/Desktop/images/25042025/20/49/image_25042025_20_49_25_10451.jpg', '/home/pi/Desktop/images/25042025/20/49/image_25042025_20_49_34_9361.jpg', '/home/pi/Desktop/images/25042025/20/49/image_25042025_20_49_55_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/48/image_25042025_20_48_44_9421.jpg
/home/pi/Desktop/images/25042025/20/48/image_25042025_20_48_55_10409.jpg
/home/pi/Desktop/images/25042025/20/48/image_25042025_20_49_05_10344.jpg
/home/pi/Desktop/images/25042025/20/49/image_25042025_20_49_25_10451.jpg
/home/pi/Desktop/images/25042025/20/49/image_25042025_20_49_34_9361.jpg
/home/pi/Desktop/images/25042025/20/49/image_25042025_20_49_55_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":["1355190103","1355190106","1355190098","1355190101","1355190104","1355190109"],"photo_ids_order":["1355190098","1355190101","1355190103","1355190104","1355190106","1355190109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e924cac106d89908a67737aac3bf0ea1.jpg","text":"TemporaryFile(/tmp/multipartBody8834364519720260012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137324027,"filename":"image_25042025_20_49_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/5/2/096ff2a70182b55c9f1b7ad9aa0ce97a.jpg","text":"TemporaryFile(/tmp/multipartBody7565228114581527055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137324027,"filename":"image_25042025_20_49_34_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8457cc1b4aee797259e31d763f430c13.jpg","text":"TemporaryFile(/tmp/multipartBody5898948367634948782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137324027,"filename":"image_25042025_20_48_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/5/2/5392385e4b495d64a317e6d0cf8b0b45.jpg","text":"TemporaryFile(/tmp/multipartBody2133441615984275289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137324027,"filename":"image_25042025_20_48_55_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5bc8f89b1a350a46a4829f1e4e2cf474.jpg","text":"TemporaryFile(/tmp/multipartBody3683409236933725128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137324027,"filename":"image_25042025_20_49_25_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0ee2cd3d3976f6585bfb9aaacdb16416.jpg","text":"TemporaryFile(/tmp/multipartBody6483890186627783541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137324027,"filename":"image_25042025_20_49_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190103","file1":"1355190101","file0":"1355190098","file4":"1355190106","file5":"1355190109","file3":"1355190104"},"map_files_photo_id_array":[{"photo_id":"1355190109","filename":"file5"},{"photo_id":"1355190103","filename":"file2"},{"photo_id":"1355190106","filename":"file4"},{"photo_id":"1355190101","filename":"file1"},{"photo_id":"1355190098","filename":"file0"},{"photo_id":"1355190104","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190103":["hashtag1","hashtag2"]},{"1355190106":["hashtag1","hashtag2"]},{"1355190098":["hashtag1","hashtag2"]},{"1355190101":["hashtag1","hashtag2"]},{"1355190104":["hashtag1","hashtag2"]},{"1355190109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190103, 1355190106, 1355190098, 1355190101, 1355190104, 1355190109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56609654426575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:08:42.816906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/49/image_25042025_20_50_05_9360.jpg', '/home/pi/Desktop/images/25042025/20/50/image_25042025_20_50_24_9395.jpg', '/home/pi/Desktop/images/25042025/20/50/image_25042025_20_50_35_10502.jpg', '/home/pi/Desktop/images/25042025/20/50/image_25042025_20_51_05_10429.jpg', '/home/pi/Desktop/images/25042025/20/51/image_25042025_20_51_15_9418.jpg', '/home/pi/Desktop/images/25042025/20/51/image_25042025_20_51_25_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/49/image_25042025_20_50_05_9360.jpg
/home/pi/Desktop/images/25042025/20/50/image_25042025_20_50_24_9395.jpg
/home/pi/Desktop/images/25042025/20/50/image_25042025_20_50_35_10502.jpg
/home/pi/Desktop/images/25042025/20/50/image_25042025_20_51_05_10429.jpg
/home/pi/Desktop/images/25042025/20/51/image_25042025_20_51_15_9418.jpg
/home/pi/Desktop/images/25042025/20/51/image_25042025_20_51_25_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355190135","1355190134","1355190128","1355190125","1355190130","1355190133"],"photo_ids_order":["1355190125","1355190128","1355190130","1355190133","1355190134","1355190135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1559eacfc6d90fd6c2feded2023a9e01.jpg","text":"TemporaryFile(/tmp/multipartBody4527984323181908852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137384288,"filename":"image_25042025_20_51_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/5/2/7e6b648aa9a9b60b31170a3ed06f0b82.jpg","text":"TemporaryFile(/tmp/multipartBody8098248072697842511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137384288,"filename":"image_25042025_20_51_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/5/2/9c9399665bb441634ed87982c767fc76.jpg","text":"TemporaryFile(/tmp/multipartBody6233256544445702519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137384288,"filename":"image_25042025_20_50_24_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec363aa9170308133b275927941c6cac.jpg","text":"TemporaryFile(/tmp/multipartBody4402746418554006803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137384288,"filename":"image_25042025_20_50_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/5/2/f9d2de2556bf169c0302a2ad6a622032.jpg","text":"TemporaryFile(/tmp/multipartBody3677695192691265621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137384288,"filename":"image_25042025_20_50_35_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11648c50356e9ead8a9cc0324c80dd20.jpg","text":"TemporaryFile(/tmp/multipartBody8631563387820167214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137384288,"filename":"image_25042025_20_51_05_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190130","file1":"1355190128","file0":"1355190125","file4":"1355190134","file5":"1355190135","file3":"1355190133"},"map_files_photo_id_array":[{"photo_id":"1355190135","filename":"file5"},{"photo_id":"1355190130","filename":"file2"},{"photo_id":"1355190134","filename":"file4"},{"photo_id":"1355190128","filename":"file1"},{"photo_id":"1355190125","filename":"file0"},{"photo_id":"1355190133","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190135":["hashtag1","hashtag2"]},{"1355190134":["hashtag1","hashtag2"]},{"1355190128":["hashtag1","hashtag2"]},{"1355190125":["hashtag1","hashtag2"]},{"1355190130":["hashtag1","hashtag2"]},{"1355190133":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190135, 1355190134, 1355190128, 1355190125, 1355190130, 1355190133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32500433921814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:09:42.950623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/51/image_25042025_20_51_45_10497.jpg', '/home/pi/Desktop/images/25042025/20/51/image_25042025_20_51_55_10469.jpg', '/home/pi/Desktop/images/25042025/20/51/image_25042025_20_52_05_9362.jpg', '/home/pi/Desktop/images/25042025/20/52/image_25042025_20_52_45_10363.jpg', '/home/pi/Desktop/images/25042025/20/52/image_25042025_20_52_55_9344.jpg', '/home/pi/Desktop/images/25042025/20/53/image_25042025_20_53_25_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/51/image_25042025_20_51_45_10497.jpg
/home/pi/Desktop/images/25042025/20/51/image_25042025_20_51_55_10469.jpg
/home/pi/Desktop/images/25042025/20/51/image_25042025_20_52_05_9362.jpg
/home/pi/Desktop/images/25042025/20/52/image_25042025_20_52_45_10363.jpg
/home/pi/Desktop/images/25042025/20/52/image_25042025_20_52_55_9344.jpg
/home/pi/Desktop/images/25042025/20/53/image_25042025_20_53_25_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":["1355190159","1355190164","1355190152","1355190155","1355190158","1355190160"],"photo_ids_order":["1355190152","1355190155","1355190158","1355190159","1355190160","1355190164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/74998ab1e1acc4ce8ce78018760c403a.jpg","text":"TemporaryFile(/tmp/multipartBody6550400850590346324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137444421,"filename":"image_25042025_20_52_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/5/2/6ed59b03a509656d8ccf306b6427a9db.jpg","text":"TemporaryFile(/tmp/multipartBody7851616210125074892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137444421,"filename":"image_25042025_20_53_25_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c99553df29380df913f437ca8e727de9.jpg","text":"TemporaryFile(/tmp/multipartBody1203189181248412373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137444421,"filename":"image_25042025_20_51_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/5/2/14fb7c306978e37d14710a3ff93d6839.jpg","text":"TemporaryFile(/tmp/multipartBody7347655504301827886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137444421,"filename":"image_25042025_20_51_55_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/80624811315ac318b06a9b77cfca51a3.jpg","text":"TemporaryFile(/tmp/multipartBody7210774760718307672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137444421,"filename":"image_25042025_20_52_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/5/2/0564afc88a8f9dcbc72f1bd43589e236.jpg","text":"TemporaryFile(/tmp/multipartBody7544354608654684953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137444421,"filename":"image_25042025_20_52_55_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190158","file1":"1355190155","file0":"1355190152","file4":"1355190160","file5":"1355190164","file3":"1355190159"},"map_files_photo_id_array":[{"photo_id":"1355190164","filename":"file5"},{"photo_id":"1355190158","filename":"file2"},{"photo_id":"1355190160","filename":"file4"},{"photo_id":"1355190155","filename":"file1"},{"photo_id":"1355190152","filename":"file0"},{"photo_id":"1355190159","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190159":["hashtag1","hashtag2"]},{"1355190164":["hashtag1","hashtag2"]},{"1355190152":["hashtag1","hashtag2"]},{"1355190155":["hashtag1","hashtag2"]},{"1355190158":["hashtag1","hashtag2"]},{"1355190160":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190159, 1355190164, 1355190152, 1355190155, 1355190158, 1355190160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64682459831238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:10:43.079019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/53/image_25042025_20_53_35_10383.jpg', '/home/pi/Desktop/images/25042025/20/53/image_25042025_20_53_45_9361.jpg', '/home/pi/Desktop/images/25042025/20/54/image_25042025_20_54_24_9361.jpg', '/home/pi/Desktop/images/25042025/20/54/image_25042025_20_54_35_10358.jpg', '/home/pi/Desktop/images/25042025/20/54/image_25042025_20_54_45_10429.jpg', '/home/pi/Desktop/images/25042025/20/54/image_25042025_20_54_54_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/53/image_25042025_20_53_35_10383.jpg
/home/pi/Desktop/images/25042025/20/53/image_25042025_20_53_45_9361.jpg
/home/pi/Desktop/images/25042025/20/54/image_25042025_20_54_24_9361.jpg
/home/pi/Desktop/images/25042025/20/54/image_25042025_20_54_35_10358.jpg
/home/pi/Desktop/images/25042025/20/54/image_25042025_20_54_45_10429.jpg
/home/pi/Desktop/images/25042025/20/54/image_25042025_20_54_54_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355190186","1355190182","1355190185","1355190181","1355190190","1355190184"],"photo_ids_order":["1355190181","1355190182","1355190184","1355190185","1355190186","1355190190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e944d791007eba651165dbb187d0c55.jpg","text":"TemporaryFile(/tmp/multipartBody4840009475113926671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137504544,"filename":"image_25042025_20_54_45_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/76eafbcb2b7833ee35eb328a4b129e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4900422813476677635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137504544,"filename":"image_25042025_20_53_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cc9112cea29f89d299ce8db5d5537956.jpg","text":"TemporaryFile(/tmp/multipartBody7909884460178863480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137504544,"filename":"image_25042025_20_54_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/5/2/26d29e95fa69df7d670c8dd4d5106002.jpg","text":"TemporaryFile(/tmp/multipartBody5679913652906708886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137504544,"filename":"image_25042025_20_53_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3ee4ccac3c03b41ba95b0134ef96b75.jpg","text":"TemporaryFile(/tmp/multipartBody6475860748798820909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137504544,"filename":"image_25042025_20_54_54_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/03b660d8aaae202e35e1426d7f6b9a02.jpg","text":"TemporaryFile(/tmp/multipartBody3410781217078419845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137504544,"filename":"image_25042025_20_54_24_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190184","file1":"1355190182","file0":"1355190181","file4":"1355190186","file5":"1355190190","file3":"1355190185"},"map_files_photo_id_array":[{"photo_id":"1355190190","filename":"file5"},{"photo_id":"1355190184","filename":"file2"},{"photo_id":"1355190186","filename":"file4"},{"photo_id":"1355190182","filename":"file1"},{"photo_id":"1355190181","filename":"file0"},{"photo_id":"1355190185","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190186":["hashtag1","hashtag2"]},{"1355190182":["hashtag1","hashtag2"]},{"1355190185":["hashtag1","hashtag2"]},{"1355190181":["hashtag1","hashtag2"]},{"1355190190":["hashtag1","hashtag2"]},{"1355190184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190186, 1355190182, 1355190185, 1355190181, 1355190190, 1355190184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.910192012786865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:11:42.315866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_25_9386.jpg', '/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_35_10378.jpg', '/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_55_10431.jpg', '/home/pi/Desktop/images/25042025/20/55/image_25042025_20_56_05_10364.jpg', '/home/pi/Desktop/images/25042025/20/56/image_25042025_20_56_25_10385.jpg', '/home/pi/Desktop/images/25042025/20/56/image_25042025_20_56_45_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_25_9386.jpg
/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_35_10378.jpg
/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_55_10431.jpg
/home/pi/Desktop/images/25042025/20/55/image_25042025_20_56_05_10364.jpg
/home/pi/Desktop/images/25042025/20/56/image_25042025_20_56_25_10385.jpg
/home/pi/Desktop/images/25042025/20/56/image_25042025_20_56_45_10493.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3895246982574463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:12:02.942344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_25_9386.jpg', '/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_35_10378.jpg', '/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_55_10431.jpg', '/home/pi/Desktop/images/25042025/20/55/image_25042025_20_56_05_10364.jpg', '/home/pi/Desktop/images/25042025/20/56/image_25042025_20_56_25_10385.jpg', '/home/pi/Desktop/images/25042025/20/56/image_25042025_20_56_45_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_25_9386.jpg
/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_35_10378.jpg
/home/pi/Desktop/images/25042025/20/55/image_25042025_20_55_55_10431.jpg
/home/pi/Desktop/images/25042025/20/55/image_25042025_20_56_05_10364.jpg
/home/pi/Desktop/images/25042025/20/56/image_25042025_20_56_25_10385.jpg
/home/pi/Desktop/images/25042025/20/56/image_25042025_20_56_45_10493.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355190219","1355190213","1355190215","1355190224","1355190205","1355190208"],"photo_ids_order":["1355190205","1355190208","1355190213","1355190215","1355190219","1355190224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b5c1f3f11d3b6f63c838db4449b8cde.jpg","text":"TemporaryFile(/tmp/multipartBody8951444117716046372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137583511,"filename":"image_25042025_20_56_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0c74b1edbd6a599e887560db7e64c486.jpg","text":"TemporaryFile(/tmp/multipartBody425482827821495290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137583511,"filename":"image_25042025_20_55_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c8efccde182677c52cc523dc8a5091da.jpg","text":"TemporaryFile(/tmp/multipartBody8867951650323051905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137583511,"filename":"image_25042025_20_56_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/5/2/fbbb3f4eacb24a00ff8a270435d03058.jpg","text":"TemporaryFile(/tmp/multipartBody3368454473026625441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137583511,"filename":"image_25042025_20_56_45_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/059d622366fd10fde32dac134ee4c273.jpg","text":"TemporaryFile(/tmp/multipartBody2638722118139096149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137583511,"filename":"image_25042025_20_55_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/5/2/3dba15ec435484254cda45bb2dc0b193.jpg","text":"TemporaryFile(/tmp/multipartBody3245177162821984583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137583511,"filename":"image_25042025_20_55_35_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190213","file1":"1355190208","file0":"1355190205","file4":"1355190219","file5":"1355190224","file3":"1355190215"},"map_files_photo_id_array":[{"photo_id":"1355190224","filename":"file5"},{"photo_id":"1355190213","filename":"file2"},{"photo_id":"1355190219","filename":"file4"},{"photo_id":"1355190208","filename":"file1"},{"photo_id":"1355190205","filename":"file0"},{"photo_id":"1355190215","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190219":["hashtag1","hashtag2"]},{"1355190213":["hashtag1","hashtag2"]},{"1355190215":["hashtag1","hashtag2"]},{"1355190224":["hashtag1","hashtag2"]},{"1355190205":["hashtag1","hashtag2"]},{"1355190208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190219, 1355190213, 1355190215, 1355190224, 1355190205, 1355190208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.814340353012085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:12:42.651357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/56/image_25042025_20_56_55_10369.jpg', '/home/pi/Desktop/images/25042025/20/56/image_25042025_20_57_05_9342.jpg', '/home/pi/Desktop/images/25042025/20/57/image_25042025_20_57_24_9365.jpg', '/home/pi/Desktop/images/25042025/20/57/image_25042025_20_57_45_10453.jpg', '/home/pi/Desktop/images/25042025/20/57/image_25042025_20_58_05_10372.jpg', '/home/pi/Desktop/images/25042025/20/58/image_25042025_20_58_14_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/56/image_25042025_20_56_55_10369.jpg
/home/pi/Desktop/images/25042025/20/56/image_25042025_20_57_05_9342.jpg
/home/pi/Desktop/images/25042025/20/57/image_25042025_20_57_24_9365.jpg
/home/pi/Desktop/images/25042025/20/57/image_25042025_20_57_45_10453.jpg
/home/pi/Desktop/images/25042025/20/57/image_25042025_20_58_05_10372.jpg
/home/pi/Desktop/images/25042025/20/58/image_25042025_20_58_14_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355190234","1355190233","1355190236","1355190238","1355190232","1355190235"],"photo_ids_order":["1355190232","1355190233","1355190234","1355190235","1355190236","1355190238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c88dad1534ce75cdb81bfccbabe8ad4c.jpg","text":"TemporaryFile(/tmp/multipartBody6512271108899647788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137624124,"filename":"image_25042025_20_57_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/5/2/41ab45e02d36cd15189b1b23f5a84bcf.jpg","text":"TemporaryFile(/tmp/multipartBody6465230989786783841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137624124,"filename":"image_25042025_20_57_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/5/2/7ed34b730f33a41148c4d0420cfd958c.jpg","text":"TemporaryFile(/tmp/multipartBody3353623151604435269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137624124,"filename":"image_25042025_20_58_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/5/2/913809ad0118aaeac541ff3e86974086.jpg","text":"TemporaryFile(/tmp/multipartBody6864139463224140287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137624124,"filename":"image_25042025_20_58_14_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3421eb0f85fc511c088743cc178fa039.jpg","text":"TemporaryFile(/tmp/multipartBody8077401086257210740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137624124,"filename":"image_25042025_20_56_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/965c09a7ef56700db2902deaa1075803.jpg","text":"TemporaryFile(/tmp/multipartBody3302033283142940068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137624124,"filename":"image_25042025_20_57_45_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190234","file1":"1355190233","file0":"1355190232","file4":"1355190236","file5":"1355190238","file3":"1355190235"},"map_files_photo_id_array":[{"photo_id":"1355190238","filename":"file5"},{"photo_id":"1355190234","filename":"file2"},{"photo_id":"1355190236","filename":"file4"},{"photo_id":"1355190233","filename":"file1"},{"photo_id":"1355190232","filename":"file0"},{"photo_id":"1355190235","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190234":["hashtag1","hashtag2"]},{"1355190233":["hashtag1","hashtag2"]},{"1355190236":["hashtag1","hashtag2"]},{"1355190238":["hashtag1","hashtag2"]},{"1355190232":["hashtag1","hashtag2"]},{"1355190235":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190234, 1355190233, 1355190236, 1355190238, 1355190232, 1355190235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52878522872925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:13:42.797040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/58/image_25042025_20_58_25_10424.jpg', '/home/pi/Desktop/images/25042025/20/58/image_25042025_20_58_45_10473.jpg', '/home/pi/Desktop/images/25042025/20/58/image_25042025_20_58_55_10390.jpg', '/home/pi/Desktop/images/25042025/20/58/image_25042025_20_59_05_9420.jpg', '/home/pi/Desktop/images/25042025/20/59/image_25042025_20_59_15_10378.jpg', '/home/pi/Desktop/images/25042025/20/59/image_25042025_20_59_24_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/58/image_25042025_20_58_25_10424.jpg
/home/pi/Desktop/images/25042025/20/58/image_25042025_20_58_45_10473.jpg
/home/pi/Desktop/images/25042025/20/58/image_25042025_20_58_55_10390.jpg
/home/pi/Desktop/images/25042025/20/58/image_25042025_20_59_05_9420.jpg
/home/pi/Desktop/images/25042025/20/59/image_25042025_20_59_15_10378.jpg
/home/pi/Desktop/images/25042025/20/59/image_25042025_20_59_24_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":["1355190255","1355190258","1355190257","1355190260","1355190254","1355190256"],"photo_ids_order":["1355190254","1355190255","1355190256","1355190257","1355190258","1355190260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b8741916a355ca1e8f1313dbcca70332.jpg","text":"TemporaryFile(/tmp/multipartBody8292480241232658234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137684262,"filename":"image_25042025_20_58_45_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/73e3e52e5442dd340ca519f64525e90e.jpg","text":"TemporaryFile(/tmp/multipartBody7266959663231403999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137684262,"filename":"image_25042025_20_59_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc130eca8b05338d6f1cd2950a0669a1.jpg","text":"TemporaryFile(/tmp/multipartBody2665299116235537013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137684262,"filename":"image_25042025_20_59_05_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a3dd953a919a0a1fdd7e7a225c8cefc1.jpg","text":"TemporaryFile(/tmp/multipartBody6662471955331649503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137684262,"filename":"image_25042025_20_59_24_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db7d3779e8f047580b1147120ac4f62d.jpg","text":"TemporaryFile(/tmp/multipartBody600693959241626751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137684262,"filename":"image_25042025_20_58_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30a6cea7b5c0d0e977ed777463f1e5b2.jpg","text":"TemporaryFile(/tmp/multipartBody5210453235892294433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137684262,"filename":"image_25042025_20_58_55_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190256","file1":"1355190255","file0":"1355190254","file4":"1355190258","file5":"1355190260","file3":"1355190257"},"map_files_photo_id_array":[{"photo_id":"1355190260","filename":"file5"},{"photo_id":"1355190256","filename":"file2"},{"photo_id":"1355190258","filename":"file4"},{"photo_id":"1355190255","filename":"file1"},{"photo_id":"1355190254","filename":"file0"},{"photo_id":"1355190257","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190255":["hashtag1","hashtag2"]},{"1355190258":["hashtag1","hashtag2"]},{"1355190257":["hashtag1","hashtag2"]},{"1355190260":["hashtag1","hashtag2"]},{"1355190254":["hashtag1","hashtag2"]},{"1355190256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190255, 1355190258, 1355190257, 1355190260, 1355190254, 1355190256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35045576095581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:14:42.888635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/20/59/image_25042025_20_59_45_10405.jpg', '/home/pi/Desktop/images/25042025/21/01/image_25042025_21_01_14_10077.jpg', '/home/pi/Desktop/images/25042025/21/01/image_25042025_21_01_25_10490.jpg', '/home/pi/Desktop/images/25042025/21/01/image_25042025_21_01_35_10405.jpg', '/home/pi/Desktop/images/25042025/21/01/image_25042025_21_01_44_9377.jpg', '/home/pi/Desktop/images/25042025/21/01/image_25042025_21_02_04_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/20/59/image_25042025_20_59_45_10405.jpg
/home/pi/Desktop/images/25042025/21/01/image_25042025_21_01_14_10077.jpg
/home/pi/Desktop/images/25042025/21/01/image_25042025_21_01_25_10490.jpg
/home/pi/Desktop/images/25042025/21/01/image_25042025_21_01_35_10405.jpg
/home/pi/Desktop/images/25042025/21/01/image_25042025_21_01_44_9377.jpg
/home/pi/Desktop/images/25042025/21/01/image_25042025_21_02_04_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355190285","1355190282","1355190281","1355190287","1355190289","1355190283"],"photo_ids_order":["1355190281","1355190282","1355190283","1355190285","1355190287","1355190289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1e22649ec85c3e59a497014ff8b3de1f.jpg","text":"TemporaryFile(/tmp/multipartBody3495629052466159281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137744366,"filename":"image_25042025_21_01_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/14f0ba83f96da9547d5eccf596bf83f1.jpg","text":"TemporaryFile(/tmp/multipartBody7576148571918216210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137744366,"filename":"image_25042025_21_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/5/2/2d3514c85b1a28f401852efcee1d9ec4.jpg","text":"TemporaryFile(/tmp/multipartBody156707779789389337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137744366,"filename":"image_25042025_20_59_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/5/2/cb5159781d2a193533742a53a80b50cd.jpg","text":"TemporaryFile(/tmp/multipartBody1800731180732799143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137744366,"filename":"image_25042025_21_01_44_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6cf9223ec7f951e1381b98217c5eb9a6.jpg","text":"TemporaryFile(/tmp/multipartBody893985137936377933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137744366,"filename":"image_25042025_21_02_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/5/2/96ff2abb1b9f22f6bd53831fe2ad8450.jpg","text":"TemporaryFile(/tmp/multipartBody2520820889714665430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137744366,"filename":"image_25042025_21_01_25_10490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190283","file1":"1355190282","file0":"1355190281","file4":"1355190287","file5":"1355190289","file3":"1355190285"},"map_files_photo_id_array":[{"photo_id":"1355190289","filename":"file5"},{"photo_id":"1355190283","filename":"file2"},{"photo_id":"1355190287","filename":"file4"},{"photo_id":"1355190282","filename":"file1"},{"photo_id":"1355190281","filename":"file0"},{"photo_id":"1355190285","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190285":["hashtag1","hashtag2"]},{"1355190282":["hashtag1","hashtag2"]},{"1355190281":["hashtag1","hashtag2"]},{"1355190287":["hashtag1","hashtag2"]},{"1355190289":["hashtag1","hashtag2"]},{"1355190283":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190285, 1355190282, 1355190281, 1355190287, 1355190289, 1355190283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23321270942688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:15:43.089511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/02/image_25042025_21_02_25_10430.jpg', '/home/pi/Desktop/images/25042025/21/02/image_25042025_21_02_34_9352.jpg', '/home/pi/Desktop/images/25042025/21/02/image_25042025_21_02_45_10439.jpg', '/home/pi/Desktop/images/25042025/21/02/image_25042025_21_02_54_9359.jpg', '/home/pi/Desktop/images/25042025/21/02/image_25042025_21_03_05_10443.jpg', '/home/pi/Desktop/images/25042025/21/03/image_25042025_21_03_15_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/02/image_25042025_21_02_25_10430.jpg
/home/pi/Desktop/images/25042025/21/02/image_25042025_21_02_34_9352.jpg
/home/pi/Desktop/images/25042025/21/02/image_25042025_21_02_45_10439.jpg
/home/pi/Desktop/images/25042025/21/02/image_25042025_21_02_54_9359.jpg
/home/pi/Desktop/images/25042025/21/02/image_25042025_21_03_05_10443.jpg
/home/pi/Desktop/images/25042025/21/03/image_25042025_21_03_15_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":["1355190303","1355190312","1355190309","1355190311","1355190305","1355190307"],"photo_ids_order":["1355190303","1355190305","1355190307","1355190309","1355190311","1355190312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a310298dcb65f9149e1329de2c2637d.jpg","text":"TemporaryFile(/tmp/multipartBody7301480328031536285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137804557,"filename":"image_25042025_21_02_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/35a718864d0a43bddfee7f4d53d15520.jpg","text":"TemporaryFile(/tmp/multipartBody8511447052411717162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137804557,"filename":"image_25042025_21_03_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/5/2/330e461ab3881e24ae7858ccc947933f.jpg","text":"TemporaryFile(/tmp/multipartBody3432105849829028628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137804557,"filename":"image_25042025_21_02_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c340a55ebd1ae9d279382e95f0affed.jpg","text":"TemporaryFile(/tmp/multipartBody8634567709364347587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137804557,"filename":"image_25042025_21_03_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/5/2/3d53fa7d2be3815a754d080e97556119.jpg","text":"TemporaryFile(/tmp/multipartBody417952226620411794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137804557,"filename":"image_25042025_21_02_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/5/2/c279942c2cd3b337a56d7184e4a25e90.jpg","text":"TemporaryFile(/tmp/multipartBody8425072012742935309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137804557,"filename":"image_25042025_21_02_45_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190307","file1":"1355190305","file0":"1355190303","file4":"1355190311","file5":"1355190312","file3":"1355190309"},"map_files_photo_id_array":[{"photo_id":"1355190312","filename":"file5"},{"photo_id":"1355190307","filename":"file2"},{"photo_id":"1355190311","filename":"file4"},{"photo_id":"1355190305","filename":"file1"},{"photo_id":"1355190303","filename":"file0"},{"photo_id":"1355190309","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190303":["hashtag1","hashtag2"]},{"1355190312":["hashtag1","hashtag2"]},{"1355190309":["hashtag1","hashtag2"]},{"1355190311":["hashtag1","hashtag2"]},{"1355190305":["hashtag1","hashtag2"]},{"1355190307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190303, 1355190312, 1355190309, 1355190311, 1355190305, 1355190307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.609005451202393 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:16:42.316348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/03/image_25042025_21_03_24_9396.jpg', '/home/pi/Desktop/images/25042025/21/03/image_25042025_21_03_35_10429.jpg', '/home/pi/Desktop/images/25042025/21/03/image_25042025_21_03_44_9357.jpg', '/home/pi/Desktop/images/25042025/21/03/image_25042025_21_03_55_10367.jpg', '/home/pi/Desktop/images/25042025/21/03/image_25042025_21_04_05_10431.jpg', '/home/pi/Desktop/images/25042025/21/04/image_25042025_21_04_15_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/03/image_25042025_21_03_24_9396.jpg
/home/pi/Desktop/images/25042025/21/03/image_25042025_21_03_35_10429.jpg
/home/pi/Desktop/images/25042025/21/03/image_25042025_21_03_44_9357.jpg
/home/pi/Desktop/images/25042025/21/03/image_25042025_21_03_55_10367.jpg
/home/pi/Desktop/images/25042025/21/03/image_25042025_21_04_05_10431.jpg
/home/pi/Desktop/images/25042025/21/04/image_25042025_21_04_15_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355190326","1355190329","1355190322","1355190331","1355190319","1355190334"],"photo_ids_order":["1355190319","1355190322","1355190326","1355190329","1355190331","1355190334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/def06bf55f10d0b540569512a6271352.jpg","text":"TemporaryFile(/tmp/multipartBody8770592963888703635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137863783,"filename":"image_25042025_21_03_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/5/2/b55845a9c5fe17f012d100db7daf5127.jpg","text":"TemporaryFile(/tmp/multipartBody1886532246247647056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137863783,"filename":"image_25042025_21_03_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/5/2/7ab7830f4406ddeeb1121bddd849b1f3.jpg","text":"TemporaryFile(/tmp/multipartBody765959240889436308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137863783,"filename":"image_25042025_21_03_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/5/2/9b46b01eae2b2cc4ca18735d66a5b50a.jpg","text":"TemporaryFile(/tmp/multipartBody2559386049054954603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137863783,"filename":"image_25042025_21_04_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6cdbafc740671ec4735892b4019eda8a.jpg","text":"TemporaryFile(/tmp/multipartBody1328234809470206629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137863783,"filename":"image_25042025_21_03_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/5/2/cbffe6bea72aad20c38c8bfe40905b89.jpg","text":"TemporaryFile(/tmp/multipartBody8239269397274428075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137863783,"filename":"image_25042025_21_04_15_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190326","file1":"1355190322","file0":"1355190319","file4":"1355190331","file5":"1355190334","file3":"1355190329"},"map_files_photo_id_array":[{"photo_id":"1355190334","filename":"file5"},{"photo_id":"1355190326","filename":"file2"},{"photo_id":"1355190331","filename":"file4"},{"photo_id":"1355190322","filename":"file1"},{"photo_id":"1355190319","filename":"file0"},{"photo_id":"1355190329","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190326":["hashtag1","hashtag2"]},{"1355190329":["hashtag1","hashtag2"]},{"1355190322":["hashtag1","hashtag2"]},{"1355190331":["hashtag1","hashtag2"]},{"1355190319":["hashtag1","hashtag2"]},{"1355190334":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190326, 1355190329, 1355190322, 1355190331, 1355190319, 1355190334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68435788154602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:17:42.539177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/04/image_25042025_21_04_34_9349.jpg', '/home/pi/Desktop/images/25042025/21/04/image_25042025_21_04_45_10377.jpg', '/home/pi/Desktop/images/25042025/21/04/image_25042025_21_04_55_10372.jpg', '/home/pi/Desktop/images/25042025/21/05/image_25042025_21_05_15_10499.jpg', '/home/pi/Desktop/images/25042025/21/05/image_25042025_21_05_24_9381.jpg', '/home/pi/Desktop/images/25042025/21/05/image_25042025_21_05_35_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/04/image_25042025_21_04_34_9349.jpg
/home/pi/Desktop/images/25042025/21/04/image_25042025_21_04_45_10377.jpg
/home/pi/Desktop/images/25042025/21/04/image_25042025_21_04_55_10372.jpg
/home/pi/Desktop/images/25042025/21/05/image_25042025_21_05_15_10499.jpg
/home/pi/Desktop/images/25042025/21/05/image_25042025_21_05_24_9381.jpg
/home/pi/Desktop/images/25042025/21/05/image_25042025_21_05_35_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355190351","1355190354","1355190348","1355190357","1355190345","1355190356"],"photo_ids_order":["1355190345","1355190348","1355190351","1355190354","1355190356","1355190357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87c074e498565f93df8345ea00b0b8d4.jpg","text":"TemporaryFile(/tmp/multipartBody2000305043037559118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137924014,"filename":"image_25042025_21_04_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/5/2/e55bb01104127bfcd0cfd942b6729b01.jpg","text":"TemporaryFile(/tmp/multipartBody4623569804192323563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137924014,"filename":"image_25042025_21_05_15_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4920a4f6bb996cfcfe3afc5061579573.jpg","text":"TemporaryFile(/tmp/multipartBody4313303095055747253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137924014,"filename":"image_25042025_21_04_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/5/2/c12e64a1f0a983d723acdc3479db2add.jpg","text":"TemporaryFile(/tmp/multipartBody8639701730781319627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137924014,"filename":"image_25042025_21_05_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f08e046a69b22a74ecb0d8bdeaaac24.jpg","text":"TemporaryFile(/tmp/multipartBody4176549943415678893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137924014,"filename":"image_25042025_21_04_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c9cd83f5ab4ba09726f29a9ea5c7547.jpg","text":"TemporaryFile(/tmp/multipartBody8524348476063420460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137924014,"filename":"image_25042025_21_05_24_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190351","file1":"1355190348","file0":"1355190345","file4":"1355190356","file5":"1355190357","file3":"1355190354"},"map_files_photo_id_array":[{"photo_id":"1355190357","filename":"file5"},{"photo_id":"1355190351","filename":"file2"},{"photo_id":"1355190356","filename":"file4"},{"photo_id":"1355190348","filename":"file1"},{"photo_id":"1355190345","filename":"file0"},{"photo_id":"1355190354","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190351":["hashtag1","hashtag2"]},{"1355190354":["hashtag1","hashtag2"]},{"1355190348":["hashtag1","hashtag2"]},{"1355190357":["hashtag1","hashtag2"]},{"1355190345":["hashtag1","hashtag2"]},{"1355190356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190351, 1355190354, 1355190348, 1355190357, 1355190345, 1355190356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.041595697402954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:18:42.778681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/05/image_25042025_21_05_45_10374.jpg', '/home/pi/Desktop/images/25042025/21/05/image_25042025_21_06_05_10437.jpg', '/home/pi/Desktop/images/25042025/21/06/image_25042025_21_06_14_9498.jpg', '/home/pi/Desktop/images/25042025/21/06/image_25042025_21_06_34_9390.jpg', '/home/pi/Desktop/images/25042025/21/07/image_25042025_21_07_15_10502.jpg', '/home/pi/Desktop/images/25042025/21/07/image_25042025_21_07_35_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/05/image_25042025_21_05_45_10374.jpg
/home/pi/Desktop/images/25042025/21/05/image_25042025_21_06_05_10437.jpg
/home/pi/Desktop/images/25042025/21/06/image_25042025_21_06_14_9498.jpg
/home/pi/Desktop/images/25042025/21/06/image_25042025_21_06_34_9390.jpg
/home/pi/Desktop/images/25042025/21/07/image_25042025_21_07_15_10502.jpg
/home/pi/Desktop/images/25042025/21/07/image_25042025_21_07_35_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355190372","1355190375","1355190374","1355190377","1355190373","1355190370"],"photo_ids_order":["1355190370","1355190372","1355190373","1355190374","1355190375","1355190377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/57c39566a32891d56ac904a5f95cbbd0.jpg","text":"TemporaryFile(/tmp/multipartBody1666881760569557207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137984296,"filename":"image_25042025_21_06_05_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de0aab3affe63efd7b1b5283870e1a76.jpg","text":"TemporaryFile(/tmp/multipartBody8020634338396994902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137984296,"filename":"image_25042025_21_07_15_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/46133ac44a7c234ecfc57fe3f9b98b93.jpg","text":"TemporaryFile(/tmp/multipartBody1065639206821794231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137984296,"filename":"image_25042025_21_06_34_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e09de691b107f96f0a0fcaae7d016c6.jpg","text":"TemporaryFile(/tmp/multipartBody4436465429940841637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137984296,"filename":"image_25042025_21_07_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/5/2/8a67c374e44ddd004024c591d0ccc1b8.jpg","text":"TemporaryFile(/tmp/multipartBody442677285602346558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137984296,"filename":"image_25042025_21_06_14_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fadedb2b797c8cf35f707dbd58e2188f.jpg","text":"TemporaryFile(/tmp/multipartBody7509682392375117982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746137984296,"filename":"image_25042025_21_05_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190373","file1":"1355190372","file0":"1355190370","file4":"1355190375","file5":"1355190377","file3":"1355190374"},"map_files_photo_id_array":[{"photo_id":"1355190377","filename":"file5"},{"photo_id":"1355190373","filename":"file2"},{"photo_id":"1355190375","filename":"file4"},{"photo_id":"1355190372","filename":"file1"},{"photo_id":"1355190370","filename":"file0"},{"photo_id":"1355190374","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190372":["hashtag1","hashtag2"]},{"1355190375":["hashtag1","hashtag2"]},{"1355190374":["hashtag1","hashtag2"]},{"1355190377":["hashtag1","hashtag2"]},{"1355190373":["hashtag1","hashtag2"]},{"1355190370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190372, 1355190375, 1355190374, 1355190377, 1355190373, 1355190370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36275386810303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:19:42.946015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/07/image_25042025_21_07_45_10370.jpg', '/home/pi/Desktop/images/25042025/21/07/image_25042025_21_07_55_9465.jpg', '/home/pi/Desktop/images/25042025/21/07/image_25042025_21_08_05_10422.jpg', '/home/pi/Desktop/images/25042025/21/08/image_25042025_21_08_14_9516.jpg', '/home/pi/Desktop/images/25042025/21/08/image_25042025_21_08_25_10376.jpg', '/home/pi/Desktop/images/25042025/21/08/image_25042025_21_08_34_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/07/image_25042025_21_07_45_10370.jpg
/home/pi/Desktop/images/25042025/21/07/image_25042025_21_07_55_9465.jpg
/home/pi/Desktop/images/25042025/21/07/image_25042025_21_08_05_10422.jpg
/home/pi/Desktop/images/25042025/21/08/image_25042025_21_08_14_9516.jpg
/home/pi/Desktop/images/25042025/21/08/image_25042025_21_08_25_10376.jpg
/home/pi/Desktop/images/25042025/21/08/image_25042025_21_08_34_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355190645","1355190539","1355190562","1355190616","1355190517","1355190588"],"photo_ids_order":["1355190517","1355190539","1355190562","1355190588","1355190616","1355190645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/19eabf3f817603a1b3a10b25efe1d892.jpg","text":"TemporaryFile(/tmp/multipartBody6758102915188679454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138044420,"filename":"image_25042025_21_08_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d16811e565527fc650cc04993850b32.jpg","text":"TemporaryFile(/tmp/multipartBody6687324081269427797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138044420,"filename":"image_25042025_21_07_55_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c71bf0a944deeb7938550097ffbe4901.jpg","text":"TemporaryFile(/tmp/multipartBody4175929582546081945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138044420,"filename":"image_25042025_21_08_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd3123859fa190dbe8377703eafd537d.jpg","text":"TemporaryFile(/tmp/multipartBody7556227441669485139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138044420,"filename":"image_25042025_21_08_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e2f1864a11217b7e9434ab02f3e2197b.jpg","text":"TemporaryFile(/tmp/multipartBody4970821485880006993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138044420,"filename":"image_25042025_21_07_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/5/2/473830b5f9b2a30aa63df418ead27655.jpg","text":"TemporaryFile(/tmp/multipartBody1427002972737717434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138044420,"filename":"image_25042025_21_08_14_9516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190562","file1":"1355190539","file0":"1355190517","file4":"1355190616","file5":"1355190645","file3":"1355190588"},"map_files_photo_id_array":[{"photo_id":"1355190645","filename":"file5"},{"photo_id":"1355190562","filename":"file2"},{"photo_id":"1355190616","filename":"file4"},{"photo_id":"1355190539","filename":"file1"},{"photo_id":"1355190517","filename":"file0"},{"photo_id":"1355190588","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190645":["hashtag1","hashtag2"]},{"1355190539":["hashtag1","hashtag2"]},{"1355190562":["hashtag1","hashtag2"]},{"1355190616":["hashtag1","hashtag2"]},{"1355190517":["hashtag1","hashtag2"]},{"1355190588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190645, 1355190539, 1355190562, 1355190616, 1355190517, 1355190588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53608059883118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:20:43.668701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/08/image_25042025_21_08_55_10417.jpg', '/home/pi/Desktop/images/25042025/21/09/image_25042025_21_09_24_9368.jpg', '/home/pi/Desktop/images/25042025/21/09/image_25042025_21_09_35_10383.jpg', '/home/pi/Desktop/images/25042025/21/09/image_25042025_21_09_45_10409.jpg', '/home/pi/Desktop/images/25042025/21/09/image_25042025_21_09_54_9358.jpg', '/home/pi/Desktop/images/25042025/21/09/image_25042025_21_10_05_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/08/image_25042025_21_08_55_10417.jpg
/home/pi/Desktop/images/25042025/21/09/image_25042025_21_09_24_9368.jpg
/home/pi/Desktop/images/25042025/21/09/image_25042025_21_09_35_10383.jpg
/home/pi/Desktop/images/25042025/21/09/image_25042025_21_09_45_10409.jpg
/home/pi/Desktop/images/25042025/21/09/image_25042025_21_09_54_9358.jpg
/home/pi/Desktop/images/25042025/21/09/image_25042025_21_10_05_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355190993","1355190960","1355190897","1355190935","1355190991","1355190997"],"photo_ids_order":["1355190897","1355190935","1355190960","1355190991","1355190993","1355190997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e2e1470ada268bc4db2b075de8af638a.jpg","text":"TemporaryFile(/tmp/multipartBody2110359670109220314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138105152,"filename":"image_25042025_21_09_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/70d737ab5b940c1775dc2f36fbc25fd1.jpg","text":"TemporaryFile(/tmp/multipartBody3699627371079584915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138105152,"filename":"image_25042025_21_09_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/07a14137b5562c0f2a71cb220830978b.jpg","text":"TemporaryFile(/tmp/multipartBody8038136708148494572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138105152,"filename":"image_25042025_21_08_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/5/2/9dc10a4769bd503b84b98417674bc436.jpg","text":"TemporaryFile(/tmp/multipartBody6371279027220706573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138105152,"filename":"image_25042025_21_09_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/5/2/29aa32c6bba551ab699ce808e442fa7b.jpg","text":"TemporaryFile(/tmp/multipartBody8582506297574021786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138105152,"filename":"image_25042025_21_09_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/5/2/60139da262a9227ea4743a52279db739.jpg","text":"TemporaryFile(/tmp/multipartBody2202018616815686615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138105152,"filename":"image_25042025_21_10_05_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355190960","file1":"1355190935","file0":"1355190897","file4":"1355190993","file5":"1355190997","file3":"1355190991"},"map_files_photo_id_array":[{"photo_id":"1355190997","filename":"file5"},{"photo_id":"1355190960","filename":"file2"},{"photo_id":"1355190993","filename":"file4"},{"photo_id":"1355190935","filename":"file1"},{"photo_id":"1355190897","filename":"file0"},{"photo_id":"1355190991","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355190993":["hashtag1","hashtag2"]},{"1355190960":["hashtag1","hashtag2"]},{"1355190897":["hashtag1","hashtag2"]},{"1355190935":["hashtag1","hashtag2"]},{"1355190991":["hashtag1","hashtag2"]},{"1355190997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355190993, 1355190960, 1355190897, 1355190935, 1355190991, 1355190997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66182327270508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:21:42.934658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/10/image_25042025_21_10_14_9400.jpg', '/home/pi/Desktop/images/25042025/21/10/image_25042025_21_10_25_10384.jpg', '/home/pi/Desktop/images/25042025/21/10/image_25042025_21_10_34_9392.jpg', '/home/pi/Desktop/images/25042025/21/10/image_25042025_21_10_44_10384.jpg', '/home/pi/Desktop/images/25042025/21/10/image_25042025_21_10_55_10402.jpg', '/home/pi/Desktop/images/25042025/21/10/image_25042025_21_11_04_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/10/image_25042025_21_10_14_9400.jpg
/home/pi/Desktop/images/25042025/21/10/image_25042025_21_10_25_10384.jpg
/home/pi/Desktop/images/25042025/21/10/image_25042025_21_10_34_9392.jpg
/home/pi/Desktop/images/25042025/21/10/image_25042025_21_10_44_10384.jpg
/home/pi/Desktop/images/25042025/21/10/image_25042025_21_10_55_10402.jpg
/home/pi/Desktop/images/25042025/21/10/image_25042025_21_11_04_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191017","1355191016","1355191019","1355191018","1355191173","1355191146"],"photo_ids_order":["1355191016","1355191017","1355191018","1355191019","1355191146","1355191173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7539a00b61085b4181dfa077b7b0d477.jpg","text":"TemporaryFile(/tmp/multipartBody2528170027956514592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138164405,"filename":"image_25042025_21_10_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/5/2/4c5e4116ee09dd789b08cc327b319872.jpg","text":"TemporaryFile(/tmp/multipartBody391443629628566718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138164405,"filename":"image_25042025_21_10_14_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5620d8dc5fc9ce3e322cd2d91c9b4f93.jpg","text":"TemporaryFile(/tmp/multipartBody7306034321246132216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138164405,"filename":"image_25042025_21_10_44_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/99b1246d1d039a4b3eba21dbb187c51e.jpg","text":"TemporaryFile(/tmp/multipartBody3315110065197981319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138164405,"filename":"image_25042025_21_10_34_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0cba6f25939c7e2af86945d5f09fec2.jpg","text":"TemporaryFile(/tmp/multipartBody8588447001553802914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138164405,"filename":"image_25042025_21_11_04_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4bc231a7d1b77d1c754d42290ed1de33.jpg","text":"TemporaryFile(/tmp/multipartBody1871800845239233488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138164405,"filename":"image_25042025_21_10_55_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191018","file1":"1355191017","file0":"1355191016","file4":"1355191146","file5":"1355191173","file3":"1355191019"},"map_files_photo_id_array":[{"photo_id":"1355191173","filename":"file5"},{"photo_id":"1355191018","filename":"file2"},{"photo_id":"1355191146","filename":"file4"},{"photo_id":"1355191017","filename":"file1"},{"photo_id":"1355191016","filename":"file0"},{"photo_id":"1355191019","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191017":["hashtag1","hashtag2"]},{"1355191016":["hashtag1","hashtag2"]},{"1355191019":["hashtag1","hashtag2"]},{"1355191018":["hashtag1","hashtag2"]},{"1355191173":["hashtag1","hashtag2"]},{"1355191146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191017, 1355191016, 1355191019, 1355191018, 1355191173, 1355191146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.9353187084198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:22:43.074794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/11/image_25042025_21_11_15_10427.jpg', '/home/pi/Desktop/images/25042025/21/11/image_25042025_21_11_24_9438.jpg', '/home/pi/Desktop/images/25042025/21/11/image_25042025_21_11_35_10425.jpg', '/home/pi/Desktop/images/25042025/21/11/image_25042025_21_11_45_10378.jpg', '/home/pi/Desktop/images/25042025/21/11/image_25042025_21_11_54_9407.jpg', '/home/pi/Desktop/images/25042025/21/11/image_25042025_21_12_05_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/11/image_25042025_21_11_15_10427.jpg
/home/pi/Desktop/images/25042025/21/11/image_25042025_21_11_24_9438.jpg
/home/pi/Desktop/images/25042025/21/11/image_25042025_21_11_35_10425.jpg
/home/pi/Desktop/images/25042025/21/11/image_25042025_21_11_45_10378.jpg
/home/pi/Desktop/images/25042025/21/11/image_25042025_21_11_54_9407.jpg
/home/pi/Desktop/images/25042025/21/11/image_25042025_21_12_05_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":["1355191248","1355191242","1355191250","1355191243","1355191246","1355191245"],"photo_ids_order":["1355191242","1355191243","1355191245","1355191246","1355191248","1355191250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cdca61314324cefd623b6782cb4b383b.jpg","text":"TemporaryFile(/tmp/multipartBody6622849431095987949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138224542,"filename":"image_25042025_21_11_54_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/06b040463171bd0f5bb2b728d555f4f4.jpg","text":"TemporaryFile(/tmp/multipartBody7431756825491026399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138224542,"filename":"image_25042025_21_11_15_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3cca84c3d4ebb1f38bd2d28e80560a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7816158691379966452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138224542,"filename":"image_25042025_21_12_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/5/2/172f122b67e9d596d8a9d20a805d24d6.jpg","text":"TemporaryFile(/tmp/multipartBody4855770388384322077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138224542,"filename":"image_25042025_21_11_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/5/2/52621dded054888ddb903952ac3ad4d0.jpg","text":"TemporaryFile(/tmp/multipartBody9206062032598392239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138224542,"filename":"image_25042025_21_11_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81162b864712843349b8faf66a9fa41c.jpg","text":"TemporaryFile(/tmp/multipartBody4228396888189682900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138224542,"filename":"image_25042025_21_11_35_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191245","file1":"1355191243","file0":"1355191242","file4":"1355191248","file5":"1355191250","file3":"1355191246"},"map_files_photo_id_array":[{"photo_id":"1355191250","filename":"file5"},{"photo_id":"1355191245","filename":"file2"},{"photo_id":"1355191248","filename":"file4"},{"photo_id":"1355191243","filename":"file1"},{"photo_id":"1355191242","filename":"file0"},{"photo_id":"1355191246","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191248":["hashtag1","hashtag2"]},{"1355191242":["hashtag1","hashtag2"]},{"1355191250":["hashtag1","hashtag2"]},{"1355191243":["hashtag1","hashtag2"]},{"1355191246":["hashtag1","hashtag2"]},{"1355191245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191248, 1355191242, 1355191250, 1355191243, 1355191246, 1355191245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.342390775680542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:23:42.296612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_14_9425.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_25_10447.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_34_9437.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_44_10388.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_55_10392.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_13_04_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_14_9425.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_25_10447.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_34_9437.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_44_10388.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_55_10392.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_13_04_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754cd7d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.546466588974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:26:03.271643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_14_9425.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_25_10447.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_34_9437.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_44_10388.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_55_10392.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_13_04_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_14_9425.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_25_10447.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_34_9437.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_44_10388.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_55_10392.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_13_04_9435.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4809589385986328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:26:12.985478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_14_9425.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_25_10447.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_34_9437.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_44_10388.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_55_10392.jpg', '/home/pi/Desktop/images/25042025/21/12/image_25042025_21_13_04_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_14_9425.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_25_10447.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_34_9437.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_44_10388.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_12_55_10392.jpg
/home/pi/Desktop/images/25042025/21/12/image_25042025_21_13_04_9435.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191442","1355191436","1355191439","1355191430","1355191433","1355191426"],"photo_ids_order":["1355191426","1355191430","1355191433","1355191436","1355191439","1355191442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8a0c4dcff25427ba10f52e5c6a11f76d.jpg","text":"TemporaryFile(/tmp/multipartBody7471276966616135513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138434364,"filename":"image_25042025_21_13_04_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3d2c7ce25c0b28885bb0da71fca26ea.jpg","text":"TemporaryFile(/tmp/multipartBody8739606096945554434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138434364,"filename":"image_25042025_21_12_44_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41539d8037ab202b2c7331803d5a390d.jpg","text":"TemporaryFile(/tmp/multipartBody3562796091889166958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138434364,"filename":"image_25042025_21_12_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/5/2/4ee067e5c4d4bb28719210a761a2ef4b.jpg","text":"TemporaryFile(/tmp/multipartBody1780245848484724308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138434364,"filename":"image_25042025_21_12_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/5/2/c23b93bcccbcc6f2e98e3b1aaf94943d.jpg","text":"TemporaryFile(/tmp/multipartBody6809624150832867193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138434364,"filename":"image_25042025_21_12_34_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75f9a9f5f8507f9801308162a8034a66.jpg","text":"TemporaryFile(/tmp/multipartBody1682414299384325237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138434364,"filename":"image_25042025_21_12_14_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191433","file1":"1355191430","file0":"1355191426","file4":"1355191439","file5":"1355191442","file3":"1355191436"},"map_files_photo_id_array":[{"photo_id":"1355191442","filename":"file5"},{"photo_id":"1355191433","filename":"file2"},{"photo_id":"1355191439","filename":"file4"},{"photo_id":"1355191430","filename":"file1"},{"photo_id":"1355191426","filename":"file0"},{"photo_id":"1355191436","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191442":["hashtag1","hashtag2"]},{"1355191436":["hashtag1","hashtag2"]},{"1355191439":["hashtag1","hashtag2"]},{"1355191430":["hashtag1","hashtag2"]},{"1355191433":["hashtag1","hashtag2"]},{"1355191426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191442, 1355191436, 1355191439, 1355191430, 1355191433, 1355191426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27915644645691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:27:04.199962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/13/image_25042025_21_13_15_10427.jpg', '/home/pi/Desktop/images/25042025/21/13/image_25042025_21_13_24_9382.jpg', '/home/pi/Desktop/images/25042025/21/13/image_25042025_21_13_35_10370.jpg', '/home/pi/Desktop/images/25042025/21/13/image_25042025_21_13_45_10389.jpg', '/home/pi/Desktop/images/25042025/21/13/image_25042025_21_13_54_9387.jpg', '/home/pi/Desktop/images/25042025/21/13/image_25042025_21_14_05_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/13/image_25042025_21_13_15_10427.jpg
/home/pi/Desktop/images/25042025/21/13/image_25042025_21_13_24_9382.jpg
/home/pi/Desktop/images/25042025/21/13/image_25042025_21_13_35_10370.jpg
/home/pi/Desktop/images/25042025/21/13/image_25042025_21_13_45_10389.jpg
/home/pi/Desktop/images/25042025/21/13/image_25042025_21_13_54_9387.jpg
/home/pi/Desktop/images/25042025/21/13/image_25042025_21_14_05_10389.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191466","1355191454","1355191463","1355191451","1355191459","1355191456"],"photo_ids_order":["1355191451","1355191454","1355191456","1355191459","1355191463","1355191466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2479ccd0e71b37f7a843e13fe9e1321f.jpg","text":"TemporaryFile(/tmp/multipartBody6548128120770501625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138485028,"filename":"image_25042025_21_14_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/5/2/6360c61d1f1970ba50e9b0e58fe935c8.jpg","text":"TemporaryFile(/tmp/multipartBody1792007193168618234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138485028,"filename":"image_25042025_21_13_24_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/372185101dac7be170cfd4107fcb0906.jpg","text":"TemporaryFile(/tmp/multipartBody5016011835590706922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138485028,"filename":"image_25042025_21_13_54_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94124f3f14dd35b48bb1776d659f06cc.jpg","text":"TemporaryFile(/tmp/multipartBody6075612525065402730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138485028,"filename":"image_25042025_21_13_15_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c45d8e1a9dc832bdcecdedb239c49ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8747626790363253726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138485028,"filename":"image_25042025_21_13_45_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/17a46967bfe53c862c6d7ed2c8f5da19.jpg","text":"TemporaryFile(/tmp/multipartBody3869635703767449438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138485028,"filename":"image_25042025_21_13_35_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191456","file1":"1355191454","file0":"1355191451","file4":"1355191463","file5":"1355191466","file3":"1355191459"},"map_files_photo_id_array":[{"photo_id":"1355191466","filename":"file5"},{"photo_id":"1355191456","filename":"file2"},{"photo_id":"1355191463","filename":"file4"},{"photo_id":"1355191454","filename":"file1"},{"photo_id":"1355191451","filename":"file0"},{"photo_id":"1355191459","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191466":["hashtag1","hashtag2"]},{"1355191454":["hashtag1","hashtag2"]},{"1355191463":["hashtag1","hashtag2"]},{"1355191451":["hashtag1","hashtag2"]},{"1355191459":["hashtag1","hashtag2"]},{"1355191456":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191466, 1355191454, 1355191463, 1355191451, 1355191459, 1355191456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.881826400756836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:27:43.042488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/14/image_25042025_21_14_14_9491.jpg', '/home/pi/Desktop/images/25042025/21/14/image_25042025_21_14_35_10391.jpg', '/home/pi/Desktop/images/25042025/21/14/image_25042025_21_14_44_9379.jpg', '/home/pi/Desktop/images/25042025/21/14/image_25042025_21_14_55_10530.jpg', '/home/pi/Desktop/images/25042025/21/14/image_25042025_21_15_04_9454.jpg', '/home/pi/Desktop/images/25042025/21/15/image_25042025_21_15_15_10530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/14/image_25042025_21_14_14_9491.jpg
/home/pi/Desktop/images/25042025/21/14/image_25042025_21_14_35_10391.jpg
/home/pi/Desktop/images/25042025/21/14/image_25042025_21_14_44_9379.jpg
/home/pi/Desktop/images/25042025/21/14/image_25042025_21_14_55_10530.jpg
/home/pi/Desktop/images/25042025/21/14/image_25042025_21_15_04_9454.jpg
/home/pi/Desktop/images/25042025/21/15/image_25042025_21_15_15_10530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191481","1355191475","1355191477","1355191474","1355191476","1355191479"],"photo_ids_order":["1355191474","1355191475","1355191476","1355191477","1355191479","1355191481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8f047b38e80a46b6f21cde569f5f00a2.jpg","text":"TemporaryFile(/tmp/multipartBody2238746570827127038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138524524,"filename":"image_25042025_21_15_15_10530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9fde1d3767a80e4fd8350871cfadc2a2.jpg","text":"TemporaryFile(/tmp/multipartBody4972828359639325918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138524524,"filename":"image_25042025_21_14_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/5/2/88c33429c281c0f04a1aa4cd43d104b6.jpg","text":"TemporaryFile(/tmp/multipartBody1941854226965515248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138524524,"filename":"image_25042025_21_14_55_10530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/471c9417ca3bc240f4af186c777618f7.jpg","text":"TemporaryFile(/tmp/multipartBody2075432330456833828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138524524,"filename":"image_25042025_21_14_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/5/2/cabb165e9255d41ec73ac458fde30b84.jpg","text":"TemporaryFile(/tmp/multipartBody4486434947268367872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138524524,"filename":"image_25042025_21_14_44_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53d1ea41faff502b66fbff0d59a66d53.jpg","text":"TemporaryFile(/tmp/multipartBody977729451593963328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138524524,"filename":"image_25042025_21_15_04_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191476","file1":"1355191475","file0":"1355191474","file4":"1355191479","file5":"1355191481","file3":"1355191477"},"map_files_photo_id_array":[{"photo_id":"1355191481","filename":"file5"},{"photo_id":"1355191476","filename":"file2"},{"photo_id":"1355191479","filename":"file4"},{"photo_id":"1355191475","filename":"file1"},{"photo_id":"1355191474","filename":"file0"},{"photo_id":"1355191477","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191481":["hashtag1","hashtag2"]},{"1355191475":["hashtag1","hashtag2"]},{"1355191477":["hashtag1","hashtag2"]},{"1355191474":["hashtag1","hashtag2"]},{"1355191476":["hashtag1","hashtag2"]},{"1355191479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191481, 1355191475, 1355191477, 1355191474, 1355191476, 1355191479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.85841679573059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:28:42.265646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/15/image_25042025_21_15_44_9371.jpg', '/home/pi/Desktop/images/25042025/21/15/image_25042025_21_15_55_10455.jpg', '/home/pi/Desktop/images/25042025/21/15/image_25042025_21_16_04_9414.jpg', '/home/pi/Desktop/images/25042025/21/16/image_25042025_21_16_15_10454.jpg', '/home/pi/Desktop/images/25042025/21/16/image_25042025_21_16_25_10472.jpg', '/home/pi/Desktop/images/25042025/21/16/image_25042025_21_16_34_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/15/image_25042025_21_15_44_9371.jpg
/home/pi/Desktop/images/25042025/21/15/image_25042025_21_15_55_10455.jpg
/home/pi/Desktop/images/25042025/21/15/image_25042025_21_16_04_9414.jpg
/home/pi/Desktop/images/25042025/21/16/image_25042025_21_16_15_10454.jpg
/home/pi/Desktop/images/25042025/21/16/image_25042025_21_16_25_10472.jpg
/home/pi/Desktop/images/25042025/21/16/image_25042025_21_16_34_9387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191512","1355191506","1355191503","1355191505","1355191508","1355191507"],"photo_ids_order":["1355191503","1355191505","1355191506","1355191507","1355191508","1355191512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e25ee1ac8a48136e53982c39ca2138f4.jpg","text":"TemporaryFile(/tmp/multipartBody7599205468120638132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138583759,"filename":"image_25042025_21_16_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/5/2/1355423442ced891882b5458ec80ea68.jpg","text":"TemporaryFile(/tmp/multipartBody2150247900286184171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138583759,"filename":"image_25042025_21_16_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/5/2/92e31fba703c95bfc846c7e2f2db7e67.jpg","text":"TemporaryFile(/tmp/multipartBody5452851337755369577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138583759,"filename":"image_25042025_21_15_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/5/2/88bce4ad409713aa5e4342fe86963f4b.jpg","text":"TemporaryFile(/tmp/multipartBody1792012838936963016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138583759,"filename":"image_25042025_21_15_55_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/091cfca31221bb35ea6bc6fb610a6aa1.jpg","text":"TemporaryFile(/tmp/multipartBody1919782008363291793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138583759,"filename":"image_25042025_21_16_25_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/546e4810de25e13eaf579f2b44c9b5a7.jpg","text":"TemporaryFile(/tmp/multipartBody4671051371085654082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138583759,"filename":"image_25042025_21_16_15_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191506","file1":"1355191505","file0":"1355191503","file4":"1355191508","file5":"1355191512","file3":"1355191507"},"map_files_photo_id_array":[{"photo_id":"1355191512","filename":"file5"},{"photo_id":"1355191506","filename":"file2"},{"photo_id":"1355191508","filename":"file4"},{"photo_id":"1355191505","filename":"file1"},{"photo_id":"1355191503","filename":"file0"},{"photo_id":"1355191507","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191512":["hashtag1","hashtag2"]},{"1355191506":["hashtag1","hashtag2"]},{"1355191503":["hashtag1","hashtag2"]},{"1355191505":["hashtag1","hashtag2"]},{"1355191508":["hashtag1","hashtag2"]},{"1355191507":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191512, 1355191506, 1355191503, 1355191505, 1355191508, 1355191507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7895131111145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:29:42.520600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/16/image_25042025_21_16_45_10424.jpg', '/home/pi/Desktop/images/25042025/21/16/image_25042025_21_16_54_9477.jpg', '/home/pi/Desktop/images/25042025/21/17/image_25042025_21_17_14_9488.jpg', '/home/pi/Desktop/images/25042025/21/17/image_25042025_21_17_25_10452.jpg', '/home/pi/Desktop/images/25042025/21/17/image_25042025_21_17_35_10457.jpg', '/home/pi/Desktop/images/25042025/21/17/image_25042025_21_17_45_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/16/image_25042025_21_16_45_10424.jpg
/home/pi/Desktop/images/25042025/21/16/image_25042025_21_16_54_9477.jpg
/home/pi/Desktop/images/25042025/21/17/image_25042025_21_17_14_9488.jpg
/home/pi/Desktop/images/25042025/21/17/image_25042025_21_17_25_10452.jpg
/home/pi/Desktop/images/25042025/21/17/image_25042025_21_17_35_10457.jpg
/home/pi/Desktop/images/25042025/21/17/image_25042025_21_17_45_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191535","1355191532","1355191531","1355191534","1355191528","1355191536"],"photo_ids_order":["1355191528","1355191531","1355191532","1355191534","1355191535","1355191536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1282602cffb8f55c06e2e837a0946c2.jpg","text":"TemporaryFile(/tmp/multipartBody1451419328177567824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138643993,"filename":"image_25042025_21_17_35_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/efc2f46f70d182b6e3e80864062c93df.jpg","text":"TemporaryFile(/tmp/multipartBody7851565335635626442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138643993,"filename":"image_25042025_21_17_14_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3739b4c5d7a7f013a8be9d87b4f85f6.jpg","text":"TemporaryFile(/tmp/multipartBody725982445394798886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138643993,"filename":"image_25042025_21_16_54_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85a99edab1e895c096ebc02f29ad30af.jpg","text":"TemporaryFile(/tmp/multipartBody922125902769490938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138643993,"filename":"image_25042025_21_17_25_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1dd9071ae8c1a29efe75758977f6527d.jpg","text":"TemporaryFile(/tmp/multipartBody4935312497029127098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138643993,"filename":"image_25042025_21_16_45_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/649303f61f4d5bf76cadcf4c2a197dd6.jpg","text":"TemporaryFile(/tmp/multipartBody94621443262234422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138643993,"filename":"image_25042025_21_17_45_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191532","file1":"1355191531","file0":"1355191528","file4":"1355191535","file5":"1355191536","file3":"1355191534"},"map_files_photo_id_array":[{"photo_id":"1355191536","filename":"file5"},{"photo_id":"1355191532","filename":"file2"},{"photo_id":"1355191535","filename":"file4"},{"photo_id":"1355191531","filename":"file1"},{"photo_id":"1355191528","filename":"file0"},{"photo_id":"1355191534","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191535":["hashtag1","hashtag2"]},{"1355191532":["hashtag1","hashtag2"]},{"1355191531":["hashtag1","hashtag2"]},{"1355191534":["hashtag1","hashtag2"]},{"1355191528":["hashtag1","hashtag2"]},{"1355191536":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191535, 1355191532, 1355191531, 1355191534, 1355191528, 1355191536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22002959251404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:30:42.782267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/17/image_25042025_21_17_55_10468.jpg', '/home/pi/Desktop/images/25042025/21/17/image_25042025_21_18_04_9364.jpg', '/home/pi/Desktop/images/25042025/21/18/image_25042025_21_18_15_10486.jpg', '/home/pi/Desktop/images/25042025/21/18/image_25042025_21_18_25_10102.jpg', '/home/pi/Desktop/images/25042025/21/18/image_25042025_21_18_34_9369.jpg', '/home/pi/Desktop/images/25042025/21/18/image_25042025_21_18_45_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/17/image_25042025_21_17_55_10468.jpg
/home/pi/Desktop/images/25042025/21/17/image_25042025_21_18_04_9364.jpg
/home/pi/Desktop/images/25042025/21/18/image_25042025_21_18_15_10486.jpg
/home/pi/Desktop/images/25042025/21/18/image_25042025_21_18_25_10102.jpg
/home/pi/Desktop/images/25042025/21/18/image_25042025_21_18_34_9369.jpg
/home/pi/Desktop/images/25042025/21/18/image_25042025_21_18_45_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191551","1355191559","1355191553","1355191556","1355191555","1355191557"],"photo_ids_order":["1355191551","1355191553","1355191555","1355191556","1355191557","1355191559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/461393164ee1a9efd4c1a34895eb33dd.jpg","text":"TemporaryFile(/tmp/multipartBody5152236824683860625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138704252,"filename":"image_25042025_21_17_55_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2384fc599b33fc56ae79959a2d3209e1.jpg","text":"TemporaryFile(/tmp/multipartBody7321882745334247753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138704252,"filename":"image_25042025_21_18_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c00f895399a7b3f36a1c30789c01e5db.jpg","text":"TemporaryFile(/tmp/multipartBody6300466662810943960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138704252,"filename":"image_25042025_21_18_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/04303111d5088f43df2d6335aaae84a1.jpg","text":"TemporaryFile(/tmp/multipartBody8420454321163702096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138704252,"filename":"image_25042025_21_18_25_10102.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d9b5fe5566bc25b5a73e886d9b431599.jpg","text":"TemporaryFile(/tmp/multipartBody2625950965049532744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138704252,"filename":"image_25042025_21_18_15_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7b04207eedc33d25e8210417538c3556.jpg","text":"TemporaryFile(/tmp/multipartBody3664246355858298622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138704252,"filename":"image_25042025_21_18_34_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191555","file1":"1355191553","file0":"1355191551","file4":"1355191557","file5":"1355191559","file3":"1355191556"},"map_files_photo_id_array":[{"photo_id":"1355191559","filename":"file5"},{"photo_id":"1355191555","filename":"file2"},{"photo_id":"1355191557","filename":"file4"},{"photo_id":"1355191553","filename":"file1"},{"photo_id":"1355191551","filename":"file0"},{"photo_id":"1355191556","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191551":["hashtag1","hashtag2"]},{"1355191559":["hashtag1","hashtag2"]},{"1355191553":["hashtag1","hashtag2"]},{"1355191556":["hashtag1","hashtag2"]},{"1355191555":["hashtag1","hashtag2"]},{"1355191557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191551, 1355191559, 1355191553, 1355191556, 1355191555, 1355191557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.662633180618286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:31:43.013566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/18/image_25042025_21_18_54_9491.jpg', '/home/pi/Desktop/images/25042025/21/18/image_25042025_21_19_05_10432.jpg', '/home/pi/Desktop/images/25042025/21/19/image_25042025_21_19_25_10383.jpg', '/home/pi/Desktop/images/25042025/21/19/image_25042025_21_19_35_10483.jpg', '/home/pi/Desktop/images/25042025/21/19/image_25042025_21_19_44_9378.jpg', '/home/pi/Desktop/images/25042025/21/19/image_25042025_21_19_55_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/18/image_25042025_21_18_54_9491.jpg
/home/pi/Desktop/images/25042025/21/18/image_25042025_21_19_05_10432.jpg
/home/pi/Desktop/images/25042025/21/19/image_25042025_21_19_25_10383.jpg
/home/pi/Desktop/images/25042025/21/19/image_25042025_21_19_35_10483.jpg
/home/pi/Desktop/images/25042025/21/19/image_25042025_21_19_44_9378.jpg
/home/pi/Desktop/images/25042025/21/19/image_25042025_21_19_55_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191577","1355191571","1355191574","1355191573","1355191572","1355191575"],"photo_ids_order":["1355191571","1355191572","1355191573","1355191574","1355191575","1355191577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1308384850e55c284b88c3dc97ae640b.jpg","text":"TemporaryFile(/tmp/multipartBody4921082459526184410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138764502,"filename":"image_25042025_21_19_55_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/23c7dfe5274fd7372c3f4e58489d32f3.jpg","text":"TemporaryFile(/tmp/multipartBody4339672346614683896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138764502,"filename":"image_25042025_21_18_54_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a934b1317fd07c9d6f49e837f03f0f5.jpg","text":"TemporaryFile(/tmp/multipartBody1920030872858250602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138764502,"filename":"image_25042025_21_19_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/5/2/8c937e11d862e8feab8fb61d05495c3c.jpg","text":"TemporaryFile(/tmp/multipartBody3794990844751380267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138764502,"filename":"image_25042025_21_19_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/5/2/28be8b352bbb482f6baaee2ae4061681.jpg","text":"TemporaryFile(/tmp/multipartBody3280452487591098672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138764502,"filename":"image_25042025_21_19_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/5/2/7c69eb0665f5d7f2338eeec587c46d57.jpg","text":"TemporaryFile(/tmp/multipartBody5186733233949114158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138764502,"filename":"image_25042025_21_19_44_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191573","file1":"1355191572","file0":"1355191571","file4":"1355191575","file5":"1355191577","file3":"1355191574"},"map_files_photo_id_array":[{"photo_id":"1355191577","filename":"file5"},{"photo_id":"1355191573","filename":"file2"},{"photo_id":"1355191575","filename":"file4"},{"photo_id":"1355191572","filename":"file1"},{"photo_id":"1355191571","filename":"file0"},{"photo_id":"1355191574","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191577":["hashtag1","hashtag2"]},{"1355191571":["hashtag1","hashtag2"]},{"1355191574":["hashtag1","hashtag2"]},{"1355191573":["hashtag1","hashtag2"]},{"1355191572":["hashtag1","hashtag2"]},{"1355191575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191577, 1355191571, 1355191574, 1355191573, 1355191572, 1355191575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36241555213928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-05-02 00:32:42.176697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/19/image_25042025_21_20_04_9478.jpg', '/home/pi/Desktop/images/25042025/21/20/image_25042025_21_20_15_10508.jpg', '/home/pi/Desktop/images/25042025/21/20/image_25042025_21_20_24_9427.jpg', '/home/pi/Desktop/images/25042025/21/20/image_25042025_21_20_35_10362.jpg', '/home/pi/Desktop/images/25042025/21/20/image_25042025_21_20_45_10404.jpg', '/home/pi/Desktop/images/25042025/21/20/image_25042025_21_20_54_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/19/image_25042025_21_20_04_9478.jpg
/home/pi/Desktop/images/25042025/21/20/image_25042025_21_20_15_10508.jpg
/home/pi/Desktop/images/25042025/21/20/image_25042025_21_20_24_9427.jpg
/home/pi/Desktop/images/25042025/21/20/image_25042025_21_20_35_10362.jpg
/home/pi/Desktop/images/25042025/21/20/image_25042025_21_20_45_10404.jpg
/home/pi/Desktop/images/25042025/21/20/image_25042025_21_20_54_9364.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191605","1355191594","1355191607","1355191599","1355191603","1355191596"],"photo_ids_order":["1355191594","1355191596","1355191599","1355191603","1355191605","1355191607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fcdf98646ae965574a15010d954cd588.jpg","text":"TemporaryFile(/tmp/multipartBody13890763890638252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138823664,"filename":"image_25042025_21_20_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3719e2692bb6437b2b7e0120a13eb4c.jpg","text":"TemporaryFile(/tmp/multipartBody2532655362008744438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138823664,"filename":"image_25042025_21_20_04_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a47cc010acfb88e8bb33dbb7a1ac6563.jpg","text":"TemporaryFile(/tmp/multipartBody4181914453889508007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138823664,"filename":"image_25042025_21_20_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0231bf08f6032437c3c16041321c7feb.jpg","text":"TemporaryFile(/tmp/multipartBody6701330612385647405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138823664,"filename":"image_25042025_21_20_24_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f998f4541d824b57065d31a7c11aef5.jpg","text":"TemporaryFile(/tmp/multipartBody7067708564384053792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138823664,"filename":"image_25042025_21_20_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/5/2/548dce686f1db2de76ad4a6a6a62bad9.jpg","text":"TemporaryFile(/tmp/multipartBody5804129858100711948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138823664,"filename":"image_25042025_21_20_15_10508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191599","file1":"1355191596","file0":"1355191594","file4":"1355191605","file5":"1355191607","file3":"1355191603"},"map_files_photo_id_array":[{"photo_id":"1355191607","filename":"file5"},{"photo_id":"1355191599","filename":"file2"},{"photo_id":"1355191605","filename":"file4"},{"photo_id":"1355191596","filename":"file1"},{"photo_id":"1355191594","filename":"file0"},{"photo_id":"1355191603","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191605":["hashtag1","hashtag2"]},{"1355191594":["hashtag1","hashtag2"]},{"1355191607":["hashtag1","hashtag2"]},{"1355191599":["hashtag1","hashtag2"]},{"1355191603":["hashtag1","hashtag2"]},{"1355191596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191605, 1355191594, 1355191607, 1355191599, 1355191603, 1355191596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48014235496521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:34:03.384919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/21/image_25042025_21_21_14_9426.jpg', '/home/pi/Desktop/images/25042025/21/21/image_25042025_21_21_25_10445.jpg', '/home/pi/Desktop/images/25042025/21/21/image_25042025_21_21_34_9339.jpg', '/home/pi/Desktop/images/25042025/21/22/image_25042025_21_22_15_10414.jpg', '/home/pi/Desktop/images/25042025/21/22/image_25042025_21_22_24_9433.jpg', '/home/pi/Desktop/images/25042025/21/22/image_25042025_21_22_45_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/21/image_25042025_21_21_14_9426.jpg
/home/pi/Desktop/images/25042025/21/21/image_25042025_21_21_25_10445.jpg
/home/pi/Desktop/images/25042025/21/21/image_25042025_21_21_34_9339.jpg
/home/pi/Desktop/images/25042025/21/22/image_25042025_21_22_15_10414.jpg
/home/pi/Desktop/images/25042025/21/22/image_25042025_21_22_24_9433.jpg
/home/pi/Desktop/images/25042025/21/22/image_25042025_21_22_45_10476.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191632","1355191629","1355191628","1355191625","1355191630","1355191635"],"photo_ids_order":["1355191625","1355191628","1355191629","1355191630","1355191632","1355191635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8685b825035c081837d20617d6af291d.jpg","text":"TemporaryFile(/tmp/multipartBody6153587107867175716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138905301,"filename":"image_25042025_21_22_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/5/2/546a67379a01ce6406014246697617aa.jpg","text":"TemporaryFile(/tmp/multipartBody3772118939402465516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138905301,"filename":"image_25042025_21_21_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/5/2/497ffc72393bb041dbaef64d94ba4194.jpg","text":"TemporaryFile(/tmp/multipartBody1131600832207240063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138905301,"filename":"image_25042025_21_21_25_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7a806fbbe180e68fe4e1ee656049693f.jpg","text":"TemporaryFile(/tmp/multipartBody3532345170618129340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138905301,"filename":"image_25042025_21_21_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/5/2/586bf5135fe64ea1dc789ef3905d76e6.jpg","text":"TemporaryFile(/tmp/multipartBody4672697560991118836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138905301,"filename":"image_25042025_21_22_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/5/2/8b2870b4759bd7b5ed6d18e4f8153c56.jpg","text":"TemporaryFile(/tmp/multipartBody3058041963051567679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138905301,"filename":"image_25042025_21_22_45_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191629","file1":"1355191628","file0":"1355191625","file4":"1355191632","file5":"1355191635","file3":"1355191630"},"map_files_photo_id_array":[{"photo_id":"1355191635","filename":"file5"},{"photo_id":"1355191629","filename":"file2"},{"photo_id":"1355191632","filename":"file4"},{"photo_id":"1355191628","filename":"file1"},{"photo_id":"1355191625","filename":"file0"},{"photo_id":"1355191630","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191632":["hashtag1","hashtag2"]},{"1355191629":["hashtag1","hashtag2"]},{"1355191628":["hashtag1","hashtag2"]},{"1355191625":["hashtag1","hashtag2"]},{"1355191630":["hashtag1","hashtag2"]},{"1355191635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191632, 1355191629, 1355191628, 1355191625, 1355191630, 1355191635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01900124549866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:35:03.882428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/22/image_25042025_21_22_54_9373.jpg', '/home/pi/Desktop/images/25042025/21/26/image_25042025_21_26_15_10447.jpg', '/home/pi/Desktop/images/25042025/21/26/image_25042025_21_26_24_9426.jpg', '/home/pi/Desktop/images/25042025/21/26/image_25042025_21_26_35_10361.jpg', '/home/pi/Desktop/images/25042025/21/26/image_25042025_21_26_45_10404.jpg', '/home/pi/Desktop/images/25042025/21/26/image_25042025_21_26_54_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/22/image_25042025_21_22_54_9373.jpg
/home/pi/Desktop/images/25042025/21/26/image_25042025_21_26_15_10447.jpg
/home/pi/Desktop/images/25042025/21/26/image_25042025_21_26_24_9426.jpg
/home/pi/Desktop/images/25042025/21/26/image_25042025_21_26_35_10361.jpg
/home/pi/Desktop/images/25042025/21/26/image_25042025_21_26_45_10404.jpg
/home/pi/Desktop/images/25042025/21/26/image_25042025_21_26_54_9368.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191650","1355191660","1355191657","1355191651","1355191654","1355191653"],"photo_ids_order":["1355191650","1355191651","1355191653","1355191654","1355191657","1355191660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7f9eef1e8cee64cee6f8875a9e11442c.jpg","text":"TemporaryFile(/tmp/multipartBody8537913944247113406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138964624,"filename":"image_25042025_21_22_54_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/be9b88be2b1bf15dd8209a356197b404.jpg","text":"TemporaryFile(/tmp/multipartBody6697702599780016343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138964624,"filename":"image_25042025_21_26_54_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/676d95ff46e587a2414f96c4f227e517.jpg","text":"TemporaryFile(/tmp/multipartBody4188811394319772544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138964624,"filename":"image_25042025_21_26_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f81bf8a7d82f0e5ccedfb548990004b.jpg","text":"TemporaryFile(/tmp/multipartBody3129997136450759073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138964624,"filename":"image_25042025_21_26_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/5/2/2f2578d8b80e60761d7e3a5ae6b16d19.jpg","text":"TemporaryFile(/tmp/multipartBody6730925898207399988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138964624,"filename":"image_25042025_21_26_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/5/2/0102e026d7945332cd653e5031d2c903.jpg","text":"TemporaryFile(/tmp/multipartBody1592026302257766810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746138964624,"filename":"image_25042025_21_26_24_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191653","file1":"1355191651","file0":"1355191650","file4":"1355191657","file5":"1355191660","file3":"1355191654"},"map_files_photo_id_array":[{"photo_id":"1355191660","filename":"file5"},{"photo_id":"1355191653","filename":"file2"},{"photo_id":"1355191657","filename":"file4"},{"photo_id":"1355191651","filename":"file1"},{"photo_id":"1355191650","filename":"file0"},{"photo_id":"1355191654","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191650":["hashtag1","hashtag2"]},{"1355191660":["hashtag1","hashtag2"]},{"1355191657":["hashtag1","hashtag2"]},{"1355191651":["hashtag1","hashtag2"]},{"1355191654":["hashtag1","hashtag2"]},{"1355191653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191650, 1355191660, 1355191657, 1355191651, 1355191654, 1355191653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40405464172363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:36:03.058513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/26/image_25042025_21_27_05_10403.jpg', '/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_14_9359.jpg', '/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_25_10393.jpg', '/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_35_10391.jpg', '/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_44_9344.jpg', '/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_55_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/26/image_25042025_21_27_05_10403.jpg
/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_14_9359.jpg
/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_25_10393.jpg
/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_35_10391.jpg
/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_44_9344.jpg
/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_55_10457.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5839447975158691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:37:03.971795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/26/image_25042025_21_27_05_10403.jpg', '/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_14_9359.jpg', '/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_25_10393.jpg', '/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_35_10391.jpg', '/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_44_9344.jpg', '/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_55_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/26/image_25042025_21_27_05_10403.jpg
/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_14_9359.jpg
/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_25_10393.jpg
/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_35_10391.jpg
/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_44_9344.jpg
/home/pi/Desktop/images/25042025/21/27/image_25042025_21_27_55_10457.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191697","1355191701","1355191709","1355191700","1355191703","1355191706"],"photo_ids_order":["1355191697","1355191700","1355191701","1355191703","1355191706","1355191709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a5be23fddc01d03d5485d66f76486378.jpg","text":"TemporaryFile(/tmp/multipartBody6287708154884325231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139084613,"filename":"image_25042025_21_27_05_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f45fa2c3f4bca61b9721c9de4a1d094c.jpg","text":"TemporaryFile(/tmp/multipartBody5785180223435728806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139084613,"filename":"image_25042025_21_27_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e31793c27e12d98c3f50f4af34d15ec.jpg","text":"TemporaryFile(/tmp/multipartBody9129711333006469904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139084613,"filename":"image_25042025_21_27_55_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa9cfe9a123ae235cc7e3efa8aeb2b36.jpg","text":"TemporaryFile(/tmp/multipartBody4418776313987120279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139084613,"filename":"image_25042025_21_27_14_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/76625afc8645bf8c2be53bc3d54b3240.jpg","text":"TemporaryFile(/tmp/multipartBody5095129187470279573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139084613,"filename":"image_25042025_21_27_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/5/2/51ab9ebf2d75eeb9feb81aeba69d608f.jpg","text":"TemporaryFile(/tmp/multipartBody2376643394490001090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139084613,"filename":"image_25042025_21_27_44_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191701","file1":"1355191700","file0":"1355191697","file4":"1355191706","file5":"1355191709","file3":"1355191703"},"map_files_photo_id_array":[{"photo_id":"1355191709","filename":"file5"},{"photo_id":"1355191701","filename":"file2"},{"photo_id":"1355191706","filename":"file4"},{"photo_id":"1355191700","filename":"file1"},{"photo_id":"1355191697","filename":"file0"},{"photo_id":"1355191703","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191697":["hashtag1","hashtag2"]},{"1355191701":["hashtag1","hashtag2"]},{"1355191709":["hashtag1","hashtag2"]},{"1355191700":["hashtag1","hashtag2"]},{"1355191703":["hashtag1","hashtag2"]},{"1355191706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191697, 1355191701, 1355191709, 1355191700, 1355191703, 1355191706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82484531402588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:38:02.874442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/27/image_25042025_21_28_04_9350.jpg', '/home/pi/Desktop/images/25042025/21/28/image_25042025_21_28_15_10406.jpg', '/home/pi/Desktop/images/25042025/21/28/image_25042025_21_28_25_10380.jpg', '/home/pi/Desktop/images/25042025/21/28/image_25042025_21_28_34_9437.jpg', '/home/pi/Desktop/images/25042025/21/28/image_25042025_21_28_45_10462.jpg', '/home/pi/Desktop/images/25042025/21/28/image_25042025_21_28_54_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/27/image_25042025_21_28_04_9350.jpg
/home/pi/Desktop/images/25042025/21/28/image_25042025_21_28_15_10406.jpg
/home/pi/Desktop/images/25042025/21/28/image_25042025_21_28_25_10380.jpg
/home/pi/Desktop/images/25042025/21/28/image_25042025_21_28_34_9437.jpg
/home/pi/Desktop/images/25042025/21/28/image_25042025_21_28_45_10462.jpg
/home/pi/Desktop/images/25042025/21/28/image_25042025_21_28_54_9377.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191725","1355191730","1355191733","1355191727","1355191724","1355191728"],"photo_ids_order":["1355191724","1355191725","1355191727","1355191728","1355191730","1355191733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49756cfe3a0733cae5bf11f827cfb87b.jpg","text":"TemporaryFile(/tmp/multipartBody6221656861727822682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139143518,"filename":"image_25042025_21_28_15_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3390e84391097bff41e4d380a6b5ae2.jpg","text":"TemporaryFile(/tmp/multipartBody8532078814268428576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139143518,"filename":"image_25042025_21_28_45_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cf31ad36868c15f7cfe220341cc0c66c.jpg","text":"TemporaryFile(/tmp/multipartBody6095349565589087965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139143518,"filename":"image_25042025_21_28_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/5/2/f193183ed25eb4beb8788e7a51333683.jpg","text":"TemporaryFile(/tmp/multipartBody3254101268501427937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139143518,"filename":"image_25042025_21_28_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/5/2/d4640eafbff3bee808977bc520c5c152.jpg","text":"TemporaryFile(/tmp/multipartBody735581845581036741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139143518,"filename":"image_25042025_21_28_04_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/001b81eff825c02ddc06ea2de9280c5a.jpg","text":"TemporaryFile(/tmp/multipartBody396760516591881353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139143518,"filename":"image_25042025_21_28_34_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191727","file1":"1355191725","file0":"1355191724","file4":"1355191730","file5":"1355191733","file3":"1355191728"},"map_files_photo_id_array":[{"photo_id":"1355191733","filename":"file5"},{"photo_id":"1355191727","filename":"file2"},{"photo_id":"1355191730","filename":"file4"},{"photo_id":"1355191725","filename":"file1"},{"photo_id":"1355191724","filename":"file0"},{"photo_id":"1355191728","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191725":["hashtag1","hashtag2"]},{"1355191730":["hashtag1","hashtag2"]},{"1355191733":["hashtag1","hashtag2"]},{"1355191727":["hashtag1","hashtag2"]},{"1355191724":["hashtag1","hashtag2"]},{"1355191728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191725, 1355191730, 1355191733, 1355191727, 1355191724, 1355191728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.661669969558716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:39:03.982044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/28/image_25042025_21_29_05_10362.jpg', '/home/pi/Desktop/images/25042025/21/29/image_25042025_21_29_15_10443.jpg', '/home/pi/Desktop/images/25042025/21/29/image_25042025_21_29_24_9383.jpg', '/home/pi/Desktop/images/25042025/21/29/image_25042025_21_29_35_10459.jpg', '/home/pi/Desktop/images/25042025/21/29/image_25042025_21_29_44_9460.jpg', '/home/pi/Desktop/images/25042025/21/29/image_25042025_21_29_55_10488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/28/image_25042025_21_29_05_10362.jpg
/home/pi/Desktop/images/25042025/21/29/image_25042025_21_29_15_10443.jpg
/home/pi/Desktop/images/25042025/21/29/image_25042025_21_29_24_9383.jpg
/home/pi/Desktop/images/25042025/21/29/image_25042025_21_29_35_10459.jpg
/home/pi/Desktop/images/25042025/21/29/image_25042025_21_29_44_9460.jpg
/home/pi/Desktop/images/25042025/21/29/image_25042025_21_29_55_10488.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191758","1355191751","1355191753","1355191761","1355191755","1355191749"],"photo_ids_order":["1355191749","1355191751","1355191753","1355191755","1355191758","1355191761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0933f35d511b1e7512a52eaa49756a7a.jpg","text":"TemporaryFile(/tmp/multipartBody8271556794446647425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139204816,"filename":"image_25042025_21_29_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/5/2/213191776f17cce8be1bb8f7fbc2c84b.jpg","text":"TemporaryFile(/tmp/multipartBody3816415223256608164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139204816,"filename":"image_25042025_21_29_15_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fe80e32432dc3d1fe4ebef36ca79179b.jpg","text":"TemporaryFile(/tmp/multipartBody6244904907584961652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139204816,"filename":"image_25042025_21_29_24_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eae609e9fccf92aa518491d4ece7870c.jpg","text":"TemporaryFile(/tmp/multipartBody225745525192573671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139204816,"filename":"image_25042025_21_29_55_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1210a9e1ba7d1cb47f1673962f61557f.jpg","text":"TemporaryFile(/tmp/multipartBody3706709294401877324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139204816,"filename":"image_25042025_21_29_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/5/2/6a2e938ec3025e360460d0fc9fbcff40.jpg","text":"TemporaryFile(/tmp/multipartBody142210039191068905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139204816,"filename":"image_25042025_21_29_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191753","file1":"1355191751","file0":"1355191749","file4":"1355191758","file5":"1355191761","file3":"1355191755"},"map_files_photo_id_array":[{"photo_id":"1355191761","filename":"file5"},{"photo_id":"1355191753","filename":"file2"},{"photo_id":"1355191758","filename":"file4"},{"photo_id":"1355191751","filename":"file1"},{"photo_id":"1355191749","filename":"file0"},{"photo_id":"1355191755","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191758":["hashtag1","hashtag2"]},{"1355191751":["hashtag1","hashtag2"]},{"1355191753":["hashtag1","hashtag2"]},{"1355191761":["hashtag1","hashtag2"]},{"1355191755":["hashtag1","hashtag2"]},{"1355191749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191758, 1355191751, 1355191753, 1355191761, 1355191755, 1355191749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96402835845947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:40:02.861055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/29/image_25042025_21_30_04_9395.jpg', '/home/pi/Desktop/images/25042025/21/30/image_25042025_21_30_25_10386.jpg', '/home/pi/Desktop/images/25042025/21/30/image_25042025_21_30_34_9401.jpg', '/home/pi/Desktop/images/25042025/21/30/image_25042025_21_30_45_10399.jpg', '/home/pi/Desktop/images/25042025/21/30/image_25042025_21_30_54_9413.jpg', '/home/pi/Desktop/images/25042025/21/30/image_25042025_21_31_05_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/29/image_25042025_21_30_04_9395.jpg
/home/pi/Desktop/images/25042025/21/30/image_25042025_21_30_25_10386.jpg
/home/pi/Desktop/images/25042025/21/30/image_25042025_21_30_34_9401.jpg
/home/pi/Desktop/images/25042025/21/30/image_25042025_21_30_45_10399.jpg
/home/pi/Desktop/images/25042025/21/30/image_25042025_21_30_54_9413.jpg
/home/pi/Desktop/images/25042025/21/30/image_25042025_21_31_05_10493.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191775","1355191778","1355191787","1355191780","1355191783","1355191773"],"photo_ids_order":["1355191773","1355191775","1355191778","1355191780","1355191783","1355191787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d141ddbcf6eda5d6045df3f6ffb7496.jpg","text":"TemporaryFile(/tmp/multipartBody6864849767972618048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139263511,"filename":"image_25042025_21_30_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/5/2/5d05e07bcff9486246196dad063f3101.jpg","text":"TemporaryFile(/tmp/multipartBody7523050345020612583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139263511,"filename":"image_25042025_21_30_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/5/2/3724cad75e30bdf31fd07af8f1a75cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6642601063503452794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139263511,"filename":"image_25042025_21_31_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/5/2/0172f08f1becd1bf91bfb98b27faf9ef.jpg","text":"TemporaryFile(/tmp/multipartBody8281934633234307862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139263511,"filename":"image_25042025_21_30_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/5/2/940888c8c1c3644e1df38be4a7c5f049.jpg","text":"TemporaryFile(/tmp/multipartBody1801195986357648309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139263511,"filename":"image_25042025_21_30_54_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/216b982e8728b52b63381f1563f747ed.jpg","text":"TemporaryFile(/tmp/multipartBody1898443558967451529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139263511,"filename":"image_25042025_21_30_04_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191778","file1":"1355191775","file0":"1355191773","file4":"1355191783","file5":"1355191787","file3":"1355191780"},"map_files_photo_id_array":[{"photo_id":"1355191787","filename":"file5"},{"photo_id":"1355191778","filename":"file2"},{"photo_id":"1355191783","filename":"file4"},{"photo_id":"1355191775","filename":"file1"},{"photo_id":"1355191773","filename":"file0"},{"photo_id":"1355191780","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191775":["hashtag1","hashtag2"]},{"1355191778":["hashtag1","hashtag2"]},{"1355191787":["hashtag1","hashtag2"]},{"1355191780":["hashtag1","hashtag2"]},{"1355191783":["hashtag1","hashtag2"]},{"1355191773":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191775, 1355191778, 1355191787, 1355191780, 1355191783, 1355191773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0922749042511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:41:04.042286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/31/image_25042025_21_31_14_9397.jpg', '/home/pi/Desktop/images/25042025/21/31/image_25042025_21_31_25_10384.jpg', '/home/pi/Desktop/images/25042025/21/31/image_25042025_21_31_35_10369.jpg', '/home/pi/Desktop/images/25042025/21/31/image_25042025_21_31_44_9377.jpg', '/home/pi/Desktop/images/25042025/21/31/image_25042025_21_31_55_10379.jpg', '/home/pi/Desktop/images/25042025/21/31/image_25042025_21_32_05_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/31/image_25042025_21_31_14_9397.jpg
/home/pi/Desktop/images/25042025/21/31/image_25042025_21_31_25_10384.jpg
/home/pi/Desktop/images/25042025/21/31/image_25042025_21_31_35_10369.jpg
/home/pi/Desktop/images/25042025/21/31/image_25042025_21_31_44_9377.jpg
/home/pi/Desktop/images/25042025/21/31/image_25042025_21_31_55_10379.jpg
/home/pi/Desktop/images/25042025/21/31/image_25042025_21_32_05_10358.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191809","1355191803","1355191793","1355191806","1355191796","1355191799"],"photo_ids_order":["1355191793","1355191796","1355191799","1355191803","1355191806","1355191809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/539c4c1f3f2c047845554e811b3839b9.jpg","text":"TemporaryFile(/tmp/multipartBody5787358870463144085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139324843,"filename":"image_25042025_21_32_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/5/2/c91782ca13ba47c55868eadbb0c64622.jpg","text":"TemporaryFile(/tmp/multipartBody5013793813092724243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139324843,"filename":"image_25042025_21_31_44_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b924c806f06b6fd10758b5e0b4244bd0.jpg","text":"TemporaryFile(/tmp/multipartBody7278081980676197394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139324843,"filename":"image_25042025_21_31_14_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad41763f16ed21ab6099b18b51a0923a.jpg","text":"TemporaryFile(/tmp/multipartBody4519581733877656317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139324843,"filename":"image_25042025_21_31_55_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/166b8162e9e0adecbb4a5738b1a9e0a3.jpg","text":"TemporaryFile(/tmp/multipartBody2330571520940555737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139324843,"filename":"image_25042025_21_31_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/5/2/7ed8b72f566bc4037a0bf2dc6d1b88d5.jpg","text":"TemporaryFile(/tmp/multipartBody2073539257332749560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139324843,"filename":"image_25042025_21_31_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191799","file1":"1355191796","file0":"1355191793","file4":"1355191806","file5":"1355191809","file3":"1355191803"},"map_files_photo_id_array":[{"photo_id":"1355191809","filename":"file5"},{"photo_id":"1355191799","filename":"file2"},{"photo_id":"1355191806","filename":"file4"},{"photo_id":"1355191796","filename":"file1"},{"photo_id":"1355191793","filename":"file0"},{"photo_id":"1355191803","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191809":["hashtag1","hashtag2"]},{"1355191803":["hashtag1","hashtag2"]},{"1355191793":["hashtag1","hashtag2"]},{"1355191806":["hashtag1","hashtag2"]},{"1355191796":["hashtag1","hashtag2"]},{"1355191799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191809, 1355191803, 1355191793, 1355191806, 1355191796, 1355191799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70840096473694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:42:03.102537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/32/image_25042025_21_33_04_10373.jpg', '/home/pi/Desktop/images/25042025/21/33/image_25042025_21_33_15_10488.jpg', '/home/pi/Desktop/images/25042025/21/33/image_25042025_21_33_35_10405.jpg', '/home/pi/Desktop/images/25042025/21/33/image_25042025_21_33_44_9358.jpg', '/home/pi/Desktop/images/25042025/21/33/image_25042025_21_34_05_10414.jpg', '/home/pi/Desktop/images/25042025/21/34/image_25042025_21_34_14_9519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/32/image_25042025_21_33_04_10373.jpg
/home/pi/Desktop/images/25042025/21/33/image_25042025_21_33_15_10488.jpg
/home/pi/Desktop/images/25042025/21/33/image_25042025_21_33_35_10405.jpg
/home/pi/Desktop/images/25042025/21/33/image_25042025_21_33_44_9358.jpg
/home/pi/Desktop/images/25042025/21/33/image_25042025_21_34_05_10414.jpg
/home/pi/Desktop/images/25042025/21/34/image_25042025_21_34_14_9519.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191824","1355191818","1355191820","1355191831","1355191816","1355191827"],"photo_ids_order":["1355191816","1355191818","1355191820","1355191824","1355191827","1355191831"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f5d163beafa565daa95181fcea81501a.jpg","text":"TemporaryFile(/tmp/multipartBody1641791494868443279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139383765,"filename":"image_25042025_21_33_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e4e58551eda9aa2de18fe3edb976a4e.jpg","text":"TemporaryFile(/tmp/multipartBody1754325576805194850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139383765,"filename":"image_25042025_21_33_15_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7d6e50ab38af2a7df9f7fee915fb2b8.jpg","text":"TemporaryFile(/tmp/multipartBody85011870010528918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139383765,"filename":"image_25042025_21_33_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/191528ed5b4744b8a64dd1be9f0e6fda.jpg","text":"TemporaryFile(/tmp/multipartBody4124525124804353521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139383765,"filename":"image_25042025_21_34_14_9519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/25c7862e4c464165acd202d08fc7f462.jpg","text":"TemporaryFile(/tmp/multipartBody9097411779874299299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139383765,"filename":"image_25042025_21_33_04_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/736cb94f1699d58e139fdd0700f23356.jpg","text":"TemporaryFile(/tmp/multipartBody1893684344076174156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139383765,"filename":"image_25042025_21_34_05_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191820","file1":"1355191818","file0":"1355191816","file4":"1355191827","file5":"1355191831","file3":"1355191824"},"map_files_photo_id_array":[{"photo_id":"1355191831","filename":"file5"},{"photo_id":"1355191820","filename":"file2"},{"photo_id":"1355191827","filename":"file4"},{"photo_id":"1355191818","filename":"file1"},{"photo_id":"1355191816","filename":"file0"},{"photo_id":"1355191824","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191824":["hashtag1","hashtag2"]},{"1355191818":["hashtag1","hashtag2"]},{"1355191820":["hashtag1","hashtag2"]},{"1355191831":["hashtag1","hashtag2"]},{"1355191816":["hashtag1","hashtag2"]},{"1355191827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191824, 1355191818, 1355191820, 1355191831, 1355191816, 1355191827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.16291403770447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:43:04.325103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/34/image_25042025_21_34_45_10395.jpg', '/home/pi/Desktop/images/25042025/21/34/image_25042025_21_34_54_9424.jpg', '/home/pi/Desktop/images/25042025/21/34/image_25042025_21_35_04_10353.jpg', '/home/pi/Desktop/images/25042025/21/35/image_25042025_21_35_35_10372.jpg', '/home/pi/Desktop/images/25042025/21/35/image_25042025_21_35_45_10456.jpg', '/home/pi/Desktop/images/25042025/21/35/image_25042025_21_35_55_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/34/image_25042025_21_34_45_10395.jpg
/home/pi/Desktop/images/25042025/21/34/image_25042025_21_34_54_9424.jpg
/home/pi/Desktop/images/25042025/21/34/image_25042025_21_35_04_10353.jpg
/home/pi/Desktop/images/25042025/21/35/image_25042025_21_35_35_10372.jpg
/home/pi/Desktop/images/25042025/21/35/image_25042025_21_35_45_10456.jpg
/home/pi/Desktop/images/25042025/21/35/image_25042025_21_35_55_9445.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191839","1355191859","1355191850","1355191847","1355191841","1355191854"],"photo_ids_order":["1355191839","1355191841","1355191847","1355191850","1355191854","1355191859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f88d018f01dcdb95749302b2ebbe36b.jpg","text":"TemporaryFile(/tmp/multipartBody7042969843229600477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139445152,"filename":"image_25042025_21_34_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d31ad8b7d7244af64a7334094aab9c5c.jpg","text":"TemporaryFile(/tmp/multipartBody8413332698722951563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139445152,"filename":"image_25042025_21_35_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/5/2/aa8135e83e6c34172b8e460a2d34a3ca.jpg","text":"TemporaryFile(/tmp/multipartBody1036997284529544053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139445152,"filename":"image_25042025_21_35_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/5/2/a79e6b3e0bb9c8e428435b6bf4a5a5d8.jpg","text":"TemporaryFile(/tmp/multipartBody3858680638188936415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139445152,"filename":"image_25042025_21_35_04_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f274ec93c58cbe2f2d98fba6bc0cb85.jpg","text":"TemporaryFile(/tmp/multipartBody7100079993639592437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139445152,"filename":"image_25042025_21_34_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/5/2/41872018a358148f33436f1bb45276cf.jpg","text":"TemporaryFile(/tmp/multipartBody2455289646628975020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139445152,"filename":"image_25042025_21_35_45_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191847","file1":"1355191841","file0":"1355191839","file4":"1355191854","file5":"1355191859","file3":"1355191850"},"map_files_photo_id_array":[{"photo_id":"1355191859","filename":"file5"},{"photo_id":"1355191847","filename":"file2"},{"photo_id":"1355191854","filename":"file4"},{"photo_id":"1355191841","filename":"file1"},{"photo_id":"1355191839","filename":"file0"},{"photo_id":"1355191850","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191839":["hashtag1","hashtag2"]},{"1355191859":["hashtag1","hashtag2"]},{"1355191850":["hashtag1","hashtag2"]},{"1355191847":["hashtag1","hashtag2"]},{"1355191841":["hashtag1","hashtag2"]},{"1355191854":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191839, 1355191859, 1355191850, 1355191847, 1355191841, 1355191854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.312458992004395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:44:03.220174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/35/image_25042025_21_36_05_10458.jpg', '/home/pi/Desktop/images/25042025/21/36/image_25042025_21_36_25_10442.jpg', '/home/pi/Desktop/images/25042025/21/36/image_25042025_21_36_34_9383.jpg', '/home/pi/Desktop/images/25042025/21/36/image_25042025_21_36_45_10380.jpg', '/home/pi/Desktop/images/25042025/21/36/image_25042025_21_36_55_10420.jpg', '/home/pi/Desktop/images/25042025/21/36/image_25042025_21_37_04_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/35/image_25042025_21_36_05_10458.jpg
/home/pi/Desktop/images/25042025/21/36/image_25042025_21_36_25_10442.jpg
/home/pi/Desktop/images/25042025/21/36/image_25042025_21_36_34_9383.jpg
/home/pi/Desktop/images/25042025/21/36/image_25042025_21_36_45_10380.jpg
/home/pi/Desktop/images/25042025/21/36/image_25042025_21_36_55_10420.jpg
/home/pi/Desktop/images/25042025/21/36/image_25042025_21_37_04_9407.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191874","1355191871","1355191879","1355191873","1355191876","1355191869"],"photo_ids_order":["1355191869","1355191871","1355191873","1355191874","1355191876","1355191879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d76ad47f1fba46a79ef22c503f758368.jpg","text":"TemporaryFile(/tmp/multipartBody1437958859248133815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139503882,"filename":"image_25042025_21_36_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fca777b18a367ec02c2f551a00de4fa9.jpg","text":"TemporaryFile(/tmp/multipartBody9025218825714311763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139503882,"filename":"image_25042025_21_36_25_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1198547a811327315ae4204008d12426.jpg","text":"TemporaryFile(/tmp/multipartBody5952746939377305774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139503882,"filename":"image_25042025_21_37_04_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7b4527600f31f4094a9329e6ebb630a.jpg","text":"TemporaryFile(/tmp/multipartBody8275313831621786723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139503882,"filename":"image_25042025_21_36_34_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c688141c358b52f50021aab02332ff37.jpg","text":"TemporaryFile(/tmp/multipartBody173533979688193077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139503882,"filename":"image_25042025_21_36_55_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/74ffedbd3163c224fd491459ada4cd37.jpg","text":"TemporaryFile(/tmp/multipartBody3294732458941297340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139503882,"filename":"image_25042025_21_36_05_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191873","file1":"1355191871","file0":"1355191869","file4":"1355191876","file5":"1355191879","file3":"1355191874"},"map_files_photo_id_array":[{"photo_id":"1355191879","filename":"file5"},{"photo_id":"1355191873","filename":"file2"},{"photo_id":"1355191876","filename":"file4"},{"photo_id":"1355191871","filename":"file1"},{"photo_id":"1355191869","filename":"file0"},{"photo_id":"1355191874","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191874":["hashtag1","hashtag2"]},{"1355191871":["hashtag1","hashtag2"]},{"1355191879":["hashtag1","hashtag2"]},{"1355191873":["hashtag1","hashtag2"]},{"1355191876":["hashtag1","hashtag2"]},{"1355191869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191874, 1355191871, 1355191879, 1355191873, 1355191876, 1355191869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.037060737609863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:45:03.450730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/37/image_25042025_21_37_15_10551.jpg', '/home/pi/Desktop/images/25042025/21/37/image_25042025_21_37_24_9374.jpg', '/home/pi/Desktop/images/25042025/21/37/image_25042025_21_37_44_9359.jpg', '/home/pi/Desktop/images/25042025/21/37/image_25042025_21_37_55_10422.jpg', '/home/pi/Desktop/images/25042025/21/37/image_25042025_21_38_05_10363.jpg', '/home/pi/Desktop/images/25042025/21/38/image_25042025_21_38_14_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/37/image_25042025_21_37_15_10551.jpg
/home/pi/Desktop/images/25042025/21/37/image_25042025_21_37_24_9374.jpg
/home/pi/Desktop/images/25042025/21/37/image_25042025_21_37_44_9359.jpg
/home/pi/Desktop/images/25042025/21/37/image_25042025_21_37_55_10422.jpg
/home/pi/Desktop/images/25042025/21/37/image_25042025_21_38_05_10363.jpg
/home/pi/Desktop/images/25042025/21/38/image_25042025_21_38_14_9438.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191892","1355191905","1355191898","1355191901","1355191896","1355191890"],"photo_ids_order":["1355191890","1355191892","1355191896","1355191898","1355191901","1355191905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8cefa4a67552109048a419139802b87f.jpg","text":"TemporaryFile(/tmp/multipartBody7309749264093678874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139564197,"filename":"image_25042025_21_37_24_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75653e93fc0ccffdf19b3edd94e23009.jpg","text":"TemporaryFile(/tmp/multipartBody5761338029063748721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139564197,"filename":"image_25042025_21_38_14_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2f83fab15efc8302dff11c0d184a76e9.jpg","text":"TemporaryFile(/tmp/multipartBody5184847741114436830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139564197,"filename":"image_25042025_21_37_55_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/845754099f0c2220ef8e993561456bc6.jpg","text":"TemporaryFile(/tmp/multipartBody5894460820905993813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139564197,"filename":"image_25042025_21_38_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/5/2/89d77ea5942d33416b429ebeecb9744f.jpg","text":"TemporaryFile(/tmp/multipartBody4853093734710971187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139564197,"filename":"image_25042025_21_37_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/5/2/a5d6b55db70cb9f8e44b48aa47f1ea56.jpg","text":"TemporaryFile(/tmp/multipartBody4198697009073213790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139564197,"filename":"image_25042025_21_37_15_10551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191896","file1":"1355191892","file0":"1355191890","file4":"1355191901","file5":"1355191905","file3":"1355191898"},"map_files_photo_id_array":[{"photo_id":"1355191905","filename":"file5"},{"photo_id":"1355191896","filename":"file2"},{"photo_id":"1355191901","filename":"file4"},{"photo_id":"1355191892","filename":"file1"},{"photo_id":"1355191890","filename":"file0"},{"photo_id":"1355191898","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191892":["hashtag1","hashtag2"]},{"1355191905":["hashtag1","hashtag2"]},{"1355191898":["hashtag1","hashtag2"]},{"1355191901":["hashtag1","hashtag2"]},{"1355191896":["hashtag1","hashtag2"]},{"1355191890":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191892, 1355191905, 1355191898, 1355191901, 1355191896, 1355191890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84295320510864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:46:03.345558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/38/image_25042025_21_38_34_9384.jpg', '/home/pi/Desktop/images/25042025/21/38/image_25042025_21_38_55_10404.jpg', '/home/pi/Desktop/images/25042025/21/38/image_25042025_21_39_04_9352.jpg', '/home/pi/Desktop/images/25042025/21/39/image_25042025_21_39_15_10514.jpg', '/home/pi/Desktop/images/25042025/21/39/image_25042025_21_39_24_9399.jpg', '/home/pi/Desktop/images/25042025/21/39/image_25042025_21_39_44_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/38/image_25042025_21_38_34_9384.jpg
/home/pi/Desktop/images/25042025/21/38/image_25042025_21_38_55_10404.jpg
/home/pi/Desktop/images/25042025/21/38/image_25042025_21_39_04_9352.jpg
/home/pi/Desktop/images/25042025/21/39/image_25042025_21_39_15_10514.jpg
/home/pi/Desktop/images/25042025/21/39/image_25042025_21_39_24_9399.jpg
/home/pi/Desktop/images/25042025/21/39/image_25042025_21_39_44_9401.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191923","1355191925","1355191919","1355191913","1355191916","1355191921"],"photo_ids_order":["1355191913","1355191916","1355191919","1355191921","1355191923","1355191925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c354d9c4a7af1f7214cda7cc441de90.jpg","text":"TemporaryFile(/tmp/multipartBody8982137648452825735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139624034,"filename":"image_25042025_21_39_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/5/2/5b989e3a826741d85d354db6bde63d82.jpg","text":"TemporaryFile(/tmp/multipartBody843301051810116883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139624034,"filename":"image_25042025_21_39_44_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee0aac0bef48d04ece71ee4690c80309.jpg","text":"TemporaryFile(/tmp/multipartBody6168675467269959613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139624034,"filename":"image_25042025_21_39_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09829fc879220b712a7162aa77589770.jpg","text":"TemporaryFile(/tmp/multipartBody1739384546897610204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139624034,"filename":"image_25042025_21_38_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/5/2/2925d0c88af6967f6f260f07c183d66e.jpg","text":"TemporaryFile(/tmp/multipartBody6113084219223044278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139624034,"filename":"image_25042025_21_38_55_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/32abb880e49d2e97475dde93f55f35c2.jpg","text":"TemporaryFile(/tmp/multipartBody99647624626867113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139624034,"filename":"image_25042025_21_39_15_10514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191919","file1":"1355191916","file0":"1355191913","file4":"1355191923","file5":"1355191925","file3":"1355191921"},"map_files_photo_id_array":[{"photo_id":"1355191925","filename":"file5"},{"photo_id":"1355191919","filename":"file2"},{"photo_id":"1355191923","filename":"file4"},{"photo_id":"1355191916","filename":"file1"},{"photo_id":"1355191913","filename":"file0"},{"photo_id":"1355191921","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191923":["hashtag1","hashtag2"]},{"1355191925":["hashtag1","hashtag2"]},{"1355191919":["hashtag1","hashtag2"]},{"1355191913":["hashtag1","hashtag2"]},{"1355191916":["hashtag1","hashtag2"]},{"1355191921":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191923, 1355191925, 1355191919, 1355191913, 1355191916, 1355191921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32488512992859 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:47:03.515273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/39/image_25042025_21_39_55_10380.jpg', '/home/pi/Desktop/images/25042025/21/39/image_25042025_21_40_05_10459.jpg', '/home/pi/Desktop/images/25042025/21/40/image_25042025_21_40_25_10409.jpg', '/home/pi/Desktop/images/25042025/21/40/image_25042025_21_40_34_9374.jpg', '/home/pi/Desktop/images/25042025/21/40/image_25042025_21_40_45_10524.jpg', '/home/pi/Desktop/images/25042025/21/40/image_25042025_21_40_54_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/39/image_25042025_21_39_55_10380.jpg
/home/pi/Desktop/images/25042025/21/39/image_25042025_21_40_05_10459.jpg
/home/pi/Desktop/images/25042025/21/40/image_25042025_21_40_25_10409.jpg
/home/pi/Desktop/images/25042025/21/40/image_25042025_21_40_34_9374.jpg
/home/pi/Desktop/images/25042025/21/40/image_25042025_21_40_45_10524.jpg
/home/pi/Desktop/images/25042025/21/40/image_25042025_21_40_54_9386.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191946","1355191948","1355191957","1355191942","1355191950","1355191953"],"photo_ids_order":["1355191942","1355191946","1355191948","1355191950","1355191953","1355191957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f035880eba94268fd09c3cc415bb799d.jpg","text":"TemporaryFile(/tmp/multipartBody8505962269666598389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139684274,"filename":"image_25042025_21_40_05_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e7c7ae73cad2aa7d4ded2f7b9498e9d4.jpg","text":"TemporaryFile(/tmp/multipartBody4692755010993941784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139684274,"filename":"image_25042025_21_40_25_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/46752e1fd9142dc52398bf3a4fedac2c.jpg","text":"TemporaryFile(/tmp/multipartBody5116825808253912591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139684274,"filename":"image_25042025_21_40_54_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2032e31ccc76a65b4e931f3675d80373.jpg","text":"TemporaryFile(/tmp/multipartBody6691082834904374272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139684274,"filename":"image_25042025_21_39_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/5/2/e30ec0d2de338b560c6475b4fc6b8ee8.jpg","text":"TemporaryFile(/tmp/multipartBody3773766118283226331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139684274,"filename":"image_25042025_21_40_34_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/72192c78410a6fd63524d376b16a60eb.jpg","text":"TemporaryFile(/tmp/multipartBody5810834604969643800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139684274,"filename":"image_25042025_21_40_45_10524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191948","file1":"1355191946","file0":"1355191942","file4":"1355191953","file5":"1355191957","file3":"1355191950"},"map_files_photo_id_array":[{"photo_id":"1355191957","filename":"file5"},{"photo_id":"1355191948","filename":"file2"},{"photo_id":"1355191953","filename":"file4"},{"photo_id":"1355191946","filename":"file1"},{"photo_id":"1355191942","filename":"file0"},{"photo_id":"1355191950","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191946":["hashtag1","hashtag2"]},{"1355191948":["hashtag1","hashtag2"]},{"1355191957":["hashtag1","hashtag2"]},{"1355191942":["hashtag1","hashtag2"]},{"1355191950":["hashtag1","hashtag2"]},{"1355191953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191946, 1355191948, 1355191957, 1355191942, 1355191950, 1355191953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60185122489929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:48:03.274749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/40/image_25042025_21_41_05_10363.jpg', '/home/pi/Desktop/images/25042025/21/41/image_25042025_21_41_15_10522.jpg', '/home/pi/Desktop/images/25042025/21/41/image_25042025_21_41_24_9413.jpg', '/home/pi/Desktop/images/25042025/21/41/image_25042025_21_41_35_10392.jpg', '/home/pi/Desktop/images/25042025/21/41/image_25042025_21_41_44_9392.jpg', '/home/pi/Desktop/images/25042025/21/41/image_25042025_21_42_04_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/40/image_25042025_21_41_05_10363.jpg
/home/pi/Desktop/images/25042025/21/41/image_25042025_21_41_15_10522.jpg
/home/pi/Desktop/images/25042025/21/41/image_25042025_21_41_24_9413.jpg
/home/pi/Desktop/images/25042025/21/41/image_25042025_21_41_35_10392.jpg
/home/pi/Desktop/images/25042025/21/41/image_25042025_21_41_44_9392.jpg
/home/pi/Desktop/images/25042025/21/41/image_25042025_21_42_04_9457.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191973","1355191976","1355191970","1355191978","1355191965","1355191968"],"photo_ids_order":["1355191965","1355191968","1355191970","1355191973","1355191976","1355191978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0c349fab62f13faf64159eb4a789bdc.jpg","text":"TemporaryFile(/tmp/multipartBody7934912280481544424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139746593,"filename":"image_25042025_21_41_35_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/386e7f73c4fd59a06cf11b6b0078ed18.jpg","text":"TemporaryFile(/tmp/multipartBody2041214011789731876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139746593,"filename":"image_25042025_21_41_44_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6020076b0bdaa7c83beda0ebf14c65d4.jpg","text":"TemporaryFile(/tmp/multipartBody7993937768560126166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139746593,"filename":"image_25042025_21_41_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/5/2/b220d96d36196faa604574ad9d7c73a3.jpg","text":"TemporaryFile(/tmp/multipartBody7135979307272183252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139746593,"filename":"image_25042025_21_42_04_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed8c8d56aabe65770cb9c2131feb7bab.jpg","text":"TemporaryFile(/tmp/multipartBody6771696100482396352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139746593,"filename":"image_25042025_21_41_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/5/2/c8826cbca53a310c0f7225a7b30264c3.jpg","text":"TemporaryFile(/tmp/multipartBody7904911633700216473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139746593,"filename":"image_25042025_21_41_15_10522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191970","file1":"1355191968","file0":"1355191965","file4":"1355191976","file5":"1355191978","file3":"1355191973"},"map_files_photo_id_array":[{"photo_id":"1355191978","filename":"file5"},{"photo_id":"1355191970","filename":"file2"},{"photo_id":"1355191976","filename":"file4"},{"photo_id":"1355191968","filename":"file1"},{"photo_id":"1355191965","filename":"file0"},{"photo_id":"1355191973","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191973":["hashtag1","hashtag2"]},{"1355191976":["hashtag1","hashtag2"]},{"1355191970":["hashtag1","hashtag2"]},{"1355191978":["hashtag1","hashtag2"]},{"1355191965":["hashtag1","hashtag2"]},{"1355191968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191973, 1355191976, 1355191970, 1355191978, 1355191965, 1355191968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.918540239334106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:49:04.258796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/42/image_25042025_21_42_15_10453.jpg', '/home/pi/Desktop/images/25042025/21/42/image_25042025_21_42_24_9416.jpg', '/home/pi/Desktop/images/25042025/21/42/image_25042025_21_42_35_10404.jpg', '/home/pi/Desktop/images/25042025/21/42/image_25042025_21_42_45_10460.jpg', '/home/pi/Desktop/images/25042025/21/42/image_25042025_21_42_54_9455.jpg', '/home/pi/Desktop/images/25042025/21/42/image_25042025_21_43_05_10543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/42/image_25042025_21_42_15_10453.jpg
/home/pi/Desktop/images/25042025/21/42/image_25042025_21_42_24_9416.jpg
/home/pi/Desktop/images/25042025/21/42/image_25042025_21_42_35_10404.jpg
/home/pi/Desktop/images/25042025/21/42/image_25042025_21_42_45_10460.jpg
/home/pi/Desktop/images/25042025/21/42/image_25042025_21_42_54_9455.jpg
/home/pi/Desktop/images/25042025/21/42/image_25042025_21_43_05_10543.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355191991","1355192003","1355191996","1355191999","1355191993","1355192005"],"photo_ids_order":["1355191991","1355191993","1355191996","1355191999","1355192003","1355192005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e680870d209ca3515b0272b24bf163ad.jpg","text":"TemporaryFile(/tmp/multipartBody9090113568761769171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139805106,"filename":"image_25042025_21_42_15_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b1067eb7046de6d5ac477b1b4422d517.jpg","text":"TemporaryFile(/tmp/multipartBody3887027044529004668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139805106,"filename":"image_25042025_21_42_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/5/2/479554a05f059323876ce4befebf0072.jpg","text":"TemporaryFile(/tmp/multipartBody6509182225593749341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139805106,"filename":"image_25042025_21_42_35_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f75aa9f08e8569a7d8f0db1e74ed49e.jpg","text":"TemporaryFile(/tmp/multipartBody9139783257480606115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139805106,"filename":"image_25042025_21_42_45_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e472772f1517a2f783e373981eebf11.jpg","text":"TemporaryFile(/tmp/multipartBody6932357334279709920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139805106,"filename":"image_25042025_21_42_24_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1261b9a962312d9f781aff7f2bb7289b.jpg","text":"TemporaryFile(/tmp/multipartBody4198246445833183044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139805106,"filename":"image_25042025_21_43_05_10543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355191996","file1":"1355191993","file0":"1355191991","file4":"1355192003","file5":"1355192005","file3":"1355191999"},"map_files_photo_id_array":[{"photo_id":"1355192005","filename":"file5"},{"photo_id":"1355191996","filename":"file2"},{"photo_id":"1355192003","filename":"file4"},{"photo_id":"1355191993","filename":"file1"},{"photo_id":"1355191991","filename":"file0"},{"photo_id":"1355191999","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355191991":["hashtag1","hashtag2"]},{"1355192003":["hashtag1","hashtag2"]},{"1355191996":["hashtag1","hashtag2"]},{"1355191999":["hashtag1","hashtag2"]},{"1355191993":["hashtag1","hashtag2"]},{"1355192005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355191991, 1355192003, 1355191996, 1355191999, 1355191993, 1355192005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37667441368103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:50:03.398537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/43/image_25042025_21_43_14_9425.jpg', '/home/pi/Desktop/images/25042025/21/43/image_25042025_21_43_25_10487.jpg', '/home/pi/Desktop/images/25042025/21/43/image_25042025_21_43_34_9357.jpg', '/home/pi/Desktop/images/25042025/21/43/image_25042025_21_43_45_10380.jpg', '/home/pi/Desktop/images/25042025/21/43/image_25042025_21_43_55_10377.jpg', '/home/pi/Desktop/images/25042025/21/44/image_25042025_21_44_15_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/43/image_25042025_21_43_14_9425.jpg
/home/pi/Desktop/images/25042025/21/43/image_25042025_21_43_25_10487.jpg
/home/pi/Desktop/images/25042025/21/43/image_25042025_21_43_34_9357.jpg
/home/pi/Desktop/images/25042025/21/43/image_25042025_21_43_45_10380.jpg
/home/pi/Desktop/images/25042025/21/43/image_25042025_21_43_55_10377.jpg
/home/pi/Desktop/images/25042025/21/44/image_25042025_21_44_15_10485.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355192018","1355192020","1355192023","1355192014","1355192028","1355192016"],"photo_ids_order":["1355192014","1355192016","1355192018","1355192020","1355192023","1355192028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ba91839955e9cae874d50f1e62988e5.jpg","text":"TemporaryFile(/tmp/multipartBody420502066034636413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139864058,"filename":"image_25042025_21_43_34_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e69c7e3e48de1db8515edb192babea3.jpg","text":"TemporaryFile(/tmp/multipartBody6553080835342961590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139864058,"filename":"image_25042025_21_43_45_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/128554d2c6f8c27f680312c08dc8cb76.jpg","text":"TemporaryFile(/tmp/multipartBody289481846837473832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139864058,"filename":"image_25042025_21_43_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d77e3eeec3cec7214bb2d526f2bd6c5.jpg","text":"TemporaryFile(/tmp/multipartBody6716433852751281896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139864058,"filename":"image_25042025_21_43_14_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d98e234d9ce0cf9c6a19c7c5a01bec82.jpg","text":"TemporaryFile(/tmp/multipartBody7419120896431875480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139864058,"filename":"image_25042025_21_44_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/5/2/c6ac5c8caf79b5e0c884212f73da966d.jpg","text":"TemporaryFile(/tmp/multipartBody6896280510133541747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139864058,"filename":"image_25042025_21_43_25_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355192018","file1":"1355192016","file0":"1355192014","file4":"1355192023","file5":"1355192028","file3":"1355192020"},"map_files_photo_id_array":[{"photo_id":"1355192028","filename":"file5"},{"photo_id":"1355192018","filename":"file2"},{"photo_id":"1355192023","filename":"file4"},{"photo_id":"1355192016","filename":"file1"},{"photo_id":"1355192014","filename":"file0"},{"photo_id":"1355192020","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192018":["hashtag1","hashtag2"]},{"1355192020":["hashtag1","hashtag2"]},{"1355192023":["hashtag1","hashtag2"]},{"1355192014":["hashtag1","hashtag2"]},{"1355192028":["hashtag1","hashtag2"]},{"1355192016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192018, 1355192020, 1355192023, 1355192014, 1355192028, 1355192016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73320436477661 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:51:03.452234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/44/image_25042025_21_44_24_9376.jpg', '/home/pi/Desktop/images/25042025/21/44/image_25042025_21_44_35_10354.jpg', '/home/pi/Desktop/images/25042025/21/45/image_25042025_21_45_14_9429.jpg', '/home/pi/Desktop/images/25042025/21/45/image_25042025_21_45_25_10401.jpg', '/home/pi/Desktop/images/25042025/21/45/image_25042025_21_45_35_10370.jpg', '/home/pi/Desktop/images/25042025/21/45/image_25042025_21_45_55_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/44/image_25042025_21_44_24_9376.jpg
/home/pi/Desktop/images/25042025/21/44/image_25042025_21_44_35_10354.jpg
/home/pi/Desktop/images/25042025/21/45/image_25042025_21_45_14_9429.jpg
/home/pi/Desktop/images/25042025/21/45/image_25042025_21_45_25_10401.jpg
/home/pi/Desktop/images/25042025/21/45/image_25042025_21_45_35_10370.jpg
/home/pi/Desktop/images/25042025/21/45/image_25042025_21_45_55_10461.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355192044","1355192058","1355192052","1355192046","1355192055","1355192040"],"photo_ids_order":["1355192040","1355192044","1355192046","1355192052","1355192055","1355192058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b50d79bfe8307b80e50b93cd6d5fe42c.jpg","text":"TemporaryFile(/tmp/multipartBody5362122339109405730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139924191,"filename":"image_25042025_21_44_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/5/2/e505f55fc171146bf8e6bb65e4f0d51e.jpg","text":"TemporaryFile(/tmp/multipartBody5534739125528923576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139924191,"filename":"image_25042025_21_45_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/5/2/090242813706b2da4786fec8a42ea9c1.jpg","text":"TemporaryFile(/tmp/multipartBody5694769304971319123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139924191,"filename":"image_25042025_21_45_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/5/2/d1c26810799d6cd5f8483099081ebee3.jpg","text":"TemporaryFile(/tmp/multipartBody3787164433338253039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139924191,"filename":"image_25042025_21_45_14_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee1a444001bc0b8d0dc6055bbd3e7eb7.jpg","text":"TemporaryFile(/tmp/multipartBody4044486759592659151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139924191,"filename":"image_25042025_21_45_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c02c7c30f87b1c89a1ac2ac0c322936d.jpg","text":"TemporaryFile(/tmp/multipartBody3865548805874083709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139924191,"filename":"image_25042025_21_44_24_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355192046","file1":"1355192044","file0":"1355192040","file4":"1355192055","file5":"1355192058","file3":"1355192052"},"map_files_photo_id_array":[{"photo_id":"1355192058","filename":"file5"},{"photo_id":"1355192046","filename":"file2"},{"photo_id":"1355192055","filename":"file4"},{"photo_id":"1355192044","filename":"file1"},{"photo_id":"1355192040","filename":"file0"},{"photo_id":"1355192052","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192044":["hashtag1","hashtag2"]},{"1355192058":["hashtag1","hashtag2"]},{"1355192052":["hashtag1","hashtag2"]},{"1355192046":["hashtag1","hashtag2"]},{"1355192055":["hashtag1","hashtag2"]},{"1355192040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192044, 1355192058, 1355192052, 1355192046, 1355192055, 1355192040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.045634508132935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:52:03.264998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/45/image_25042025_21_46_04_9372.jpg', '/home/pi/Desktop/images/25042025/21/46/image_25042025_21_46_15_10449.jpg', '/home/pi/Desktop/images/25042025/21/46/image_25042025_21_46_24_9438.jpg', '/home/pi/Desktop/images/25042025/21/46/image_25042025_21_46_35_10465.jpg', '/home/pi/Desktop/images/25042025/21/46/image_25042025_21_46_45_10392.jpg', '/home/pi/Desktop/images/25042025/21/47/image_25042025_21_47_34_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/45/image_25042025_21_46_04_9372.jpg
/home/pi/Desktop/images/25042025/21/46/image_25042025_21_46_15_10449.jpg
/home/pi/Desktop/images/25042025/21/46/image_25042025_21_46_24_9438.jpg
/home/pi/Desktop/images/25042025/21/46/image_25042025_21_46_35_10465.jpg
/home/pi/Desktop/images/25042025/21/46/image_25042025_21_46_45_10392.jpg
/home/pi/Desktop/images/25042025/21/47/image_25042025_21_47_34_9443.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355192069","1355192066","1355192077","1355192071","1355192074","1355192064"],"photo_ids_order":["1355192064","1355192066","1355192069","1355192071","1355192074","1355192077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/371f9ab2671d5ee33e3fa10d556a53a2.jpg","text":"TemporaryFile(/tmp/multipartBody2178946363999321118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139983929,"filename":"image_25042025_21_46_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/5/2/ca7e7a3725d8d99642a6ab7e02bb687a.jpg","text":"TemporaryFile(/tmp/multipartBody8864375050153929307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139983929,"filename":"image_25042025_21_46_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/5/2/86cfe9637cbad64dbd69b6f91e152486.jpg","text":"TemporaryFile(/tmp/multipartBody4209765114986206283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139983929,"filename":"image_25042025_21_47_34_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7f59abdf5abca8d418455fc8a99d4d5e.jpg","text":"TemporaryFile(/tmp/multipartBody599796860451731341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139983929,"filename":"image_25042025_21_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/5/2/70cc55e1dd1cd20366b3c679c7b63c81.jpg","text":"TemporaryFile(/tmp/multipartBody497348308952303410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139983929,"filename":"image_25042025_21_46_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/5/2/76cd69d5101c6cff031192d8e0f0d5b0.jpg","text":"TemporaryFile(/tmp/multipartBody6713430612041184286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746139983929,"filename":"image_25042025_21_46_04_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355192069","file1":"1355192066","file0":"1355192064","file4":"1355192074","file5":"1355192077","file3":"1355192071"},"map_files_photo_id_array":[{"photo_id":"1355192077","filename":"file5"},{"photo_id":"1355192069","filename":"file2"},{"photo_id":"1355192074","filename":"file4"},{"photo_id":"1355192066","filename":"file1"},{"photo_id":"1355192064","filename":"file0"},{"photo_id":"1355192071","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192069":["hashtag1","hashtag2"]},{"1355192066":["hashtag1","hashtag2"]},{"1355192077":["hashtag1","hashtag2"]},{"1355192071":["hashtag1","hashtag2"]},{"1355192074":["hashtag1","hashtag2"]},{"1355192064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192069, 1355192066, 1355192077, 1355192071, 1355192074, 1355192064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.699692249298096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:53:03.656019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/47/image_25042025_21_47_45_10405.jpg', '/home/pi/Desktop/images/25042025/21/48/image_25042025_21_48_35_10465.jpg', '/home/pi/Desktop/images/25042025/21/48/image_25042025_21_48_55_10387.jpg', '/home/pi/Desktop/images/25042025/21/48/image_25042025_21_49_04_9399.jpg', '/home/pi/Desktop/images/25042025/21/49/image_25042025_21_49_15_10429.jpg', '/home/pi/Desktop/images/25042025/21/49/image_25042025_21_49_25_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/47/image_25042025_21_47_45_10405.jpg
/home/pi/Desktop/images/25042025/21/48/image_25042025_21_48_35_10465.jpg
/home/pi/Desktop/images/25042025/21/48/image_25042025_21_48_55_10387.jpg
/home/pi/Desktop/images/25042025/21/48/image_25042025_21_49_04_9399.jpg
/home/pi/Desktop/images/25042025/21/49/image_25042025_21_49_15_10429.jpg
/home/pi/Desktop/images/25042025/21/49/image_25042025_21_49_25_10390.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355192093","1355192095","1355192108","1355192092","1355192097","1355192091"],"photo_ids_order":["1355192091","1355192092","1355192093","1355192095","1355192097","1355192108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a1686f5a20d17f0c2ca0da23010a818.jpg","text":"TemporaryFile(/tmp/multipartBody5275145830187525057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140044431,"filename":"image_25042025_21_48_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/5/2/488417b941fc8a60c0f5d2d6198c46cd.jpg","text":"TemporaryFile(/tmp/multipartBody550345012156371221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140044431,"filename":"image_25042025_21_49_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/5/2/5b2d9b3c6e9b98745eceb741d7d273d1.jpg","text":"TemporaryFile(/tmp/multipartBody2542734871130940074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140044431,"filename":"image_25042025_21_49_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/303ef78f71518f873069f942361cc94b.jpg","text":"TemporaryFile(/tmp/multipartBody6960498766128156627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140044431,"filename":"image_25042025_21_48_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/5/2/2a218831e3a33d9b0c922ea54095e978.jpg","text":"TemporaryFile(/tmp/multipartBody5718232407238221908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140044431,"filename":"image_25042025_21_49_15_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/12be27b62bbd7ed41a392dd27cf5509a.jpg","text":"TemporaryFile(/tmp/multipartBody3449767106658341750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140044431,"filename":"image_25042025_21_47_45_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355192093","file1":"1355192092","file0":"1355192091","file4":"1355192097","file5":"1355192108","file3":"1355192095"},"map_files_photo_id_array":[{"photo_id":"1355192108","filename":"file5"},{"photo_id":"1355192093","filename":"file2"},{"photo_id":"1355192097","filename":"file4"},{"photo_id":"1355192092","filename":"file1"},{"photo_id":"1355192091","filename":"file0"},{"photo_id":"1355192095","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192093":["hashtag1","hashtag2"]},{"1355192095":["hashtag1","hashtag2"]},{"1355192108":["hashtag1","hashtag2"]},{"1355192092":["hashtag1","hashtag2"]},{"1355192097":["hashtag1","hashtag2"]},{"1355192091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192093, 1355192095, 1355192108, 1355192092, 1355192097, 1355192091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.98682355880737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:54:03.308203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/49/image_25042025_21_49_34_9366.jpg', '/home/pi/Desktop/images/25042025/21/49/image_25042025_21_49_45_10424.jpg', '/home/pi/Desktop/images/25042025/21/49/image_25042025_21_49_54_9442.jpg', '/home/pi/Desktop/images/25042025/21/49/image_25042025_21_50_05_10362.jpg', '/home/pi/Desktop/images/25042025/21/50/image_25042025_21_50_14_9465.jpg', '/home/pi/Desktop/images/25042025/21/50/image_25042025_21_50_25_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/49/image_25042025_21_49_34_9366.jpg
/home/pi/Desktop/images/25042025/21/49/image_25042025_21_49_45_10424.jpg
/home/pi/Desktop/images/25042025/21/49/image_25042025_21_49_54_9442.jpg
/home/pi/Desktop/images/25042025/21/49/image_25042025_21_50_05_10362.jpg
/home/pi/Desktop/images/25042025/21/50/image_25042025_21_50_14_9465.jpg
/home/pi/Desktop/images/25042025/21/50/image_25042025_21_50_25_10395.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355192118","1355192113","1355192116","1355192124","1355192121","1355192115"],"photo_ids_order":["1355192113","1355192115","1355192116","1355192118","1355192121","1355192124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/79de3bd7f9d60c3516254c21d053ecc2.jpg","text":"TemporaryFile(/tmp/multipartBody815901651067018421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140103964,"filename":"image_25042025_21_50_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/5/2/ea9198b6bcccd89041ca088f3af44b69.jpg","text":"TemporaryFile(/tmp/multipartBody4473477664501909639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140103964,"filename":"image_25042025_21_49_34_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d47c94a54c68b1cf4f39c88dbb9a4887.jpg","text":"TemporaryFile(/tmp/multipartBody6563327810630716045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140103964,"filename":"image_25042025_21_49_54_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c49bf1c398cb0db4e0a38bf273041b78.jpg","text":"TemporaryFile(/tmp/multipartBody1620158045975073030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140103964,"filename":"image_25042025_21_50_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/5/2/7587e95bcc93a4e12cd07ec8020c20b0.jpg","text":"TemporaryFile(/tmp/multipartBody1972451224227347373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140103964,"filename":"image_25042025_21_50_14_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a94ba909a72bbd4de79a88b65beb301a.jpg","text":"TemporaryFile(/tmp/multipartBody7767284916896611694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140103964,"filename":"image_25042025_21_49_45_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355192116","file1":"1355192115","file0":"1355192113","file4":"1355192121","file5":"1355192124","file3":"1355192118"},"map_files_photo_id_array":[{"photo_id":"1355192124","filename":"file5"},{"photo_id":"1355192116","filename":"file2"},{"photo_id":"1355192121","filename":"file4"},{"photo_id":"1355192115","filename":"file1"},{"photo_id":"1355192113","filename":"file0"},{"photo_id":"1355192118","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192118":["hashtag1","hashtag2"]},{"1355192113":["hashtag1","hashtag2"]},{"1355192116":["hashtag1","hashtag2"]},{"1355192124":["hashtag1","hashtag2"]},{"1355192121":["hashtag1","hashtag2"]},{"1355192115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192118, 1355192113, 1355192116, 1355192124, 1355192121, 1355192115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97250056266785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:55:03.546201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/50/image_25042025_21_50_35_10366.jpg', '/home/pi/Desktop/images/25042025/21/50/image_25042025_21_50_44_9359.jpg', '/home/pi/Desktop/images/25042025/21/50/image_25042025_21_50_55_10370.jpg', '/home/pi/Desktop/images/25042025/21/50/image_25042025_21_51_05_10421.jpg', '/home/pi/Desktop/images/25042025/21/51/image_25042025_21_51_14_9418.jpg', '/home/pi/Desktop/images/25042025/21/51/image_25042025_21_51_25_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/50/image_25042025_21_50_35_10366.jpg
/home/pi/Desktop/images/25042025/21/50/image_25042025_21_50_44_9359.jpg
/home/pi/Desktop/images/25042025/21/50/image_25042025_21_50_55_10370.jpg
/home/pi/Desktop/images/25042025/21/50/image_25042025_21_51_05_10421.jpg
/home/pi/Desktop/images/25042025/21/51/image_25042025_21_51_14_9418.jpg
/home/pi/Desktop/images/25042025/21/51/image_25042025_21_51_25_10445.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355192141","1355192138","1355192146","1355192143","1355192137","1355192148"],"photo_ids_order":["1355192137","1355192138","1355192141","1355192143","1355192146","1355192148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e5b84522bb6ee2a456e263ad2289326d.jpg","text":"TemporaryFile(/tmp/multipartBody2919564436572172444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140164278,"filename":"image_25042025_21_50_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/5/2/3d3562faa69d9527d1d5cc4799133ed1.jpg","text":"TemporaryFile(/tmp/multipartBody742904347694475158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140164278,"filename":"image_25042025_21_50_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/5/2/3bdcf08ec28651ca2bd70e2218011241.jpg","text":"TemporaryFile(/tmp/multipartBody620308365605651582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140164278,"filename":"image_25042025_21_51_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/5/2/316a55d004e027b63edd7aea050f9b1f.jpg","text":"TemporaryFile(/tmp/multipartBody7147388580693831001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140164278,"filename":"image_25042025_21_51_05_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d93c0cfab196072a15121bfaea66241a.jpg","text":"TemporaryFile(/tmp/multipartBody1901203402377672174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140164278,"filename":"image_25042025_21_50_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/91d6711e52bdaa52d00c7a4c5ab4a257.jpg","text":"TemporaryFile(/tmp/multipartBody8114993413107665121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140164278,"filename":"image_25042025_21_51_25_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355192141","file1":"1355192138","file0":"1355192137","file4":"1355192146","file5":"1355192148","file3":"1355192143"},"map_files_photo_id_array":[{"photo_id":"1355192148","filename":"file5"},{"photo_id":"1355192141","filename":"file2"},{"photo_id":"1355192146","filename":"file4"},{"photo_id":"1355192138","filename":"file1"},{"photo_id":"1355192137","filename":"file0"},{"photo_id":"1355192143","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192141":["hashtag1","hashtag2"]},{"1355192138":["hashtag1","hashtag2"]},{"1355192146":["hashtag1","hashtag2"]},{"1355192143":["hashtag1","hashtag2"]},{"1355192137":["hashtag1","hashtag2"]},{"1355192148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192141, 1355192138, 1355192146, 1355192143, 1355192137, 1355192148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73040771484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:56:03.384623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/51/image_25042025_21_51_34_9345.jpg', '/home/pi/Desktop/images/25042025/21/51/image_25042025_21_51_45_10396.jpg', '/home/pi/Desktop/images/25042025/21/51/image_25042025_21_51_55_10374.jpg', '/home/pi/Desktop/images/25042025/21/51/image_25042025_21_52_04_9415.jpg', '/home/pi/Desktop/images/25042025/21/52/image_25042025_21_52_15_10541.jpg', '/home/pi/Desktop/images/25042025/21/52/image_25042025_21_52_24_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/51/image_25042025_21_51_34_9345.jpg
/home/pi/Desktop/images/25042025/21/51/image_25042025_21_51_45_10396.jpg
/home/pi/Desktop/images/25042025/21/51/image_25042025_21_51_55_10374.jpg
/home/pi/Desktop/images/25042025/21/51/image_25042025_21_52_04_9415.jpg
/home/pi/Desktop/images/25042025/21/52/image_25042025_21_52_15_10541.jpg
/home/pi/Desktop/images/25042025/21/52/image_25042025_21_52_24_9362.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355192170","1355192158","1355192161","1355192160","1355192163","1355192166"],"photo_ids_order":["1355192158","1355192160","1355192161","1355192163","1355192166","1355192170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e7a9c8c6a20a83ef3312885a1b0f0d5.jpg","text":"TemporaryFile(/tmp/multipartBody2689585948926034711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140224067,"filename":"image_25042025_21_52_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/5/2/8b9a221ce332e54c51e9f617058838ad.jpg","text":"TemporaryFile(/tmp/multipartBody4521965781177859283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140224067,"filename":"image_25042025_21_51_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9da6da61d4e6e6285303e9e5a7d52c5.jpg","text":"TemporaryFile(/tmp/multipartBody8351002951659601626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140224067,"filename":"image_25042025_21_51_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/5/2/fc42109438e4404ac8cd3b4268c03141.jpg","text":"TemporaryFile(/tmp/multipartBody3247036523248138424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140224067,"filename":"image_25042025_21_51_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/5/2/7a7cca0f0552ea42e57611af3da510a7.jpg","text":"TemporaryFile(/tmp/multipartBody5113230824950552426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140224067,"filename":"image_25042025_21_52_04_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/159a56f791eee9f62360015d4fd1df47.jpg","text":"TemporaryFile(/tmp/multipartBody5968505536334233246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140224067,"filename":"image_25042025_21_52_15_10541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355192161","file1":"1355192160","file0":"1355192158","file4":"1355192166","file5":"1355192170","file3":"1355192163"},"map_files_photo_id_array":[{"photo_id":"1355192170","filename":"file5"},{"photo_id":"1355192161","filename":"file2"},{"photo_id":"1355192166","filename":"file4"},{"photo_id":"1355192160","filename":"file1"},{"photo_id":"1355192158","filename":"file0"},{"photo_id":"1355192163","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192170":["hashtag1","hashtag2"]},{"1355192158":["hashtag1","hashtag2"]},{"1355192161":["hashtag1","hashtag2"]},{"1355192160":["hashtag1","hashtag2"]},{"1355192163":["hashtag1","hashtag2"]},{"1355192166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192170, 1355192158, 1355192161, 1355192160, 1355192163, 1355192166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.838831663131714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:57:03.281110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/52/image_25042025_21_52_35_10470.jpg', '/home/pi/Desktop/images/25042025/21/52/image_25042025_21_52_44_9362.jpg', '/home/pi/Desktop/images/25042025/21/52/image_25042025_21_52_55_10370.jpg', '/home/pi/Desktop/images/25042025/21/52/image_25042025_21_53_05_10390.jpg', '/home/pi/Desktop/images/25042025/21/53/image_25042025_21_53_14_9438.jpg', '/home/pi/Desktop/images/25042025/21/53/image_25042025_21_53_25_10512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/52/image_25042025_21_52_35_10470.jpg
/home/pi/Desktop/images/25042025/21/52/image_25042025_21_52_44_9362.jpg
/home/pi/Desktop/images/25042025/21/52/image_25042025_21_52_55_10370.jpg
/home/pi/Desktop/images/25042025/21/52/image_25042025_21_53_05_10390.jpg
/home/pi/Desktop/images/25042025/21/53/image_25042025_21_53_14_9438.jpg
/home/pi/Desktop/images/25042025/21/53/image_25042025_21_53_25_10512.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355192195","1355192197","1355192191","1355192188","1355192193","1355192190"],"photo_ids_order":["1355192188","1355192190","1355192191","1355192193","1355192195","1355192197"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/45c763601786d3897e97a7f493bb1493.jpg","text":"TemporaryFile(/tmp/multipartBody5120794424613471147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140284054,"filename":"image_25042025_21_53_14_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3a4f7b13a3fcc196d9e332f939d67ef.jpg","text":"TemporaryFile(/tmp/multipartBody5356314378903079669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140284054,"filename":"image_25042025_21_53_25_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e7cba2d947687610d1037b077f27a6e.jpg","text":"TemporaryFile(/tmp/multipartBody6300637607923612781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140284054,"filename":"image_25042025_21_52_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/5/2/6d48faae0f4b1cdeeef066d03a0d92f5.jpg","text":"TemporaryFile(/tmp/multipartBody7178261719223287667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140284054,"filename":"image_25042025_21_52_35_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/25963682fb7c4e95887a1b4f4dfd99f1.jpg","text":"TemporaryFile(/tmp/multipartBody777748815697010422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140284054,"filename":"image_25042025_21_53_05_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/98c6f8a146a19189af744b5597d89c51.jpg","text":"TemporaryFile(/tmp/multipartBody4112751828063642051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140284054,"filename":"image_25042025_21_52_44_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355192191","file1":"1355192190","file0":"1355192188","file4":"1355192195","file5":"1355192197","file3":"1355192193"},"map_files_photo_id_array":[{"photo_id":"1355192197","filename":"file5"},{"photo_id":"1355192191","filename":"file2"},{"photo_id":"1355192195","filename":"file4"},{"photo_id":"1355192190","filename":"file1"},{"photo_id":"1355192188","filename":"file0"},{"photo_id":"1355192193","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192195":["hashtag1","hashtag2"]},{"1355192197":["hashtag1","hashtag2"]},{"1355192191":["hashtag1","hashtag2"]},{"1355192188":["hashtag1","hashtag2"]},{"1355192193":["hashtag1","hashtag2"]},{"1355192190":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192195, 1355192197, 1355192191, 1355192188, 1355192193, 1355192190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02170515060425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:59:03.938439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/53/image_25042025_21_54_05_10374.jpg', '/home/pi/Desktop/images/25042025/21/54/image_25042025_21_54_14_9488.jpg', '/home/pi/Desktop/images/25042025/21/54/image_25042025_21_54_24_10383.jpg', '/home/pi/Desktop/images/25042025/21/54/image_25042025_21_54_35_10382.jpg', '/home/pi/Desktop/images/25042025/21/54/image_25042025_21_54_44_9439.jpg', '/home/pi/Desktop/images/25042025/21/54/image_25042025_21_54_55_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/53/image_25042025_21_54_05_10374.jpg
/home/pi/Desktop/images/25042025/21/54/image_25042025_21_54_14_9488.jpg
/home/pi/Desktop/images/25042025/21/54/image_25042025_21_54_24_10383.jpg
/home/pi/Desktop/images/25042025/21/54/image_25042025_21_54_35_10382.jpg
/home/pi/Desktop/images/25042025/21/54/image_25042025_21_54_44_9439.jpg
/home/pi/Desktop/images/25042025/21/54/image_25042025_21_54_55_10391.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355192251","1355192245","1355192248","1355192241","1355192238","1355192235"],"photo_ids_order":["1355192235","1355192238","1355192241","1355192245","1355192248","1355192251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bbde331bdfbc36804fbba5182344a62c.jpg","text":"TemporaryFile(/tmp/multipartBody3636866699598693702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140404650,"filename":"image_25042025_21_54_55_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af2dc88d267857aa919e7f8bf71a32f7.jpg","text":"TemporaryFile(/tmp/multipartBody9121480125196312646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140404650,"filename":"image_25042025_21_54_35_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6043e8dfa329a506b26b53582c921283.jpg","text":"TemporaryFile(/tmp/multipartBody6358642205443319997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140404650,"filename":"image_25042025_21_54_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/5/2/d23e3b1a90dea3ced41c82d0dd3947b2.jpg","text":"TemporaryFile(/tmp/multipartBody2520134960320702044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140404650,"filename":"image_25042025_21_54_24_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/500d666f612985ff6cb5317b2561f2d0.jpg","text":"TemporaryFile(/tmp/multipartBody7018388424368927153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140404650,"filename":"image_25042025_21_54_14_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/02ec7ab4e1b08aa4b67f9ef6d087855c.jpg","text":"TemporaryFile(/tmp/multipartBody871560094681221806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140404650,"filename":"image_25042025_21_54_05_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355192241","file1":"1355192238","file0":"1355192235","file4":"1355192248","file5":"1355192251","file3":"1355192245"},"map_files_photo_id_array":[{"photo_id":"1355192251","filename":"file5"},{"photo_id":"1355192241","filename":"file2"},{"photo_id":"1355192248","filename":"file4"},{"photo_id":"1355192238","filename":"file1"},{"photo_id":"1355192235","filename":"file0"},{"photo_id":"1355192245","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192251":["hashtag1","hashtag2"]},{"1355192245":["hashtag1","hashtag2"]},{"1355192248":["hashtag1","hashtag2"]},{"1355192241":["hashtag1","hashtag2"]},{"1355192238":["hashtag1","hashtag2"]},{"1355192235":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192251, 1355192245, 1355192248, 1355192241, 1355192238, 1355192235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.059356689453125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 00:59:43.072511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/54/image_25042025_21_55_04_9396.jpg', '/home/pi/Desktop/images/25042025/21/55/image_25042025_21_55_15_10540.jpg', '/home/pi/Desktop/images/25042025/21/55/image_25042025_21_55_24_9503.jpg', '/home/pi/Desktop/images/25042025/21/55/image_25042025_21_55_35_10426.jpg', '/home/pi/Desktop/images/25042025/21/55/image_25042025_21_55_45_10491.jpg', '/home/pi/Desktop/images/25042025/21/55/image_25042025_21_55_54_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/54/image_25042025_21_55_04_9396.jpg
/home/pi/Desktop/images/25042025/21/55/image_25042025_21_55_15_10540.jpg
/home/pi/Desktop/images/25042025/21/55/image_25042025_21_55_24_9503.jpg
/home/pi/Desktop/images/25042025/21/55/image_25042025_21_55_35_10426.jpg
/home/pi/Desktop/images/25042025/21/55/image_25042025_21_55_45_10491.jpg
/home/pi/Desktop/images/25042025/21/55/image_25042025_21_55_54_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355192369","1355192339","1355192278","1355192260","1355192259","1355192307"],"photo_ids_order":["1355192259","1355192260","1355192278","1355192307","1355192339","1355192369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6e6b77d7ed841db360a5d33b0fd10c2.jpg","text":"TemporaryFile(/tmp/multipartBody6624080942087054460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140443709,"filename":"image_25042025_21_55_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/5/2/99b22ea8e9e06a815f2ed95aac54329f.jpg","text":"TemporaryFile(/tmp/multipartBody496479522919178228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140443709,"filename":"image_25042025_21_55_45_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dfeaa23b2837a6cde0fc5d8428f84824.jpg","text":"TemporaryFile(/tmp/multipartBody2937423364196798695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140443709,"filename":"image_25042025_21_55_24_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1f4fd15145d61b01dc72a68f888d204.jpg","text":"TemporaryFile(/tmp/multipartBody3552551453911489287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140443709,"filename":"image_25042025_21_55_15_10540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/04ba08e50022d76c1377d605fbd081e4.jpg","text":"TemporaryFile(/tmp/multipartBody2296485541549039451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140443709,"filename":"image_25042025_21_55_04_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/15138e712a49d084023507eaec275d30.jpg","text":"TemporaryFile(/tmp/multipartBody6787253385767721693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140443709,"filename":"image_25042025_21_55_35_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355192278","file1":"1355192260","file0":"1355192259","file4":"1355192339","file5":"1355192369","file3":"1355192307"},"map_files_photo_id_array":[{"photo_id":"1355192369","filename":"file5"},{"photo_id":"1355192278","filename":"file2"},{"photo_id":"1355192339","filename":"file4"},{"photo_id":"1355192260","filename":"file1"},{"photo_id":"1355192259","filename":"file0"},{"photo_id":"1355192307","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192369":["hashtag1","hashtag2"]},{"1355192339":["hashtag1","hashtag2"]},{"1355192278":["hashtag1","hashtag2"]},{"1355192260":["hashtag1","hashtag2"]},{"1355192259":["hashtag1","hashtag2"]},{"1355192307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192369, 1355192339, 1355192278, 1355192260, 1355192259, 1355192307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.528377294540405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:00:32.406199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/55/image_25042025_21_56_05_10468.jpg', '/home/pi/Desktop/images/25042025/21/56/image_25042025_21_56_14_9418.jpg', '/home/pi/Desktop/images/25042025/21/56/image_25042025_21_56_25_10420.jpg', '/home/pi/Desktop/images/25042025/21/56/image_25042025_21_56_34_9373.jpg', '/home/pi/Desktop/images/25042025/21/56/image_25042025_21_56_44_10370.jpg', '/home/pi/Desktop/images/25042025/21/56/image_25042025_21_57_04_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/55/image_25042025_21_56_05_10468.jpg
/home/pi/Desktop/images/25042025/21/56/image_25042025_21_56_14_9418.jpg
/home/pi/Desktop/images/25042025/21/56/image_25042025_21_56_25_10420.jpg
/home/pi/Desktop/images/25042025/21/56/image_25042025_21_56_34_9373.jpg
/home/pi/Desktop/images/25042025/21/56/image_25042025_21_56_44_10370.jpg
/home/pi/Desktop/images/25042025/21/56/image_25042025_21_57_04_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":["1355192567","1355192686","1355192629","1355192659","1355192715","1355192601"],"photo_ids_order":["1355192567","1355192601","1355192629","1355192659","1355192686","1355192715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f2af6bdd0f6c3188418c521d95ea052.jpg","text":"TemporaryFile(/tmp/multipartBody634138643392952122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140493873,"filename":"image_25042025_21_56_05_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a85306a8fb4cfd3981c09ee70b90bb1a.jpg","text":"TemporaryFile(/tmp/multipartBody9040135709667495069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140493873,"filename":"image_25042025_21_56_44_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56b04e009b81e643866193563960f213.jpg","text":"TemporaryFile(/tmp/multipartBody2881107031069062794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140493873,"filename":"image_25042025_21_56_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/5/2/4e5c7a77a40e21081c396fab18ff9115.jpg","text":"TemporaryFile(/tmp/multipartBody6255020078447669003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140493873,"filename":"image_25042025_21_56_34_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d10bcc9e63f7ccc500bc5405c042ba21.jpg","text":"TemporaryFile(/tmp/multipartBody2942775037001228888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140493873,"filename":"image_25042025_21_57_04_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec0591ec3eb6217ac91576099c1d4987.jpg","text":"TemporaryFile(/tmp/multipartBody4919593386722995158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140493873,"filename":"image_25042025_21_56_14_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355192629","file1":"1355192601","file0":"1355192567","file4":"1355192686","file5":"1355192715","file3":"1355192659"},"map_files_photo_id_array":[{"photo_id":"1355192715","filename":"file5"},{"photo_id":"1355192629","filename":"file2"},{"photo_id":"1355192686","filename":"file4"},{"photo_id":"1355192601","filename":"file1"},{"photo_id":"1355192567","filename":"file0"},{"photo_id":"1355192659","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192567":["hashtag1","hashtag2"]},{"1355192686":["hashtag1","hashtag2"]},{"1355192629":["hashtag1","hashtag2"]},{"1355192659":["hashtag1","hashtag2"]},{"1355192715":["hashtag1","hashtag2"]},{"1355192601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192567, 1355192686, 1355192629, 1355192659, 1355192715, 1355192601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41157507896423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:01:32.708121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/57/image_25042025_21_57_15_10407.jpg', '/home/pi/Desktop/images/25042025/21/57/image_25042025_21_57_24_9377.jpg', '/home/pi/Desktop/images/25042025/21/57/image_25042025_21_57_45_10384.jpg', '/home/pi/Desktop/images/25042025/21/57/image_25042025_21_57_54_9372.jpg', '/home/pi/Desktop/images/25042025/21/58/image_25042025_21_58_24_10383.jpg', '/home/pi/Desktop/images/25042025/21/58/image_25042025_21_59_05_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/57/image_25042025_21_57_15_10407.jpg
/home/pi/Desktop/images/25042025/21/57/image_25042025_21_57_24_9377.jpg
/home/pi/Desktop/images/25042025/21/57/image_25042025_21_57_45_10384.jpg
/home/pi/Desktop/images/25042025/21/57/image_25042025_21_57_54_9372.jpg
/home/pi/Desktop/images/25042025/21/58/image_25042025_21_58_24_10383.jpg
/home/pi/Desktop/images/25042025/21/58/image_25042025_21_59_05_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355192981","1355193121","1355193010","1355193039","1355193092","1355193065"],"photo_ids_order":["1355192981","1355193010","1355193039","1355193065","1355193092","1355193121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f46c4a7385d4f423c7149dbd8d630123.jpg","text":"TemporaryFile(/tmp/multipartBody1414072762863257828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140554175,"filename":"image_25042025_21_57_15_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb8f6c7a8d443c1704dab4e99f991180.jpg","text":"TemporaryFile(/tmp/multipartBody3855039388921179251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140554175,"filename":"image_25042025_21_59_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fdf033d0f12f9dc4c48e153dd563ac75.jpg","text":"TemporaryFile(/tmp/multipartBody5678624545330629506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140554175,"filename":"image_25042025_21_57_24_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e3959a360ac56909c6572b837a2bd02.jpg","text":"TemporaryFile(/tmp/multipartBody5386454719089636089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140554175,"filename":"image_25042025_21_57_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/5/2/60289ceee99e4876a2f634f4b2771022.jpg","text":"TemporaryFile(/tmp/multipartBody249434576734426780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140554175,"filename":"image_25042025_21_58_24_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fae3c3b7d126ce879e25fa8f9b4f8fd7.jpg","text":"TemporaryFile(/tmp/multipartBody8369995575904196398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140554175,"filename":"image_25042025_21_57_54_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355193039","file1":"1355193010","file0":"1355192981","file4":"1355193092","file5":"1355193121","file3":"1355193065"},"map_files_photo_id_array":[{"photo_id":"1355193121","filename":"file5"},{"photo_id":"1355193039","filename":"file2"},{"photo_id":"1355193092","filename":"file4"},{"photo_id":"1355193010","filename":"file1"},{"photo_id":"1355192981","filename":"file0"},{"photo_id":"1355193065","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355192981":["hashtag1","hashtag2"]},{"1355193121":["hashtag1","hashtag2"]},{"1355193010":["hashtag1","hashtag2"]},{"1355193039":["hashtag1","hashtag2"]},{"1355193092":["hashtag1","hashtag2"]},{"1355193065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355192981, 1355193121, 1355193010, 1355193039, 1355193092, 1355193065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.636820554733276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:02:32.857452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/21/59/image_25042025_21_59_34_9365.jpg', '/home/pi/Desktop/images/25042025/21/59/image_25042025_21_59_45_10374.jpg', '/home/pi/Desktop/images/25042025/21/59/image_25042025_21_59_55_10496.jpg', '/home/pi/Desktop/images/25042025/22/01/image_25042025_22_01_14_10076.jpg', '/home/pi/Desktop/images/25042025/22/01/image_25042025_22_01_24_10395.jpg', '/home/pi/Desktop/images/25042025/22/01/image_25042025_22_01_44_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/21/59/image_25042025_21_59_34_9365.jpg
/home/pi/Desktop/images/25042025/21/59/image_25042025_21_59_45_10374.jpg
/home/pi/Desktop/images/25042025/21/59/image_25042025_21_59_55_10496.jpg
/home/pi/Desktop/images/25042025/22/01/image_25042025_22_01_14_10076.jpg
/home/pi/Desktop/images/25042025/22/01/image_25042025_22_01_24_10395.jpg
/home/pi/Desktop/images/25042025/22/01/image_25042025_22_01_44_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":["1355193203","1355193205","1355193198","1355193201","1355193194","1355193207"],"photo_ids_order":["1355193194","1355193198","1355193201","1355193203","1355193205","1355193207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/40a4825a184d81b9a2c82d6eed04960f.jpg","text":"TemporaryFile(/tmp/multipartBody8986690677911758450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140614342,"filename":"image_25042025_22_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/5/2/49375e10837606f687da89fde09703fd.jpg","text":"TemporaryFile(/tmp/multipartBody297430012095286948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140614342,"filename":"image_25042025_22_01_24_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0c7cafb03f98cc513f968af41583b30.jpg","text":"TemporaryFile(/tmp/multipartBody8251589768138039880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140614342,"filename":"image_25042025_21_59_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/5/2/f3c9e404d3e6ed7d6cbed9043355b5c7.jpg","text":"TemporaryFile(/tmp/multipartBody2639289956029689210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140614342,"filename":"image_25042025_21_59_55_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1cbe8ae09eff1269cecc084dca5336ea.jpg","text":"TemporaryFile(/tmp/multipartBody5494552525312400989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140614342,"filename":"image_25042025_21_59_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/5/2/4c7301e7b56f7d3f4497895c7d560f4d.jpg","text":"TemporaryFile(/tmp/multipartBody7046013769354736248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140614342,"filename":"image_25042025_22_01_44_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355193201","file1":"1355193198","file0":"1355193194","file4":"1355193205","file5":"1355193207","file3":"1355193203"},"map_files_photo_id_array":[{"photo_id":"1355193207","filename":"file5"},{"photo_id":"1355193201","filename":"file2"},{"photo_id":"1355193205","filename":"file4"},{"photo_id":"1355193198","filename":"file1"},{"photo_id":"1355193194","filename":"file0"},{"photo_id":"1355193203","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355193203":["hashtag1","hashtag2"]},{"1355193205":["hashtag1","hashtag2"]},{"1355193198":["hashtag1","hashtag2"]},{"1355193201":["hashtag1","hashtag2"]},{"1355193194":["hashtag1","hashtag2"]},{"1355193207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355193203, 1355193205, 1355193198, 1355193201, 1355193194, 1355193207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.797983407974243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:03:33.071076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/01/image_25042025_22_01_54_10379.jpg', '/home/pi/Desktop/images/25042025/22/01/image_25042025_22_02_04_9368.jpg', '/home/pi/Desktop/images/25042025/22/02/image_25042025_22_02_14_10408.jpg', '/home/pi/Desktop/images/25042025/22/02/image_25042025_22_02_25_10371.jpg', '/home/pi/Desktop/images/25042025/22/02/image_25042025_22_02_34_9405.jpg', '/home/pi/Desktop/images/25042025/22/02/image_25042025_22_02_44_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/01/image_25042025_22_01_54_10379.jpg
/home/pi/Desktop/images/25042025/22/01/image_25042025_22_02_04_9368.jpg
/home/pi/Desktop/images/25042025/22/02/image_25042025_22_02_14_10408.jpg
/home/pi/Desktop/images/25042025/22/02/image_25042025_22_02_25_10371.jpg
/home/pi/Desktop/images/25042025/22/02/image_25042025_22_02_34_9405.jpg
/home/pi/Desktop/images/25042025/22/02/image_25042025_22_02_44_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":["1355193448","1355193433","1355193445","1355193403","1355193406","1355193400"],"photo_ids_order":["1355193400","1355193403","1355193406","1355193433","1355193445","1355193448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9fb954ff2916d60d5b510aa2d6759e3b.jpg","text":"TemporaryFile(/tmp/multipartBody5619818495384541144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140674574,"filename":"image_25042025_22_02_44_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba0756f5cc64b45074363ce7301f3fdc.jpg","text":"TemporaryFile(/tmp/multipartBody8742692910302143414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140674574,"filename":"image_25042025_22_02_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6ad766cfb1fe7b065a18db54925d7142.jpg","text":"TemporaryFile(/tmp/multipartBody3404285587063201379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140674574,"filename":"image_25042025_22_02_34_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63a56aaa592e153d8ed6f373270e7dde.jpg","text":"TemporaryFile(/tmp/multipartBody2066140273467552615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140674574,"filename":"image_25042025_22_02_04_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/71163ef212a695f0376c7fe28eaba77e.jpg","text":"TemporaryFile(/tmp/multipartBody775571355724447460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140674574,"filename":"image_25042025_22_02_14_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc56562e75e69f017d3232b04c6a7c12.jpg","text":"TemporaryFile(/tmp/multipartBody3889435599504287427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140674574,"filename":"image_25042025_22_01_54_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355193406","file1":"1355193403","file0":"1355193400","file4":"1355193445","file5":"1355193448","file3":"1355193433"},"map_files_photo_id_array":[{"photo_id":"1355193448","filename":"file5"},{"photo_id":"1355193406","filename":"file2"},{"photo_id":"1355193445","filename":"file4"},{"photo_id":"1355193403","filename":"file1"},{"photo_id":"1355193400","filename":"file0"},{"photo_id":"1355193433","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355193448":["hashtag1","hashtag2"]},{"1355193433":["hashtag1","hashtag2"]},{"1355193445":["hashtag1","hashtag2"]},{"1355193403":["hashtag1","hashtag2"]},{"1355193406":["hashtag1","hashtag2"]},{"1355193400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355193448, 1355193433, 1355193445, 1355193403, 1355193406, 1355193400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58099126815796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:04:32.161353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/02/image_25042025_22_02_54_9470.jpg', '/home/pi/Desktop/images/25042025/22/02/image_25042025_22_03_04_10366.jpg', '/home/pi/Desktop/images/25042025/22/03/image_25042025_22_03_24_9404.jpg', '/home/pi/Desktop/images/25042025/22/03/image_25042025_22_03_44_9488.jpg', '/home/pi/Desktop/images/25042025/22/03/image_25042025_22_03_54_10367.jpg', '/home/pi/Desktop/images/25042025/22/04/image_25042025_22_04_14_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/02/image_25042025_22_02_54_9470.jpg
/home/pi/Desktop/images/25042025/22/02/image_25042025_22_03_04_10366.jpg
/home/pi/Desktop/images/25042025/22/03/image_25042025_22_03_24_9404.jpg
/home/pi/Desktop/images/25042025/22/03/image_25042025_22_03_44_9488.jpg
/home/pi/Desktop/images/25042025/22/03/image_25042025_22_03_54_10367.jpg
/home/pi/Desktop/images/25042025/22/04/image_25042025_22_04_14_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355194600","1355194595","1355194589","1355194598","1355194592","1355194586"],"photo_ids_order":["1355194586","1355194589","1355194592","1355194595","1355194598","1355194600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ea9573059ac4b7ec5b6de88d3122427.jpg","text":"TemporaryFile(/tmp/multipartBody8695054309453283773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140733654,"filename":"image_25042025_22_04_14_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f54171645e5692fb32eb61d1c703a169.jpg","text":"TemporaryFile(/tmp/multipartBody333884822795304060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140733654,"filename":"image_25042025_22_03_44_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97205f1ae0ca9202e35e13b0da0ba46b.jpg","text":"TemporaryFile(/tmp/multipartBody1589702068003026980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140733654,"filename":"image_25042025_22_03_04_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/08f8919c8b3a6d511f2dd31f0af4e481.jpg","text":"TemporaryFile(/tmp/multipartBody4809329949802473226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140733654,"filename":"image_25042025_22_03_54_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2cff6933e6bb34226343a79e808f67ae.jpg","text":"TemporaryFile(/tmp/multipartBody2008249964817283358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140733654,"filename":"image_25042025_22_03_24_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6e2dfe959bfce931127e3899d46f438.jpg","text":"TemporaryFile(/tmp/multipartBody7770809843301343861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140733654,"filename":"image_25042025_22_02_54_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355194592","file1":"1355194589","file0":"1355194586","file4":"1355194598","file5":"1355194600","file3":"1355194595"},"map_files_photo_id_array":[{"photo_id":"1355194600","filename":"file5"},{"photo_id":"1355194592","filename":"file2"},{"photo_id":"1355194598","filename":"file4"},{"photo_id":"1355194589","filename":"file1"},{"photo_id":"1355194586","filename":"file0"},{"photo_id":"1355194595","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355194600":["hashtag1","hashtag2"]},{"1355194595":["hashtag1","hashtag2"]},{"1355194589":["hashtag1","hashtag2"]},{"1355194598":["hashtag1","hashtag2"]},{"1355194592":["hashtag1","hashtag2"]},{"1355194586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355194600, 1355194595, 1355194589, 1355194598, 1355194592, 1355194586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08421778678894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:05:32.408164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/04/image_25042025_22_04_34_9442.jpg', '/home/pi/Desktop/images/25042025/22/04/image_25042025_22_04_44_10388.jpg', '/home/pi/Desktop/images/25042025/22/04/image_25042025_22_04_54_9418.jpg', '/home/pi/Desktop/images/25042025/22/04/image_25042025_22_05_04_10359.jpg', '/home/pi/Desktop/images/25042025/22/05/image_25042025_22_05_15_10457.jpg', '/home/pi/Desktop/images/25042025/22/05/image_25042025_22_05_24_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/04/image_25042025_22_04_34_9442.jpg
/home/pi/Desktop/images/25042025/22/04/image_25042025_22_04_44_10388.jpg
/home/pi/Desktop/images/25042025/22/04/image_25042025_22_04_54_9418.jpg
/home/pi/Desktop/images/25042025/22/04/image_25042025_22_05_04_10359.jpg
/home/pi/Desktop/images/25042025/22/05/image_25042025_22_05_15_10457.jpg
/home/pi/Desktop/images/25042025/22/05/image_25042025_22_05_24_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":["1355194618","1355194615","1355194609","1355194620","1355194614","1355194616"],"photo_ids_order":["1355194609","1355194614","1355194615","1355194616","1355194618","1355194620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6227ad8e564989c6554383903a02232f.jpg","text":"TemporaryFile(/tmp/multipartBody4008654554905649454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140793889,"filename":"image_25042025_22_05_15_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a334e347aeecf7a7aad318a61a284b0f.jpg","text":"TemporaryFile(/tmp/multipartBody7020953512424233067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140793889,"filename":"image_25042025_22_04_54_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f014e8f3e0e031be734bfa03e741162f.jpg","text":"TemporaryFile(/tmp/multipartBody4638434214944138427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140793889,"filename":"image_25042025_22_04_34_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b38a303afb30de6dd527ddf253fac03c.jpg","text":"TemporaryFile(/tmp/multipartBody1198745171251750064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140793889,"filename":"image_25042025_22_05_24_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3168f3fead57a3e9c5445b6779305045.jpg","text":"TemporaryFile(/tmp/multipartBody36056987725729482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140793889,"filename":"image_25042025_22_04_44_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/daf27e270f7636476b26246d80d8a2cd.jpg","text":"TemporaryFile(/tmp/multipartBody2748201926097166278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140793889,"filename":"image_25042025_22_05_04_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355194615","file1":"1355194614","file0":"1355194609","file4":"1355194618","file5":"1355194620","file3":"1355194616"},"map_files_photo_id_array":[{"photo_id":"1355194620","filename":"file5"},{"photo_id":"1355194615","filename":"file2"},{"photo_id":"1355194618","filename":"file4"},{"photo_id":"1355194614","filename":"file1"},{"photo_id":"1355194609","filename":"file0"},{"photo_id":"1355194616","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355194618":["hashtag1","hashtag2"]},{"1355194615":["hashtag1","hashtag2"]},{"1355194609":["hashtag1","hashtag2"]},{"1355194620":["hashtag1","hashtag2"]},{"1355194614":["hashtag1","hashtag2"]},{"1355194616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355194618, 1355194615, 1355194609, 1355194620, 1355194614, 1355194616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.402642011642456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:06:32.719243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/05/image_25042025_22_05_34_10391.jpg', '/home/pi/Desktop/images/25042025/22/05/image_25042025_22_05_44_9403.jpg', '/home/pi/Desktop/images/25042025/22/05/image_25042025_22_05_54_10392.jpg', '/home/pi/Desktop/images/25042025/22/05/image_25042025_22_06_05_10366.jpg', '/home/pi/Desktop/images/25042025/22/06/image_25042025_22_06_14_9440.jpg', '/home/pi/Desktop/images/25042025/22/06/image_25042025_22_06_34_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/05/image_25042025_22_05_34_10391.jpg
/home/pi/Desktop/images/25042025/22/05/image_25042025_22_05_44_9403.jpg
/home/pi/Desktop/images/25042025/22/05/image_25042025_22_05_54_10392.jpg
/home/pi/Desktop/images/25042025/22/05/image_25042025_22_06_05_10366.jpg
/home/pi/Desktop/images/25042025/22/06/image_25042025_22_06_14_9440.jpg
/home/pi/Desktop/images/25042025/22/06/image_25042025_22_06_34_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":["1355194639","1355194630","1355194633","1355194828","1355194638","1355194637"],"photo_ids_order":["1355194630","1355194633","1355194637","1355194638","1355194639","1355194828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/73d8993ef7788f6cd54c37594ae8909a.jpg","text":"TemporaryFile(/tmp/multipartBody9061834422246326923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140854201,"filename":"image_25042025_22_06_14_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bcc9ffa4f53d6e25a4929902be7c29bd.jpg","text":"TemporaryFile(/tmp/multipartBody3179534642476506146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140854201,"filename":"image_25042025_22_05_34_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9931a3853580cda9c500c973740001ef.jpg","text":"TemporaryFile(/tmp/multipartBody9110619568467886587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140854201,"filename":"image_25042025_22_05_44_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b8d2b01393b8d6a5b910230b906a27ed.jpg","text":"TemporaryFile(/tmp/multipartBody8672517776640382173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140854201,"filename":"image_25042025_22_06_34_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9bf858c513b0e4fa229234b3c9946ece.jpg","text":"TemporaryFile(/tmp/multipartBody5616501116576837870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140854201,"filename":"image_25042025_22_06_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/381e1d12fce1ddf492fdeb47968dbe6b.jpg","text":"TemporaryFile(/tmp/multipartBody3311501869009143723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140854201,"filename":"image_25042025_22_05_54_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355194637","file1":"1355194633","file0":"1355194630","file4":"1355194639","file5":"1355194828","file3":"1355194638"},"map_files_photo_id_array":[{"photo_id":"1355194828","filename":"file5"},{"photo_id":"1355194637","filename":"file2"},{"photo_id":"1355194639","filename":"file4"},{"photo_id":"1355194633","filename":"file1"},{"photo_id":"1355194630","filename":"file0"},{"photo_id":"1355194638","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355194639":["hashtag1","hashtag2"]},{"1355194630":["hashtag1","hashtag2"]},{"1355194633":["hashtag1","hashtag2"]},{"1355194828":["hashtag1","hashtag2"]},{"1355194638":["hashtag1","hashtag2"]},{"1355194637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355194639, 1355194630, 1355194633, 1355194828, 1355194638, 1355194637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00386881828308 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:07:32.940844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/06/image_25042025_22_06_44_10391.jpg', '/home/pi/Desktop/images/25042025/22/06/image_25042025_22_06_55_10368.jpg', '/home/pi/Desktop/images/25042025/22/06/image_25042025_22_07_04_9443.jpg', '/home/pi/Desktop/images/25042025/22/07/image_25042025_22_07_14_10422.jpg', '/home/pi/Desktop/images/25042025/22/07/image_25042025_22_07_24_9398.jpg', '/home/pi/Desktop/images/25042025/22/07/image_25042025_22_07_34_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/06/image_25042025_22_06_44_10391.jpg
/home/pi/Desktop/images/25042025/22/06/image_25042025_22_06_55_10368.jpg
/home/pi/Desktop/images/25042025/22/06/image_25042025_22_07_04_9443.jpg
/home/pi/Desktop/images/25042025/22/07/image_25042025_22_07_14_10422.jpg
/home/pi/Desktop/images/25042025/22/07/image_25042025_22_07_24_9398.jpg
/home/pi/Desktop/images/25042025/22/07/image_25042025_22_07_34_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":["1355195233","1355195274","1355195277","1355195278","1355195272","1355195266"],"photo_ids_order":["1355195233","1355195266","1355195272","1355195274","1355195277","1355195278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b0cdafba70759d75a26e7e30332b9894.jpg","text":"TemporaryFile(/tmp/multipartBody7776308696215424842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140914409,"filename":"image_25042025_22_06_44_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e87cd9fc4d461670014761f5db29513d.jpg","text":"TemporaryFile(/tmp/multipartBody5773583052652458109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140914409,"filename":"image_25042025_22_07_14_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b4fe99a37690baebbe7707e633caa97.jpg","text":"TemporaryFile(/tmp/multipartBody6185121346757718358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140914409,"filename":"image_25042025_22_07_24_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d8a2cb4d21f3cf99ff0bc212d45a3ea.jpg","text":"TemporaryFile(/tmp/multipartBody7347552910209522855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140914409,"filename":"image_25042025_22_07_34_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d8dd20bdd98776a829a7cd6bea8531c.jpg","text":"TemporaryFile(/tmp/multipartBody3906340300583375763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140914409,"filename":"image_25042025_22_07_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/5/2/5b63b76c0f38f3888369f02522043ac6.jpg","text":"TemporaryFile(/tmp/multipartBody4391677685712109453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140914409,"filename":"image_25042025_22_06_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195272","file1":"1355195266","file0":"1355195233","file4":"1355195277","file5":"1355195278","file3":"1355195274"},"map_files_photo_id_array":[{"photo_id":"1355195278","filename":"file5"},{"photo_id":"1355195272","filename":"file2"},{"photo_id":"1355195277","filename":"file4"},{"photo_id":"1355195266","filename":"file1"},{"photo_id":"1355195233","filename":"file0"},{"photo_id":"1355195274","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195233":["hashtag1","hashtag2"]},{"1355195274":["hashtag1","hashtag2"]},{"1355195277":["hashtag1","hashtag2"]},{"1355195278":["hashtag1","hashtag2"]},{"1355195272":["hashtag1","hashtag2"]},{"1355195266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195233, 1355195274, 1355195277, 1355195278, 1355195272, 1355195266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60695958137512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:08:33.204939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/07/image_25042025_22_07_44_9495.jpg', '/home/pi/Desktop/images/25042025/22/07/image_25042025_22_07_54_10413.jpg', '/home/pi/Desktop/images/25042025/22/07/image_25042025_22_08_05_10395.jpg', '/home/pi/Desktop/images/25042025/22/08/image_25042025_22_08_24_10427.jpg', '/home/pi/Desktop/images/25042025/22/08/image_25042025_22_08_34_9383.jpg', '/home/pi/Desktop/images/25042025/22/08/image_25042025_22_08_44_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/07/image_25042025_22_07_44_9495.jpg
/home/pi/Desktop/images/25042025/22/07/image_25042025_22_07_54_10413.jpg
/home/pi/Desktop/images/25042025/22/07/image_25042025_22_08_05_10395.jpg
/home/pi/Desktop/images/25042025/22/08/image_25042025_22_08_24_10427.jpg
/home/pi/Desktop/images/25042025/22/08/image_25042025_22_08_34_9383.jpg
/home/pi/Desktop/images/25042025/22/08/image_25042025_22_08_44_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":["1355195298","1355195295","1355195297","1355195294","1355195300","1355195299"],"photo_ids_order":["1355195294","1355195295","1355195297","1355195298","1355195299","1355195300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e0692d01fdac9577c64eafd793590fd.jpg","text":"TemporaryFile(/tmp/multipartBody44832096573226447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140974714,"filename":"image_25042025_22_08_24_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/026eafe0b762a54746c57f1913ebbe32.jpg","text":"TemporaryFile(/tmp/multipartBody6186052869672648500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140974714,"filename":"image_25042025_22_07_54_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/626fb9cef930e8900a2393aa40c57563.jpg","text":"TemporaryFile(/tmp/multipartBody8765757800894199124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140974714,"filename":"image_25042025_22_08_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/5/2/a5b0c7c1f6a5c0448d92f39711e7b064.jpg","text":"TemporaryFile(/tmp/multipartBody8386369408146445289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140974714,"filename":"image_25042025_22_07_44_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/302c0c8f329bf0fd53f9f22dad6993e7.jpg","text":"TemporaryFile(/tmp/multipartBody7588610018260839886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140974714,"filename":"image_25042025_22_08_44_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb80a69f924afe43b50c61686666a670.jpg","text":"TemporaryFile(/tmp/multipartBody5893660768315118736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746140974714,"filename":"image_25042025_22_08_34_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195297","file1":"1355195295","file0":"1355195294","file4":"1355195299","file5":"1355195300","file3":"1355195298"},"map_files_photo_id_array":[{"photo_id":"1355195300","filename":"file5"},{"photo_id":"1355195297","filename":"file2"},{"photo_id":"1355195299","filename":"file4"},{"photo_id":"1355195295","filename":"file1"},{"photo_id":"1355195294","filename":"file0"},{"photo_id":"1355195298","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195298":["hashtag1","hashtag2"]},{"1355195295":["hashtag1","hashtag2"]},{"1355195297":["hashtag1","hashtag2"]},{"1355195294":["hashtag1","hashtag2"]},{"1355195300":["hashtag1","hashtag2"]},{"1355195299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195298, 1355195295, 1355195297, 1355195294, 1355195300, 1355195299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.440327882766724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:09:32.307628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/08/image_25042025_22_08_55_10376.jpg', '/home/pi/Desktop/images/25042025/22/08/image_25042025_22_09_04_9430.jpg', '/home/pi/Desktop/images/25042025/22/09/image_25042025_22_09_14_10420.jpg', '/home/pi/Desktop/images/25042025/22/09/image_25042025_22_09_24_9447.jpg', '/home/pi/Desktop/images/25042025/22/09/image_25042025_22_09_34_10381.jpg', '/home/pi/Desktop/images/25042025/22/09/image_25042025_22_09_44_9500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/08/image_25042025_22_08_55_10376.jpg
/home/pi/Desktop/images/25042025/22/08/image_25042025_22_09_04_9430.jpg
/home/pi/Desktop/images/25042025/22/09/image_25042025_22_09_14_10420.jpg
/home/pi/Desktop/images/25042025/22/09/image_25042025_22_09_24_9447.jpg
/home/pi/Desktop/images/25042025/22/09/image_25042025_22_09_34_10381.jpg
/home/pi/Desktop/images/25042025/22/09/image_25042025_22_09_44_9500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195332","1355195329","1355195320","1355195316","1355195331","1355195324"],"photo_ids_order":["1355195316","1355195320","1355195324","1355195329","1355195331","1355195332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e5fb7c288ed162f0d779fac9fd1b2e06.jpg","text":"TemporaryFile(/tmp/multipartBody1305012545182608156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141033772,"filename":"image_25042025_22_09_44_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2652f734ae337ab43ea55d4cb5af3531.jpg","text":"TemporaryFile(/tmp/multipartBody298459334172409361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141033772,"filename":"image_25042025_22_09_24_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/280c7412162851f7e438aca89e3053c9.jpg","text":"TemporaryFile(/tmp/multipartBody3586500079466085401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141033772,"filename":"image_25042025_22_09_04_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/421c94eab1a979077f82d1f8778e219c.jpg","text":"TemporaryFile(/tmp/multipartBody7803117616566029967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141033772,"filename":"image_25042025_22_08_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/5/2/bd7be77d16bd5738ef45344faf5d942e.jpg","text":"TemporaryFile(/tmp/multipartBody5549546653024310891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141033772,"filename":"image_25042025_22_09_34_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c0606734d62f5945acc6882ff9c7ca5.jpg","text":"TemporaryFile(/tmp/multipartBody3222424774942309566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141033772,"filename":"image_25042025_22_09_14_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195324","file1":"1355195320","file0":"1355195316","file4":"1355195331","file5":"1355195332","file3":"1355195329"},"map_files_photo_id_array":[{"photo_id":"1355195332","filename":"file5"},{"photo_id":"1355195324","filename":"file2"},{"photo_id":"1355195331","filename":"file4"},{"photo_id":"1355195320","filename":"file1"},{"photo_id":"1355195316","filename":"file0"},{"photo_id":"1355195329","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195332":["hashtag1","hashtag2"]},{"1355195329":["hashtag1","hashtag2"]},{"1355195320":["hashtag1","hashtag2"]},{"1355195316":["hashtag1","hashtag2"]},{"1355195331":["hashtag1","hashtag2"]},{"1355195324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195332, 1355195329, 1355195320, 1355195316, 1355195331, 1355195324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.493550062179565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:10:32.547000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/09/image_25042025_22_09_54_10370.jpg', '/home/pi/Desktop/images/25042025/22/09/image_25042025_22_10_05_10363.jpg', '/home/pi/Desktop/images/25042025/22/10/image_25042025_22_10_14_9422.jpg', '/home/pi/Desktop/images/25042025/22/10/image_25042025_22_10_24_10364.jpg', '/home/pi/Desktop/images/25042025/22/10/image_25042025_22_10_35_10442.jpg', '/home/pi/Desktop/images/25042025/22/10/image_25042025_22_10_44_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/09/image_25042025_22_09_54_10370.jpg
/home/pi/Desktop/images/25042025/22/09/image_25042025_22_10_05_10363.jpg
/home/pi/Desktop/images/25042025/22/10/image_25042025_22_10_14_9422.jpg
/home/pi/Desktop/images/25042025/22/10/image_25042025_22_10_24_10364.jpg
/home/pi/Desktop/images/25042025/22/10/image_25042025_22_10_35_10442.jpg
/home/pi/Desktop/images/25042025/22/10/image_25042025_22_10_44_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":["1355195353","1355195355","1355195349","1355195351","1355195354","1355195356"],"photo_ids_order":["1355195349","1355195351","1355195353","1355195354","1355195355","1355195356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed5e7c627910a1efc53e6157f2b9ce8e.jpg","text":"TemporaryFile(/tmp/multipartBody3214099819679127546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141094017,"filename":"image_25042025_22_10_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/5/2/44ccb12b59691fefbdbbe57701b1f91d.jpg","text":"TemporaryFile(/tmp/multipartBody7694481792857773156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141094017,"filename":"image_25042025_22_10_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/5/2/8874e32c782a99a70c753423e79fbac7.jpg","text":"TemporaryFile(/tmp/multipartBody4536539745337109355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141094017,"filename":"image_25042025_22_09_54_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3d3220dc3fba23fcb3399407a1b81c5.jpg","text":"TemporaryFile(/tmp/multipartBody353926994550723666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141094017,"filename":"image_25042025_22_10_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/35088443ea2d189c72a2aa10011d2769.jpg","text":"TemporaryFile(/tmp/multipartBody8819778131744559115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141094017,"filename":"image_25042025_22_10_24_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec75dfc1108cb9a0e577056cb9ffd6e0.jpg","text":"TemporaryFile(/tmp/multipartBody3356663995857639868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141094017,"filename":"image_25042025_22_10_44_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195353","file1":"1355195351","file0":"1355195349","file4":"1355195355","file5":"1355195356","file3":"1355195354"},"map_files_photo_id_array":[{"photo_id":"1355195356","filename":"file5"},{"photo_id":"1355195353","filename":"file2"},{"photo_id":"1355195355","filename":"file4"},{"photo_id":"1355195351","filename":"file1"},{"photo_id":"1355195349","filename":"file0"},{"photo_id":"1355195354","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195353":["hashtag1","hashtag2"]},{"1355195355":["hashtag1","hashtag2"]},{"1355195349":["hashtag1","hashtag2"]},{"1355195351":["hashtag1","hashtag2"]},{"1355195354":["hashtag1","hashtag2"]},{"1355195356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195353, 1355195355, 1355195349, 1355195351, 1355195354, 1355195356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11851239204407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:11:32.820819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/10/image_25042025_22_10_55_10382.jpg', '/home/pi/Desktop/images/25042025/22/10/image_25042025_22_11_04_9452.jpg', '/home/pi/Desktop/images/25042025/22/11/image_25042025_22_11_14_10442.jpg', '/home/pi/Desktop/images/25042025/22/11/image_25042025_22_11_24_9371.jpg', '/home/pi/Desktop/images/25042025/22/11/image_25042025_22_11_34_10379.jpg', '/home/pi/Desktop/images/25042025/22/11/image_25042025_22_11_45_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/10/image_25042025_22_10_55_10382.jpg
/home/pi/Desktop/images/25042025/22/10/image_25042025_22_11_04_9452.jpg
/home/pi/Desktop/images/25042025/22/11/image_25042025_22_11_14_10442.jpg
/home/pi/Desktop/images/25042025/22/11/image_25042025_22_11_24_9371.jpg
/home/pi/Desktop/images/25042025/22/11/image_25042025_22_11_34_10379.jpg
/home/pi/Desktop/images/25042025/22/11/image_25042025_22_11_45_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":["1355195376","1355195375","1355195378","1355195374","1355195377","1355195371"],"photo_ids_order":["1355195371","1355195374","1355195375","1355195376","1355195377","1355195378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b029999b2572fdb27e1d1f7f703fb569.jpg","text":"TemporaryFile(/tmp/multipartBody1497876645331600715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141154317,"filename":"image_25042025_22_11_24_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aed25632947720bc6dba1a4110cba0ac.jpg","text":"TemporaryFile(/tmp/multipartBody1185621659114930278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141154317,"filename":"image_25042025_22_11_14_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/25cd725cc2e62e91e43c5de6d92211b2.jpg","text":"TemporaryFile(/tmp/multipartBody3679619599627057872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141154317,"filename":"image_25042025_22_11_45_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d48afc97a5f990b31250aa14cc7c2393.jpg","text":"TemporaryFile(/tmp/multipartBody7767810822362882513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141154317,"filename":"image_25042025_22_11_04_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f804d6cf2d43bede09b0ee75988f36a0.jpg","text":"TemporaryFile(/tmp/multipartBody2921245854559374654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141154317,"filename":"image_25042025_22_11_34_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/35f7b37029ae6d189bdcd74f824f4502.jpg","text":"TemporaryFile(/tmp/multipartBody5990117039862972332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141154317,"filename":"image_25042025_22_10_55_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195375","file1":"1355195374","file0":"1355195371","file4":"1355195377","file5":"1355195378","file3":"1355195376"},"map_files_photo_id_array":[{"photo_id":"1355195378","filename":"file5"},{"photo_id":"1355195375","filename":"file2"},{"photo_id":"1355195377","filename":"file4"},{"photo_id":"1355195374","filename":"file1"},{"photo_id":"1355195371","filename":"file0"},{"photo_id":"1355195376","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195376":["hashtag1","hashtag2"]},{"1355195375":["hashtag1","hashtag2"]},{"1355195378":["hashtag1","hashtag2"]},{"1355195374":["hashtag1","hashtag2"]},{"1355195377":["hashtag1","hashtag2"]},{"1355195371":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195376, 1355195375, 1355195378, 1355195374, 1355195377, 1355195371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.900161027908325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:12:33.033719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/11/image_25042025_22_11_54_9382.jpg', '/home/pi/Desktop/images/25042025/22/12/image_25042025_22_12_35_10390.jpg', '/home/pi/Desktop/images/25042025/22/12/image_25042025_22_12_44_9354.jpg', '/home/pi/Desktop/images/25042025/22/12/image_25042025_22_12_55_10489.jpg', '/home/pi/Desktop/images/25042025/22/12/image_25042025_22_13_04_9377.jpg', '/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_14_10524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/11/image_25042025_22_11_54_9382.jpg
/home/pi/Desktop/images/25042025/22/12/image_25042025_22_12_35_10390.jpg
/home/pi/Desktop/images/25042025/22/12/image_25042025_22_12_44_9354.jpg
/home/pi/Desktop/images/25042025/22/12/image_25042025_22_12_55_10489.jpg
/home/pi/Desktop/images/25042025/22/12/image_25042025_22_13_04_9377.jpg
/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_14_10524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195397","1355195401","1355195391","1355195394","1355195400","1355195395"],"photo_ids_order":["1355195391","1355195394","1355195395","1355195397","1355195400","1355195401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e8bed2c680bac8b45f50da378a6a4fa.jpg","text":"TemporaryFile(/tmp/multipartBody7109426292228632510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141214506,"filename":"image_25042025_22_12_55_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bee7a3986c688e7044a5100a194eb979.jpg","text":"TemporaryFile(/tmp/multipartBody5527786738451985753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141214506,"filename":"image_25042025_22_13_14_10524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af7808cf23f17dad9a8a23a6d35fbcd3.jpg","text":"TemporaryFile(/tmp/multipartBody6957969185282708073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141214506,"filename":"image_25042025_22_11_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/5/2/c72353b74eb3cec83d4a2e5a29ec5d3c.jpg","text":"TemporaryFile(/tmp/multipartBody3863633965372420519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141214506,"filename":"image_25042025_22_12_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6cd40f585ea9b7d694cc47bec8d21d9.jpg","text":"TemporaryFile(/tmp/multipartBody1690032140324080822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141214506,"filename":"image_25042025_22_13_04_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/afcb7c86d0524f41847f6b8ed450ebf6.jpg","text":"TemporaryFile(/tmp/multipartBody77346827100348383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141214506,"filename":"image_25042025_22_12_44_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195395","file1":"1355195394","file0":"1355195391","file4":"1355195400","file5":"1355195401","file3":"1355195397"},"map_files_photo_id_array":[{"photo_id":"1355195401","filename":"file5"},{"photo_id":"1355195395","filename":"file2"},{"photo_id":"1355195400","filename":"file4"},{"photo_id":"1355195394","filename":"file1"},{"photo_id":"1355195391","filename":"file0"},{"photo_id":"1355195397","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195397":["hashtag1","hashtag2"]},{"1355195401":["hashtag1","hashtag2"]},{"1355195391":["hashtag1","hashtag2"]},{"1355195394":["hashtag1","hashtag2"]},{"1355195400":["hashtag1","hashtag2"]},{"1355195395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195397, 1355195401, 1355195391, 1355195394, 1355195400, 1355195395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.295724630355835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:13:32.219044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_24_9493.jpg', '/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_45_10394.jpg', '/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_54_9415.jpg', '/home/pi/Desktop/images/25042025/22/13/image_25042025_22_14_04_10391.jpg', '/home/pi/Desktop/images/25042025/22/14/image_25042025_22_14_24_10385.jpg', '/home/pi/Desktop/images/25042025/22/14/image_25042025_22_14_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_24_9493.jpg
/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_45_10394.jpg
/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_54_9415.jpg
/home/pi/Desktop/images/25042025/22/13/image_25042025_22_14_04_10391.jpg
/home/pi/Desktop/images/25042025/22/14/image_25042025_22_14_24_10385.jpg
/home/pi/Desktop/images/25042025/22/14/image_25042025_22_14_55_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.386687994003296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 01:13:42.257470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_24_9493.jpg', '/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_45_10394.jpg', '/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_54_9415.jpg', '/home/pi/Desktop/images/25042025/22/13/image_25042025_22_14_04_10391.jpg', '/home/pi/Desktop/images/25042025/22/14/image_25042025_22_14_24_10385.jpg', '/home/pi/Desktop/images/25042025/22/14/image_25042025_22_14_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_24_9493.jpg
/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_45_10394.jpg
/home/pi/Desktop/images/25042025/22/13/image_25042025_22_13_54_9415.jpg
/home/pi/Desktop/images/25042025/22/13/image_25042025_22_14_04_10391.jpg
/home/pi/Desktop/images/25042025/22/14/image_25042025_22_14_24_10385.jpg
/home/pi/Desktop/images/25042025/22/14/image_25042025_22_14_55_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":["1355195428","1355195430","1355195426","1355195429","1355195420","1355195423"],"photo_ids_order":["1355195420","1355195423","1355195426","1355195428","1355195429","1355195430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f4e070347414f2435ade2ae9dc84659.jpg","text":"TemporaryFile(/tmp/multipartBody1609870063043243349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141282799,"filename":"image_25042025_22_14_04_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89b77477aac036ecf61890971867ace1.jpg","text":"TemporaryFile(/tmp/multipartBody1384261664186168812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141282799,"filename":"image_25042025_22_14_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd5febfe125412bf03ce2eef6106c68d.jpg","text":"TemporaryFile(/tmp/multipartBody4219388017150533668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141282799,"filename":"image_25042025_22_13_54_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/174a2cbd0054c8f65681b6ab2b5bba8a.jpg","text":"TemporaryFile(/tmp/multipartBody8290815175343769958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141282799,"filename":"image_25042025_22_14_24_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b3725eb9419ede930cb524d1f309031.jpg","text":"TemporaryFile(/tmp/multipartBody6989108094206415781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141282799,"filename":"image_25042025_22_13_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/5/2/62e8d3998c295d229bf97568175ab6f0.jpg","text":"TemporaryFile(/tmp/multipartBody8053023799715709944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141282799,"filename":"image_25042025_22_13_45_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195426","file1":"1355195423","file0":"1355195420","file4":"1355195429","file5":"1355195430","file3":"1355195428"},"map_files_photo_id_array":[{"photo_id":"1355195430","filename":"file5"},{"photo_id":"1355195426","filename":"file2"},{"photo_id":"1355195429","filename":"file4"},{"photo_id":"1355195423","filename":"file1"},{"photo_id":"1355195420","filename":"file0"},{"photo_id":"1355195428","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195428":["hashtag1","hashtag2"]},{"1355195430":["hashtag1","hashtag2"]},{"1355195426":["hashtag1","hashtag2"]},{"1355195429":["hashtag1","hashtag2"]},{"1355195420":["hashtag1","hashtag2"]},{"1355195423":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195428, 1355195430, 1355195426, 1355195429, 1355195420, 1355195423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.489864110946655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:14:32.514876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/14/image_25042025_22_15_04_9359.jpg', '/home/pi/Desktop/images/25042025/22/16/image_25042025_22_17_04_9375.jpg', '/home/pi/Desktop/images/25042025/22/17/image_25042025_22_17_14_10415.jpg', '/home/pi/Desktop/images/25042025/22/17/image_25042025_22_18_04_10380.jpg', '/home/pi/Desktop/images/25042025/22/18/image_25042025_22_18_44_9407.jpg', '/home/pi/Desktop/images/25042025/22/18/image_25042025_22_18_54_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/14/image_25042025_22_15_04_9359.jpg
/home/pi/Desktop/images/25042025/22/16/image_25042025_22_17_04_9375.jpg
/home/pi/Desktop/images/25042025/22/17/image_25042025_22_17_14_10415.jpg
/home/pi/Desktop/images/25042025/22/17/image_25042025_22_18_04_10380.jpg
/home/pi/Desktop/images/25042025/22/18/image_25042025_22_18_44_9407.jpg
/home/pi/Desktop/images/25042025/22/18/image_25042025_22_18_54_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195451","1355195460","1355195448","1355195457","1355195462","1355195455"],"photo_ids_order":["1355195448","1355195451","1355195455","1355195457","1355195460","1355195462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af5305c39d366b0c27357fb3d95c0145.jpg","text":"TemporaryFile(/tmp/multipartBody7498472307280591809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141334015,"filename":"image_25042025_22_17_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/52fa9677e78b7ed89b540407e544674a.jpg","text":"TemporaryFile(/tmp/multipartBody1042310882552765430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141334015,"filename":"image_25042025_22_18_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/5/2/b51654aabd3d51e2e44c7410b240e39a.jpg","text":"TemporaryFile(/tmp/multipartBody2538302857559115795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141334015,"filename":"image_25042025_22_15_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2591bbbcce8b4b4b49538ed3db043279.jpg","text":"TemporaryFile(/tmp/multipartBody2298197911976413641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141334015,"filename":"image_25042025_22_18_04_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7f0ed6145ae177b3c8aee7987989903f.jpg","text":"TemporaryFile(/tmp/multipartBody1475763784021269298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141334015,"filename":"image_25042025_22_18_54_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5645a8cd4c81bb682fb8a436f459ba27.jpg","text":"TemporaryFile(/tmp/multipartBody1172484733152687417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141334015,"filename":"image_25042025_22_17_14_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195455","file1":"1355195451","file0":"1355195448","file4":"1355195460","file5":"1355195462","file3":"1355195457"},"map_files_photo_id_array":[{"photo_id":"1355195462","filename":"file5"},{"photo_id":"1355195455","filename":"file2"},{"photo_id":"1355195460","filename":"file4"},{"photo_id":"1355195451","filename":"file1"},{"photo_id":"1355195448","filename":"file0"},{"photo_id":"1355195457","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195451":["hashtag1","hashtag2"]},{"1355195460":["hashtag1","hashtag2"]},{"1355195448":["hashtag1","hashtag2"]},{"1355195457":["hashtag1","hashtag2"]},{"1355195462":["hashtag1","hashtag2"]},{"1355195455":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195451, 1355195460, 1355195448, 1355195457, 1355195462, 1355195455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.779611587524414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:15:32.749934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/19/image_25042025_22_19_25_10399.jpg', '/home/pi/Desktop/images/25042025/22/19/image_25042025_22_19_34_9441.jpg', '/home/pi/Desktop/images/25042025/22/19/image_25042025_22_20_04_9364.jpg', '/home/pi/Desktop/images/25042025/22/20/image_25042025_22_20_15_10459.jpg', '/home/pi/Desktop/images/25042025/22/20/image_25042025_22_20_34_10395.jpg', '/home/pi/Desktop/images/25042025/22/20/image_25042025_22_20_44_9501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/19/image_25042025_22_19_25_10399.jpg
/home/pi/Desktop/images/25042025/22/19/image_25042025_22_19_34_9441.jpg
/home/pi/Desktop/images/25042025/22/19/image_25042025_22_20_04_9364.jpg
/home/pi/Desktop/images/25042025/22/20/image_25042025_22_20_15_10459.jpg
/home/pi/Desktop/images/25042025/22/20/image_25042025_22_20_34_10395.jpg
/home/pi/Desktop/images/25042025/22/20/image_25042025_22_20_44_9501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195484","1355195481","1355195475","1355195483","1355195471","1355195479"],"photo_ids_order":["1355195471","1355195475","1355195479","1355195481","1355195483","1355195484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9ad636b22e92d0622929256837f9efb.jpg","text":"TemporaryFile(/tmp/multipartBody726500437802178102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141394216,"filename":"image_25042025_22_20_44_9501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b461e4e8a4f78190a7d785ed2e2fce6.jpg","text":"TemporaryFile(/tmp/multipartBody6325391139119023650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141394216,"filename":"image_25042025_22_20_15_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f692a71b9b64bc6bcb0bcdcb089a94e.jpg","text":"TemporaryFile(/tmp/multipartBody2563868193680235649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141394216,"filename":"image_25042025_22_19_34_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4211df49a76058525ca286d0bece3e01.jpg","text":"TemporaryFile(/tmp/multipartBody3914922098915698501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141394216,"filename":"image_25042025_22_20_34_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/92dcabcab2f2774243fa591c6310dcc9.jpg","text":"TemporaryFile(/tmp/multipartBody2559442786914710345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141394216,"filename":"image_25042025_22_19_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e54bbae2c521e2625d059e172655e5f4.jpg","text":"TemporaryFile(/tmp/multipartBody8557510501556670990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141394216,"filename":"image_25042025_22_20_04_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195479","file1":"1355195475","file0":"1355195471","file4":"1355195483","file5":"1355195484","file3":"1355195481"},"map_files_photo_id_array":[{"photo_id":"1355195484","filename":"file5"},{"photo_id":"1355195479","filename":"file2"},{"photo_id":"1355195483","filename":"file4"},{"photo_id":"1355195475","filename":"file1"},{"photo_id":"1355195471","filename":"file0"},{"photo_id":"1355195481","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195484":["hashtag1","hashtag2"]},{"1355195481":["hashtag1","hashtag2"]},{"1355195475":["hashtag1","hashtag2"]},{"1355195483":["hashtag1","hashtag2"]},{"1355195471":["hashtag1","hashtag2"]},{"1355195479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195484, 1355195481, 1355195475, 1355195483, 1355195471, 1355195479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.43058156967163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:16:33.091527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/20/image_25042025_22_20_54_10379.jpg', '/home/pi/Desktop/images/25042025/22/20/image_25042025_22_21_05_10358.jpg', '/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_14_9525.jpg', '/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_25_10426.jpg', '/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_34_9461.jpg', '/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_44_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/20/image_25042025_22_20_54_10379.jpg
/home/pi/Desktop/images/25042025/22/20/image_25042025_22_21_05_10358.jpg
/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_14_9525.jpg
/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_25_10426.jpg
/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_34_9461.jpg
/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_44_10391.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.492255687713623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 01:16:43.052204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/20/image_25042025_22_20_54_10379.jpg', '/home/pi/Desktop/images/25042025/22/20/image_25042025_22_21_05_10358.jpg', '/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_14_9525.jpg', '/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_25_10426.jpg', '/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_34_9461.jpg', '/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_44_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/20/image_25042025_22_20_54_10379.jpg
/home/pi/Desktop/images/25042025/22/20/image_25042025_22_21_05_10358.jpg
/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_14_9525.jpg
/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_25_10426.jpg
/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_34_9461.jpg
/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_44_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195515","1355195511","1355195508","1355195513","1355195501","1355195504"],"photo_ids_order":["1355195501","1355195504","1355195508","1355195511","1355195513","1355195515"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94c47aae4455992a9ccba956d40e1b09.jpg","text":"TemporaryFile(/tmp/multipartBody656787994354839508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141463588,"filename":"image_25042025_22_21_44_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ac5e5d2d10577b9062a6b28234af5cd.jpg","text":"TemporaryFile(/tmp/multipartBody7738053031712170101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141463588,"filename":"image_25042025_22_21_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ab50f57d25e8ed74788d8c3bb893fd1a.jpg","text":"TemporaryFile(/tmp/multipartBody6955234952403705122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141463588,"filename":"image_25042025_22_21_14_9525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/166f02c19716fe83403b6bc4c61faeaf.jpg","text":"TemporaryFile(/tmp/multipartBody5718453281576975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141463588,"filename":"image_25042025_22_21_34_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f05443f7986a2ef477cea5afa1a47eb0.jpg","text":"TemporaryFile(/tmp/multipartBody8518720629365669442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141463588,"filename":"image_25042025_22_20_54_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a990f4a96a4b196ba29ecc85694edf8.jpg","text":"TemporaryFile(/tmp/multipartBody3399172093682407572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141463588,"filename":"image_25042025_22_21_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195508","file1":"1355195504","file0":"1355195501","file4":"1355195513","file5":"1355195515","file3":"1355195511"},"map_files_photo_id_array":[{"photo_id":"1355195515","filename":"file5"},{"photo_id":"1355195508","filename":"file2"},{"photo_id":"1355195513","filename":"file4"},{"photo_id":"1355195504","filename":"file1"},{"photo_id":"1355195501","filename":"file0"},{"photo_id":"1355195511","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195515":["hashtag1","hashtag2"]},{"1355195511":["hashtag1","hashtag2"]},{"1355195508":["hashtag1","hashtag2"]},{"1355195513":["hashtag1","hashtag2"]},{"1355195501":["hashtag1","hashtag2"]},{"1355195504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195515, 1355195511, 1355195508, 1355195513, 1355195501, 1355195504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.139399766922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:17:32.295792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_54_9417.jpg', '/home/pi/Desktop/images/25042025/22/21/image_25042025_22_22_04_10383.jpg', '/home/pi/Desktop/images/25042025/22/22/image_25042025_22_22_15_10440.jpg', '/home/pi/Desktop/images/25042025/22/22/image_25042025_22_22_24_9449.jpg', '/home/pi/Desktop/images/25042025/22/22/image_25042025_22_22_35_10384.jpg', '/home/pi/Desktop/images/25042025/22/22/image_25042025_22_22_44_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/21/image_25042025_22_21_54_9417.jpg
/home/pi/Desktop/images/25042025/22/21/image_25042025_22_22_04_10383.jpg
/home/pi/Desktop/images/25042025/22/22/image_25042025_22_22_15_10440.jpg
/home/pi/Desktop/images/25042025/22/22/image_25042025_22_22_24_9449.jpg
/home/pi/Desktop/images/25042025/22/22/image_25042025_22_22_35_10384.jpg
/home/pi/Desktop/images/25042025/22/22/image_25042025_22_22_44_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195539","1355195532","1355195535","1355195526","1355195537","1355195522"],"photo_ids_order":["1355195522","1355195526","1355195532","1355195535","1355195537","1355195539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d8651ecfbc67447c8f9015eabb2e463b.jpg","text":"TemporaryFile(/tmp/multipartBody4116948801908901414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141513760,"filename":"image_25042025_22_22_44_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f3aee07f3f2556400441296dca1782b7.jpg","text":"TemporaryFile(/tmp/multipartBody1279355592470825828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141513760,"filename":"image_25042025_22_22_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/5/2/8859f60965346893e6859baca27e2787.jpg","text":"TemporaryFile(/tmp/multipartBody7431384012507563711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141513760,"filename":"image_25042025_22_22_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/5/2/71b7cae6a887ada299909dfbe8fb8d7f.jpg","text":"TemporaryFile(/tmp/multipartBody4820103591166396817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141513760,"filename":"image_25042025_22_22_04_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/495976fe1a872cafef9494a351f61455.jpg","text":"TemporaryFile(/tmp/multipartBody9151064463133829124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141513760,"filename":"image_25042025_22_22_35_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b94aa205f573c9e8ac145e12f8464667.jpg","text":"TemporaryFile(/tmp/multipartBody2833759075888485047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141513760,"filename":"image_25042025_22_21_54_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195532","file1":"1355195526","file0":"1355195522","file4":"1355195537","file5":"1355195539","file3":"1355195535"},"map_files_photo_id_array":[{"photo_id":"1355195539","filename":"file5"},{"photo_id":"1355195532","filename":"file2"},{"photo_id":"1355195537","filename":"file4"},{"photo_id":"1355195526","filename":"file1"},{"photo_id":"1355195522","filename":"file0"},{"photo_id":"1355195535","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195539":["hashtag1","hashtag2"]},{"1355195532":["hashtag1","hashtag2"]},{"1355195535":["hashtag1","hashtag2"]},{"1355195526":["hashtag1","hashtag2"]},{"1355195537":["hashtag1","hashtag2"]},{"1355195522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195539, 1355195532, 1355195535, 1355195526, 1355195537, 1355195522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.89131450653076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:18:32.502545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/22/image_25042025_22_22_54_10403.jpg', '/home/pi/Desktop/images/25042025/22/22/image_25042025_22_23_05_10392.jpg', '/home/pi/Desktop/images/25042025/22/23/image_25042025_22_23_24_10371.jpg', '/home/pi/Desktop/images/25042025/22/23/image_25042025_22_23_34_9416.jpg', '/home/pi/Desktop/images/25042025/22/23/image_25042025_22_23_44_10442.jpg', '/home/pi/Desktop/images/25042025/22/23/image_25042025_22_23_55_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/22/image_25042025_22_22_54_10403.jpg
/home/pi/Desktop/images/25042025/22/22/image_25042025_22_23_05_10392.jpg
/home/pi/Desktop/images/25042025/22/23/image_25042025_22_23_24_10371.jpg
/home/pi/Desktop/images/25042025/22/23/image_25042025_22_23_34_9416.jpg
/home/pi/Desktop/images/25042025/22/23/image_25042025_22_23_44_10442.jpg
/home/pi/Desktop/images/25042025/22/23/image_25042025_22_23_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":["1355195559","1355195562","1355195561","1355195549","1355195554","1355195557"],"photo_ids_order":["1355195549","1355195554","1355195557","1355195559","1355195561","1355195562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/723b504b43bc8d922e12f4856dc30329.jpg","text":"TemporaryFile(/tmp/multipartBody2022408586770418586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141573969,"filename":"image_25042025_22_23_34_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22dab8a4039fbf96c91de020cd95950c.jpg","text":"TemporaryFile(/tmp/multipartBody3507110301688260287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141573969,"filename":"image_25042025_22_23_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/5/2/b42bcf6fa6ad17d609cd91d3156cfeed.jpg","text":"TemporaryFile(/tmp/multipartBody5414495832000212130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141573969,"filename":"image_25042025_22_23_44_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d91e72a756d7df69a34bed333ec867ac.jpg","text":"TemporaryFile(/tmp/multipartBody471242181665151091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141573969,"filename":"image_25042025_22_22_54_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9ffdc85ab89acf290fab76c5efe4811.jpg","text":"TemporaryFile(/tmp/multipartBody5537800054597011472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141573969,"filename":"image_25042025_22_23_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/5/2/0aa62eee86a12eccd62a8364286f0df9.jpg","text":"TemporaryFile(/tmp/multipartBody4006678282830973028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141573969,"filename":"image_25042025_22_23_24_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195557","file1":"1355195554","file0":"1355195549","file4":"1355195561","file5":"1355195562","file3":"1355195559"},"map_files_photo_id_array":[{"photo_id":"1355195562","filename":"file5"},{"photo_id":"1355195557","filename":"file2"},{"photo_id":"1355195561","filename":"file4"},{"photo_id":"1355195554","filename":"file1"},{"photo_id":"1355195549","filename":"file0"},{"photo_id":"1355195559","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195559":["hashtag1","hashtag2"]},{"1355195562":["hashtag1","hashtag2"]},{"1355195561":["hashtag1","hashtag2"]},{"1355195549":["hashtag1","hashtag2"]},{"1355195554":["hashtag1","hashtag2"]},{"1355195557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195559, 1355195562, 1355195561, 1355195549, 1355195554, 1355195557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63962984085083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:19:32.766894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/23/image_25042025_22_24_04_9377.jpg', '/home/pi/Desktop/images/25042025/22/24/image_25042025_22_24_15_10524.jpg', '/home/pi/Desktop/images/25042025/22/24/image_25042025_22_24_24_9441.jpg', '/home/pi/Desktop/images/25042025/22/24/image_25042025_22_24_35_10472.jpg', '/home/pi/Desktop/images/25042025/22/24/image_25042025_22_24_44_9441.jpg', '/home/pi/Desktop/images/25042025/22/24/image_25042025_22_24_55_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/23/image_25042025_22_24_04_9377.jpg
/home/pi/Desktop/images/25042025/22/24/image_25042025_22_24_15_10524.jpg
/home/pi/Desktop/images/25042025/22/24/image_25042025_22_24_24_9441.jpg
/home/pi/Desktop/images/25042025/22/24/image_25042025_22_24_35_10472.jpg
/home/pi/Desktop/images/25042025/22/24/image_25042025_22_24_44_9441.jpg
/home/pi/Desktop/images/25042025/22/24/image_25042025_22_24_55_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195589","1355195586","1355195574","1355195582","1355195584","1355195578"],"photo_ids_order":["1355195574","1355195578","1355195582","1355195584","1355195586","1355195589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34a4b3807c17a09d274fa444462cb194.jpg","text":"TemporaryFile(/tmp/multipartBody3237087985358885877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141634238,"filename":"image_25042025_22_24_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/716c3a96ecb8c70043826d23f39fd25b.jpg","text":"TemporaryFile(/tmp/multipartBody5554033834972041046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141634238,"filename":"image_25042025_22_24_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/5/2/a0e7980ebe45c5d2dbd4f4930cba2c55.jpg","text":"TemporaryFile(/tmp/multipartBody5916862063402660111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141634238,"filename":"image_25042025_22_24_04_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb20a815342a28a43ca23be44b18ff72.jpg","text":"TemporaryFile(/tmp/multipartBody5925830548282267788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141634238,"filename":"image_25042025_22_24_24_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0e57075c1bda91b8c428b9af07d61e27.jpg","text":"TemporaryFile(/tmp/multipartBody6497490399841291837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141634238,"filename":"image_25042025_22_24_35_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4371c69cdc831fff2571330df69e2329.jpg","text":"TemporaryFile(/tmp/multipartBody8601609258607434387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141634238,"filename":"image_25042025_22_24_15_10524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195582","file1":"1355195578","file0":"1355195574","file4":"1355195586","file5":"1355195589","file3":"1355195584"},"map_files_photo_id_array":[{"photo_id":"1355195589","filename":"file5"},{"photo_id":"1355195582","filename":"file2"},{"photo_id":"1355195586","filename":"file4"},{"photo_id":"1355195578","filename":"file1"},{"photo_id":"1355195574","filename":"file0"},{"photo_id":"1355195584","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195589":["hashtag1","hashtag2"]},{"1355195586":["hashtag1","hashtag2"]},{"1355195574":["hashtag1","hashtag2"]},{"1355195582":["hashtag1","hashtag2"]},{"1355195584":["hashtag1","hashtag2"]},{"1355195578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195589, 1355195586, 1355195574, 1355195582, 1355195584, 1355195578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05061984062195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:20:33.033836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/24/image_25042025_22_25_04_9473.jpg', '/home/pi/Desktop/images/25042025/22/25/image_25042025_22_25_14_10447.jpg', '/home/pi/Desktop/images/25042025/22/25/image_25042025_22_25_24_9478.jpg', '/home/pi/Desktop/images/25042025/22/25/image_25042025_22_25_34_10364.jpg', '/home/pi/Desktop/images/25042025/22/25/image_25042025_22_25_45_10393.jpg', '/home/pi/Desktop/images/25042025/22/25/image_25042025_22_25_54_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/24/image_25042025_22_25_04_9473.jpg
/home/pi/Desktop/images/25042025/22/25/image_25042025_22_25_14_10447.jpg
/home/pi/Desktop/images/25042025/22/25/image_25042025_22_25_24_9478.jpg
/home/pi/Desktop/images/25042025/22/25/image_25042025_22_25_34_10364.jpg
/home/pi/Desktop/images/25042025/22/25/image_25042025_22_25_45_10393.jpg
/home/pi/Desktop/images/25042025/22/25/image_25042025_22_25_54_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195617","1355195605","1355195619","1355195612","1355195615","1355195609"],"photo_ids_order":["1355195605","1355195609","1355195612","1355195615","1355195617","1355195619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d319e7b1de328f594bd6abb36d028ca.jpg","text":"TemporaryFile(/tmp/multipartBody5620869909128036796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141694559,"filename":"image_25042025_22_25_45_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3fa1176fbcc8ad23a952443e3341601c.jpg","text":"TemporaryFile(/tmp/multipartBody4241788976874516862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141694559,"filename":"image_25042025_22_25_04_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2a28ee28d6094f0f873181d3b510aef.jpg","text":"TemporaryFile(/tmp/multipartBody7693953405288368409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141694559,"filename":"image_25042025_22_25_54_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/126224eb4638a94339146af851055611.jpg","text":"TemporaryFile(/tmp/multipartBody2677569583324131546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141694559,"filename":"image_25042025_22_25_24_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f808c57e2aae1289cbda3087fdc1de11.jpg","text":"TemporaryFile(/tmp/multipartBody1297756807299152859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141694559,"filename":"image_25042025_22_25_34_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ab3cda7da300c3fe44972fac24238c4.jpg","text":"TemporaryFile(/tmp/multipartBody4305027904788964213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141694559,"filename":"image_25042025_22_25_14_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195612","file1":"1355195609","file0":"1355195605","file4":"1355195617","file5":"1355195619","file3":"1355195615"},"map_files_photo_id_array":[{"photo_id":"1355195619","filename":"file5"},{"photo_id":"1355195612","filename":"file2"},{"photo_id":"1355195617","filename":"file4"},{"photo_id":"1355195609","filename":"file1"},{"photo_id":"1355195605","filename":"file0"},{"photo_id":"1355195615","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195617":["hashtag1","hashtag2"]},{"1355195605":["hashtag1","hashtag2"]},{"1355195619":["hashtag1","hashtag2"]},{"1355195612":["hashtag1","hashtag2"]},{"1355195615":["hashtag1","hashtag2"]},{"1355195609":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195617, 1355195605, 1355195619, 1355195612, 1355195615, 1355195609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.882871866226196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:21:32.408037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/25/image_25042025_22_26_05_10472.jpg', '/home/pi/Desktop/images/25042025/22/26/image_25042025_22_26_14_9367.jpg', '/home/pi/Desktop/images/25042025/22/26/image_25042025_22_26_35_10357.jpg', '/home/pi/Desktop/images/25042025/22/26/image_25042025_22_26_44_9442.jpg', '/home/pi/Desktop/images/25042025/22/26/image_25042025_22_26_55_10395.jpg', '/home/pi/Desktop/images/25042025/22/27/image_25042025_22_27_14_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/25/image_25042025_22_26_05_10472.jpg
/home/pi/Desktop/images/25042025/22/26/image_25042025_22_26_14_9367.jpg
/home/pi/Desktop/images/25042025/22/26/image_25042025_22_26_35_10357.jpg
/home/pi/Desktop/images/25042025/22/26/image_25042025_22_26_44_9442.jpg
/home/pi/Desktop/images/25042025/22/26/image_25042025_22_26_55_10395.jpg
/home/pi/Desktop/images/25042025/22/27/image_25042025_22_27_14_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195632","1355195640","1355195628","1355195636","1355195639","1355195641"],"photo_ids_order":["1355195628","1355195632","1355195636","1355195639","1355195640","1355195641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d62aaac1708458fad7728ca7537888a.jpg","text":"TemporaryFile(/tmp/multipartBody6316919047015946545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141753879,"filename":"image_25042025_22_26_14_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87c5f7f858406244893aee6a7b606e63.jpg","text":"TemporaryFile(/tmp/multipartBody6157794368188006425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141753879,"filename":"image_25042025_22_26_55_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16e192a296488f497d2f5a2b5a5a80ee.jpg","text":"TemporaryFile(/tmp/multipartBody1537511129243545805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141753879,"filename":"image_25042025_22_26_05_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/375126c2d93ae25be0ee48a02b971fe9.jpg","text":"TemporaryFile(/tmp/multipartBody135731841332093621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141753879,"filename":"image_25042025_22_26_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/5/2/c2471785d171be68e3afd3a795b5268a.jpg","text":"TemporaryFile(/tmp/multipartBody5775494682123431931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141753879,"filename":"image_25042025_22_26_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/5/2/6844e6356cde89d21f2f5966d1704624.jpg","text":"TemporaryFile(/tmp/multipartBody5935506937432111786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141753879,"filename":"image_25042025_22_27_14_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195636","file1":"1355195632","file0":"1355195628","file4":"1355195640","file5":"1355195641","file3":"1355195639"},"map_files_photo_id_array":[{"photo_id":"1355195641","filename":"file5"},{"photo_id":"1355195636","filename":"file2"},{"photo_id":"1355195640","filename":"file4"},{"photo_id":"1355195632","filename":"file1"},{"photo_id":"1355195628","filename":"file0"},{"photo_id":"1355195639","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195632":["hashtag1","hashtag2"]},{"1355195640":["hashtag1","hashtag2"]},{"1355195628":["hashtag1","hashtag2"]},{"1355195636":["hashtag1","hashtag2"]},{"1355195639":["hashtag1","hashtag2"]},{"1355195641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195632, 1355195640, 1355195628, 1355195636, 1355195639, 1355195641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38333320617676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:22:32.552817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/27/image_25042025_22_27_25_10378.jpg', '/home/pi/Desktop/images/25042025/22/27/image_25042025_22_27_34_9420.jpg', '/home/pi/Desktop/images/25042025/22/27/image_25042025_22_27_45_10391.jpg', '/home/pi/Desktop/images/25042025/22/27/image_25042025_22_27_54_9432.jpg', '/home/pi/Desktop/images/25042025/22/28/image_25042025_22_28_15_10386.jpg', '/home/pi/Desktop/images/25042025/22/28/image_25042025_22_28_24_9262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/27/image_25042025_22_27_25_10378.jpg
/home/pi/Desktop/images/25042025/22/27/image_25042025_22_27_34_9420.jpg
/home/pi/Desktop/images/25042025/22/27/image_25042025_22_27_45_10391.jpg
/home/pi/Desktop/images/25042025/22/27/image_25042025_22_27_54_9432.jpg
/home/pi/Desktop/images/25042025/22/28/image_25042025_22_28_15_10386.jpg
/home/pi/Desktop/images/25042025/22/28/image_25042025_22_28_24_9262.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195664","1355195663","1355195665","1355195659","1355195662","1355195656"],"photo_ids_order":["1355195656","1355195659","1355195662","1355195663","1355195664","1355195665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d983af95018acee567393814f956bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7373909135285084710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141814030,"filename":"image_25042025_22_28_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/5/2/0168fac4f2e442846e6e7a57f2902811.jpg","text":"TemporaryFile(/tmp/multipartBody6306973831168907228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141814030,"filename":"image_25042025_22_27_54_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db34ca6ff3da00d95289a855e6c0375b.jpg","text":"TemporaryFile(/tmp/multipartBody4644667713397637450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141814030,"filename":"image_25042025_22_28_24_9262.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f0697d155cd0328ad2d72c1ed337aae.jpg","text":"TemporaryFile(/tmp/multipartBody2462879365638326390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141814030,"filename":"image_25042025_22_27_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/5/2/5f40e14858a52030e62ff679361d7f04.jpg","text":"TemporaryFile(/tmp/multipartBody2768212692137280013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141814030,"filename":"image_25042025_22_27_45_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94b7fc51e97d3a8ddc7a45d8975e0fea.jpg","text":"TemporaryFile(/tmp/multipartBody1050978208733306653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141814030,"filename":"image_25042025_22_27_25_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195662","file1":"1355195659","file0":"1355195656","file4":"1355195664","file5":"1355195665","file3":"1355195663"},"map_files_photo_id_array":[{"photo_id":"1355195665","filename":"file5"},{"photo_id":"1355195662","filename":"file2"},{"photo_id":"1355195664","filename":"file4"},{"photo_id":"1355195659","filename":"file1"},{"photo_id":"1355195656","filename":"file0"},{"photo_id":"1355195663","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195664":["hashtag1","hashtag2"]},{"1355195663":["hashtag1","hashtag2"]},{"1355195665":["hashtag1","hashtag2"]},{"1355195659":["hashtag1","hashtag2"]},{"1355195662":["hashtag1","hashtag2"]},{"1355195656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195664, 1355195663, 1355195665, 1355195659, 1355195662, 1355195656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.334911584854126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:23:32.729069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/28/image_25042025_22_28_34_10343.jpg', '/home/pi/Desktop/images/25042025/22/28/image_25042025_22_29_05_10472.jpg', '/home/pi/Desktop/images/25042025/22/29/image_25042025_22_29_14_9420.jpg', '/home/pi/Desktop/images/25042025/22/29/image_25042025_22_29_24_10428.jpg', '/home/pi/Desktop/images/25042025/22/29/image_25042025_22_29_34_9424.jpg', '/home/pi/Desktop/images/25042025/22/29/image_25042025_22_29_44_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/28/image_25042025_22_28_34_10343.jpg
/home/pi/Desktop/images/25042025/22/28/image_25042025_22_29_05_10472.jpg
/home/pi/Desktop/images/25042025/22/29/image_25042025_22_29_14_9420.jpg
/home/pi/Desktop/images/25042025/22/29/image_25042025_22_29_24_10428.jpg
/home/pi/Desktop/images/25042025/22/29/image_25042025_22_29_34_9424.jpg
/home/pi/Desktop/images/25042025/22/29/image_25042025_22_29_44_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195688","1355195690","1355195683","1355195686","1355195689","1355195680"],"photo_ids_order":["1355195680","1355195683","1355195686","1355195688","1355195689","1355195690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dbd9590e182ac22e586afd284e0e47eb.jpg","text":"TemporaryFile(/tmp/multipartBody2737018819534112266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141874277,"filename":"image_25042025_22_29_24_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3eb505641b8333d084efbf4f39abb8a5.jpg","text":"TemporaryFile(/tmp/multipartBody3761098942247469889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141874277,"filename":"image_25042025_22_29_44_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/813bda4bdb0a8da21576dfd3037746dc.jpg","text":"TemporaryFile(/tmp/multipartBody3332402318404619577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141874277,"filename":"image_25042025_22_29_05_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/33e4e0548a988cfcceb6eaf770e0afe2.jpg","text":"TemporaryFile(/tmp/multipartBody8373688694513006629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141874277,"filename":"image_25042025_22_29_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/5/2/148d69d49b0d19af0db32a8c6bccc3cb.jpg","text":"TemporaryFile(/tmp/multipartBody7567705872927995487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141874277,"filename":"image_25042025_22_29_34_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/59ced2503280590081b7b9716112f3fe.jpg","text":"TemporaryFile(/tmp/multipartBody1511435173364969569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141874277,"filename":"image_25042025_22_28_34_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195686","file1":"1355195683","file0":"1355195680","file4":"1355195689","file5":"1355195690","file3":"1355195688"},"map_files_photo_id_array":[{"photo_id":"1355195690","filename":"file5"},{"photo_id":"1355195686","filename":"file2"},{"photo_id":"1355195689","filename":"file4"},{"photo_id":"1355195683","filename":"file1"},{"photo_id":"1355195680","filename":"file0"},{"photo_id":"1355195688","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195688":["hashtag1","hashtag2"]},{"1355195690":["hashtag1","hashtag2"]},{"1355195683":["hashtag1","hashtag2"]},{"1355195686":["hashtag1","hashtag2"]},{"1355195689":["hashtag1","hashtag2"]},{"1355195680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195688, 1355195690, 1355195683, 1355195686, 1355195689, 1355195680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.623419523239136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:24:32.979156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/29/image_25042025_22_30_04_9354.jpg', '/home/pi/Desktop/images/25042025/22/30/image_25042025_22_30_14_10426.jpg', '/home/pi/Desktop/images/25042025/22/30/image_25042025_22_30_24_9430.jpg', '/home/pi/Desktop/images/25042025/22/30/image_25042025_22_30_34_10386.jpg', '/home/pi/Desktop/images/25042025/22/30/image_25042025_22_30_54_9425.jpg', '/home/pi/Desktop/images/25042025/22/30/image_25042025_22_31_04_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/29/image_25042025_22_30_04_9354.jpg
/home/pi/Desktop/images/25042025/22/30/image_25042025_22_30_14_10426.jpg
/home/pi/Desktop/images/25042025/22/30/image_25042025_22_30_24_9430.jpg
/home/pi/Desktop/images/25042025/22/30/image_25042025_22_30_34_10386.jpg
/home/pi/Desktop/images/25042025/22/30/image_25042025_22_30_54_9425.jpg
/home/pi/Desktop/images/25042025/22/30/image_25042025_22_31_04_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":["1355195713","1355195715","1355195711","1355195705","1355195708","1355195702"],"photo_ids_order":["1355195702","1355195705","1355195708","1355195711","1355195713","1355195715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e209d857e897b40e0aca279513b6501.jpg","text":"TemporaryFile(/tmp/multipartBody5541857744439429552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141934467,"filename":"image_25042025_22_30_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/5/2/21e8b10635df44988ea4a46be298d2f4.jpg","text":"TemporaryFile(/tmp/multipartBody8657420960258147537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141934467,"filename":"image_25042025_22_31_04_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ac08f8657a88e9248e11fd0d6d88a357.jpg","text":"TemporaryFile(/tmp/multipartBody5189690225136503458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141934467,"filename":"image_25042025_22_30_34_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/961913fe79d39d1a13f8d8972b7b2b56.jpg","text":"TemporaryFile(/tmp/multipartBody1986224004936426732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141934467,"filename":"image_25042025_22_30_14_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/915fe2028915ef6e55adc561ffbd5e96.jpg","text":"TemporaryFile(/tmp/multipartBody1993785509700366138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141934467,"filename":"image_25042025_22_30_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/5/2/477b0280a4413124c3c8d9a7801ff2a9.jpg","text":"TemporaryFile(/tmp/multipartBody3443115124902451601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141934467,"filename":"image_25042025_22_30_04_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195708","file1":"1355195705","file0":"1355195702","file4":"1355195713","file5":"1355195715","file3":"1355195711"},"map_files_photo_id_array":[{"photo_id":"1355195715","filename":"file5"},{"photo_id":"1355195708","filename":"file2"},{"photo_id":"1355195713","filename":"file4"},{"photo_id":"1355195705","filename":"file1"},{"photo_id":"1355195702","filename":"file0"},{"photo_id":"1355195711","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195713":["hashtag1","hashtag2"]},{"1355195715":["hashtag1","hashtag2"]},{"1355195711":["hashtag1","hashtag2"]},{"1355195705":["hashtag1","hashtag2"]},{"1355195708":["hashtag1","hashtag2"]},{"1355195702":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195713, 1355195715, 1355195711, 1355195705, 1355195708, 1355195702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79469180107117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:25:32.223034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/31/image_25042025_22_31_35_10373.jpg', '/home/pi/Desktop/images/25042025/22/31/image_25042025_22_31_44_9368.jpg', '/home/pi/Desktop/images/25042025/22/31/image_25042025_22_31_54_10377.jpg', '/home/pi/Desktop/images/25042025/22/31/image_25042025_22_32_04_9523.jpg', '/home/pi/Desktop/images/25042025/22/32/image_25042025_22_32_14_10454.jpg', '/home/pi/Desktop/images/25042025/22/32/image_25042025_22_32_24_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/31/image_25042025_22_31_35_10373.jpg
/home/pi/Desktop/images/25042025/22/31/image_25042025_22_31_44_9368.jpg
/home/pi/Desktop/images/25042025/22/31/image_25042025_22_31_54_10377.jpg
/home/pi/Desktop/images/25042025/22/31/image_25042025_22_32_04_9523.jpg
/home/pi/Desktop/images/25042025/22/32/image_25042025_22_32_14_10454.jpg
/home/pi/Desktop/images/25042025/22/32/image_25042025_22_32_24_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":["1355195737","1355195725","1355195735","1355195738","1355195732","1355195729"],"photo_ids_order":["1355195725","1355195729","1355195732","1355195735","1355195737","1355195738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/baca45004403ca39af86433329c9292d.jpg","text":"TemporaryFile(/tmp/multipartBody2320755112186416855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141993696,"filename":"image_25042025_22_32_14_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6cbee982c4376e0d2c0b66c05e9ad516.jpg","text":"TemporaryFile(/tmp/multipartBody7233601191458527731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141993696,"filename":"image_25042025_22_31_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/765786fa0ad3ff2187099cfc0f1f66f2.jpg","text":"TemporaryFile(/tmp/multipartBody6624719491622209214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141993696,"filename":"image_25042025_22_32_04_9523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8be78c30dc2eb589a79de4ae7d2b638b.jpg","text":"TemporaryFile(/tmp/multipartBody8786431785020953818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141993696,"filename":"image_25042025_22_32_24_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1fd0f2eb6ae04f84323626da702d215b.jpg","text":"TemporaryFile(/tmp/multipartBody543425556983808222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141993696,"filename":"image_25042025_22_31_54_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/123e8faa848f367dfd1b3df4042a6c75.jpg","text":"TemporaryFile(/tmp/multipartBody2427612848786791173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746141993696,"filename":"image_25042025_22_31_44_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195732","file1":"1355195729","file0":"1355195725","file4":"1355195737","file5":"1355195738","file3":"1355195735"},"map_files_photo_id_array":[{"photo_id":"1355195738","filename":"file5"},{"photo_id":"1355195732","filename":"file2"},{"photo_id":"1355195737","filename":"file4"},{"photo_id":"1355195729","filename":"file1"},{"photo_id":"1355195725","filename":"file0"},{"photo_id":"1355195735","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195737":["hashtag1","hashtag2"]},{"1355195725":["hashtag1","hashtag2"]},{"1355195735":["hashtag1","hashtag2"]},{"1355195738":["hashtag1","hashtag2"]},{"1355195732":["hashtag1","hashtag2"]},{"1355195729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195737, 1355195725, 1355195735, 1355195738, 1355195732, 1355195729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.343228101730347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:26:32.399621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/32/image_25042025_22_32_34_10370.jpg', '/home/pi/Desktop/images/25042025/22/32/image_25042025_22_32_45_10387.jpg', '/home/pi/Desktop/images/25042025/22/32/image_25042025_22_32_54_9457.jpg', '/home/pi/Desktop/images/25042025/22/32/image_25042025_22_33_04_10414.jpg', '/home/pi/Desktop/images/25042025/22/33/image_25042025_22_33_24_10389.jpg', '/home/pi/Desktop/images/25042025/22/33/image_25042025_22_33_35_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/32/image_25042025_22_32_34_10370.jpg
/home/pi/Desktop/images/25042025/22/32/image_25042025_22_32_45_10387.jpg
/home/pi/Desktop/images/25042025/22/32/image_25042025_22_32_54_9457.jpg
/home/pi/Desktop/images/25042025/22/32/image_25042025_22_33_04_10414.jpg
/home/pi/Desktop/images/25042025/22/33/image_25042025_22_33_24_10389.jpg
/home/pi/Desktop/images/25042025/22/33/image_25042025_22_33_35_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195762","1355195756","1355195759","1355195764","1355195752","1355195761"],"photo_ids_order":["1355195752","1355195756","1355195759","1355195761","1355195762","1355195764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d5893b3b54177142069ee1449916c193.jpg","text":"TemporaryFile(/tmp/multipartBody1401303136133127818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142053885,"filename":"image_25042025_22_33_24_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7839175ed01f1658dc09d8fa8d233295.jpg","text":"TemporaryFile(/tmp/multipartBody5864887599984384473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142053885,"filename":"image_25042025_22_32_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/5/2/7491d356ccb397bebb34abe6cb0adfde.jpg","text":"TemporaryFile(/tmp/multipartBody3516526919878242443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142053885,"filename":"image_25042025_22_32_54_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/147cdcb33f73368aa1753303f9ed8caf.jpg","text":"TemporaryFile(/tmp/multipartBody8388496991088687442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142053885,"filename":"image_25042025_22_33_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/5/2/5b43a742b4ea28e94b84eb90e7b696f3.jpg","text":"TemporaryFile(/tmp/multipartBody5212296643924386358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142053885,"filename":"image_25042025_22_32_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2326336d53aa6205984d500e5e53fea.jpg","text":"TemporaryFile(/tmp/multipartBody6309441860402645622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142053885,"filename":"image_25042025_22_33_04_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195759","file1":"1355195756","file0":"1355195752","file4":"1355195762","file5":"1355195764","file3":"1355195761"},"map_files_photo_id_array":[{"photo_id":"1355195764","filename":"file5"},{"photo_id":"1355195759","filename":"file2"},{"photo_id":"1355195762","filename":"file4"},{"photo_id":"1355195756","filename":"file1"},{"photo_id":"1355195752","filename":"file0"},{"photo_id":"1355195761","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195762":["hashtag1","hashtag2"]},{"1355195756":["hashtag1","hashtag2"]},{"1355195759":["hashtag1","hashtag2"]},{"1355195764":["hashtag1","hashtag2"]},{"1355195752":["hashtag1","hashtag2"]},{"1355195761":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195762, 1355195756, 1355195759, 1355195764, 1355195752, 1355195761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.60588264465332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:27:32.595045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/33/image_25042025_22_33_44_9462.jpg', '/home/pi/Desktop/images/25042025/22/33/image_25042025_22_33_55_10472.jpg', '/home/pi/Desktop/images/25042025/22/33/image_25042025_22_34_04_9459.jpg', '/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_14_10424.jpg', '/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_24_9486.jpg', '/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_34_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/33/image_25042025_22_33_44_9462.jpg
/home/pi/Desktop/images/25042025/22/33/image_25042025_22_33_55_10472.jpg
/home/pi/Desktop/images/25042025/22/33/image_25042025_22_34_04_9459.jpg
/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_14_10424.jpg
/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_24_9486.jpg
/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_34_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":["1355195775","1355195784","1355195786","1355195780","1355195777","1355195788"],"photo_ids_order":["1355195775","1355195777","1355195780","1355195784","1355195786","1355195788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/baf810af25b41779c6cacff80707486d.jpg","text":"TemporaryFile(/tmp/multipartBody3235902690868275582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142114071,"filename":"image_25042025_22_33_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/5/2/c77d820fbc5e4800875c930a360361b6.jpg","text":"TemporaryFile(/tmp/multipartBody4579909856305817876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142114071,"filename":"image_25042025_22_34_14_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/499efa883fa5dd644aa727063f304a18.jpg","text":"TemporaryFile(/tmp/multipartBody8906417286907712769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142114071,"filename":"image_25042025_22_34_24_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d989dc30b3da3e6f617426677d559163.jpg","text":"TemporaryFile(/tmp/multipartBody877934101924141576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142114071,"filename":"image_25042025_22_34_04_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/67ac4f0dc0576d232ca731506af71ff4.jpg","text":"TemporaryFile(/tmp/multipartBody8038226919959618013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142114071,"filename":"image_25042025_22_33_55_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1facf760374e646f22732e937227c22b.jpg","text":"TemporaryFile(/tmp/multipartBody3305631140575881096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142114071,"filename":"image_25042025_22_34_34_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195780","file1":"1355195777","file0":"1355195775","file4":"1355195786","file5":"1355195788","file3":"1355195784"},"map_files_photo_id_array":[{"photo_id":"1355195788","filename":"file5"},{"photo_id":"1355195780","filename":"file2"},{"photo_id":"1355195786","filename":"file4"},{"photo_id":"1355195777","filename":"file1"},{"photo_id":"1355195775","filename":"file0"},{"photo_id":"1355195784","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195775":["hashtag1","hashtag2"]},{"1355195784":["hashtag1","hashtag2"]},{"1355195786":["hashtag1","hashtag2"]},{"1355195780":["hashtag1","hashtag2"]},{"1355195777":["hashtag1","hashtag2"]},{"1355195788":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195775, 1355195784, 1355195786, 1355195780, 1355195777, 1355195788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56120204925537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:28:32.789141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_45_10425.jpg', '/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_54_9393.jpg', '/home/pi/Desktop/images/25042025/22/34/image_25042025_22_35_05_10426.jpg', '/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_14_9427.jpg', '/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_24_10370.jpg', '/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_44_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_45_10425.jpg
/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_54_9393.jpg
/home/pi/Desktop/images/25042025/22/34/image_25042025_22_35_05_10426.jpg
/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_14_9427.jpg
/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_24_10370.jpg
/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_44_10407.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3933427333831787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 01:28:42.899219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_45_10425.jpg', '/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_54_9393.jpg', '/home/pi/Desktop/images/25042025/22/34/image_25042025_22_35_05_10426.jpg', '/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_14_9427.jpg', '/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_24_10370.jpg', '/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_44_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_45_10425.jpg
/home/pi/Desktop/images/25042025/22/34/image_25042025_22_34_54_9393.jpg
/home/pi/Desktop/images/25042025/22/34/image_25042025_22_35_05_10426.jpg
/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_14_9427.jpg
/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_24_10370.jpg
/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_44_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195818","1355195811","1355195814","1355195808","1355195816","1355195819"],"photo_ids_order":["1355195808","1355195811","1355195814","1355195816","1355195818","1355195819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9f17f2ab70e0fd34baa3f3173aae3e8.jpg","text":"TemporaryFile(/tmp/multipartBody2675055505138158073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142183440,"filename":"image_25042025_22_35_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/5/2/bdb89070346b1bea2cf45a666b7e6f85.jpg","text":"TemporaryFile(/tmp/multipartBody4261263290507769896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142183440,"filename":"image_25042025_22_34_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/5/2/af4ae020de9fb0b66e9adb280aebe622.jpg","text":"TemporaryFile(/tmp/multipartBody1813179052968842246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142183440,"filename":"image_25042025_22_35_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41cdedfde26dcc0010bd3de5e29288eb.jpg","text":"TemporaryFile(/tmp/multipartBody5289198464312953018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142183440,"filename":"image_25042025_22_34_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/140d710a13a32c3da711f2f1e781a848.jpg","text":"TemporaryFile(/tmp/multipartBody7121882149655118591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142183440,"filename":"image_25042025_22_35_14_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d797cfec7627a8c471d57a7175a44518.jpg","text":"TemporaryFile(/tmp/multipartBody2802967138779360105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142183440,"filename":"image_25042025_22_35_44_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195814","file1":"1355195811","file0":"1355195808","file4":"1355195818","file5":"1355195819","file3":"1355195816"},"map_files_photo_id_array":[{"photo_id":"1355195819","filename":"file5"},{"photo_id":"1355195814","filename":"file2"},{"photo_id":"1355195818","filename":"file4"},{"photo_id":"1355195811","filename":"file1"},{"photo_id":"1355195808","filename":"file0"},{"photo_id":"1355195816","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195818":["hashtag1","hashtag2"]},{"1355195811":["hashtag1","hashtag2"]},{"1355195814":["hashtag1","hashtag2"]},{"1355195808":["hashtag1","hashtag2"]},{"1355195816":["hashtag1","hashtag2"]},{"1355195819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195818, 1355195811, 1355195814, 1355195808, 1355195816, 1355195819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34006476402283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:29:33.030408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_55_10400.jpg', '/home/pi/Desktop/images/25042025/22/35/image_25042025_22_36_04_9391.jpg', '/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_15_10423.jpg', '/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_24_9357.jpg', '/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_34_10380.jpg', '/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_45_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_55_10400.jpg
/home/pi/Desktop/images/25042025/22/35/image_25042025_22_36_04_9391.jpg
/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_15_10423.jpg
/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_24_9357.jpg
/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_34_10380.jpg
/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_45_10375.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3909142017364502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 01:29:43.042545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_55_10400.jpg', '/home/pi/Desktop/images/25042025/22/35/image_25042025_22_36_04_9391.jpg', '/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_15_10423.jpg', '/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_24_9357.jpg', '/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_34_10380.jpg', '/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_45_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/35/image_25042025_22_35_55_10400.jpg
/home/pi/Desktop/images/25042025/22/35/image_25042025_22_36_04_9391.jpg
/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_15_10423.jpg
/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_24_9357.jpg
/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_34_10380.jpg
/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_45_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195841","1355195844","1355195847","1355195849","1355195839","1355195848"],"photo_ids_order":["1355195839","1355195841","1355195844","1355195847","1355195848","1355195849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a48fa9f6b56e2b3121a44e817a00e22c.jpg","text":"TemporaryFile(/tmp/multipartBody2001796213829555310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142243644,"filename":"image_25042025_22_36_04_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e18d9f82c933b6f3b53e4eab3f09092a.jpg","text":"TemporaryFile(/tmp/multipartBody102594095784908814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142243644,"filename":"image_25042025_22_36_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/5/2/988dcbc87b2e02ffad7067de210bb264.jpg","text":"TemporaryFile(/tmp/multipartBody415538432676555889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142243644,"filename":"image_25042025_22_36_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/5/2/d243937caf122541c6ed886caa83d570.jpg","text":"TemporaryFile(/tmp/multipartBody5898289918771174578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142243644,"filename":"image_25042025_22_36_45_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d96090526ec458f173868779f3a1896.jpg","text":"TemporaryFile(/tmp/multipartBody3743905523797492010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142243644,"filename":"image_25042025_22_35_55_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/040c640f23cf74041e85bb53d32d4a1c.jpg","text":"TemporaryFile(/tmp/multipartBody2824202459592246085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142243644,"filename":"image_25042025_22_36_34_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195844","file1":"1355195841","file0":"1355195839","file4":"1355195848","file5":"1355195849","file3":"1355195847"},"map_files_photo_id_array":[{"photo_id":"1355195849","filename":"file5"},{"photo_id":"1355195844","filename":"file2"},{"photo_id":"1355195848","filename":"file4"},{"photo_id":"1355195841","filename":"file1"},{"photo_id":"1355195839","filename":"file0"},{"photo_id":"1355195847","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195841":["hashtag1","hashtag2"]},{"1355195844":["hashtag1","hashtag2"]},{"1355195847":["hashtag1","hashtag2"]},{"1355195849":["hashtag1","hashtag2"]},{"1355195839":["hashtag1","hashtag2"]},{"1355195848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195841, 1355195844, 1355195847, 1355195849, 1355195839, 1355195848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80607295036316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:30:32.324307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_54_9417.jpg', '/home/pi/Desktop/images/25042025/22/36/image_25042025_22_37_04_10350.jpg', '/home/pi/Desktop/images/25042025/22/37/image_25042025_22_37_14_9496.jpg', '/home/pi/Desktop/images/25042025/22/37/image_25042025_22_37_24_10385.jpg', '/home/pi/Desktop/images/25042025/22/37/image_25042025_22_37_35_10358.jpg', '/home/pi/Desktop/images/25042025/22/37/image_25042025_22_37_44_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/36/image_25042025_22_36_54_9417.jpg
/home/pi/Desktop/images/25042025/22/36/image_25042025_22_37_04_10350.jpg
/home/pi/Desktop/images/25042025/22/37/image_25042025_22_37_14_9496.jpg
/home/pi/Desktop/images/25042025/22/37/image_25042025_22_37_24_10385.jpg
/home/pi/Desktop/images/25042025/22/37/image_25042025_22_37_35_10358.jpg
/home/pi/Desktop/images/25042025/22/37/image_25042025_22_37_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":["1355195874","1355195865","1355195873","1355195861","1355195872","1355195869"],"photo_ids_order":["1355195861","1355195865","1355195869","1355195872","1355195873","1355195874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f4db4e0bef07fe7e9e790bbd09d896a0.jpg","text":"TemporaryFile(/tmp/multipartBody6920884929244003143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142293790,"filename":"image_25042025_22_37_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/5/2/ba116b3f76ed9ee2f66a805d4fc60d52.jpg","text":"TemporaryFile(/tmp/multipartBody2056251385611850498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142293790,"filename":"image_25042025_22_37_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/5/2/92aeaaf40a7e2203ab66f899dd8d96ec.jpg","text":"TemporaryFile(/tmp/multipartBody1587132876114275396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142293790,"filename":"image_25042025_22_37_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/5/2/e1aaf5c5464b31dc5ed2a31cdd9c4a98.jpg","text":"TemporaryFile(/tmp/multipartBody2451356022442014599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142293790,"filename":"image_25042025_22_36_54_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6895ad59d8ef3c74d4533129cba4ae72.jpg","text":"TemporaryFile(/tmp/multipartBody2212405279087128256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142293790,"filename":"image_25042025_22_37_24_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/83115198bf6b805c9e39b127ae9ce1cb.jpg","text":"TemporaryFile(/tmp/multipartBody6064279153279853163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142293790,"filename":"image_25042025_22_37_14_9496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195869","file1":"1355195865","file0":"1355195861","file4":"1355195873","file5":"1355195874","file3":"1355195872"},"map_files_photo_id_array":[{"photo_id":"1355195874","filename":"file5"},{"photo_id":"1355195869","filename":"file2"},{"photo_id":"1355195873","filename":"file4"},{"photo_id":"1355195865","filename":"file1"},{"photo_id":"1355195861","filename":"file0"},{"photo_id":"1355195872","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195874":["hashtag1","hashtag2"]},{"1355195865":["hashtag1","hashtag2"]},{"1355195873":["hashtag1","hashtag2"]},{"1355195861":["hashtag1","hashtag2"]},{"1355195872":["hashtag1","hashtag2"]},{"1355195869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195874, 1355195865, 1355195873, 1355195861, 1355195872, 1355195869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.92675447463989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:31:32.491974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/37/image_25042025_22_37_54_10374.jpg', '/home/pi/Desktop/images/25042025/22/37/image_25042025_22_38_04_9408.jpg', '/home/pi/Desktop/images/25042025/22/38/image_25042025_22_38_14_10538.jpg', '/home/pi/Desktop/images/25042025/22/38/image_25042025_22_38_24_9520.jpg', '/home/pi/Desktop/images/25042025/22/38/image_25042025_22_38_34_10399.jpg', '/home/pi/Desktop/images/25042025/22/38/image_25042025_22_38_45_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/37/image_25042025_22_37_54_10374.jpg
/home/pi/Desktop/images/25042025/22/37/image_25042025_22_38_04_9408.jpg
/home/pi/Desktop/images/25042025/22/38/image_25042025_22_38_14_10538.jpg
/home/pi/Desktop/images/25042025/22/38/image_25042025_22_38_24_9520.jpg
/home/pi/Desktop/images/25042025/22/38/image_25042025_22_38_34_10399.jpg
/home/pi/Desktop/images/25042025/22/38/image_25042025_22_38_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":["1355195892","1355195895","1355195889","1355195897","1355195894","1355195899"],"photo_ids_order":["1355195889","1355195892","1355195894","1355195895","1355195897","1355195899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4971817b5f112926d0ae4d7ac1d57408.jpg","text":"TemporaryFile(/tmp/multipartBody1547278213306828546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142353968,"filename":"image_25042025_22_38_04_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2f1e27bc35627f8b18b6e57f7747bdce.jpg","text":"TemporaryFile(/tmp/multipartBody2659528234213896338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142353968,"filename":"image_25042025_22_38_24_9520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2235d704d8a3a99b940ccba291d6458d.jpg","text":"TemporaryFile(/tmp/multipartBody8748761952775431035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142353968,"filename":"image_25042025_22_37_54_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6a45005ddc3c7354ffa4ae2132327e86.jpg","text":"TemporaryFile(/tmp/multipartBody7889478063531758180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142353968,"filename":"image_25042025_22_38_34_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba3e4f66f02734c49395f9e89f73a252.jpg","text":"TemporaryFile(/tmp/multipartBody2850027483841903929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142353968,"filename":"image_25042025_22_38_14_10538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb63594b4779464af4ca3ee99106e0da.jpg","text":"TemporaryFile(/tmp/multipartBody2413636141284333689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142353968,"filename":"image_25042025_22_38_45_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195894","file1":"1355195892","file0":"1355195889","file4":"1355195897","file5":"1355195899","file3":"1355195895"},"map_files_photo_id_array":[{"photo_id":"1355195899","filename":"file5"},{"photo_id":"1355195894","filename":"file2"},{"photo_id":"1355195897","filename":"file4"},{"photo_id":"1355195892","filename":"file1"},{"photo_id":"1355195889","filename":"file0"},{"photo_id":"1355195895","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195892":["hashtag1","hashtag2"]},{"1355195895":["hashtag1","hashtag2"]},{"1355195889":["hashtag1","hashtag2"]},{"1355195897":["hashtag1","hashtag2"]},{"1355195894":["hashtag1","hashtag2"]},{"1355195899":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195892, 1355195895, 1355195889, 1355195897, 1355195894, 1355195899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.3175733089447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:32:32.744099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/38/image_25042025_22_38_54_9379.jpg', '/home/pi/Desktop/images/25042025/22/38/image_25042025_22_39_05_10398.jpg', '/home/pi/Desktop/images/25042025/22/39/image_25042025_22_39_14_9482.jpg', '/home/pi/Desktop/images/25042025/22/39/image_25042025_22_39_24_10384.jpg', '/home/pi/Desktop/images/25042025/22/39/image_25042025_22_39_44_10379.jpg', '/home/pi/Desktop/images/25042025/22/39/image_25042025_22_39_55_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/38/image_25042025_22_38_54_9379.jpg
/home/pi/Desktop/images/25042025/22/38/image_25042025_22_39_05_10398.jpg
/home/pi/Desktop/images/25042025/22/39/image_25042025_22_39_14_9482.jpg
/home/pi/Desktop/images/25042025/22/39/image_25042025_22_39_24_10384.jpg
/home/pi/Desktop/images/25042025/22/39/image_25042025_22_39_44_10379.jpg
/home/pi/Desktop/images/25042025/22/39/image_25042025_22_39_55_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195914","1355195917","1355195922","1355195919","1355195921","1355195912"],"photo_ids_order":["1355195912","1355195914","1355195917","1355195919","1355195921","1355195922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/19fa0dbd549e4d8e14491a52680c478e.jpg","text":"TemporaryFile(/tmp/multipartBody6331544050658903823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142414230,"filename":"image_25042025_22_39_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/995d3ebe9102f7bca6bb6401824e3efd.jpg","text":"TemporaryFile(/tmp/multipartBody4592707736464590514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142414230,"filename":"image_25042025_22_39_14_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/742139a4bae61120abc73a7ab3c19d27.jpg","text":"TemporaryFile(/tmp/multipartBody9013456417096164040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142414230,"filename":"image_25042025_22_39_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/5/2/0ee0172e69e220bfa5d219cc7fac236a.jpg","text":"TemporaryFile(/tmp/multipartBody5960900800775814867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142414230,"filename":"image_25042025_22_39_24_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84239d1a7aa9471aeba4cee208e1e68f.jpg","text":"TemporaryFile(/tmp/multipartBody105295616378575297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142414230,"filename":"image_25042025_22_39_44_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/83dd6d9bda7f029292fb7b7132ffeb53.jpg","text":"TemporaryFile(/tmp/multipartBody8338861945594851989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142414230,"filename":"image_25042025_22_38_54_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195917","file1":"1355195914","file0":"1355195912","file4":"1355195921","file5":"1355195922","file3":"1355195919"},"map_files_photo_id_array":[{"photo_id":"1355195922","filename":"file5"},{"photo_id":"1355195917","filename":"file2"},{"photo_id":"1355195921","filename":"file4"},{"photo_id":"1355195914","filename":"file1"},{"photo_id":"1355195912","filename":"file0"},{"photo_id":"1355195919","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195914":["hashtag1","hashtag2"]},{"1355195917":["hashtag1","hashtag2"]},{"1355195922":["hashtag1","hashtag2"]},{"1355195919":["hashtag1","hashtag2"]},{"1355195921":["hashtag1","hashtag2"]},{"1355195912":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195914, 1355195917, 1355195922, 1355195919, 1355195921, 1355195912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98240327835083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:33:33.216228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/39/image_25042025_22_40_04_9405.jpg', '/home/pi/Desktop/images/25042025/22/40/image_25042025_22_40_14_10446.jpg', '/home/pi/Desktop/images/25042025/22/40/image_25042025_22_40_24_9413.jpg', '/home/pi/Desktop/images/25042025/22/40/image_25042025_22_40_34_10445.jpg', '/home/pi/Desktop/images/25042025/22/40/image_25042025_22_40_45_10401.jpg', '/home/pi/Desktop/images/25042025/22/40/image_25042025_22_40_54_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/39/image_25042025_22_40_04_9405.jpg
/home/pi/Desktop/images/25042025/22/40/image_25042025_22_40_14_10446.jpg
/home/pi/Desktop/images/25042025/22/40/image_25042025_22_40_24_9413.jpg
/home/pi/Desktop/images/25042025/22/40/image_25042025_22_40_34_10445.jpg
/home/pi/Desktop/images/25042025/22/40/image_25042025_22_40_45_10401.jpg
/home/pi/Desktop/images/25042025/22/40/image_25042025_22_40_54_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":["1355195940","1355195943","1355195946","1355195945","1355195938","1355195947"],"photo_ids_order":["1355195938","1355195940","1355195943","1355195945","1355195946","1355195947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8f9ce381953519cdbb97d2f16e205750.jpg","text":"TemporaryFile(/tmp/multipartBody7145598056315592649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142474731,"filename":"image_25042025_22_40_14_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b65ede98727375928bb85298457ecede.jpg","text":"TemporaryFile(/tmp/multipartBody6869216629356735565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142474731,"filename":"image_25042025_22_40_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/5/2/1f01be6a4be28137526fcadbcd157223.jpg","text":"TemporaryFile(/tmp/multipartBody3248275203383711463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142474731,"filename":"image_25042025_22_40_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/5/2/20ecbeeb969e71a5cb2d2f47524ce24e.jpg","text":"TemporaryFile(/tmp/multipartBody6616505777980346680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142474731,"filename":"image_25042025_22_40_34_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/473c3c3973a3d0d2007494e789b9e29e.jpg","text":"TemporaryFile(/tmp/multipartBody4826947472649532156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142474731,"filename":"image_25042025_22_40_04_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58621dd6a770b80bed0e12af9e07504e.jpg","text":"TemporaryFile(/tmp/multipartBody6869090771345793927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142474731,"filename":"image_25042025_22_40_54_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195943","file1":"1355195940","file0":"1355195938","file4":"1355195946","file5":"1355195947","file3":"1355195945"},"map_files_photo_id_array":[{"photo_id":"1355195947","filename":"file5"},{"photo_id":"1355195943","filename":"file2"},{"photo_id":"1355195946","filename":"file4"},{"photo_id":"1355195940","filename":"file1"},{"photo_id":"1355195938","filename":"file0"},{"photo_id":"1355195945","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195940":["hashtag1","hashtag2"]},{"1355195943":["hashtag1","hashtag2"]},{"1355195946":["hashtag1","hashtag2"]},{"1355195945":["hashtag1","hashtag2"]},{"1355195938":["hashtag1","hashtag2"]},{"1355195947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195940, 1355195943, 1355195946, 1355195945, 1355195938, 1355195947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24851655960083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:34:32.434117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/40/image_25042025_22_41_04_10383.jpg', '/home/pi/Desktop/images/25042025/22/41/image_25042025_22_41_14_9400.jpg', '/home/pi/Desktop/images/25042025/22/41/image_25042025_22_41_24_10449.jpg', '/home/pi/Desktop/images/25042025/22/41/image_25042025_22_41_35_10351.jpg', '/home/pi/Desktop/images/25042025/22/41/image_25042025_22_41_44_9462.jpg', '/home/pi/Desktop/images/25042025/22/41/image_25042025_22_41_55_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/40/image_25042025_22_41_04_10383.jpg
/home/pi/Desktop/images/25042025/22/41/image_25042025_22_41_14_9400.jpg
/home/pi/Desktop/images/25042025/22/41/image_25042025_22_41_24_10449.jpg
/home/pi/Desktop/images/25042025/22/41/image_25042025_22_41_35_10351.jpg
/home/pi/Desktop/images/25042025/22/41/image_25042025_22_41_44_9462.jpg
/home/pi/Desktop/images/25042025/22/41/image_25042025_22_41_55_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195964","1355195958","1355195966","1355195960","1355195962","1355195968"],"photo_ids_order":["1355195958","1355195960","1355195962","1355195964","1355195966","1355195968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8c2830ef947fd5ba45d74fe316dff128.jpg","text":"TemporaryFile(/tmp/multipartBody2508953417610183171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142533933,"filename":"image_25042025_22_41_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/5/2/6ebc7a57ebed14095c84155ea4b4d92a.jpg","text":"TemporaryFile(/tmp/multipartBody2733828915436270403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142533933,"filename":"image_25042025_22_41_04_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6e63fdc57d372f8f46239290c2eb9f9.jpg","text":"TemporaryFile(/tmp/multipartBody6268137713831639311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142533933,"filename":"image_25042025_22_41_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/5/2/0e857d58849d44283ba2b961c5635fd2.jpg","text":"TemporaryFile(/tmp/multipartBody7914781170128721023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142533933,"filename":"image_25042025_22_41_14_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0437d96de517b5703171a7c92df79428.jpg","text":"TemporaryFile(/tmp/multipartBody4529198638628061795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142533933,"filename":"image_25042025_22_41_24_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c547e458f8660bc4c3b17df8a97e7121.jpg","text":"TemporaryFile(/tmp/multipartBody706907558078427085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142533933,"filename":"image_25042025_22_41_55_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195962","file1":"1355195960","file0":"1355195958","file4":"1355195966","file5":"1355195968","file3":"1355195964"},"map_files_photo_id_array":[{"photo_id":"1355195968","filename":"file5"},{"photo_id":"1355195962","filename":"file2"},{"photo_id":"1355195966","filename":"file4"},{"photo_id":"1355195960","filename":"file1"},{"photo_id":"1355195958","filename":"file0"},{"photo_id":"1355195964","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195964":["hashtag1","hashtag2"]},{"1355195958":["hashtag1","hashtag2"]},{"1355195966":["hashtag1","hashtag2"]},{"1355195960":["hashtag1","hashtag2"]},{"1355195962":["hashtag1","hashtag2"]},{"1355195968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195964, 1355195958, 1355195966, 1355195960, 1355195962, 1355195968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.496049880981445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:35:32.479111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/41/image_25042025_22_42_04_9355.jpg', '/home/pi/Desktop/images/25042025/22/42/image_25042025_22_42_14_10419.jpg', '/home/pi/Desktop/images/25042025/22/42/image_25042025_22_42_25_10385.jpg', '/home/pi/Desktop/images/25042025/22/42/image_25042025_22_42_34_9364.jpg', '/home/pi/Desktop/images/25042025/22/42/image_25042025_22_42_44_10374.jpg', '/home/pi/Desktop/images/25042025/22/42/image_25042025_22_42_54_9502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/41/image_25042025_22_42_04_9355.jpg
/home/pi/Desktop/images/25042025/22/42/image_25042025_22_42_14_10419.jpg
/home/pi/Desktop/images/25042025/22/42/image_25042025_22_42_25_10385.jpg
/home/pi/Desktop/images/25042025/22/42/image_25042025_22_42_34_9364.jpg
/home/pi/Desktop/images/25042025/22/42/image_25042025_22_42_44_10374.jpg
/home/pi/Desktop/images/25042025/22/42/image_25042025_22_42_54_9502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355195991","1355195985","1355195994","1355195982","1355195995","1355195989"],"photo_ids_order":["1355195982","1355195985","1355195989","1355195991","1355195994","1355195995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3ef51911633bb3a07274e2041adf918b.jpg","text":"TemporaryFile(/tmp/multipartBody2380949157759435506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142593955,"filename":"image_25042025_22_42_34_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fb97de4a2de4bccc4f38f76386205943.jpg","text":"TemporaryFile(/tmp/multipartBody3693537462613775746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142593955,"filename":"image_25042025_22_42_14_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fafaea2688f6687a40012f64ddd05f18.jpg","text":"TemporaryFile(/tmp/multipartBody9219807419464266099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142593955,"filename":"image_25042025_22_42_44_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3ae19e483993fa8f3a7eb7de4eff49b2.jpg","text":"TemporaryFile(/tmp/multipartBody3875776098853165348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142593955,"filename":"image_25042025_22_42_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/5/2/51e9b78a8179da5393182fe1ba9ba83e.jpg","text":"TemporaryFile(/tmp/multipartBody7903806420578433560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142593955,"filename":"image_25042025_22_42_54_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8c63b30a28d6558f27dfd182153da37f.jpg","text":"TemporaryFile(/tmp/multipartBody3398978237236928025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142593955,"filename":"image_25042025_22_42_25_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355195989","file1":"1355195985","file0":"1355195982","file4":"1355195994","file5":"1355195995","file3":"1355195991"},"map_files_photo_id_array":[{"photo_id":"1355195995","filename":"file5"},{"photo_id":"1355195989","filename":"file2"},{"photo_id":"1355195994","filename":"file4"},{"photo_id":"1355195985","filename":"file1"},{"photo_id":"1355195982","filename":"file0"},{"photo_id":"1355195991","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355195991":["hashtag1","hashtag2"]},{"1355195985":["hashtag1","hashtag2"]},{"1355195994":["hashtag1","hashtag2"]},{"1355195982":["hashtag1","hashtag2"]},{"1355195995":["hashtag1","hashtag2"]},{"1355195989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355195991, 1355195985, 1355195994, 1355195982, 1355195995, 1355195989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.925370454788208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:36:32.648798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/42/image_25042025_22_43_04_10366.jpg', '/home/pi/Desktop/images/25042025/22/43/image_25042025_22_43_15_10426.jpg', '/home/pi/Desktop/images/25042025/22/43/image_25042025_22_43_24_9378.jpg', '/home/pi/Desktop/images/25042025/22/43/image_25042025_22_43_35_10443.jpg', '/home/pi/Desktop/images/25042025/22/43/image_25042025_22_43_44_9352.jpg', '/home/pi/Desktop/images/25042025/22/43/image_25042025_22_43_54_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/42/image_25042025_22_43_04_10366.jpg
/home/pi/Desktop/images/25042025/22/43/image_25042025_22_43_15_10426.jpg
/home/pi/Desktop/images/25042025/22/43/image_25042025_22_43_24_9378.jpg
/home/pi/Desktop/images/25042025/22/43/image_25042025_22_43_35_10443.jpg
/home/pi/Desktop/images/25042025/22/43/image_25042025_22_43_44_9352.jpg
/home/pi/Desktop/images/25042025/22/43/image_25042025_22_43_54_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":["1355196012","1355196015","1355196017","1355196019","1355196007","1355196022"],"photo_ids_order":["1355196007","1355196012","1355196015","1355196017","1355196019","1355196022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3cdf6956c8b9199899773c858cb096ae.jpg","text":"TemporaryFile(/tmp/multipartBody6098653663418095822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142654147,"filename":"image_25042025_22_43_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/5/2/1d8b9a87d6368ea6ace474be798ce9bd.jpg","text":"TemporaryFile(/tmp/multipartBody8623048849010902442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142654147,"filename":"image_25042025_22_43_24_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84b4c16b7dc9a9c9f4948a14e066f6bc.jpg","text":"TemporaryFile(/tmp/multipartBody4015630166628478727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142654147,"filename":"image_25042025_22_43_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/5/2/ca8d4611d24c4b07c5e89a39434cdb85.jpg","text":"TemporaryFile(/tmp/multipartBody1380868171182663781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142654147,"filename":"image_25042025_22_43_44_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da5193c85a588b6ad4550a1081ded0f3.jpg","text":"TemporaryFile(/tmp/multipartBody734191707236547154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142654147,"filename":"image_25042025_22_43_04_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/02b284c6ef273344e96fd4322c98afd9.jpg","text":"TemporaryFile(/tmp/multipartBody4452370227479927558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142654147,"filename":"image_25042025_22_43_54_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196015","file1":"1355196012","file0":"1355196007","file4":"1355196019","file5":"1355196022","file3":"1355196017"},"map_files_photo_id_array":[{"photo_id":"1355196022","filename":"file5"},{"photo_id":"1355196015","filename":"file2"},{"photo_id":"1355196019","filename":"file4"},{"photo_id":"1355196012","filename":"file1"},{"photo_id":"1355196007","filename":"file0"},{"photo_id":"1355196017","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196012":["hashtag1","hashtag2"]},{"1355196015":["hashtag1","hashtag2"]},{"1355196017":["hashtag1","hashtag2"]},{"1355196019":["hashtag1","hashtag2"]},{"1355196007":["hashtag1","hashtag2"]},{"1355196022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196012, 1355196015, 1355196017, 1355196019, 1355196007, 1355196022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33835196495056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:37:32.959785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/43/image_25042025_22_44_05_10362.jpg', '/home/pi/Desktop/images/25042025/22/44/image_25042025_22_44_14_9469.jpg', '/home/pi/Desktop/images/25042025/22/44/image_25042025_22_44_25_10388.jpg', '/home/pi/Desktop/images/25042025/22/44/image_25042025_22_44_34_9362.jpg', '/home/pi/Desktop/images/25042025/22/44/image_25042025_22_44_44_10398.jpg', '/home/pi/Desktop/images/25042025/22/44/image_25042025_22_44_55_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/43/image_25042025_22_44_05_10362.jpg
/home/pi/Desktop/images/25042025/22/44/image_25042025_22_44_14_9469.jpg
/home/pi/Desktop/images/25042025/22/44/image_25042025_22_44_25_10388.jpg
/home/pi/Desktop/images/25042025/22/44/image_25042025_22_44_34_9362.jpg
/home/pi/Desktop/images/25042025/22/44/image_25042025_22_44_44_10398.jpg
/home/pi/Desktop/images/25042025/22/44/image_25042025_22_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":["1355196042","1355196036","1355196041","1355196044","1355196043","1355196040"],"photo_ids_order":["1355196036","1355196040","1355196041","1355196042","1355196043","1355196044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1b4b0b9458282401a6885af6d1928a9.jpg","text":"TemporaryFile(/tmp/multipartBody3477586696235267514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142714494,"filename":"image_25042025_22_44_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/5/2/2f5e0b3c781ee9a75b9e11b1c02fe5ab.jpg","text":"TemporaryFile(/tmp/multipartBody7098280866413148373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142714494,"filename":"image_25042025_22_44_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/5/2/d8ddd84bb08983c5fae10e65d298ad10.jpg","text":"TemporaryFile(/tmp/multipartBody2862487407287544221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142714494,"filename":"image_25042025_22_44_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/5/2/3b699af3278c3efb5532af29aa72bd71.jpg","text":"TemporaryFile(/tmp/multipartBody7899052321474160357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142714494,"filename":"image_25042025_22_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/5/2/664958b06c2d83cd3bb806846dc79179.jpg","text":"TemporaryFile(/tmp/multipartBody1757293098801028927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142714494,"filename":"image_25042025_22_44_44_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0a2aec7859c1d2589487d666f4cc705.jpg","text":"TemporaryFile(/tmp/multipartBody3872513442595320283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142714494,"filename":"image_25042025_22_44_14_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196041","file1":"1355196040","file0":"1355196036","file4":"1355196043","file5":"1355196044","file3":"1355196042"},"map_files_photo_id_array":[{"photo_id":"1355196044","filename":"file5"},{"photo_id":"1355196041","filename":"file2"},{"photo_id":"1355196043","filename":"file4"},{"photo_id":"1355196040","filename":"file1"},{"photo_id":"1355196036","filename":"file0"},{"photo_id":"1355196042","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196042":["hashtag1","hashtag2"]},{"1355196036":["hashtag1","hashtag2"]},{"1355196041":["hashtag1","hashtag2"]},{"1355196044":["hashtag1","hashtag2"]},{"1355196043":["hashtag1","hashtag2"]},{"1355196040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196042, 1355196036, 1355196041, 1355196044, 1355196043, 1355196040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69021677970886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:38:33.108620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/44/image_25042025_22_45_04_9381.jpg', '/home/pi/Desktop/images/25042025/22/45/image_25042025_22_45_14_10428.jpg', '/home/pi/Desktop/images/25042025/22/45/image_25042025_22_45_24_9467.jpg', '/home/pi/Desktop/images/25042025/22/45/image_25042025_22_45_34_10438.jpg', '/home/pi/Desktop/images/25042025/22/45/image_25042025_22_45_44_9451.jpg', '/home/pi/Desktop/images/25042025/22/45/image_25042025_22_45_54_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/44/image_25042025_22_45_04_9381.jpg
/home/pi/Desktop/images/25042025/22/45/image_25042025_22_45_14_10428.jpg
/home/pi/Desktop/images/25042025/22/45/image_25042025_22_45_24_9467.jpg
/home/pi/Desktop/images/25042025/22/45/image_25042025_22_45_34_10438.jpg
/home/pi/Desktop/images/25042025/22/45/image_25042025_22_45_44_9451.jpg
/home/pi/Desktop/images/25042025/22/45/image_25042025_22_45_54_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":["1355196072","1355196066","1355196071","1355196062","1355196073","1355196070"],"photo_ids_order":["1355196062","1355196066","1355196070","1355196071","1355196072","1355196073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/581ece784aaa56d3448653d72d867af2.jpg","text":"TemporaryFile(/tmp/multipartBody5793593828847192049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142774621,"filename":"image_25042025_22_45_44_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b41d0dc24a3c67d5b16b9112342a43e.jpg","text":"TemporaryFile(/tmp/multipartBody689359391241431806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142774621,"filename":"image_25042025_22_45_14_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6528912dfaadd2c4521a90258f17d31e.jpg","text":"TemporaryFile(/tmp/multipartBody5792892398753874633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142774621,"filename":"image_25042025_22_45_34_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e09cec578702d83b4e2d025ed1a03adc.jpg","text":"TemporaryFile(/tmp/multipartBody1233358183613850191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142774621,"filename":"image_25042025_22_45_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/5/2/43ca8a19663ecb656b729cfac3fdb287.jpg","text":"TemporaryFile(/tmp/multipartBody1017304264341718217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142774621,"filename":"image_25042025_22_45_54_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7037c1e0b4303a723d8dc0d029445612.jpg","text":"TemporaryFile(/tmp/multipartBody9175064097693777807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142774621,"filename":"image_25042025_22_45_24_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196070","file1":"1355196066","file0":"1355196062","file4":"1355196072","file5":"1355196073","file3":"1355196071"},"map_files_photo_id_array":[{"photo_id":"1355196073","filename":"file5"},{"photo_id":"1355196070","filename":"file2"},{"photo_id":"1355196072","filename":"file4"},{"photo_id":"1355196066","filename":"file1"},{"photo_id":"1355196062","filename":"file0"},{"photo_id":"1355196071","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196072":["hashtag1","hashtag2"]},{"1355196066":["hashtag1","hashtag2"]},{"1355196071":["hashtag1","hashtag2"]},{"1355196062":["hashtag1","hashtag2"]},{"1355196073":["hashtag1","hashtag2"]},{"1355196070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196072, 1355196066, 1355196071, 1355196062, 1355196073, 1355196070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45240020751953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:39:32.300579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/45/image_25042025_22_46_05_10406.jpg', '/home/pi/Desktop/images/25042025/22/46/image_25042025_22_46_14_9430.jpg', '/home/pi/Desktop/images/25042025/22/46/image_25042025_22_46_24_10379.jpg', '/home/pi/Desktop/images/25042025/22/46/image_25042025_22_46_34_9409.jpg', '/home/pi/Desktop/images/25042025/22/46/image_25042025_22_46_44_10438.jpg', '/home/pi/Desktop/images/25042025/22/46/image_25042025_22_46_55_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/45/image_25042025_22_46_05_10406.jpg
/home/pi/Desktop/images/25042025/22/46/image_25042025_22_46_14_9430.jpg
/home/pi/Desktop/images/25042025/22/46/image_25042025_22_46_24_10379.jpg
/home/pi/Desktop/images/25042025/22/46/image_25042025_22_46_34_9409.jpg
/home/pi/Desktop/images/25042025/22/46/image_25042025_22_46_44_10438.jpg
/home/pi/Desktop/images/25042025/22/46/image_25042025_22_46_55_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":["1355196089","1355196098","1355196086","1355196094","1355196097","1355196099"],"photo_ids_order":["1355196086","1355196089","1355196094","1355196097","1355196098","1355196099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b3791adb66d46365186023fa3327ecf.jpg","text":"TemporaryFile(/tmp/multipartBody4665110925014700016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142833767,"filename":"image_25042025_22_46_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/5/2/975a3b041f51ebe25dec664753afe314.jpg","text":"TemporaryFile(/tmp/multipartBody7256685569464114308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142833767,"filename":"image_25042025_22_46_44_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d19943d28452b13c4cfe0eb6f96252e.jpg","text":"TemporaryFile(/tmp/multipartBody2545985224778438781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142833767,"filename":"image_25042025_22_46_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/5/2/f557e1de884c4e9df68c86c17ad03730.jpg","text":"TemporaryFile(/tmp/multipartBody4339498097426435230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142833767,"filename":"image_25042025_22_46_24_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/78d3af27cac2a46c8beed2fc5b395a99.jpg","text":"TemporaryFile(/tmp/multipartBody5658059600237845178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142833767,"filename":"image_25042025_22_46_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/5/2/c274533195a1cf524affdff585f6d881.jpg","text":"TemporaryFile(/tmp/multipartBody2517077799754409169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142833767,"filename":"image_25042025_22_46_55_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196094","file1":"1355196089","file0":"1355196086","file4":"1355196098","file5":"1355196099","file3":"1355196097"},"map_files_photo_id_array":[{"photo_id":"1355196099","filename":"file5"},{"photo_id":"1355196094","filename":"file2"},{"photo_id":"1355196098","filename":"file4"},{"photo_id":"1355196089","filename":"file1"},{"photo_id":"1355196086","filename":"file0"},{"photo_id":"1355196097","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196089":["hashtag1","hashtag2"]},{"1355196098":["hashtag1","hashtag2"]},{"1355196086":["hashtag1","hashtag2"]},{"1355196094":["hashtag1","hashtag2"]},{"1355196097":["hashtag1","hashtag2"]},{"1355196099":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196089, 1355196098, 1355196086, 1355196094, 1355196097, 1355196099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.277647972106934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:40:32.577340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/46/image_25042025_22_47_04_9349.jpg', '/home/pi/Desktop/images/25042025/22/47/image_25042025_22_47_15_10423.jpg', '/home/pi/Desktop/images/25042025/22/47/image_25042025_22_47_24_9407.jpg', '/home/pi/Desktop/images/25042025/22/47/image_25042025_22_47_34_10447.jpg', '/home/pi/Desktop/images/25042025/22/47/image_25042025_22_47_44_9422.jpg', '/home/pi/Desktop/images/25042025/22/47/image_25042025_22_47_54_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/46/image_25042025_22_47_04_9349.jpg
/home/pi/Desktop/images/25042025/22/47/image_25042025_22_47_15_10423.jpg
/home/pi/Desktop/images/25042025/22/47/image_25042025_22_47_24_9407.jpg
/home/pi/Desktop/images/25042025/22/47/image_25042025_22_47_34_10447.jpg
/home/pi/Desktop/images/25042025/22/47/image_25042025_22_47_44_9422.jpg
/home/pi/Desktop/images/25042025/22/47/image_25042025_22_47_54_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":["1355196120","1355196117","1355196113","1355196122","1355196118","1355196115"],"photo_ids_order":["1355196113","1355196115","1355196117","1355196118","1355196120","1355196122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3b74733f114776a39b7c54db9c5d3d2.jpg","text":"TemporaryFile(/tmp/multipartBody8264400387604800498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142894066,"filename":"image_25042025_22_47_44_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/26d9d434c8d189b3060369f9dd4f62d4.jpg","text":"TemporaryFile(/tmp/multipartBody5106055549590009151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142894066,"filename":"image_25042025_22_47_24_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e294f175cd5dc5c226720eadd95c9714.jpg","text":"TemporaryFile(/tmp/multipartBody7866692141606659680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142894066,"filename":"image_25042025_22_47_04_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/199b4304b2afd97e980c7c82212c5d70.jpg","text":"TemporaryFile(/tmp/multipartBody838992235273630283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142894066,"filename":"image_25042025_22_47_54_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b5d090a1de7ebc8abf823cd377a62082.jpg","text":"TemporaryFile(/tmp/multipartBody554326835762137266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142894066,"filename":"image_25042025_22_47_34_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/74dc927ca4fa70daf115eaf55d2b659d.jpg","text":"TemporaryFile(/tmp/multipartBody3446185055229658154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142894066,"filename":"image_25042025_22_47_15_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196117","file1":"1355196115","file0":"1355196113","file4":"1355196120","file5":"1355196122","file3":"1355196118"},"map_files_photo_id_array":[{"photo_id":"1355196122","filename":"file5"},{"photo_id":"1355196117","filename":"file2"},{"photo_id":"1355196120","filename":"file4"},{"photo_id":"1355196115","filename":"file1"},{"photo_id":"1355196113","filename":"file0"},{"photo_id":"1355196118","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196120":["hashtag1","hashtag2"]},{"1355196117":["hashtag1","hashtag2"]},{"1355196113":["hashtag1","hashtag2"]},{"1355196122":["hashtag1","hashtag2"]},{"1355196118":["hashtag1","hashtag2"]},{"1355196115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196120, 1355196117, 1355196113, 1355196122, 1355196118, 1355196115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.053401947021484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:41:32.795004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/47/image_25042025_22_48_05_10354.jpg', '/home/pi/Desktop/images/25042025/22/48/image_25042025_22_48_14_9505.jpg', '/home/pi/Desktop/images/25042025/22/48/image_25042025_22_48_24_10396.jpg', '/home/pi/Desktop/images/25042025/22/48/image_25042025_22_48_34_9492.jpg', '/home/pi/Desktop/images/25042025/22/48/image_25042025_22_48_44_10384.jpg', '/home/pi/Desktop/images/25042025/22/48/image_25042025_22_48_55_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/47/image_25042025_22_48_05_10354.jpg
/home/pi/Desktop/images/25042025/22/48/image_25042025_22_48_14_9505.jpg
/home/pi/Desktop/images/25042025/22/48/image_25042025_22_48_24_10396.jpg
/home/pi/Desktop/images/25042025/22/48/image_25042025_22_48_34_9492.jpg
/home/pi/Desktop/images/25042025/22/48/image_25042025_22_48_44_10384.jpg
/home/pi/Desktop/images/25042025/22/48/image_25042025_22_48_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":["1355196147","1355196141","1355196143","1355196137","1355196145","1355196133"],"photo_ids_order":["1355196133","1355196137","1355196141","1355196143","1355196145","1355196147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e201a72b4958a12f8b301731b9854a9.jpg","text":"TemporaryFile(/tmp/multipartBody6453520250480843280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142954269,"filename":"image_25042025_22_48_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/5/2/ba5e7ebf2bcdebf75c370c67c4efd7f9.jpg","text":"TemporaryFile(/tmp/multipartBody9122410251721486571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142954269,"filename":"image_25042025_22_48_24_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95ad06a3fe366061f8a0fa0d8dd1ba23.jpg","text":"TemporaryFile(/tmp/multipartBody273122169367446490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142954269,"filename":"image_25042025_22_48_34_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0cc99b400a0d6e2dc787fcb35706648.jpg","text":"TemporaryFile(/tmp/multipartBody6326432528051193361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142954269,"filename":"image_25042025_22_48_14_9505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b0858fe03637718d6b4f01ec53485a03.jpg","text":"TemporaryFile(/tmp/multipartBody7085281766621936694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142954269,"filename":"image_25042025_22_48_44_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae3a8f5770ebd023e94925e0ce22ffd3.jpg","text":"TemporaryFile(/tmp/multipartBody583456724114877813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746142954269,"filename":"image_25042025_22_48_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196141","file1":"1355196137","file0":"1355196133","file4":"1355196145","file5":"1355196147","file3":"1355196143"},"map_files_photo_id_array":[{"photo_id":"1355196147","filename":"file5"},{"photo_id":"1355196141","filename":"file2"},{"photo_id":"1355196145","filename":"file4"},{"photo_id":"1355196137","filename":"file1"},{"photo_id":"1355196133","filename":"file0"},{"photo_id":"1355196143","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196147":["hashtag1","hashtag2"]},{"1355196141":["hashtag1","hashtag2"]},{"1355196143":["hashtag1","hashtag2"]},{"1355196137":["hashtag1","hashtag2"]},{"1355196145":["hashtag1","hashtag2"]},{"1355196133":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196147, 1355196141, 1355196143, 1355196137, 1355196145, 1355196133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18654656410217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:42:32.931883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/48/image_25042025_22_49_04_9338.jpg', '/home/pi/Desktop/images/25042025/22/49/image_25042025_22_49_14_10431.jpg', '/home/pi/Desktop/images/25042025/22/49/image_25042025_22_49_24_9376.jpg', '/home/pi/Desktop/images/25042025/22/49/image_25042025_22_49_34_10361.jpg', '/home/pi/Desktop/images/25042025/22/49/image_25042025_22_49_45_10366.jpg', '/home/pi/Desktop/images/25042025/22/49/image_25042025_22_49_54_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/48/image_25042025_22_49_04_9338.jpg
/home/pi/Desktop/images/25042025/22/49/image_25042025_22_49_14_10431.jpg
/home/pi/Desktop/images/25042025/22/49/image_25042025_22_49_24_9376.jpg
/home/pi/Desktop/images/25042025/22/49/image_25042025_22_49_34_10361.jpg
/home/pi/Desktop/images/25042025/22/49/image_25042025_22_49_45_10366.jpg
/home/pi/Desktop/images/25042025/22/49/image_25042025_22_49_54_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":["1355196165","1355196161","1355196158","1355196167","1355196169","1355196163"],"photo_ids_order":["1355196158","1355196161","1355196163","1355196165","1355196167","1355196169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e6205d5c6a42f1269f85cb83cda3619.jpg","text":"TemporaryFile(/tmp/multipartBody1113888270725088096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143014409,"filename":"image_25042025_22_49_34_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ecd6147a81e346badac3f94fdda1d51.jpg","text":"TemporaryFile(/tmp/multipartBody539337870863649831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143014409,"filename":"image_25042025_22_49_14_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7993bb240b231d149659106a827c2183.jpg","text":"TemporaryFile(/tmp/multipartBody85678443259752599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143014409,"filename":"image_25042025_22_49_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/5/2/b9786d1a711b213b5fd5b610766471a6.jpg","text":"TemporaryFile(/tmp/multipartBody1837701318610320436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143014409,"filename":"image_25042025_22_49_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a07c1edc2e08bd96e600e7e0fb3933f.jpg","text":"TemporaryFile(/tmp/multipartBody1225610538717513641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143014409,"filename":"image_25042025_22_49_54_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0abdce3b11cc9debc8f454d12bc3d76d.jpg","text":"TemporaryFile(/tmp/multipartBody5540723537821990589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143014409,"filename":"image_25042025_22_49_24_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196163","file1":"1355196161","file0":"1355196158","file4":"1355196167","file5":"1355196169","file3":"1355196165"},"map_files_photo_id_array":[{"photo_id":"1355196169","filename":"file5"},{"photo_id":"1355196163","filename":"file2"},{"photo_id":"1355196167","filename":"file4"},{"photo_id":"1355196161","filename":"file1"},{"photo_id":"1355196158","filename":"file0"},{"photo_id":"1355196165","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196165":["hashtag1","hashtag2"]},{"1355196161":["hashtag1","hashtag2"]},{"1355196158":["hashtag1","hashtag2"]},{"1355196167":["hashtag1","hashtag2"]},{"1355196169":["hashtag1","hashtag2"]},{"1355196163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196165, 1355196161, 1355196158, 1355196167, 1355196169, 1355196163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20032572746277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:43:33.170281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/49/image_25042025_22_50_04_10420.jpg', '/home/pi/Desktop/images/25042025/22/50/image_25042025_22_50_14_9480.jpg', '/home/pi/Desktop/images/25042025/22/50/image_25042025_22_50_24_10447.jpg', '/home/pi/Desktop/images/25042025/22/50/image_25042025_22_50_35_10411.jpg', '/home/pi/Desktop/images/25042025/22/50/image_25042025_22_50_55_10356.jpg', '/home/pi/Desktop/images/25042025/22/50/image_25042025_22_51_04_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/49/image_25042025_22_50_04_10420.jpg
/home/pi/Desktop/images/25042025/22/50/image_25042025_22_50_14_9480.jpg
/home/pi/Desktop/images/25042025/22/50/image_25042025_22_50_24_10447.jpg
/home/pi/Desktop/images/25042025/22/50/image_25042025_22_50_35_10411.jpg
/home/pi/Desktop/images/25042025/22/50/image_25042025_22_50_55_10356.jpg
/home/pi/Desktop/images/25042025/22/50/image_25042025_22_51_04_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":["1355196186","1355196189","1355196188","1355196190","1355196181","1355196184"],"photo_ids_order":["1355196181","1355196184","1355196186","1355196188","1355196189","1355196190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16736455f5c7757d5aa50525005e8d3e.jpg","text":"TemporaryFile(/tmp/multipartBody4780715988658834823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143074687,"filename":"image_25042025_22_50_24_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e319b32f61879e2c3622cbe84f0177a2.jpg","text":"TemporaryFile(/tmp/multipartBody6903018010512352889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143074687,"filename":"image_25042025_22_50_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/5/2/105789b3032f33c562dc430584cc837a.jpg","text":"TemporaryFile(/tmp/multipartBody4639979669972732435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143074687,"filename":"image_25042025_22_50_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/5/2/5fabc3d1cdb3681256fc2a3645b2860a.jpg","text":"TemporaryFile(/tmp/multipartBody7526791967117374616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143074687,"filename":"image_25042025_22_51_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/5/2/879235fd4dd6e379bcd66cb6181c027b.jpg","text":"TemporaryFile(/tmp/multipartBody2293770657491571933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143074687,"filename":"image_25042025_22_50_04_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0ee4c0c878787eb7bae05e1cf9582c0f.jpg","text":"TemporaryFile(/tmp/multipartBody3647188160444443292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143074687,"filename":"image_25042025_22_50_14_9480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196186","file1":"1355196184","file0":"1355196181","file4":"1355196189","file5":"1355196190","file3":"1355196188"},"map_files_photo_id_array":[{"photo_id":"1355196190","filename":"file5"},{"photo_id":"1355196186","filename":"file2"},{"photo_id":"1355196189","filename":"file4"},{"photo_id":"1355196184","filename":"file1"},{"photo_id":"1355196181","filename":"file0"},{"photo_id":"1355196188","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196186":["hashtag1","hashtag2"]},{"1355196189":["hashtag1","hashtag2"]},{"1355196188":["hashtag1","hashtag2"]},{"1355196190":["hashtag1","hashtag2"]},{"1355196181":["hashtag1","hashtag2"]},{"1355196184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196186, 1355196189, 1355196188, 1355196190, 1355196181, 1355196184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59797549247742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:44:32.260785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/51/image_25042025_22_51_14_10417.jpg', '/home/pi/Desktop/images/25042025/22/51/image_25042025_22_51_24_9489.jpg', '/home/pi/Desktop/images/25042025/22/51/image_25042025_22_51_34_10385.jpg', '/home/pi/Desktop/images/25042025/22/51/image_25042025_22_51_45_10376.jpg', '/home/pi/Desktop/images/25042025/22/51/image_25042025_22_51_54_9457.jpg', '/home/pi/Desktop/images/25042025/22/51/image_25042025_22_52_04_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/51/image_25042025_22_51_14_10417.jpg
/home/pi/Desktop/images/25042025/22/51/image_25042025_22_51_24_9489.jpg
/home/pi/Desktop/images/25042025/22/51/image_25042025_22_51_34_10385.jpg
/home/pi/Desktop/images/25042025/22/51/image_25042025_22_51_45_10376.jpg
/home/pi/Desktop/images/25042025/22/51/image_25042025_22_51_54_9457.jpg
/home/pi/Desktop/images/25042025/22/51/image_25042025_22_52_04_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":["1355196210","1355196204","1355196213","1355196207","1355196212","1355196209"],"photo_ids_order":["1355196204","1355196207","1355196209","1355196210","1355196212","1355196213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a3f6fe279230c9f51ff85a64a3bd67a8.jpg","text":"TemporaryFile(/tmp/multipartBody736088373740148596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143133733,"filename":"image_25042025_22_51_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1446cf4a107f6fd3ba254b2708d2322.jpg","text":"TemporaryFile(/tmp/multipartBody35169748271713554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143133733,"filename":"image_25042025_22_51_14_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de9c1c171eb063f0c0b76027294981a8.jpg","text":"TemporaryFile(/tmp/multipartBody6707847585590964942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143133733,"filename":"image_25042025_22_52_04_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a8db33489c54f41b61164fca5d0ad31.jpg","text":"TemporaryFile(/tmp/multipartBody2621540449378636873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143133733,"filename":"image_25042025_22_51_24_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/99b9fd67dafa990f8cb6b148de6126aa.jpg","text":"TemporaryFile(/tmp/multipartBody7080714779111287267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143133733,"filename":"image_25042025_22_51_54_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/62f160e1e78bcf843a5dd60687051159.jpg","text":"TemporaryFile(/tmp/multipartBody7543016122056550646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143133733,"filename":"image_25042025_22_51_34_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196209","file1":"1355196207","file0":"1355196204","file4":"1355196212","file5":"1355196213","file3":"1355196210"},"map_files_photo_id_array":[{"photo_id":"1355196213","filename":"file5"},{"photo_id":"1355196209","filename":"file2"},{"photo_id":"1355196212","filename":"file4"},{"photo_id":"1355196207","filename":"file1"},{"photo_id":"1355196204","filename":"file0"},{"photo_id":"1355196210","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196210":["hashtag1","hashtag2"]},{"1355196204":["hashtag1","hashtag2"]},{"1355196213":["hashtag1","hashtag2"]},{"1355196207":["hashtag1","hashtag2"]},{"1355196212":["hashtag1","hashtag2"]},{"1355196209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196210, 1355196204, 1355196213, 1355196207, 1355196212, 1355196209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.356926202774048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:45:32.487762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/52/image_25042025_22_52_14_9449.jpg', '/home/pi/Desktop/images/25042025/22/52/image_25042025_22_52_24_10386.jpg', '/home/pi/Desktop/images/25042025/22/52/image_25042025_22_52_35_10347.jpg', '/home/pi/Desktop/images/25042025/22/52/image_25042025_22_52_44_9453.jpg', '/home/pi/Desktop/images/25042025/22/52/image_25042025_22_52_54_10372.jpg', '/home/pi/Desktop/images/25042025/22/52/image_25042025_22_53_04_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/52/image_25042025_22_52_14_9449.jpg
/home/pi/Desktop/images/25042025/22/52/image_25042025_22_52_24_10386.jpg
/home/pi/Desktop/images/25042025/22/52/image_25042025_22_52_35_10347.jpg
/home/pi/Desktop/images/25042025/22/52/image_25042025_22_52_44_9453.jpg
/home/pi/Desktop/images/25042025/22/52/image_25042025_22_52_54_10372.jpg
/home/pi/Desktop/images/25042025/22/52/image_25042025_22_53_04_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":["1355196234","1355196233","1355196235","1355196232","1355196226","1355196229"],"photo_ids_order":["1355196226","1355196229","1355196232","1355196233","1355196234","1355196235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c484963cde7a1d2628e6ef376412a04.jpg","text":"TemporaryFile(/tmp/multipartBody5411770930947632296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143193969,"filename":"image_25042025_22_52_54_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c577cf3377138ad29a04472477909428.jpg","text":"TemporaryFile(/tmp/multipartBody6143521077356571392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143193969,"filename":"image_25042025_22_52_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/5/2/5434ec08775f606a91b400b721da7ab3.jpg","text":"TemporaryFile(/tmp/multipartBody7589763089483169044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143193969,"filename":"image_25042025_22_53_04_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f632975fa2bc7f01924042af7173891.jpg","text":"TemporaryFile(/tmp/multipartBody3624626680245727934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143193969,"filename":"image_25042025_22_52_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/5/2/19542350ba05c27a0aa9bdac49a79b1f.jpg","text":"TemporaryFile(/tmp/multipartBody9188243760339567805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143193969,"filename":"image_25042025_22_52_14_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c83a75ad24019400e7439a9edacf91b.jpg","text":"TemporaryFile(/tmp/multipartBody7050243942161203759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143193969,"filename":"image_25042025_22_52_24_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196232","file1":"1355196229","file0":"1355196226","file4":"1355196234","file5":"1355196235","file3":"1355196233"},"map_files_photo_id_array":[{"photo_id":"1355196235","filename":"file5"},{"photo_id":"1355196232","filename":"file2"},{"photo_id":"1355196234","filename":"file4"},{"photo_id":"1355196229","filename":"file1"},{"photo_id":"1355196226","filename":"file0"},{"photo_id":"1355196233","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196234":["hashtag1","hashtag2"]},{"1355196233":["hashtag1","hashtag2"]},{"1355196235":["hashtag1","hashtag2"]},{"1355196232":["hashtag1","hashtag2"]},{"1355196226":["hashtag1","hashtag2"]},{"1355196229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196234, 1355196233, 1355196235, 1355196232, 1355196226, 1355196229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.462082624435425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:46:32.766258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/53/image_25042025_22_53_14_10510.jpg', '/home/pi/Desktop/images/25042025/22/53/image_25042025_22_53_24_9482.jpg', '/home/pi/Desktop/images/25042025/22/53/image_25042025_22_53_34_10370.jpg', '/home/pi/Desktop/images/25042025/22/53/image_25042025_22_53_54_9522.jpg', '/home/pi/Desktop/images/25042025/22/53/image_25042025_22_54_05_10393.jpg', '/home/pi/Desktop/images/25042025/22/54/image_25042025_22_54_14_9549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/53/image_25042025_22_53_14_10510.jpg
/home/pi/Desktop/images/25042025/22/53/image_25042025_22_53_24_9482.jpg
/home/pi/Desktop/images/25042025/22/53/image_25042025_22_53_34_10370.jpg
/home/pi/Desktop/images/25042025/22/53/image_25042025_22_53_54_9522.jpg
/home/pi/Desktop/images/25042025/22/53/image_25042025_22_54_05_10393.jpg
/home/pi/Desktop/images/25042025/22/54/image_25042025_22_54_14_9549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355196252","1355196255","1355196254","1355196248","1355196256","1355196250"],"photo_ids_order":["1355196248","1355196250","1355196252","1355196254","1355196255","1355196256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1db0f9a554bc38bcde0629808fc65fc.jpg","text":"TemporaryFile(/tmp/multipartBody2138585359906696484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143254245,"filename":"image_25042025_22_53_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8abea31222bbeeaaf9398eff069cc3c4.jpg","text":"TemporaryFile(/tmp/multipartBody1305185137070239608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143254245,"filename":"image_25042025_22_54_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/5/2/66d6c85c29e5dab9464c0b0f62d070c2.jpg","text":"TemporaryFile(/tmp/multipartBody8499768033701705718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143254245,"filename":"image_25042025_22_53_54_9522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39df19f79930459373ce6e88ee30d339.jpg","text":"TemporaryFile(/tmp/multipartBody7479725052271866122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143254245,"filename":"image_25042025_22_53_14_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8419eb6f2576015a5c83050d4441c299.jpg","text":"TemporaryFile(/tmp/multipartBody3509338436259147100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143254245,"filename":"image_25042025_22_54_14_9549.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3dd6b323a3af0431861f85c25b57447.jpg","text":"TemporaryFile(/tmp/multipartBody4538069885110683807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143254245,"filename":"image_25042025_22_53_24_9482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196252","file1":"1355196250","file0":"1355196248","file4":"1355196255","file5":"1355196256","file3":"1355196254"},"map_files_photo_id_array":[{"photo_id":"1355196256","filename":"file5"},{"photo_id":"1355196252","filename":"file2"},{"photo_id":"1355196255","filename":"file4"},{"photo_id":"1355196250","filename":"file1"},{"photo_id":"1355196248","filename":"file0"},{"photo_id":"1355196254","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196252":["hashtag1","hashtag2"]},{"1355196255":["hashtag1","hashtag2"]},{"1355196254":["hashtag1","hashtag2"]},{"1355196248":["hashtag1","hashtag2"]},{"1355196256":["hashtag1","hashtag2"]},{"1355196250":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196252, 1355196255, 1355196254, 1355196248, 1355196256, 1355196250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59150815010071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:47:33.074790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/54/image_25042025_22_54_24_10353.jpg', '/home/pi/Desktop/images/25042025/22/54/image_25042025_22_54_34_9383.jpg', '/home/pi/Desktop/images/25042025/22/54/image_25042025_22_54_44_10422.jpg', '/home/pi/Desktop/images/25042025/22/54/image_25042025_22_54_55_10425.jpg', '/home/pi/Desktop/images/25042025/22/54/image_25042025_22_55_04_9437.jpg', '/home/pi/Desktop/images/25042025/22/55/image_25042025_22_55_24_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/54/image_25042025_22_54_24_10353.jpg
/home/pi/Desktop/images/25042025/22/54/image_25042025_22_54_34_9383.jpg
/home/pi/Desktop/images/25042025/22/54/image_25042025_22_54_44_10422.jpg
/home/pi/Desktop/images/25042025/22/54/image_25042025_22_54_55_10425.jpg
/home/pi/Desktop/images/25042025/22/54/image_25042025_22_55_04_9437.jpg
/home/pi/Desktop/images/25042025/22/55/image_25042025_22_55_24_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355196279","1355196270","1355196281","1355196278","1355196274","1355196277"],"photo_ids_order":["1355196270","1355196274","1355196277","1355196278","1355196279","1355196281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/83d949755e056de4b9f4db9297fb23eb.jpg","text":"TemporaryFile(/tmp/multipartBody8980109364560152223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143314563,"filename":"image_25042025_22_55_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/5/2/8eec9a925a93e40895fc602f150dbc0b.jpg","text":"TemporaryFile(/tmp/multipartBody2709376413521538433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143314563,"filename":"image_25042025_22_54_24_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/67dd398a55709cbf7af2b18a7f0c02fa.jpg","text":"TemporaryFile(/tmp/multipartBody3316729322994929225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143314563,"filename":"image_25042025_22_55_24_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2300a56ce2596b8cb895caf2d542378d.jpg","text":"TemporaryFile(/tmp/multipartBody1514179848018993812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143314563,"filename":"image_25042025_22_54_55_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f282194e97eb2d29a513f02dc24f27f0.jpg","text":"TemporaryFile(/tmp/multipartBody5654646617960337894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143314563,"filename":"image_25042025_22_54_34_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5eed3d5d3406f8592480a7233ba9b849.jpg","text":"TemporaryFile(/tmp/multipartBody8213002471417019772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143314563,"filename":"image_25042025_22_54_44_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196277","file1":"1355196274","file0":"1355196270","file4":"1355196279","file5":"1355196281","file3":"1355196278"},"map_files_photo_id_array":[{"photo_id":"1355196281","filename":"file5"},{"photo_id":"1355196277","filename":"file2"},{"photo_id":"1355196279","filename":"file4"},{"photo_id":"1355196274","filename":"file1"},{"photo_id":"1355196270","filename":"file0"},{"photo_id":"1355196278","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196279":["hashtag1","hashtag2"]},{"1355196270":["hashtag1","hashtag2"]},{"1355196281":["hashtag1","hashtag2"]},{"1355196278":["hashtag1","hashtag2"]},{"1355196274":["hashtag1","hashtag2"]},{"1355196277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196279, 1355196270, 1355196281, 1355196278, 1355196274, 1355196277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91811680793762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:48:32.163731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/55/image_25042025_22_55_34_10375.jpg', '/home/pi/Desktop/images/25042025/22/55/image_25042025_22_55_45_10376.jpg', '/home/pi/Desktop/images/25042025/22/55/image_25042025_22_55_54_9398.jpg', '/home/pi/Desktop/images/25042025/22/55/image_25042025_22_56_04_10387.jpg', '/home/pi/Desktop/images/25042025/22/56/image_25042025_22_56_14_9528.jpg', '/home/pi/Desktop/images/25042025/22/56/image_25042025_22_56_24_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/55/image_25042025_22_55_34_10375.jpg
/home/pi/Desktop/images/25042025/22/55/image_25042025_22_55_45_10376.jpg
/home/pi/Desktop/images/25042025/22/55/image_25042025_22_55_54_9398.jpg
/home/pi/Desktop/images/25042025/22/55/image_25042025_22_56_04_10387.jpg
/home/pi/Desktop/images/25042025/22/56/image_25042025_22_56_14_9528.jpg
/home/pi/Desktop/images/25042025/22/56/image_25042025_22_56_24_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":["1355196301","1355196291","1355196296","1355196299","1355196302","1355196294"],"photo_ids_order":["1355196291","1355196294","1355196296","1355196299","1355196301","1355196302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d80395fdde7b161eee94ce441265a7a7.jpg","text":"TemporaryFile(/tmp/multipartBody8009848662147273739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143373638,"filename":"image_25042025_22_56_14_9528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95dac4084a4d68957371d2a4a64c6e54.jpg","text":"TemporaryFile(/tmp/multipartBody67715485680418506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143373638,"filename":"image_25042025_22_55_34_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1ee3b9d312174c18666561149c218b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7379037729262031789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143373638,"filename":"image_25042025_22_55_54_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f41ab9dd817b5e3d70b1ca9eb6ddaa7b.jpg","text":"TemporaryFile(/tmp/multipartBody5673672207641526319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143373638,"filename":"image_25042025_22_56_04_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db66f6c635709f37028cdb6dc387dd82.jpg","text":"TemporaryFile(/tmp/multipartBody4475082930223268985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143373638,"filename":"image_25042025_22_56_24_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d50afb2c15f151e1b9d3694e22cdb0d.jpg","text":"TemporaryFile(/tmp/multipartBody6757173834214051729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143373638,"filename":"image_25042025_22_55_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196296","file1":"1355196294","file0":"1355196291","file4":"1355196301","file5":"1355196302","file3":"1355196299"},"map_files_photo_id_array":[{"photo_id":"1355196302","filename":"file5"},{"photo_id":"1355196296","filename":"file2"},{"photo_id":"1355196301","filename":"file4"},{"photo_id":"1355196294","filename":"file1"},{"photo_id":"1355196291","filename":"file0"},{"photo_id":"1355196299","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196301":["hashtag1","hashtag2"]},{"1355196291":["hashtag1","hashtag2"]},{"1355196296":["hashtag1","hashtag2"]},{"1355196299":["hashtag1","hashtag2"]},{"1355196302":["hashtag1","hashtag2"]},{"1355196294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196301, 1355196291, 1355196296, 1355196299, 1355196302, 1355196294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.92776322364807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:49:32.399321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/56/image_25042025_22_56_35_10408.jpg', '/home/pi/Desktop/images/25042025/22/56/image_25042025_22_56_44_9361.jpg', '/home/pi/Desktop/images/25042025/22/56/image_25042025_22_56_55_10365.jpg', '/home/pi/Desktop/images/25042025/22/56/image_25042025_22_57_04_9349.jpg', '/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_14_10432.jpg', '/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/56/image_25042025_22_56_35_10408.jpg
/home/pi/Desktop/images/25042025/22/56/image_25042025_22_56_44_9361.jpg
/home/pi/Desktop/images/25042025/22/56/image_25042025_22_56_55_10365.jpg
/home/pi/Desktop/images/25042025/22/56/image_25042025_22_57_04_9349.jpg
/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_14_10432.jpg
/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_25_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355196324","1355196317","1355196322","1355196331","1355196319","1355196328"],"photo_ids_order":["1355196317","1355196319","1355196322","1355196324","1355196328","1355196331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/79453a3c82bb58a0767e291358b00a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7918847244442277282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143433874,"filename":"image_25042025_22_57_04_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6858fff67f402b5823f500908a6d89f.jpg","text":"TemporaryFile(/tmp/multipartBody7475694483594131190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143433874,"filename":"image_25042025_22_56_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/5/2/f4b0a54516cad8f1787ac119a9509cd3.jpg","text":"TemporaryFile(/tmp/multipartBody7293987903321857588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143433874,"filename":"image_25042025_22_56_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/5/2/5d5dcfb2a93b365c1ffbe7b190fd34a0.jpg","text":"TemporaryFile(/tmp/multipartBody2952132963706552462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143433874,"filename":"image_25042025_22_57_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/182c75a78916b623f53389480308bd6e.jpg","text":"TemporaryFile(/tmp/multipartBody8234673997178620777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143433874,"filename":"image_25042025_22_56_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af8d9facd8fcf1b19f309ba13a1607ea.jpg","text":"TemporaryFile(/tmp/multipartBody6501173935307646140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143433874,"filename":"image_25042025_22_57_14_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196322","file1":"1355196319","file0":"1355196317","file4":"1355196328","file5":"1355196331","file3":"1355196324"},"map_files_photo_id_array":[{"photo_id":"1355196331","filename":"file5"},{"photo_id":"1355196322","filename":"file2"},{"photo_id":"1355196328","filename":"file4"},{"photo_id":"1355196319","filename":"file1"},{"photo_id":"1355196317","filename":"file0"},{"photo_id":"1355196324","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196324":["hashtag1","hashtag2"]},{"1355196317":["hashtag1","hashtag2"]},{"1355196322":["hashtag1","hashtag2"]},{"1355196331":["hashtag1","hashtag2"]},{"1355196319":["hashtag1","hashtag2"]},{"1355196328":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196324, 1355196317, 1355196322, 1355196331, 1355196319, 1355196328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.794466495513916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:50:32.547975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_34_9407.jpg', '/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_44_10381.jpg', '/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_54_9451.jpg', '/home/pi/Desktop/images/25042025/22/57/image_25042025_22_58_04_10363.jpg', '/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_14_9535.jpg', '/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_24_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_34_9407.jpg
/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_44_10381.jpg
/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_54_9451.jpg
/home/pi/Desktop/images/25042025/22/57/image_25042025_22_58_04_10363.jpg
/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_14_9535.jpg
/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_24_10356.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.390857219696045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 01:50:42.610088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_34_9407.jpg', '/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_44_10381.jpg', '/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_54_9451.jpg', '/home/pi/Desktop/images/25042025/22/57/image_25042025_22_58_04_10363.jpg', '/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_14_9535.jpg', '/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_24_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_34_9407.jpg
/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_44_10381.jpg
/home/pi/Desktop/images/25042025/22/57/image_25042025_22_57_54_9451.jpg
/home/pi/Desktop/images/25042025/22/57/image_25042025_22_58_04_10363.jpg
/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_14_9535.jpg
/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_24_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355196357","1355196359","1355196353","1355196361","1355196355","1355196358"],"photo_ids_order":["1355196353","1355196355","1355196357","1355196358","1355196359","1355196361"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ef82aab7b3e0dcf304b858fbb9d6681.jpg","text":"TemporaryFile(/tmp/multipartBody9149972734770568131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143503153,"filename":"image_25042025_22_57_54_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f04620d4d7f489a42368c4f8126ad70b.jpg","text":"TemporaryFile(/tmp/multipartBody8431393555144057939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143503153,"filename":"image_25042025_22_58_14_9535.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9e0a41941b5b1271df7d18c06b2ec95.jpg","text":"TemporaryFile(/tmp/multipartBody5882532688124734966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143503153,"filename":"image_25042025_22_57_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/5/2/012076f8355587da1a65fa0bbfcf7227.jpg","text":"TemporaryFile(/tmp/multipartBody3972602318445538178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143503153,"filename":"image_25042025_22_58_24_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/73857e512b8ad7cec59f230a5b980d83.jpg","text":"TemporaryFile(/tmp/multipartBody3465640342878648921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143503153,"filename":"image_25042025_22_57_44_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d27fdf9d611cb87cc80076116e74fb28.jpg","text":"TemporaryFile(/tmp/multipartBody146451441073730779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143503153,"filename":"image_25042025_22_58_04_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196357","file1":"1355196355","file0":"1355196353","file4":"1355196359","file5":"1355196361","file3":"1355196358"},"map_files_photo_id_array":[{"photo_id":"1355196361","filename":"file5"},{"photo_id":"1355196357","filename":"file2"},{"photo_id":"1355196359","filename":"file4"},{"photo_id":"1355196355","filename":"file1"},{"photo_id":"1355196353","filename":"file0"},{"photo_id":"1355196358","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196357":["hashtag1","hashtag2"]},{"1355196359":["hashtag1","hashtag2"]},{"1355196353":["hashtag1","hashtag2"]},{"1355196361":["hashtag1","hashtag2"]},{"1355196355":["hashtag1","hashtag2"]},{"1355196358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196357, 1355196359, 1355196353, 1355196361, 1355196355, 1355196358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41670775413513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:51:32.811813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_35_10377.jpg', '/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_54_10373.jpg', '/home/pi/Desktop/images/25042025/22/58/image_25042025_22_59_05_10366.jpg', '/home/pi/Desktop/images/25042025/22/59/image_25042025_22_59_14_9344.jpg', '/home/pi/Desktop/images/25042025/22/59/image_25042025_22_59_24_10372.jpg', '/home/pi/Desktop/images/25042025/22/59/image_25042025_22_59_35_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_35_10377.jpg
/home/pi/Desktop/images/25042025/22/58/image_25042025_22_58_54_10373.jpg
/home/pi/Desktop/images/25042025/22/58/image_25042025_22_59_05_10366.jpg
/home/pi/Desktop/images/25042025/22/59/image_25042025_22_59_14_9344.jpg
/home/pi/Desktop/images/25042025/22/59/image_25042025_22_59_24_10372.jpg
/home/pi/Desktop/images/25042025/22/59/image_25042025_22_59_35_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355196387","1355196374","1355196383","1355196377","1355196385","1355196381"],"photo_ids_order":["1355196374","1355196377","1355196381","1355196383","1355196385","1355196387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b13074c9f915bb89df0bf1ecc0bf0b8.jpg","text":"TemporaryFile(/tmp/multipartBody4663608303304976354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143554289,"filename":"image_25042025_22_59_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9bfa18478e5033859f69f1fbc7f4e448.jpg","text":"TemporaryFile(/tmp/multipartBody3382157429760143198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143554289,"filename":"image_25042025_22_58_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b2324096319c39218236c13d3341377.jpg","text":"TemporaryFile(/tmp/multipartBody1094586009837057863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143554289,"filename":"image_25042025_22_59_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2759c26217d5efec4a5d8603efbab37d.jpg","text":"TemporaryFile(/tmp/multipartBody9026733790434477334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143554289,"filename":"image_25042025_22_58_54_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa76a95b9734d10f27ccd6b50cc198c7.jpg","text":"TemporaryFile(/tmp/multipartBody4175713552851347197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143554289,"filename":"image_25042025_22_59_24_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bde6c1c9271f5d19d02b857c9082a7b3.jpg","text":"TemporaryFile(/tmp/multipartBody177897012725891854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143554289,"filename":"image_25042025_22_59_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196381","file1":"1355196377","file0":"1355196374","file4":"1355196385","file5":"1355196387","file3":"1355196383"},"map_files_photo_id_array":[{"photo_id":"1355196387","filename":"file5"},{"photo_id":"1355196381","filename":"file2"},{"photo_id":"1355196385","filename":"file4"},{"photo_id":"1355196377","filename":"file1"},{"photo_id":"1355196374","filename":"file0"},{"photo_id":"1355196383","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196387":["hashtag1","hashtag2"]},{"1355196374":["hashtag1","hashtag2"]},{"1355196383":["hashtag1","hashtag2"]},{"1355196377":["hashtag1","hashtag2"]},{"1355196385":["hashtag1","hashtag2"]},{"1355196381":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196387, 1355196374, 1355196383, 1355196377, 1355196385, 1355196381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.497622966766357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:52:32.943994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/22/59/image_25042025_22_59_44_9367.jpg', '/home/pi/Desktop/images/25042025/22/59/image_25042025_22_59_55_10452.jpg', '/home/pi/Desktop/images/25042025/23/01/image_25042025_23_01_14_10075.jpg', '/home/pi/Desktop/images/25042025/23/01/image_25042025_23_01_25_10508.jpg', '/home/pi/Desktop/images/25042025/23/01/image_25042025_23_01_34_9425.jpg', '/home/pi/Desktop/images/25042025/23/01/image_25042025_23_01_45_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/22/59/image_25042025_22_59_44_9367.jpg
/home/pi/Desktop/images/25042025/22/59/image_25042025_22_59_55_10452.jpg
/home/pi/Desktop/images/25042025/23/01/image_25042025_23_01_14_10075.jpg
/home/pi/Desktop/images/25042025/23/01/image_25042025_23_01_25_10508.jpg
/home/pi/Desktop/images/25042025/23/01/image_25042025_23_01_34_9425.jpg
/home/pi/Desktop/images/25042025/23/01/image_25042025_23_01_45_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355196399","1355196407","1355196401","1355196403","1355196393","1355196406"],"photo_ids_order":["1355196393","1355196399","1355196401","1355196403","1355196406","1355196407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/64610acf44e3eae079ce2bf933d2be9f.jpg","text":"TemporaryFile(/tmp/multipartBody1235607023132394136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143614424,"filename":"image_25042025_22_59_55_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9d656194c9ace6aed1416baa37758cc.jpg","text":"TemporaryFile(/tmp/multipartBody3633184709869148211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143614424,"filename":"image_25042025_23_01_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e37796d5347d2ee90a490da7aa135ff.jpg","text":"TemporaryFile(/tmp/multipartBody495150749729672454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143614424,"filename":"image_25042025_23_01_14_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/32411d5a2b65313e597c4ef65039160a.jpg","text":"TemporaryFile(/tmp/multipartBody4597427202794933686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143614424,"filename":"image_25042025_23_01_25_10508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2273b15eb816dcae0d95fd61be5bfae4.jpg","text":"TemporaryFile(/tmp/multipartBody2700421792074528182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143614424,"filename":"image_25042025_22_59_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/5/2/bd7a38a291a1c3ef3872340ca71fe059.jpg","text":"TemporaryFile(/tmp/multipartBody2099931039601142506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143614424,"filename":"image_25042025_23_01_34_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196401","file1":"1355196399","file0":"1355196393","file4":"1355196406","file5":"1355196407","file3":"1355196403"},"map_files_photo_id_array":[{"photo_id":"1355196407","filename":"file5"},{"photo_id":"1355196401","filename":"file2"},{"photo_id":"1355196406","filename":"file4"},{"photo_id":"1355196399","filename":"file1"},{"photo_id":"1355196393","filename":"file0"},{"photo_id":"1355196403","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196399":["hashtag1","hashtag2"]},{"1355196407":["hashtag1","hashtag2"]},{"1355196401":["hashtag1","hashtag2"]},{"1355196403":["hashtag1","hashtag2"]},{"1355196393":["hashtag1","hashtag2"]},{"1355196406":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196399, 1355196407, 1355196401, 1355196403, 1355196393, 1355196406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.79481768608093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:53:33.281918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/01/image_25042025_23_01_55_10459.jpg', '/home/pi/Desktop/images/25042025/23/01/image_25042025_23_02_05_9368.jpg', '/home/pi/Desktop/images/25042025/23/02/image_25042025_23_02_15_10508.jpg', '/home/pi/Desktop/images/25042025/23/02/image_25042025_23_02_35_10491.jpg', '/home/pi/Desktop/images/25042025/23/02/image_25042025_23_02_45_10373.jpg', '/home/pi/Desktop/images/25042025/23/02/image_25042025_23_02_55_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/01/image_25042025_23_01_55_10459.jpg
/home/pi/Desktop/images/25042025/23/01/image_25042025_23_02_05_9368.jpg
/home/pi/Desktop/images/25042025/23/02/image_25042025_23_02_15_10508.jpg
/home/pi/Desktop/images/25042025/23/02/image_25042025_23_02_35_10491.jpg
/home/pi/Desktop/images/25042025/23/02/image_25042025_23_02_45_10373.jpg
/home/pi/Desktop/images/25042025/23/02/image_25042025_23_02_55_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":["1355196429","1355196420","1355196423","1355196425","1355196416","1355196427"],"photo_ids_order":["1355196416","1355196420","1355196423","1355196425","1355196427","1355196429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4c88b600b1a12071ce590a1065f8d11.jpg","text":"TemporaryFile(/tmp/multipartBody4463397303381239416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143674837,"filename":"image_25042025_23_02_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/5/2/6b6c5b7939f7aa91d8deea7119529491.jpg","text":"TemporaryFile(/tmp/multipartBody6918489160211285559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143674837,"filename":"image_25042025_23_02_05_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8071ba6f88e6a4431587dc04a70a8591.jpg","text":"TemporaryFile(/tmp/multipartBody7174365805313468694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143674837,"filename":"image_25042025_23_02_15_10508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/634798d081fc4488d37d16096209d905.jpg","text":"TemporaryFile(/tmp/multipartBody3616035845585485290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143674837,"filename":"image_25042025_23_02_35_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63a5e3cf720878a392a4c13bce577313.jpg","text":"TemporaryFile(/tmp/multipartBody1732794641931667104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143674837,"filename":"image_25042025_23_01_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ceef9ed82bd10c7dba7aea06c53e2a47.jpg","text":"TemporaryFile(/tmp/multipartBody6392154272314663929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143674837,"filename":"image_25042025_23_02_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196423","file1":"1355196420","file0":"1355196416","file4":"1355196427","file5":"1355196429","file3":"1355196425"},"map_files_photo_id_array":[{"photo_id":"1355196429","filename":"file5"},{"photo_id":"1355196423","filename":"file2"},{"photo_id":"1355196427","filename":"file4"},{"photo_id":"1355196420","filename":"file1"},{"photo_id":"1355196416","filename":"file0"},{"photo_id":"1355196425","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196429":["hashtag1","hashtag2"]},{"1355196420":["hashtag1","hashtag2"]},{"1355196423":["hashtag1","hashtag2"]},{"1355196425":["hashtag1","hashtag2"]},{"1355196416":["hashtag1","hashtag2"]},{"1355196427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196429, 1355196420, 1355196423, 1355196425, 1355196416, 1355196427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24122452735901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:54:32.431360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/02/image_25042025_23_03_05_10361.jpg', '/home/pi/Desktop/images/25042025/23/03/image_25042025_23_03_14_9403.jpg', '/home/pi/Desktop/images/25042025/23/03/image_25042025_23_03_25_10526.jpg', '/home/pi/Desktop/images/25042025/23/03/image_25042025_23_03_35_10361.jpg', '/home/pi/Desktop/images/25042025/23/03/image_25042025_23_03_45_9448.jpg', '/home/pi/Desktop/images/25042025/23/03/image_25042025_23_03_55_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/02/image_25042025_23_03_05_10361.jpg
/home/pi/Desktop/images/25042025/23/03/image_25042025_23_03_14_9403.jpg
/home/pi/Desktop/images/25042025/23/03/image_25042025_23_03_25_10526.jpg
/home/pi/Desktop/images/25042025/23/03/image_25042025_23_03_35_10361.jpg
/home/pi/Desktop/images/25042025/23/03/image_25042025_23_03_45_9448.jpg
/home/pi/Desktop/images/25042025/23/03/image_25042025_23_03_55_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355196450","1355196438","1355196453","1355196455","1355196445","1355196442"],"photo_ids_order":["1355196438","1355196442","1355196445","1355196450","1355196453","1355196455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/01b8d4ab805b6e8477706f246c838ed6.jpg","text":"TemporaryFile(/tmp/multipartBody6610114354000690543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143733929,"filename":"image_25042025_23_03_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/5/2/8e5ce42f691548cd48605e1552c55d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1499390711622904603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143733929,"filename":"image_25042025_23_03_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/5/2/a1a5e0f4e2eb6d71d0921a1084e998e5.jpg","text":"TemporaryFile(/tmp/multipartBody3146624863758249081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143733929,"filename":"image_25042025_23_03_45_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b618d29249973fb53992a2f72e50ba6.jpg","text":"TemporaryFile(/tmp/multipartBody5974594083674606632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143733929,"filename":"image_25042025_23_03_55_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/62957914b922c26e944ce4192b9b48aa.jpg","text":"TemporaryFile(/tmp/multipartBody3847845588300206578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143733929,"filename":"image_25042025_23_03_25_10526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/69d1b245de2a771b4e8b30e2542919a9.jpg","text":"TemporaryFile(/tmp/multipartBody1434956649317867115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143733929,"filename":"image_25042025_23_03_14_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196445","file1":"1355196442","file0":"1355196438","file4":"1355196453","file5":"1355196455","file3":"1355196450"},"map_files_photo_id_array":[{"photo_id":"1355196455","filename":"file5"},{"photo_id":"1355196445","filename":"file2"},{"photo_id":"1355196453","filename":"file4"},{"photo_id":"1355196442","filename":"file1"},{"photo_id":"1355196438","filename":"file0"},{"photo_id":"1355196450","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196450":["hashtag1","hashtag2"]},{"1355196438":["hashtag1","hashtag2"]},{"1355196453":["hashtag1","hashtag2"]},{"1355196455":["hashtag1","hashtag2"]},{"1355196445":["hashtag1","hashtag2"]},{"1355196442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196450, 1355196438, 1355196453, 1355196455, 1355196445, 1355196442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00804805755615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:55:32.677414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/04/image_25042025_23_04_15_10406.jpg', '/home/pi/Desktop/images/25042025/23/04/image_25042025_23_04_24_9442.jpg', '/home/pi/Desktop/images/25042025/23/04/image_25042025_23_04_55_9469.jpg', '/home/pi/Desktop/images/25042025/23/05/image_25042025_23_05_14_9410.jpg', '/home/pi/Desktop/images/25042025/23/05/image_25042025_23_05_25_10509.jpg', '/home/pi/Desktop/images/25042025/23/05/image_25042025_23_05_35_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/04/image_25042025_23_04_15_10406.jpg
/home/pi/Desktop/images/25042025/23/04/image_25042025_23_04_24_9442.jpg
/home/pi/Desktop/images/25042025/23/04/image_25042025_23_04_55_9469.jpg
/home/pi/Desktop/images/25042025/23/05/image_25042025_23_05_14_9410.jpg
/home/pi/Desktop/images/25042025/23/05/image_25042025_23_05_25_10509.jpg
/home/pi/Desktop/images/25042025/23/05/image_25042025_23_05_35_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355196477","1355196481","1355196478","1355196472","1355196475","1355196480"],"photo_ids_order":["1355196472","1355196475","1355196477","1355196478","1355196480","1355196481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/def902e57a5bc2508366336919d2ae01.jpg","text":"TemporaryFile(/tmp/multipartBody626546014541070629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143794147,"filename":"image_25042025_23_04_55_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/115c146561bcf1fd2b2a1cc0f1163a56.jpg","text":"TemporaryFile(/tmp/multipartBody1084076226190223041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143794147,"filename":"image_25042025_23_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/5/2/b93b7ce50971fdbbe73ae3925fa102a0.jpg","text":"TemporaryFile(/tmp/multipartBody9044028870505569522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143794147,"filename":"image_25042025_23_05_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/5/2/fdfcd60759c08e13616929b2f094959e.jpg","text":"TemporaryFile(/tmp/multipartBody810404574022938829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143794147,"filename":"image_25042025_23_04_15_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/10985e45b6d717d17615ea88067788dd.jpg","text":"TemporaryFile(/tmp/multipartBody7354469861171373263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143794147,"filename":"image_25042025_23_04_24_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6d9b9658aa530573c97ab002ec19169.jpg","text":"TemporaryFile(/tmp/multipartBody1881610642932100169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143794147,"filename":"image_25042025_23_05_25_10509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196477","file1":"1355196475","file0":"1355196472","file4":"1355196480","file5":"1355196481","file3":"1355196478"},"map_files_photo_id_array":[{"photo_id":"1355196481","filename":"file5"},{"photo_id":"1355196477","filename":"file2"},{"photo_id":"1355196480","filename":"file4"},{"photo_id":"1355196475","filename":"file1"},{"photo_id":"1355196472","filename":"file0"},{"photo_id":"1355196478","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196477":["hashtag1","hashtag2"]},{"1355196481":["hashtag1","hashtag2"]},{"1355196478":["hashtag1","hashtag2"]},{"1355196472":["hashtag1","hashtag2"]},{"1355196475":["hashtag1","hashtag2"]},{"1355196480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196477, 1355196481, 1355196478, 1355196472, 1355196475, 1355196480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78848433494568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:56:32.786739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/05/image_25042025_23_05_45_9556.jpg', '/home/pi/Desktop/images/25042025/23/05/image_25042025_23_05_55_10372.jpg', '/home/pi/Desktop/images/25042025/23/05/image_25042025_23_06_05_9365.jpg', '/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_15_10483.jpg', '/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_24_9402.jpg', '/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_35_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/05/image_25042025_23_05_45_9556.jpg
/home/pi/Desktop/images/25042025/23/05/image_25042025_23_05_55_10372.jpg
/home/pi/Desktop/images/25042025/23/05/image_25042025_23_06_05_9365.jpg
/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_15_10483.jpg
/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_24_9402.jpg
/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_35_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":["1355196504","1355196506","1355196496","1355196499","1355196502","1355196505"],"photo_ids_order":["1355196496","1355196499","1355196502","1355196504","1355196505","1355196506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/222f012c511d7afa2f5dadbb50c0887e.jpg","text":"TemporaryFile(/tmp/multipartBody8684900690779148779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143854259,"filename":"image_25042025_23_06_15_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/57015456a98f5490a20e33f529033709.jpg","text":"TemporaryFile(/tmp/multipartBody2669765773171929732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143854259,"filename":"image_25042025_23_06_35_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3dbb36a406de959c8881f3da4e0c9d12.jpg","text":"TemporaryFile(/tmp/multipartBody7583080555378365533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143854259,"filename":"image_25042025_23_05_45_9556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b25a7b34a084750412edebd60585236.jpg","text":"TemporaryFile(/tmp/multipartBody732182758546412777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143854259,"filename":"image_25042025_23_05_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/5/2/96d241258dc0ea297a6052bfaef9e859.jpg","text":"TemporaryFile(/tmp/multipartBody2890409077536809630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143854259,"filename":"image_25042025_23_06_05_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22a46aa4c8ad5c7e98649e18954d5f90.jpg","text":"TemporaryFile(/tmp/multipartBody1604458077233376103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746143854259,"filename":"image_25042025_23_06_24_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196502","file1":"1355196499","file0":"1355196496","file4":"1355196505","file5":"1355196506","file3":"1355196504"},"map_files_photo_id_array":[{"photo_id":"1355196506","filename":"file5"},{"photo_id":"1355196502","filename":"file2"},{"photo_id":"1355196505","filename":"file4"},{"photo_id":"1355196499","filename":"file1"},{"photo_id":"1355196496","filename":"file0"},{"photo_id":"1355196504","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355196504":["hashtag1","hashtag2"]},{"1355196506":["hashtag1","hashtag2"]},{"1355196496":["hashtag1","hashtag2"]},{"1355196499":["hashtag1","hashtag2"]},{"1355196502":["hashtag1","hashtag2"]},{"1355196505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355196504, 1355196506, 1355196496, 1355196499, 1355196502, 1355196505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.373517513275146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 01:57:33.034618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_45_10357.jpg', '/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_55_9473.jpg', '/home/pi/Desktop/images/25042025/23/06/image_25042025_23_07_05_10367.jpg', '/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_15_9368.jpg', '/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_25_10480.jpg', '/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_34_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_45_10357.jpg
/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_55_9473.jpg
/home/pi/Desktop/images/25042025/23/06/image_25042025_23_07_05_10367.jpg
/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_15_9368.jpg
/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_25_10480.jpg
/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_34_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 01:59:03.064476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_45_10357.jpg', '/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_55_9473.jpg', '/home/pi/Desktop/images/25042025/23/06/image_25042025_23_07_05_10367.jpg', '/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_15_9368.jpg', '/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_25_10480.jpg', '/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_34_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_45_10357.jpg
/home/pi/Desktop/images/25042025/23/06/image_25042025_23_06_55_9473.jpg
/home/pi/Desktop/images/25042025/23/06/image_25042025_23_07_05_10367.jpg
/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_15_9368.jpg
/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_25_10480.jpg
/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_34_9356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355197007","1355196986","1355196997","1355196994","1355197003","1355197000"],"photo_ids_order":["1355196986","1355196994","1355196997","1355197000","1355197003","1355197007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f5316bf0fd58610358c2cdf0a2495c39.jpg","text":"TemporaryFile(/tmp/multipartBody4711719937372107355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144003726,"filename":"image_25042025_23_07_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0731767947a17ea3c977dd88655f3278.jpg","text":"TemporaryFile(/tmp/multipartBody5370963507667824150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144003726,"filename":"image_25042025_23_06_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/5/2/57be59394a5b11c6e1238a48a94aa0d6.jpg","text":"TemporaryFile(/tmp/multipartBody2099284660990645890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144003726,"filename":"image_25042025_23_07_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3fe29acb1e739a9075c378c52aa699ec.jpg","text":"TemporaryFile(/tmp/multipartBody2611743976841167325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144003726,"filename":"image_25042025_23_06_55_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/047bf483e6c72da9ecd4fb4967a4d80b.jpg","text":"TemporaryFile(/tmp/multipartBody5003343964161300751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144003726,"filename":"image_25042025_23_07_25_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb9a0fa5dc61d60bca9b86eb00191ffc.jpg","text":"TemporaryFile(/tmp/multipartBody4831970699817218253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144003726,"filename":"image_25042025_23_07_15_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355196997","file1":"1355196994","file0":"1355196986","file4":"1355197003","file5":"1355197007","file3":"1355197000"},"map_files_photo_id_array":[{"photo_id":"1355197007","filename":"file5"},{"photo_id":"1355196997","filename":"file2"},{"photo_id":"1355197003","filename":"file4"},{"photo_id":"1355196994","filename":"file1"},{"photo_id":"1355196986","filename":"file0"},{"photo_id":"1355197000","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355197007":["hashtag1","hashtag2"]},{"1355196986":["hashtag1","hashtag2"]},{"1355196997":["hashtag1","hashtag2"]},{"1355196994":["hashtag1","hashtag2"]},{"1355197003":["hashtag1","hashtag2"]},{"1355197000":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355197007, 1355196986, 1355196997, 1355196994, 1355197003, 1355197000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2231080532074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 01:59:42.451521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_45_10507.jpg', '/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_55_10384.jpg', '/home/pi/Desktop/images/25042025/23/08/image_25042025_23_08_15_10430.jpg', '/home/pi/Desktop/images/25042025/23/08/image_25042025_23_08_24_9362.jpg', '/home/pi/Desktop/images/25042025/23/08/image_25042025_23_09_05_10363.jpg', '/home/pi/Desktop/images/25042025/23/09/image_25042025_23_09_15_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_45_10507.jpg
/home/pi/Desktop/images/25042025/23/07/image_25042025_23_07_55_10384.jpg
/home/pi/Desktop/images/25042025/23/08/image_25042025_23_08_15_10430.jpg
/home/pi/Desktop/images/25042025/23/08/image_25042025_23_08_24_9362.jpg
/home/pi/Desktop/images/25042025/23/08/image_25042025_23_09_05_10363.jpg
/home/pi/Desktop/images/25042025/23/09/image_25042025_23_09_15_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355197041","1355197178","1355197130","1355197229","1355197279","1355197077"],"photo_ids_order":["1355197041","1355197077","1355197130","1355197178","1355197229","1355197279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d072a64111167d0077189d39ba208b3.jpg","text":"TemporaryFile(/tmp/multipartBody672692135459342670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144043089,"filename":"image_25042025_23_07_45_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af7267ca040a85aea4372b6ff10ebfc9.jpg","text":"TemporaryFile(/tmp/multipartBody2680957221293323673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144043089,"filename":"image_25042025_23_08_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/5/2/2ddd510396f262885dbbb1dac57dc302.jpg","text":"TemporaryFile(/tmp/multipartBody3424392545361736016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144043089,"filename":"image_25042025_23_08_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/5/2/9e8ff7e0dd9ea10646012b1ec8eef122.jpg","text":"TemporaryFile(/tmp/multipartBody1632219897462773283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144043089,"filename":"image_25042025_23_09_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/5/2/49c816cd3e665c5db8ae789578097ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2930333823555564436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144043089,"filename":"image_25042025_23_09_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/5/2/a4f5145e78834f1f1fa8944b28a4a699.jpg","text":"TemporaryFile(/tmp/multipartBody6850161553702372089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144043089,"filename":"image_25042025_23_07_55_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355197130","file1":"1355197077","file0":"1355197041","file4":"1355197229","file5":"1355197279","file3":"1355197178"},"map_files_photo_id_array":[{"photo_id":"1355197279","filename":"file5"},{"photo_id":"1355197130","filename":"file2"},{"photo_id":"1355197229","filename":"file4"},{"photo_id":"1355197077","filename":"file1"},{"photo_id":"1355197041","filename":"file0"},{"photo_id":"1355197178","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355197041":["hashtag1","hashtag2"]},{"1355197178":["hashtag1","hashtag2"]},{"1355197130":["hashtag1","hashtag2"]},{"1355197229":["hashtag1","hashtag2"]},{"1355197279":["hashtag1","hashtag2"]},{"1355197077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355197041, 1355197178, 1355197130, 1355197229, 1355197279, 1355197077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0009605884552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:00:32.745888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/09/image_25042025_23_09_25_10476.jpg', '/home/pi/Desktop/images/25042025/23/09/image_25042025_23_09_34_9380.jpg', '/home/pi/Desktop/images/25042025/23/09/image_25042025_23_09_45_10407.jpg', '/home/pi/Desktop/images/25042025/23/09/image_25042025_23_09_55_10368.jpg', '/home/pi/Desktop/images/25042025/23/09/image_25042025_23_10_05_9348.jpg', '/home/pi/Desktop/images/25042025/23/10/image_25042025_23_10_15_10484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/09/image_25042025_23_09_25_10476.jpg
/home/pi/Desktop/images/25042025/23/09/image_25042025_23_09_34_9380.jpg
/home/pi/Desktop/images/25042025/23/09/image_25042025_23_09_45_10407.jpg
/home/pi/Desktop/images/25042025/23/09/image_25042025_23_09_55_10368.jpg
/home/pi/Desktop/images/25042025/23/09/image_25042025_23_10_05_9348.jpg
/home/pi/Desktop/images/25042025/23/10/image_25042025_23_10_15_10484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355197859","1355197745","1355197696","1355197636","1355197909","1355197804"],"photo_ids_order":["1355197636","1355197696","1355197745","1355197804","1355197859","1355197909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/448260ba84e3bbb2b2d88a2b7c93ac84.jpg","text":"TemporaryFile(/tmp/multipartBody2117864611315674932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144094213,"filename":"image_25042025_23_10_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/448c860b56cd0dd0d0c6fce7095a49ac.jpg","text":"TemporaryFile(/tmp/multipartBody7262080129120788275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144094213,"filename":"image_25042025_23_09_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/5/2/95fca402ada6e9ba0a0cbfaf838b4354.jpg","text":"TemporaryFile(/tmp/multipartBody3327159428613968730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144094213,"filename":"image_25042025_23_09_34_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a07d6c5f4401be502372a6cb6609bf83.jpg","text":"TemporaryFile(/tmp/multipartBody1596111491789258130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144094213,"filename":"image_25042025_23_09_25_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e69fb2623e0e136f6c223548bb505925.jpg","text":"TemporaryFile(/tmp/multipartBody5892725544557903131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144094213,"filename":"image_25042025_23_10_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/5/2/280a5477585f313a941f501f8a0e0e86.jpg","text":"TemporaryFile(/tmp/multipartBody8911544260443678817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144094213,"filename":"image_25042025_23_09_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355197745","file1":"1355197696","file0":"1355197636","file4":"1355197859","file5":"1355197909","file3":"1355197804"},"map_files_photo_id_array":[{"photo_id":"1355197909","filename":"file5"},{"photo_id":"1355197745","filename":"file2"},{"photo_id":"1355197859","filename":"file4"},{"photo_id":"1355197696","filename":"file1"},{"photo_id":"1355197636","filename":"file0"},{"photo_id":"1355197804","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355197859":["hashtag1","hashtag2"]},{"1355197745":["hashtag1","hashtag2"]},{"1355197696":["hashtag1","hashtag2"]},{"1355197636":["hashtag1","hashtag2"]},{"1355197909":["hashtag1","hashtag2"]},{"1355197804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355197859, 1355197745, 1355197696, 1355197636, 1355197909, 1355197804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3384211063385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:01:32.967013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/10/image_25042025_23_10_24_9394.jpg', '/home/pi/Desktop/images/25042025/23/10/image_25042025_23_10_35_10447.jpg', '/home/pi/Desktop/images/25042025/23/10/image_25042025_23_10_45_10369.jpg', '/home/pi/Desktop/images/25042025/23/10/image_25042025_23_10_55_9374.jpg', '/home/pi/Desktop/images/25042025/23/10/image_25042025_23_11_05_10457.jpg', '/home/pi/Desktop/images/25042025/23/11/image_25042025_23_11_15_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/10/image_25042025_23_10_24_9394.jpg
/home/pi/Desktop/images/25042025/23/10/image_25042025_23_10_35_10447.jpg
/home/pi/Desktop/images/25042025/23/10/image_25042025_23_10_45_10369.jpg
/home/pi/Desktop/images/25042025/23/10/image_25042025_23_10_55_9374.jpg
/home/pi/Desktop/images/25042025/23/10/image_25042025_23_11_05_10457.jpg
/home/pi/Desktop/images/25042025/23/11/image_25042025_23_11_15_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355198438","1355198698","1355198769","1355198550","1355198616","1355198381"],"photo_ids_order":["1355198381","1355198438","1355198550","1355198616","1355198698","1355198769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89d1923842bffa40994db2722cea97b0.jpg","text":"TemporaryFile(/tmp/multipartBody5519949877071042600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144154465,"filename":"image_25042025_23_10_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/5/2/ed39026415e0479233faf9e3d666260f.jpg","text":"TemporaryFile(/tmp/multipartBody1391794420004715021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144154465,"filename":"image_25042025_23_11_05_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6ed8cf7691ed98a1de61ca3405b200d3.jpg","text":"TemporaryFile(/tmp/multipartBody5926947670412279458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144154465,"filename":"image_25042025_23_11_15_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/23cb9b1d4c2e981ad28db51f507a13eb.jpg","text":"TemporaryFile(/tmp/multipartBody2553857460821166105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144154465,"filename":"image_25042025_23_10_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/5/2/3d691ea0e63fee1a31715827e38d5630.jpg","text":"TemporaryFile(/tmp/multipartBody8925767883643259179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144154465,"filename":"image_25042025_23_10_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/5/2/a2dc20eb4562770a9e8ea83db9e2f772.jpg","text":"TemporaryFile(/tmp/multipartBody6285592939680256056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144154465,"filename":"image_25042025_23_10_24_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355198550","file1":"1355198438","file0":"1355198381","file4":"1355198698","file5":"1355198769","file3":"1355198616"},"map_files_photo_id_array":[{"photo_id":"1355198769","filename":"file5"},{"photo_id":"1355198550","filename":"file2"},{"photo_id":"1355198698","filename":"file4"},{"photo_id":"1355198438","filename":"file1"},{"photo_id":"1355198381","filename":"file0"},{"photo_id":"1355198616","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355198438":["hashtag1","hashtag2"]},{"1355198698":["hashtag1","hashtag2"]},{"1355198769":["hashtag1","hashtag2"]},{"1355198550":["hashtag1","hashtag2"]},{"1355198616":["hashtag1","hashtag2"]},{"1355198381":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355198438, 1355198698, 1355198769, 1355198550, 1355198616, 1355198381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39830780029297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:02:32.249458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/11/image_25042025_23_11_25_10454.jpg', '/home/pi/Desktop/images/25042025/23/11/image_25042025_23_11_34_9427.jpg', '/home/pi/Desktop/images/25042025/23/11/image_25042025_23_11_45_10409.jpg', '/home/pi/Desktop/images/25042025/23/11/image_25042025_23_11_55_10466.jpg', '/home/pi/Desktop/images/25042025/23/11/image_25042025_23_12_05_9366.jpg', '/home/pi/Desktop/images/25042025/23/12/image_25042025_23_12_15_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/11/image_25042025_23_11_25_10454.jpg
/home/pi/Desktop/images/25042025/23/11/image_25042025_23_11_34_9427.jpg
/home/pi/Desktop/images/25042025/23/11/image_25042025_23_11_45_10409.jpg
/home/pi/Desktop/images/25042025/23/11/image_25042025_23_11_55_10466.jpg
/home/pi/Desktop/images/25042025/23/11/image_25042025_23_12_05_9366.jpg
/home/pi/Desktop/images/25042025/23/12/image_25042025_23_12_15_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355199446","1355199598","1355199547","1355199396","1355199348","1355199497"],"photo_ids_order":["1355199348","1355199396","1355199446","1355199497","1355199547","1355199598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ab0962603664268fbddaf5bd4182f527.jpg","text":"TemporaryFile(/tmp/multipartBody4777144478689587948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144213713,"filename":"image_25042025_23_11_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/5/2/05e92c340b9367ec537406b1cabd6b38.jpg","text":"TemporaryFile(/tmp/multipartBody1667703000810382376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144213713,"filename":"image_25042025_23_12_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/5/2/06dd3cf37a0dddb05cb0216184b455c2.jpg","text":"TemporaryFile(/tmp/multipartBody903852813211344039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144213713,"filename":"image_25042025_23_12_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/5/2/cf14fd70942e03c5fa9d15334138b276.jpg","text":"TemporaryFile(/tmp/multipartBody2314355129034858783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144213713,"filename":"image_25042025_23_11_34_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7a9cf56e0bb4f97390da439cc76af47e.jpg","text":"TemporaryFile(/tmp/multipartBody90517845981315038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144213713,"filename":"image_25042025_23_11_25_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/33ac0507c0e0ec1fe5c0f23c06b4eee6.jpg","text":"TemporaryFile(/tmp/multipartBody8889874513329873092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144213713,"filename":"image_25042025_23_11_55_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355199446","file1":"1355199396","file0":"1355199348","file4":"1355199547","file5":"1355199598","file3":"1355199497"},"map_files_photo_id_array":[{"photo_id":"1355199598","filename":"file5"},{"photo_id":"1355199446","filename":"file2"},{"photo_id":"1355199547","filename":"file4"},{"photo_id":"1355199396","filename":"file1"},{"photo_id":"1355199348","filename":"file0"},{"photo_id":"1355199497","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355199446":["hashtag1","hashtag2"]},{"1355199598":["hashtag1","hashtag2"]},{"1355199547":["hashtag1","hashtag2"]},{"1355199396":["hashtag1","hashtag2"]},{"1355199348":["hashtag1","hashtag2"]},{"1355199497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355199446, 1355199598, 1355199547, 1355199396, 1355199348, 1355199497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.130544900894165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:03:32.408563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/12/image_25042025_23_12_25_9379.jpg', '/home/pi/Desktop/images/25042025/23/12/image_25042025_23_12_35_10373.jpg', '/home/pi/Desktop/images/25042025/23/12/image_25042025_23_12_45_10418.jpg', '/home/pi/Desktop/images/25042025/23/12/image_25042025_23_12_55_9372.jpg', '/home/pi/Desktop/images/25042025/23/12/image_25042025_23_13_05_10442.jpg', '/home/pi/Desktop/images/25042025/23/13/image_25042025_23_13_15_9484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/12/image_25042025_23_12_25_9379.jpg
/home/pi/Desktop/images/25042025/23/12/image_25042025_23_12_35_10373.jpg
/home/pi/Desktop/images/25042025/23/12/image_25042025_23_12_45_10418.jpg
/home/pi/Desktop/images/25042025/23/12/image_25042025_23_12_55_9372.jpg
/home/pi/Desktop/images/25042025/23/12/image_25042025_23_13_05_10442.jpg
/home/pi/Desktop/images/25042025/23/13/image_25042025_23_13_15_9484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355201750","1355201485","1355200826","1355201257","1355201050","1355200579"],"photo_ids_order":["1355200579","1355200826","1355201050","1355201257","1355201485","1355201750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed1c9864ccf164e8d341d43707f4d5c8.jpg","text":"TemporaryFile(/tmp/multipartBody8701053772855247190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144273879,"filename":"image_25042025_23_13_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/5/2/b5a3c9b3491d80d96755569510d9baf2.jpg","text":"TemporaryFile(/tmp/multipartBody4589156562543951854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144273879,"filename":"image_25042025_23_13_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/5/2/8d1c1ce6e9d1a213fad829a6b5ec2867.jpg","text":"TemporaryFile(/tmp/multipartBody1158289791907437244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144273879,"filename":"image_25042025_23_12_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e1dba5c01cf3f2373705002412db02b.jpg","text":"TemporaryFile(/tmp/multipartBody2811339073782047125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144273879,"filename":"image_25042025_23_12_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1ef69203c022c726b116463bdd367b28.jpg","text":"TemporaryFile(/tmp/multipartBody8998714017741849550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144273879,"filename":"image_25042025_23_12_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/29197f08c8e78e0cb3c1e46959779ede.jpg","text":"TemporaryFile(/tmp/multipartBody8206075031691514080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144273879,"filename":"image_25042025_23_12_25_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355201050","file1":"1355200826","file0":"1355200579","file4":"1355201485","file5":"1355201750","file3":"1355201257"},"map_files_photo_id_array":[{"photo_id":"1355201750","filename":"file5"},{"photo_id":"1355201050","filename":"file2"},{"photo_id":"1355201485","filename":"file4"},{"photo_id":"1355200826","filename":"file1"},{"photo_id":"1355200579","filename":"file0"},{"photo_id":"1355201257","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355201750":["hashtag1","hashtag2"]},{"1355201485":["hashtag1","hashtag2"]},{"1355200826":["hashtag1","hashtag2"]},{"1355201257":["hashtag1","hashtag2"]},{"1355201050":["hashtag1","hashtag2"]},{"1355200579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355201750, 1355201485, 1355200826, 1355201257, 1355201050, 1355200579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57082772254944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:04:32.603021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/13/image_25042025_23_13_25_10503.jpg', '/home/pi/Desktop/images/25042025/23/13/image_25042025_23_13_34_9374.jpg', '/home/pi/Desktop/images/25042025/23/13/image_25042025_23_13_44_9907.jpg', '/home/pi/Desktop/images/25042025/23/13/image_25042025_23_14_05_10404.jpg', '/home/pi/Desktop/images/25042025/23/14/image_25042025_23_14_15_9454.jpg', '/home/pi/Desktop/images/25042025/23/14/image_25042025_23_14_45_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/13/image_25042025_23_13_25_10503.jpg
/home/pi/Desktop/images/25042025/23/13/image_25042025_23_13_34_9374.jpg
/home/pi/Desktop/images/25042025/23/13/image_25042025_23_13_44_9907.jpg
/home/pi/Desktop/images/25042025/23/13/image_25042025_23_14_05_10404.jpg
/home/pi/Desktop/images/25042025/23/14/image_25042025_23_14_15_9454.jpg
/home/pi/Desktop/images/25042025/23/14/image_25042025_23_14_45_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355202306","1355202446","1355202353","1355202239","1355202419","1355202264"],"photo_ids_order":["1355202239","1355202264","1355202306","1355202353","1355202419","1355202446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fe393713974ea53e1be78d89236c9b76.jpg","text":"TemporaryFile(/tmp/multipartBody41421814946203900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144334084,"filename":"image_25042025_23_13_44_9907.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f1fdc453c5322da3ee88521e0ec9e64.jpg","text":"TemporaryFile(/tmp/multipartBody7712192928069333308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144334084,"filename":"image_25042025_23_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/5/2/dc918f7e4293a1cbeb36687d6bd56b22.jpg","text":"TemporaryFile(/tmp/multipartBody5403707935021291420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144334084,"filename":"image_25042025_23_14_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cdf8fa1c56e061d85d95c121cb21358f.jpg","text":"TemporaryFile(/tmp/multipartBody1410762288249711905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144334084,"filename":"image_25042025_23_13_25_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8f15b52132b890e6448f3da00813c59.jpg","text":"TemporaryFile(/tmp/multipartBody9207918785425298025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144334084,"filename":"image_25042025_23_14_15_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f98406052fc328ddf0c2e06e93d0c8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4823691246155179867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144334084,"filename":"image_25042025_23_13_34_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355202306","file1":"1355202264","file0":"1355202239","file4":"1355202419","file5":"1355202446","file3":"1355202353"},"map_files_photo_id_array":[{"photo_id":"1355202446","filename":"file5"},{"photo_id":"1355202306","filename":"file2"},{"photo_id":"1355202419","filename":"file4"},{"photo_id":"1355202264","filename":"file1"},{"photo_id":"1355202239","filename":"file0"},{"photo_id":"1355202353","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355202306":["hashtag1","hashtag2"]},{"1355202446":["hashtag1","hashtag2"]},{"1355202353":["hashtag1","hashtag2"]},{"1355202239":["hashtag1","hashtag2"]},{"1355202419":["hashtag1","hashtag2"]},{"1355202264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355202306, 1355202446, 1355202353, 1355202239, 1355202419, 1355202264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13413333892822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:05:32.917216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/14/image_25042025_23_14_55_10373.jpg', '/home/pi/Desktop/images/25042025/23/14/image_25042025_23_15_05_9365.jpg', '/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_15_10425.jpg', '/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_25_9433.jpg', '/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_35_10456.jpg', '/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_44_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/14/image_25042025_23_14_55_10373.jpg
/home/pi/Desktop/images/25042025/23/14/image_25042025_23_15_05_9365.jpg
/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_15_10425.jpg
/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_25_9433.jpg
/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_35_10456.jpg
/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_44_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":["1355202587","1355202545","1355202553","1355202646","1355202547","1355202613"],"photo_ids_order":["1355202545","1355202547","1355202553","1355202587","1355202613","1355202646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6cd5a9b907593bf6814ce39110bcf8f9.jpg","text":"TemporaryFile(/tmp/multipartBody7999061389257207329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144394399,"filename":"image_25042025_23_15_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/5/2/07b08d57770853422394e04387e3fb04.jpg","text":"TemporaryFile(/tmp/multipartBody2067864821953224260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144394399,"filename":"image_25042025_23_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/5/2/aae71a557d52e6f15040741011162517.jpg","text":"TemporaryFile(/tmp/multipartBody7404519019847137530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144394399,"filename":"image_25042025_23_15_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e1f12c69aedb7e04e5146875fba77ac.jpg","text":"TemporaryFile(/tmp/multipartBody4488868641038268534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144394399,"filename":"image_25042025_23_15_44_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f160c03810b944082e3f510da77fe72d.jpg","text":"TemporaryFile(/tmp/multipartBody5594800299507026874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144394399,"filename":"image_25042025_23_15_05_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3068249a21056572d3a90bc758f5a4cd.jpg","text":"TemporaryFile(/tmp/multipartBody7243602960436872749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144394399,"filename":"image_25042025_23_15_35_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355202553","file1":"1355202547","file0":"1355202545","file4":"1355202613","file5":"1355202646","file3":"1355202587"},"map_files_photo_id_array":[{"photo_id":"1355202646","filename":"file5"},{"photo_id":"1355202553","filename":"file2"},{"photo_id":"1355202613","filename":"file4"},{"photo_id":"1355202547","filename":"file1"},{"photo_id":"1355202545","filename":"file0"},{"photo_id":"1355202587","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355202587":["hashtag1","hashtag2"]},{"1355202545":["hashtag1","hashtag2"]},{"1355202553":["hashtag1","hashtag2"]},{"1355202646":["hashtag1","hashtag2"]},{"1355202547":["hashtag1","hashtag2"]},{"1355202613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355202587, 1355202545, 1355202553, 1355202646, 1355202547, 1355202613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.170984745025635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:06:33.099415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_55_10416.jpg', '/home/pi/Desktop/images/25042025/23/15/image_25042025_23_16_05_10430.jpg', '/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_15_9429.jpg', '/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_25_10512.jpg', '/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_34_9367.jpg', '/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_55_10416.jpg
/home/pi/Desktop/images/25042025/23/15/image_25042025_23_16_05_10430.jpg
/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_15_9429.jpg
/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_25_10512.jpg
/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_34_9367.jpg
/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_45_10370.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.420203685760498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 02:06:43.178907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_55_10416.jpg', '/home/pi/Desktop/images/25042025/23/15/image_25042025_23_16_05_10430.jpg', '/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_15_9429.jpg', '/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_25_10512.jpg', '/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_34_9367.jpg', '/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/15/image_25042025_23_15_55_10416.jpg
/home/pi/Desktop/images/25042025/23/15/image_25042025_23_16_05_10430.jpg
/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_15_9429.jpg
/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_25_10512.jpg
/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_34_9367.jpg
/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_45_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":["1355203817","1355203730","1355203582","1355203711","1355203815","1355203685"],"photo_ids_order":["1355203582","1355203685","1355203711","1355203730","1355203815","1355203817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/82789cb130953218562e751e01122291.jpg","text":"TemporaryFile(/tmp/multipartBody5690136368883426032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144463720,"filename":"image_25042025_23_16_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/5/2/94a8825a3848228f53c4090e2fe1c1cc.jpg","text":"TemporaryFile(/tmp/multipartBody2008041470600703092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144463720,"filename":"image_25042025_23_16_25_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d98ffbd17c66eb8b8c1c0457d8531823.jpg","text":"TemporaryFile(/tmp/multipartBody57199019923124017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144463720,"filename":"image_25042025_23_15_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/5/2/22dc0456c951bbf3bc5bf9079c3d3cef.jpg","text":"TemporaryFile(/tmp/multipartBody6365273025562829248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144463720,"filename":"image_25042025_23_16_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/5/2/3d4909e1403c9e77a6b2a9d6f5fab6d9.jpg","text":"TemporaryFile(/tmp/multipartBody1199306499841650852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144463720,"filename":"image_25042025_23_16_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e2317b88ffb236b9650cdda4bb37b47.jpg","text":"TemporaryFile(/tmp/multipartBody8314769185700397291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144463720,"filename":"image_25042025_23_16_05_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355203711","file1":"1355203685","file0":"1355203582","file4":"1355203815","file5":"1355203817","file3":"1355203730"},"map_files_photo_id_array":[{"photo_id":"1355203817","filename":"file5"},{"photo_id":"1355203711","filename":"file2"},{"photo_id":"1355203815","filename":"file4"},{"photo_id":"1355203685","filename":"file1"},{"photo_id":"1355203582","filename":"file0"},{"photo_id":"1355203730","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355203817":["hashtag1","hashtag2"]},{"1355203730":["hashtag1","hashtag2"]},{"1355203582":["hashtag1","hashtag2"]},{"1355203711":["hashtag1","hashtag2"]},{"1355203815":["hashtag1","hashtag2"]},{"1355203685":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355203817, 1355203730, 1355203582, 1355203711, 1355203815, 1355203685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.83060050010681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:07:32.269696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_55_10377.jpg', '/home/pi/Desktop/images/25042025/23/16/image_25042025_23_17_05_9359.jpg', '/home/pi/Desktop/images/25042025/23/17/image_25042025_23_17_15_10489.jpg', '/home/pi/Desktop/images/25042025/23/17/image_25042025_23_17_24_9379.jpg', '/home/pi/Desktop/images/25042025/23/17/image_25042025_23_17_35_10432.jpg', '/home/pi/Desktop/images/25042025/23/17/image_25042025_23_17_45_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/16/image_25042025_23_16_55_10377.jpg
/home/pi/Desktop/images/25042025/23/16/image_25042025_23_17_05_9359.jpg
/home/pi/Desktop/images/25042025/23/17/image_25042025_23_17_15_10489.jpg
/home/pi/Desktop/images/25042025/23/17/image_25042025_23_17_24_9379.jpg
/home/pi/Desktop/images/25042025/23/17/image_25042025_23_17_35_10432.jpg
/home/pi/Desktop/images/25042025/23/17/image_25042025_23_17_45_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355203946","1355203955","1355203949","1355203993","1355203951","1355203982"],"photo_ids_order":["1355203946","1355203949","1355203951","1355203955","1355203982","1355203993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c90a38247a9d966dd37523f3ed4a0577.jpg","text":"TemporaryFile(/tmp/multipartBody1460833100417309434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144513770,"filename":"image_25042025_23_16_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95ba0a7f26a8e31a2f0b929e1e1a51e3.jpg","text":"TemporaryFile(/tmp/multipartBody1724547039314304414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144513770,"filename":"image_25042025_23_17_24_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d2adbd0015b45225d4f593633e82f87d.jpg","text":"TemporaryFile(/tmp/multipartBody1914906077146488869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144513770,"filename":"image_25042025_23_17_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55a151e03489b35772cc3300a4c3e2c3.jpg","text":"TemporaryFile(/tmp/multipartBody6902289764536521853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144513770,"filename":"image_25042025_23_17_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1781bf215b86f2bb2cdf4935506d16c8.jpg","text":"TemporaryFile(/tmp/multipartBody6164528782943563074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144513770,"filename":"image_25042025_23_17_15_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/35e9e7e3e79e1f681cb4f64a5702d7e8.jpg","text":"TemporaryFile(/tmp/multipartBody1780713590379583219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144513770,"filename":"image_25042025_23_17_35_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355203951","file1":"1355203949","file0":"1355203946","file4":"1355203982","file5":"1355203993","file3":"1355203955"},"map_files_photo_id_array":[{"photo_id":"1355203993","filename":"file5"},{"photo_id":"1355203951","filename":"file2"},{"photo_id":"1355203982","filename":"file4"},{"photo_id":"1355203949","filename":"file1"},{"photo_id":"1355203946","filename":"file0"},{"photo_id":"1355203955","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355203946":["hashtag1","hashtag2"]},{"1355203955":["hashtag1","hashtag2"]},{"1355203949":["hashtag1","hashtag2"]},{"1355203993":["hashtag1","hashtag2"]},{"1355203951":["hashtag1","hashtag2"]},{"1355203982":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355203946, 1355203955, 1355203949, 1355203993, 1355203951, 1355203982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.269296169281006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:08:32.528342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/17/image_25042025_23_17_55_9525.jpg', '/home/pi/Desktop/images/25042025/23/18/image_25042025_23_18_15_9402.jpg', '/home/pi/Desktop/images/25042025/23/18/image_25042025_23_18_25_10374.jpg', '/home/pi/Desktop/images/25042025/23/18/image_25042025_23_18_34_9362.jpg', '/home/pi/Desktop/images/25042025/23/18/image_25042025_23_18_45_10366.jpg', '/home/pi/Desktop/images/25042025/23/18/image_25042025_23_18_55_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/17/image_25042025_23_17_55_9525.jpg
/home/pi/Desktop/images/25042025/23/18/image_25042025_23_18_15_9402.jpg
/home/pi/Desktop/images/25042025/23/18/image_25042025_23_18_25_10374.jpg
/home/pi/Desktop/images/25042025/23/18/image_25042025_23_18_34_9362.jpg
/home/pi/Desktop/images/25042025/23/18/image_25042025_23_18_45_10366.jpg
/home/pi/Desktop/images/25042025/23/18/image_25042025_23_18_55_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204048","1355204050","1355204044","1355204046","1355204049","1355204051"],"photo_ids_order":["1355204044","1355204046","1355204048","1355204049","1355204050","1355204051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e86aba0d264c8a8e83d6e4882ead0577.jpg","text":"TemporaryFile(/tmp/multipartBody3905371819220260442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144574002,"filename":"image_25042025_23_18_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/5/2/acd7196ad06efd8695923ca311dbe36a.jpg","text":"TemporaryFile(/tmp/multipartBody6893922609626723114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144574002,"filename":"image_25042025_23_18_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5813301a113936ff9229792a07c62166.jpg","text":"TemporaryFile(/tmp/multipartBody9139129552676776616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144574002,"filename":"image_25042025_23_17_55_9525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/df1fb94838ce3cefffe5b077c451cd4a.jpg","text":"TemporaryFile(/tmp/multipartBody3471398074778817942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144574002,"filename":"image_25042025_23_18_15_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58e99bb709626d91eab2c3af0865f931.jpg","text":"TemporaryFile(/tmp/multipartBody2647668380441087944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144574002,"filename":"image_25042025_23_18_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/5/2/f6317e3067b03b4b1e4d79289caad513.jpg","text":"TemporaryFile(/tmp/multipartBody8524909456257333462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144574002,"filename":"image_25042025_23_18_55_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204048","file1":"1355204046","file0":"1355204044","file4":"1355204050","file5":"1355204051","file3":"1355204049"},"map_files_photo_id_array":[{"photo_id":"1355204051","filename":"file5"},{"photo_id":"1355204048","filename":"file2"},{"photo_id":"1355204050","filename":"file4"},{"photo_id":"1355204046","filename":"file1"},{"photo_id":"1355204044","filename":"file0"},{"photo_id":"1355204049","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204048":["hashtag1","hashtag2"]},{"1355204050":["hashtag1","hashtag2"]},{"1355204044":["hashtag1","hashtag2"]},{"1355204046":["hashtag1","hashtag2"]},{"1355204049":["hashtag1","hashtag2"]},{"1355204051":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204048, 1355204050, 1355204044, 1355204046, 1355204049, 1355204051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24907898902893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:09:32.867256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/18/image_25042025_23_19_04_9350.jpg', '/home/pi/Desktop/images/25042025/23/19/image_25042025_23_19_15_10441.jpg', '/home/pi/Desktop/images/25042025/23/19/image_25042025_23_19_24_9475.jpg', '/home/pi/Desktop/images/25042025/23/19/image_25042025_23_19_35_10489.jpg', '/home/pi/Desktop/images/25042025/23/19/image_25042025_23_19_45_10377.jpg', '/home/pi/Desktop/images/25042025/23/19/image_25042025_23_20_05_10498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/18/image_25042025_23_19_04_9350.jpg
/home/pi/Desktop/images/25042025/23/19/image_25042025_23_19_15_10441.jpg
/home/pi/Desktop/images/25042025/23/19/image_25042025_23_19_24_9475.jpg
/home/pi/Desktop/images/25042025/23/19/image_25042025_23_19_35_10489.jpg
/home/pi/Desktop/images/25042025/23/19/image_25042025_23_19_45_10377.jpg
/home/pi/Desktop/images/25042025/23/19/image_25042025_23_20_05_10498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204074","1355204076","1355204079","1355204070","1355204072","1355204066"],"photo_ids_order":["1355204066","1355204070","1355204072","1355204074","1355204076","1355204079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1bed4e401ace18d47fd2b318534b04d6.jpg","text":"TemporaryFile(/tmp/multipartBody3943915859682119727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144634358,"filename":"image_25042025_23_19_35_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f8ae8f945bf6fddc21321ce8957241c.jpg","text":"TemporaryFile(/tmp/multipartBody5261246643401044910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144634358,"filename":"image_25042025_23_19_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/5/2/00d8d8b93c6a69d0863aac171f164216.jpg","text":"TemporaryFile(/tmp/multipartBody5355169032722468911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144634358,"filename":"image_25042025_23_20_05_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3133f66efd25487dd3efe3dea804505.jpg","text":"TemporaryFile(/tmp/multipartBody3194120444593314744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144634358,"filename":"image_25042025_23_19_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/5/2/d44076528fb13b0e0df30e6b31a988a3.jpg","text":"TemporaryFile(/tmp/multipartBody405820329204687808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144634358,"filename":"image_25042025_23_19_24_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8c958baa322cb43336c3370c14483bf9.jpg","text":"TemporaryFile(/tmp/multipartBody754539666138622410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144634358,"filename":"image_25042025_23_19_04_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204072","file1":"1355204070","file0":"1355204066","file4":"1355204076","file5":"1355204079","file3":"1355204074"},"map_files_photo_id_array":[{"photo_id":"1355204079","filename":"file5"},{"photo_id":"1355204072","filename":"file2"},{"photo_id":"1355204076","filename":"file4"},{"photo_id":"1355204070","filename":"file1"},{"photo_id":"1355204066","filename":"file0"},{"photo_id":"1355204074","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204074":["hashtag1","hashtag2"]},{"1355204076":["hashtag1","hashtag2"]},{"1355204079":["hashtag1","hashtag2"]},{"1355204070":["hashtag1","hashtag2"]},{"1355204072":["hashtag1","hashtag2"]},{"1355204066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204074, 1355204076, 1355204079, 1355204070, 1355204072, 1355204066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.8232696056366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:10:33.019158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/20/image_25042025_23_20_25_10458.jpg', '/home/pi/Desktop/images/25042025/23/20/image_25042025_23_20_34_9375.jpg', '/home/pi/Desktop/images/25042025/23/20/image_25042025_23_20_45_10464.jpg', '/home/pi/Desktop/images/25042025/23/20/image_25042025_23_20_55_10387.jpg', '/home/pi/Desktop/images/25042025/23/20/image_25042025_23_21_05_9375.jpg', '/home/pi/Desktop/images/25042025/23/21/image_25042025_23_21_15_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/20/image_25042025_23_20_25_10458.jpg
/home/pi/Desktop/images/25042025/23/20/image_25042025_23_20_34_9375.jpg
/home/pi/Desktop/images/25042025/23/20/image_25042025_23_20_45_10464.jpg
/home/pi/Desktop/images/25042025/23/20/image_25042025_23_20_55_10387.jpg
/home/pi/Desktop/images/25042025/23/20/image_25042025_23_21_05_9375.jpg
/home/pi/Desktop/images/25042025/23/21/image_25042025_23_21_15_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":["1355204098","1355204102","1355204095","1355204101","1355204100","1355204103"],"photo_ids_order":["1355204095","1355204098","1355204100","1355204101","1355204102","1355204103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f4d607829c66fd01802e0e34d74864d.jpg","text":"TemporaryFile(/tmp/multipartBody8638916751313400284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144694500,"filename":"image_25042025_23_20_34_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/54c60bd5c57343395f941f6673910ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1850777821943443167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144694500,"filename":"image_25042025_23_21_05_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7f4aa253c7d64ebfcf4b876a9f1834fe.jpg","text":"TemporaryFile(/tmp/multipartBody8142635314839763781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144694500,"filename":"image_25042025_23_20_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/5/2/55b07552f2f61407d137b20c2340bb83.jpg","text":"TemporaryFile(/tmp/multipartBody713284867469596170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144694500,"filename":"image_25042025_23_20_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/5/2/b272422c7b1f2dbf12ad2b127b1c25a9.jpg","text":"TemporaryFile(/tmp/multipartBody1417815947082905035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144694500,"filename":"image_25042025_23_20_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/5/2/08f0a92f8b82b537254f0319962a5f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7995276603848119269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144694500,"filename":"image_25042025_23_21_15_10517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204100","file1":"1355204098","file0":"1355204095","file4":"1355204102","file5":"1355204103","file3":"1355204101"},"map_files_photo_id_array":[{"photo_id":"1355204103","filename":"file5"},{"photo_id":"1355204100","filename":"file2"},{"photo_id":"1355204102","filename":"file4"},{"photo_id":"1355204098","filename":"file1"},{"photo_id":"1355204095","filename":"file0"},{"photo_id":"1355204101","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204098":["hashtag1","hashtag2"]},{"1355204102":["hashtag1","hashtag2"]},{"1355204095":["hashtag1","hashtag2"]},{"1355204101":["hashtag1","hashtag2"]},{"1355204100":["hashtag1","hashtag2"]},{"1355204103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204098, 1355204102, 1355204095, 1355204101, 1355204100, 1355204103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55909466743469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:11:32.253641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/21/image_25042025_23_21_25_9412.jpg', '/home/pi/Desktop/images/25042025/23/21/image_25042025_23_21_35_10362.jpg', '/home/pi/Desktop/images/25042025/23/21/image_25042025_23_21_45_10385.jpg', '/home/pi/Desktop/images/25042025/23/21/image_25042025_23_21_55_9381.jpg', '/home/pi/Desktop/images/25042025/23/21/image_25042025_23_22_05_10436.jpg', '/home/pi/Desktop/images/25042025/23/22/image_25042025_23_22_15_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/21/image_25042025_23_21_25_9412.jpg
/home/pi/Desktop/images/25042025/23/21/image_25042025_23_21_35_10362.jpg
/home/pi/Desktop/images/25042025/23/21/image_25042025_23_21_45_10385.jpg
/home/pi/Desktop/images/25042025/23/21/image_25042025_23_21_55_9381.jpg
/home/pi/Desktop/images/25042025/23/21/image_25042025_23_22_05_10436.jpg
/home/pi/Desktop/images/25042025/23/22/image_25042025_23_22_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":["1355204129","1355204122","1355204125","1355204119","1355204127","1355204130"],"photo_ids_order":["1355204119","1355204122","1355204125","1355204127","1355204129","1355204130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6ba30cfce127a5044ce3d1fedf8f836.jpg","text":"TemporaryFile(/tmp/multipartBody3102999340536771768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144753718,"filename":"image_25042025_23_22_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/5/2/59ac95d9c343b3093995bf24d8526dc4.jpg","text":"TemporaryFile(/tmp/multipartBody3256975780929386684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144753718,"filename":"image_25042025_23_21_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/5/2/304021a541b78766d6c36f76c727bd08.jpg","text":"TemporaryFile(/tmp/multipartBody1393356731620867140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144753718,"filename":"image_25042025_23_21_45_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d7e0fc92e14e252056b5aa182d9f038.jpg","text":"TemporaryFile(/tmp/multipartBody5921502115851928341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144753718,"filename":"image_25042025_23_21_25_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/13f6899035e864b0485fa9152538cbd0.jpg","text":"TemporaryFile(/tmp/multipartBody5913896146517002716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144753718,"filename":"image_25042025_23_21_55_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58b0f8ee836d6c49bf6e3abe8cbe45a7.jpg","text":"TemporaryFile(/tmp/multipartBody4006720336155877027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144753718,"filename":"image_25042025_23_22_15_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204125","file1":"1355204122","file0":"1355204119","file4":"1355204129","file5":"1355204130","file3":"1355204127"},"map_files_photo_id_array":[{"photo_id":"1355204130","filename":"file5"},{"photo_id":"1355204125","filename":"file2"},{"photo_id":"1355204129","filename":"file4"},{"photo_id":"1355204122","filename":"file1"},{"photo_id":"1355204119","filename":"file0"},{"photo_id":"1355204127","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204129":["hashtag1","hashtag2"]},{"1355204122":["hashtag1","hashtag2"]},{"1355204125":["hashtag1","hashtag2"]},{"1355204119":["hashtag1","hashtag2"]},{"1355204127":["hashtag1","hashtag2"]},{"1355204130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204129, 1355204122, 1355204125, 1355204119, 1355204127, 1355204130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48677062988281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:12:32.635926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/22/image_25042025_23_22_25_10510.jpg', '/home/pi/Desktop/images/25042025/23/22/image_25042025_23_22_35_9526.jpg', '/home/pi/Desktop/images/25042025/23/22/image_25042025_23_22_45_10481.jpg', '/home/pi/Desktop/images/25042025/23/22/image_25042025_23_22_55_9458.jpg', '/home/pi/Desktop/images/25042025/23/22/image_25042025_23_23_05_10446.jpg', '/home/pi/Desktop/images/25042025/23/23/image_25042025_23_23_14_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/22/image_25042025_23_22_25_10510.jpg
/home/pi/Desktop/images/25042025/23/22/image_25042025_23_22_35_9526.jpg
/home/pi/Desktop/images/25042025/23/22/image_25042025_23_22_45_10481.jpg
/home/pi/Desktop/images/25042025/23/22/image_25042025_23_22_55_9458.jpg
/home/pi/Desktop/images/25042025/23/22/image_25042025_23_23_05_10446.jpg
/home/pi/Desktop/images/25042025/23/23/image_25042025_23_23_14_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":["1355204147","1355204143","1355204146","1355204145","1355204148","1355204144"],"photo_ids_order":["1355204143","1355204144","1355204145","1355204146","1355204147","1355204148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/54efa2a49c4b3abfc12856fa0345cca5.jpg","text":"TemporaryFile(/tmp/multipartBody3094782586718889657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144814115,"filename":"image_25042025_23_23_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/023b0bd059f081c58cfbda59cd4bbe70.jpg","text":"TemporaryFile(/tmp/multipartBody7483132987945397129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144814115,"filename":"image_25042025_23_22_25_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc87f33f698d6ed059724e1b4f824dbd.jpg","text":"TemporaryFile(/tmp/multipartBody6035901962640568478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144814115,"filename":"image_25042025_23_22_55_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a528198fbb745271d85e08d64b52e46.jpg","text":"TemporaryFile(/tmp/multipartBody6046935752466980197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144814115,"filename":"image_25042025_23_22_45_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96d10d9721cfb4c189e4793dd46caff6.jpg","text":"TemporaryFile(/tmp/multipartBody2966928427027753483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144814115,"filename":"image_25042025_23_23_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/5/2/b419645b0e0047ef8eac38434c69e946.jpg","text":"TemporaryFile(/tmp/multipartBody5047106670078383684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144814115,"filename":"image_25042025_23_22_35_9526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204145","file1":"1355204144","file0":"1355204143","file4":"1355204147","file5":"1355204148","file3":"1355204146"},"map_files_photo_id_array":[{"photo_id":"1355204148","filename":"file5"},{"photo_id":"1355204145","filename":"file2"},{"photo_id":"1355204147","filename":"file4"},{"photo_id":"1355204144","filename":"file1"},{"photo_id":"1355204143","filename":"file0"},{"photo_id":"1355204146","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204147":["hashtag1","hashtag2"]},{"1355204143":["hashtag1","hashtag2"]},{"1355204146":["hashtag1","hashtag2"]},{"1355204145":["hashtag1","hashtag2"]},{"1355204148":["hashtag1","hashtag2"]},{"1355204144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204147, 1355204143, 1355204146, 1355204145, 1355204148, 1355204144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48114609718323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:13:32.993967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/23/image_25042025_23_23_25_10457.jpg', '/home/pi/Desktop/images/25042025/23/23/image_25042025_23_23_35_10443.jpg', '/home/pi/Desktop/images/25042025/23/23/image_25042025_23_23_45_9342.jpg', '/home/pi/Desktop/images/25042025/23/24/image_25042025_23_24_24_9374.jpg', '/home/pi/Desktop/images/25042025/23/24/image_25042025_23_24_35_10403.jpg', '/home/pi/Desktop/images/25042025/23/24/image_25042025_23_24_45_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/23/image_25042025_23_23_25_10457.jpg
/home/pi/Desktop/images/25042025/23/23/image_25042025_23_23_35_10443.jpg
/home/pi/Desktop/images/25042025/23/23/image_25042025_23_23_45_9342.jpg
/home/pi/Desktop/images/25042025/23/24/image_25042025_23_24_24_9374.jpg
/home/pi/Desktop/images/25042025/23/24/image_25042025_23_24_35_10403.jpg
/home/pi/Desktop/images/25042025/23/24/image_25042025_23_24_45_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":["1355204170","1355204167","1355204163","1355204169","1355204168","1355204171"],"photo_ids_order":["1355204163","1355204167","1355204168","1355204169","1355204170","1355204171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1fa4ae3a4308d5ad273e58fd4067e4f.jpg","text":"TemporaryFile(/tmp/multipartBody2686255054660459712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144874474,"filename":"image_25042025_23_24_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0aa49cf56791e422ebdb74b9c392ed8b.jpg","text":"TemporaryFile(/tmp/multipartBody900157950694457519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144874474,"filename":"image_25042025_23_23_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/5/2/4ef6671dbe2d72522b0f906d2b7c511f.jpg","text":"TemporaryFile(/tmp/multipartBody7281938394933249931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144874474,"filename":"image_25042025_23_23_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/5/2/2a6150ee94eedb1b9181cd83673416c0.jpg","text":"TemporaryFile(/tmp/multipartBody6625525921410914213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144874474,"filename":"image_25042025_23_24_24_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8409f59ecee87099e3cf19e164303b44.jpg","text":"TemporaryFile(/tmp/multipartBody4431107783002145611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144874474,"filename":"image_25042025_23_23_45_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d570748dad68e4528506e204503d4a0.jpg","text":"TemporaryFile(/tmp/multipartBody5292123533664916497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144874474,"filename":"image_25042025_23_24_45_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204168","file1":"1355204167","file0":"1355204163","file4":"1355204170","file5":"1355204171","file3":"1355204169"},"map_files_photo_id_array":[{"photo_id":"1355204171","filename":"file5"},{"photo_id":"1355204168","filename":"file2"},{"photo_id":"1355204170","filename":"file4"},{"photo_id":"1355204167","filename":"file1"},{"photo_id":"1355204163","filename":"file0"},{"photo_id":"1355204169","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204170":["hashtag1","hashtag2"]},{"1355204167":["hashtag1","hashtag2"]},{"1355204163":["hashtag1","hashtag2"]},{"1355204169":["hashtag1","hashtag2"]},{"1355204168":["hashtag1","hashtag2"]},{"1355204171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204170, 1355204167, 1355204163, 1355204169, 1355204168, 1355204171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10506272315979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:14:33.025775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/25/image_25042025_23_25_14_9437.jpg', '/home/pi/Desktop/images/25042025/23/25/image_25042025_23_25_25_10450.jpg', '/home/pi/Desktop/images/25042025/23/25/image_25042025_23_25_35_10372.jpg', '/home/pi/Desktop/images/25042025/23/25/image_25042025_23_25_45_9373.jpg', '/home/pi/Desktop/images/25042025/23/25/image_25042025_23_25_55_10441.jpg', '/home/pi/Desktop/images/25042025/23/25/image_25042025_23_26_05_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/25/image_25042025_23_25_14_9437.jpg
/home/pi/Desktop/images/25042025/23/25/image_25042025_23_25_25_10450.jpg
/home/pi/Desktop/images/25042025/23/25/image_25042025_23_25_35_10372.jpg
/home/pi/Desktop/images/25042025/23/25/image_25042025_23_25_45_9373.jpg
/home/pi/Desktop/images/25042025/23/25/image_25042025_23_25_55_10441.jpg
/home/pi/Desktop/images/25042025/23/25/image_25042025_23_26_05_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204197","1355204201","1355204196","1355204199","1355204190","1355204195"],"photo_ids_order":["1355204190","1355204195","1355204196","1355204197","1355204199","1355204201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1e991dd1a903fb96aa74cdf6f2c9109e.jpg","text":"TemporaryFile(/tmp/multipartBody917122032030324236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144934501,"filename":"image_25042025_23_25_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/5/2/7e81dc507808dc0c26ac1e448bf07e62.jpg","text":"TemporaryFile(/tmp/multipartBody3729172200445987532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144934501,"filename":"image_25042025_23_26_05_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f65c6ddab8d67fe4f88d5a0300799ee0.jpg","text":"TemporaryFile(/tmp/multipartBody8266918936075163202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144934501,"filename":"image_25042025_23_25_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/5/2/0d536b013e0264e584c97ea2fda920e1.jpg","text":"TemporaryFile(/tmp/multipartBody4440937241776250732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144934501,"filename":"image_25042025_23_25_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/5/2/a521425f659426b880ff6af4c2c432ff.jpg","text":"TemporaryFile(/tmp/multipartBody3845188068281677334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144934501,"filename":"image_25042025_23_25_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/5/2/926597f81792cfd4463b18927759cf26.jpg","text":"TemporaryFile(/tmp/multipartBody8751032643818879790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144934501,"filename":"image_25042025_23_25_25_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204196","file1":"1355204195","file0":"1355204190","file4":"1355204199","file5":"1355204201","file3":"1355204197"},"map_files_photo_id_array":[{"photo_id":"1355204201","filename":"file5"},{"photo_id":"1355204196","filename":"file2"},{"photo_id":"1355204199","filename":"file4"},{"photo_id":"1355204195","filename":"file1"},{"photo_id":"1355204190","filename":"file0"},{"photo_id":"1355204197","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204197":["hashtag1","hashtag2"]},{"1355204201":["hashtag1","hashtag2"]},{"1355204196":["hashtag1","hashtag2"]},{"1355204199":["hashtag1","hashtag2"]},{"1355204190":["hashtag1","hashtag2"]},{"1355204195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204197, 1355204201, 1355204196, 1355204199, 1355204190, 1355204195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05760073661804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:15:32.495883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/26/image_25042025_23_26_15_10361.jpg', '/home/pi/Desktop/images/25042025/23/26/image_25042025_23_26_24_9387.jpg', '/home/pi/Desktop/images/25042025/23/26/image_25042025_23_26_35_10428.jpg', '/home/pi/Desktop/images/25042025/23/26/image_25042025_23_26_45_10401.jpg', '/home/pi/Desktop/images/25042025/23/26/image_25042025_23_26_55_9372.jpg', '/home/pi/Desktop/images/25042025/23/27/image_25042025_23_27_15_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/26/image_25042025_23_26_15_10361.jpg
/home/pi/Desktop/images/25042025/23/26/image_25042025_23_26_24_9387.jpg
/home/pi/Desktop/images/25042025/23/26/image_25042025_23_26_35_10428.jpg
/home/pi/Desktop/images/25042025/23/26/image_25042025_23_26_45_10401.jpg
/home/pi/Desktop/images/25042025/23/26/image_25042025_23_26_55_9372.jpg
/home/pi/Desktop/images/25042025/23/27/image_25042025_23_27_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":["1355204219","1355204215","1355204212","1355204238","1355204232","1355204223"],"photo_ids_order":["1355204212","1355204215","1355204219","1355204223","1355204232","1355204238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56f6c53527c992bcf67018298f866b31.jpg","text":"TemporaryFile(/tmp/multipartBody6918495309406475286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144993978,"filename":"image_25042025_23_26_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/5/2/ed014e814557990eb25513193a6c37a1.jpg","text":"TemporaryFile(/tmp/multipartBody4849620284615052305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144993978,"filename":"image_25042025_23_26_24_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c499089dcbc9e3a26017bd98e4f0bf1.jpg","text":"TemporaryFile(/tmp/multipartBody2921849154217881486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144993978,"filename":"image_25042025_23_26_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/5/2/cf5fb9aada917d0b2583eba683580457.jpg","text":"TemporaryFile(/tmp/multipartBody840332366035645744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144993978,"filename":"image_25042025_23_27_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/5/2/e8d44d7e5d5ebec9210461161832744e.jpg","text":"TemporaryFile(/tmp/multipartBody3279616068656625362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144993978,"filename":"image_25042025_23_26_55_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d79ddc38d43e83ae3cf4116cedea6ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3039426330876503885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746144993978,"filename":"image_25042025_23_26_45_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204219","file1":"1355204215","file0":"1355204212","file4":"1355204232","file5":"1355204238","file3":"1355204223"},"map_files_photo_id_array":[{"photo_id":"1355204238","filename":"file5"},{"photo_id":"1355204219","filename":"file2"},{"photo_id":"1355204232","filename":"file4"},{"photo_id":"1355204215","filename":"file1"},{"photo_id":"1355204212","filename":"file0"},{"photo_id":"1355204223","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204219":["hashtag1","hashtag2"]},{"1355204215":["hashtag1","hashtag2"]},{"1355204212":["hashtag1","hashtag2"]},{"1355204238":["hashtag1","hashtag2"]},{"1355204232":["hashtag1","hashtag2"]},{"1355204223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204219, 1355204215, 1355204212, 1355204238, 1355204232, 1355204223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.104942083358765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:16:32.701640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/27/image_25042025_23_27_25_9506.jpg', '/home/pi/Desktop/images/25042025/23/27/image_25042025_23_27_35_10366.jpg', '/home/pi/Desktop/images/25042025/23/27/image_25042025_23_27_45_9381.jpg', '/home/pi/Desktop/images/25042025/23/27/image_25042025_23_27_55_10363.jpg', '/home/pi/Desktop/images/25042025/23/27/image_25042025_23_28_05_10379.jpg', '/home/pi/Desktop/images/25042025/23/28/image_25042025_23_28_15_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/27/image_25042025_23_27_25_9506.jpg
/home/pi/Desktop/images/25042025/23/27/image_25042025_23_27_35_10366.jpg
/home/pi/Desktop/images/25042025/23/27/image_25042025_23_27_45_9381.jpg
/home/pi/Desktop/images/25042025/23/27/image_25042025_23_27_55_10363.jpg
/home/pi/Desktop/images/25042025/23/27/image_25042025_23_28_05_10379.jpg
/home/pi/Desktop/images/25042025/23/28/image_25042025_23_28_15_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204252","1355204257","1355204259","1355204250","1355204255","1355204249"],"photo_ids_order":["1355204249","1355204250","1355204252","1355204255","1355204257","1355204259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55fbbff17fc25b1538ff48d94a4ecfaa.jpg","text":"TemporaryFile(/tmp/multipartBody408520649451553381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145054172,"filename":"image_25042025_23_27_45_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d5b728d3e6db042aaf362ad1ac93a7e.jpg","text":"TemporaryFile(/tmp/multipartBody1032717927038841228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145054172,"filename":"image_25042025_23_28_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/5/2/1bd324bf597740b50e9ff16b0af30784.jpg","text":"TemporaryFile(/tmp/multipartBody4783160046674894461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145054172,"filename":"image_25042025_23_28_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/447fed1f1a633c11abc10ca12402469a.jpg","text":"TemporaryFile(/tmp/multipartBody8600948545440422548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145054172,"filename":"image_25042025_23_27_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b11144cb697e5b279e39ddd50788286.jpg","text":"TemporaryFile(/tmp/multipartBody2434746727211370475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145054172,"filename":"image_25042025_23_27_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/5/2/d273da21618cb35671f324e9c88434cc.jpg","text":"TemporaryFile(/tmp/multipartBody6630711947851101229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145054172,"filename":"image_25042025_23_27_25_9506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204252","file1":"1355204250","file0":"1355204249","file4":"1355204257","file5":"1355204259","file3":"1355204255"},"map_files_photo_id_array":[{"photo_id":"1355204259","filename":"file5"},{"photo_id":"1355204252","filename":"file2"},{"photo_id":"1355204257","filename":"file4"},{"photo_id":"1355204250","filename":"file1"},{"photo_id":"1355204249","filename":"file0"},{"photo_id":"1355204255","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204252":["hashtag1","hashtag2"]},{"1355204257":["hashtag1","hashtag2"]},{"1355204259":["hashtag1","hashtag2"]},{"1355204250":["hashtag1","hashtag2"]},{"1355204255":["hashtag1","hashtag2"]},{"1355204249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204252, 1355204257, 1355204259, 1355204250, 1355204255, 1355204249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24882483482361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:17:32.950388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/28/image_25042025_23_28_25_10457.jpg', '/home/pi/Desktop/images/25042025/23/28/image_25042025_23_28_35_9398.jpg', '/home/pi/Desktop/images/25042025/23/28/image_25042025_23_28_55_10386.jpg', '/home/pi/Desktop/images/25042025/23/28/image_25042025_23_29_05_9357.jpg', '/home/pi/Desktop/images/25042025/23/29/image_25042025_23_29_15_10478.jpg', '/home/pi/Desktop/images/25042025/23/29/image_25042025_23_29_25_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/28/image_25042025_23_28_25_10457.jpg
/home/pi/Desktop/images/25042025/23/28/image_25042025_23_28_35_9398.jpg
/home/pi/Desktop/images/25042025/23/28/image_25042025_23_28_55_10386.jpg
/home/pi/Desktop/images/25042025/23/28/image_25042025_23_29_05_9357.jpg
/home/pi/Desktop/images/25042025/23/29/image_25042025_23_29_15_10478.jpg
/home/pi/Desktop/images/25042025/23/29/image_25042025_23_29_25_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":["1355204281","1355204272","1355204275","1355204277","1355204282","1355204279"],"photo_ids_order":["1355204272","1355204275","1355204277","1355204279","1355204281","1355204282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fef87acfacc92ee267ee6996119d3d30.jpg","text":"TemporaryFile(/tmp/multipartBody4606222567059354341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145114421,"filename":"image_25042025_23_29_15_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/48e8dd5189c8ceed1900175a4df38b3d.jpg","text":"TemporaryFile(/tmp/multipartBody6002796088982967379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145114421,"filename":"image_25042025_23_28_25_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c38af11bbc17d5be2af6c3c090959a6.jpg","text":"TemporaryFile(/tmp/multipartBody3757765341514892748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145114421,"filename":"image_25042025_23_28_35_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c176c1321ac3f3f1dae81244edf121f4.jpg","text":"TemporaryFile(/tmp/multipartBody2344131024100363614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145114421,"filename":"image_25042025_23_28_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/5/2/e9b8e2ecfdd2b9e6ce3beb7a5dec1722.jpg","text":"TemporaryFile(/tmp/multipartBody8799401407629463750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145114421,"filename":"image_25042025_23_29_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/5/2/d3f90049eb5297386caa2038828306b7.jpg","text":"TemporaryFile(/tmp/multipartBody6530804117248851697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145114421,"filename":"image_25042025_23_29_05_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204277","file1":"1355204275","file0":"1355204272","file4":"1355204281","file5":"1355204282","file3":"1355204279"},"map_files_photo_id_array":[{"photo_id":"1355204282","filename":"file5"},{"photo_id":"1355204277","filename":"file2"},{"photo_id":"1355204281","filename":"file4"},{"photo_id":"1355204275","filename":"file1"},{"photo_id":"1355204272","filename":"file0"},{"photo_id":"1355204279","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204281":["hashtag1","hashtag2"]},{"1355204272":["hashtag1","hashtag2"]},{"1355204275":["hashtag1","hashtag2"]},{"1355204277":["hashtag1","hashtag2"]},{"1355204282":["hashtag1","hashtag2"]},{"1355204279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204281, 1355204272, 1355204275, 1355204277, 1355204282, 1355204279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.897560358047485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:18:33.178346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/29/image_25042025_23_29_35_10364.jpg', '/home/pi/Desktop/images/25042025/23/29/image_25042025_23_29_45_10408.jpg', '/home/pi/Desktop/images/25042025/23/29/image_25042025_23_29_55_9366.jpg', '/home/pi/Desktop/images/25042025/23/29/image_25042025_23_30_05_10343.jpg', '/home/pi/Desktop/images/25042025/23/30/image_25042025_23_30_14_9393.jpg', '/home/pi/Desktop/images/25042025/23/30/image_25042025_23_30_25_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/29/image_25042025_23_29_35_10364.jpg
/home/pi/Desktop/images/25042025/23/29/image_25042025_23_29_45_10408.jpg
/home/pi/Desktop/images/25042025/23/29/image_25042025_23_29_55_9366.jpg
/home/pi/Desktop/images/25042025/23/29/image_25042025_23_30_05_10343.jpg
/home/pi/Desktop/images/25042025/23/30/image_25042025_23_30_14_9393.jpg
/home/pi/Desktop/images/25042025/23/30/image_25042025_23_30_25_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":["1355204299","1355204292","1355204295","1355204289","1355204301","1355204297"],"photo_ids_order":["1355204289","1355204292","1355204295","1355204297","1355204299","1355204301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28f7daaf7540bc9aa7e95992b32ed8df.jpg","text":"TemporaryFile(/tmp/multipartBody6123750002996512172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145174658,"filename":"image_25042025_23_30_14_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed1ab4428dbb0692f0f8bc2ff23d6815.jpg","text":"TemporaryFile(/tmp/multipartBody6540166090236300012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145174658,"filename":"image_25042025_23_29_45_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/034f9e092bd2f529dc248752447cb6f8.jpg","text":"TemporaryFile(/tmp/multipartBody3793135924410217107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145174658,"filename":"image_25042025_23_29_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/5/2/50ff205e668788be6c335dfb353b615e.jpg","text":"TemporaryFile(/tmp/multipartBody7449528721026286229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145174658,"filename":"image_25042025_23_29_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/5/2/2e8556b28ca08a643bbd99bef2905dd6.jpg","text":"TemporaryFile(/tmp/multipartBody2692568572209094918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145174658,"filename":"image_25042025_23_30_25_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db0a74da7d578713272155fdb67f51f4.jpg","text":"TemporaryFile(/tmp/multipartBody5471406571144875239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145174658,"filename":"image_25042025_23_30_05_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204295","file1":"1355204292","file0":"1355204289","file4":"1355204299","file5":"1355204301","file3":"1355204297"},"map_files_photo_id_array":[{"photo_id":"1355204301","filename":"file5"},{"photo_id":"1355204295","filename":"file2"},{"photo_id":"1355204299","filename":"file4"},{"photo_id":"1355204292","filename":"file1"},{"photo_id":"1355204289","filename":"file0"},{"photo_id":"1355204297","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204299":["hashtag1","hashtag2"]},{"1355204292":["hashtag1","hashtag2"]},{"1355204295":["hashtag1","hashtag2"]},{"1355204289":["hashtag1","hashtag2"]},{"1355204301":["hashtag1","hashtag2"]},{"1355204297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204299, 1355204292, 1355204295, 1355204289, 1355204301, 1355204297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23140621185303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:19:32.385890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/30/image_25042025_23_30_35_10363.jpg', '/home/pi/Desktop/images/25042025/23/30/image_25042025_23_30_45_9353.jpg', '/home/pi/Desktop/images/25042025/23/30/image_25042025_23_30_55_10385.jpg', '/home/pi/Desktop/images/25042025/23/30/image_25042025_23_31_04_9414.jpg', '/home/pi/Desktop/images/25042025/23/31/image_25042025_23_31_15_10489.jpg', '/home/pi/Desktop/images/25042025/23/31/image_25042025_23_31_25_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/30/image_25042025_23_30_35_10363.jpg
/home/pi/Desktop/images/25042025/23/30/image_25042025_23_30_45_9353.jpg
/home/pi/Desktop/images/25042025/23/30/image_25042025_23_30_55_10385.jpg
/home/pi/Desktop/images/25042025/23/30/image_25042025_23_31_04_9414.jpg
/home/pi/Desktop/images/25042025/23/31/image_25042025_23_31_15_10489.jpg
/home/pi/Desktop/images/25042025/23/31/image_25042025_23_31_25_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204318","1355204320","1355204310","1355204313","1355204322","1355204316"],"photo_ids_order":["1355204310","1355204313","1355204316","1355204318","1355204320","1355204322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6a218688c19a1d854b4dfd04100851d.jpg","text":"TemporaryFile(/tmp/multipartBody255324032431601060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145233872,"filename":"image_25042025_23_31_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/5/2/c3c3f881b62b6a85adf8b98beb97e67b.jpg","text":"TemporaryFile(/tmp/multipartBody4438138463258489509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145233872,"filename":"image_25042025_23_31_15_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d469675a4c451925015da60e23f3d4f.jpg","text":"TemporaryFile(/tmp/multipartBody5347404356469016403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145233872,"filename":"image_25042025_23_30_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/5/2/a09e12d1c0935c7c3b5a74b9e92b250d.jpg","text":"TemporaryFile(/tmp/multipartBody4418082466181114100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145233872,"filename":"image_25042025_23_30_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/5/2/974fa284d06d3b47af3eb49ebd0ee839.jpg","text":"TemporaryFile(/tmp/multipartBody6800718146670651051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145233872,"filename":"image_25042025_23_31_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce0d0ddd0c9611aecc234feddd9c7b95.jpg","text":"TemporaryFile(/tmp/multipartBody4868044544877850597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145233872,"filename":"image_25042025_23_30_55_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204316","file1":"1355204313","file0":"1355204310","file4":"1355204320","file5":"1355204322","file3":"1355204318"},"map_files_photo_id_array":[{"photo_id":"1355204322","filename":"file5"},{"photo_id":"1355204316","filename":"file2"},{"photo_id":"1355204320","filename":"file4"},{"photo_id":"1355204313","filename":"file1"},{"photo_id":"1355204310","filename":"file0"},{"photo_id":"1355204318","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204318":["hashtag1","hashtag2"]},{"1355204320":["hashtag1","hashtag2"]},{"1355204310":["hashtag1","hashtag2"]},{"1355204313":["hashtag1","hashtag2"]},{"1355204322":["hashtag1","hashtag2"]},{"1355204316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204318, 1355204320, 1355204310, 1355204313, 1355204322, 1355204316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.34798002243042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:20:32.633362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/31/image_25042025_23_31_35_9413.jpg', '/home/pi/Desktop/images/25042025/23/31/image_25042025_23_31_45_10432.jpg', '/home/pi/Desktop/images/25042025/23/31/image_25042025_23_31_55_9362.jpg', '/home/pi/Desktop/images/25042025/23/31/image_25042025_23_32_05_10426.jpg', '/home/pi/Desktop/images/25042025/23/32/image_25042025_23_32_15_10406.jpg', '/home/pi/Desktop/images/25042025/23/32/image_25042025_23_32_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/31/image_25042025_23_31_35_9413.jpg
/home/pi/Desktop/images/25042025/23/31/image_25042025_23_31_45_10432.jpg
/home/pi/Desktop/images/25042025/23/31/image_25042025_23_31_55_9362.jpg
/home/pi/Desktop/images/25042025/23/31/image_25042025_23_32_05_10426.jpg
/home/pi/Desktop/images/25042025/23/32/image_25042025_23_32_15_10406.jpg
/home/pi/Desktop/images/25042025/23/32/image_25042025_23_32_25_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204350","1355204341","1355204338","1355204343","1355204346","1355204348"],"photo_ids_order":["1355204338","1355204341","1355204343","1355204346","1355204348","1355204350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/622c14e1cafa11b0d8a178f2cdaa10c5.jpg","text":"TemporaryFile(/tmp/multipartBody1352810947349330875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145294100,"filename":"image_25042025_23_32_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/5/2/73096c1680a928668cd8697fdafb375a.jpg","text":"TemporaryFile(/tmp/multipartBody856031186882766392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145294100,"filename":"image_25042025_23_31_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/5/2/58279d7ea6c92d3b43f454c50f5ded91.jpg","text":"TemporaryFile(/tmp/multipartBody2667157110691234106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145294100,"filename":"image_25042025_23_31_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f4ffffa0bbaf75297222a1e081c6236b.jpg","text":"TemporaryFile(/tmp/multipartBody5133121718297731348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145294100,"filename":"image_25042025_23_31_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/141d99212ea1537d57a68d02e1919736.jpg","text":"TemporaryFile(/tmp/multipartBody7071103413690006628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145294100,"filename":"image_25042025_23_32_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e46f617dcc812213e4ab54da23829625.jpg","text":"TemporaryFile(/tmp/multipartBody8875401697959043490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145294100,"filename":"image_25042025_23_32_15_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204343","file1":"1355204341","file0":"1355204338","file4":"1355204348","file5":"1355204350","file3":"1355204346"},"map_files_photo_id_array":[{"photo_id":"1355204350","filename":"file5"},{"photo_id":"1355204343","filename":"file2"},{"photo_id":"1355204348","filename":"file4"},{"photo_id":"1355204341","filename":"file1"},{"photo_id":"1355204338","filename":"file0"},{"photo_id":"1355204346","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204350":["hashtag1","hashtag2"]},{"1355204341":["hashtag1","hashtag2"]},{"1355204338":["hashtag1","hashtag2"]},{"1355204343":["hashtag1","hashtag2"]},{"1355204346":["hashtag1","hashtag2"]},{"1355204348":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204350, 1355204341, 1355204338, 1355204343, 1355204346, 1355204348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26633930206299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:21:32.895009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/32/image_25042025_23_32_35_10402.jpg', '/home/pi/Desktop/images/25042025/23/32/image_25042025_23_32_45_9435.jpg', '/home/pi/Desktop/images/25042025/23/33/image_25042025_23_33_15_9425.jpg', '/home/pi/Desktop/images/25042025/23/33/image_25042025_23_33_25_10446.jpg', '/home/pi/Desktop/images/25042025/23/33/image_25042025_23_33_35_9364.jpg', '/home/pi/Desktop/images/25042025/23/33/image_25042025_23_33_45_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/32/image_25042025_23_32_35_10402.jpg
/home/pi/Desktop/images/25042025/23/32/image_25042025_23_32_45_9435.jpg
/home/pi/Desktop/images/25042025/23/33/image_25042025_23_33_15_9425.jpg
/home/pi/Desktop/images/25042025/23/33/image_25042025_23_33_25_10446.jpg
/home/pi/Desktop/images/25042025/23/33/image_25042025_23_33_35_9364.jpg
/home/pi/Desktop/images/25042025/23/33/image_25042025_23_33_45_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":["1355204373","1355204370","1355204364","1355204372","1355204366","1355204369"],"photo_ids_order":["1355204364","1355204366","1355204369","1355204370","1355204372","1355204373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96c3c027900e5f93b5dc42994ab02cb2.jpg","text":"TemporaryFile(/tmp/multipartBody4525354437932382548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145354377,"filename":"image_25042025_23_33_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ef7eb462190bc7dfab0cd12c5a444083.jpg","text":"TemporaryFile(/tmp/multipartBody7819971595802456895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145354377,"filename":"image_25042025_23_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/5/2/91f6fa818ffc886e41dbe1e64ec7f755.jpg","text":"TemporaryFile(/tmp/multipartBody169210529889579970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145354377,"filename":"image_25042025_23_32_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/5/2/7e8e117f8bf877bff862b8dc18126415.jpg","text":"TemporaryFile(/tmp/multipartBody4695835976609214581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145354377,"filename":"image_25042025_23_33_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/5/2/0e663b25ed2a41bcb2ef280263dbe7f7.jpg","text":"TemporaryFile(/tmp/multipartBody8827088934890401902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145354377,"filename":"image_25042025_23_32_45_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/002a85290fa42342fd18cc6c0f5e11cc.jpg","text":"TemporaryFile(/tmp/multipartBody6726676535214612353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145354377,"filename":"image_25042025_23_33_15_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204369","file1":"1355204366","file0":"1355204364","file4":"1355204372","file5":"1355204373","file3":"1355204370"},"map_files_photo_id_array":[{"photo_id":"1355204373","filename":"file5"},{"photo_id":"1355204369","filename":"file2"},{"photo_id":"1355204372","filename":"file4"},{"photo_id":"1355204366","filename":"file1"},{"photo_id":"1355204364","filename":"file0"},{"photo_id":"1355204370","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204373":["hashtag1","hashtag2"]},{"1355204370":["hashtag1","hashtag2"]},{"1355204364":["hashtag1","hashtag2"]},{"1355204372":["hashtag1","hashtag2"]},{"1355204366":["hashtag1","hashtag2"]},{"1355204369":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204373, 1355204370, 1355204364, 1355204372, 1355204366, 1355204369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33734965324402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:22:33.055062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/33/image_25042025_23_33_55_10370.jpg', '/home/pi/Desktop/images/25042025/23/33/image_25042025_23_34_05_9355.jpg', '/home/pi/Desktop/images/25042025/23/34/image_25042025_23_34_24_9385.jpg', '/home/pi/Desktop/images/25042025/23/34/image_25042025_23_34_35_10460.jpg', '/home/pi/Desktop/images/25042025/23/34/image_25042025_23_34_44_9410.jpg', '/home/pi/Desktop/images/25042025/23/34/image_25042025_23_34_55_10841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/33/image_25042025_23_33_55_10370.jpg
/home/pi/Desktop/images/25042025/23/33/image_25042025_23_34_05_9355.jpg
/home/pi/Desktop/images/25042025/23/34/image_25042025_23_34_24_9385.jpg
/home/pi/Desktop/images/25042025/23/34/image_25042025_23_34_35_10460.jpg
/home/pi/Desktop/images/25042025/23/34/image_25042025_23_34_44_9410.jpg
/home/pi/Desktop/images/25042025/23/34/image_25042025_23_34_55_10841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204395","1355204389","1355204383","1355204392","1355204397","1355204385"],"photo_ids_order":["1355204383","1355204385","1355204389","1355204392","1355204395","1355204397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5e619fcab8f1c116cba1b3694accc9ce.jpg","text":"TemporaryFile(/tmp/multipartBody8498717300833150359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145414560,"filename":"image_25042025_23_34_44_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae967182a8f28f2bc52eaad6992d002e.jpg","text":"TemporaryFile(/tmp/multipartBody8886042211704951364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145414560,"filename":"image_25042025_23_34_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/5/2/0dd52ded631c2d95a2ef8c9b3eba615d.jpg","text":"TemporaryFile(/tmp/multipartBody2627504743412333450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145414560,"filename":"image_25042025_23_33_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/5/2/e1ee12e8e37693ed7bf0533ca0148e2b.jpg","text":"TemporaryFile(/tmp/multipartBody7908730689208727024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145414560,"filename":"image_25042025_23_34_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/5/2/643e9104091b9c7a864c6d9d9f779671.jpg","text":"TemporaryFile(/tmp/multipartBody5571706549567722398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145414560,"filename":"image_25042025_23_34_55_10841.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a97b4657f5736bf49ecd2e835e98a4b8.jpg","text":"TemporaryFile(/tmp/multipartBody3391053250796101922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145414560,"filename":"image_25042025_23_34_05_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204389","file1":"1355204385","file0":"1355204383","file4":"1355204395","file5":"1355204397","file3":"1355204392"},"map_files_photo_id_array":[{"photo_id":"1355204397","filename":"file5"},{"photo_id":"1355204389","filename":"file2"},{"photo_id":"1355204395","filename":"file4"},{"photo_id":"1355204385","filename":"file1"},{"photo_id":"1355204383","filename":"file0"},{"photo_id":"1355204392","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204395":["hashtag1","hashtag2"]},{"1355204389":["hashtag1","hashtag2"]},{"1355204383":["hashtag1","hashtag2"]},{"1355204392":["hashtag1","hashtag2"]},{"1355204397":["hashtag1","hashtag2"]},{"1355204385":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204395, 1355204389, 1355204383, 1355204392, 1355204397, 1355204385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.406100273132324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:23:32.289489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/34/image_25042025_23_35_05_9377.jpg', '/home/pi/Desktop/images/25042025/23/35/image_25042025_23_35_15_10424.jpg', '/home/pi/Desktop/images/25042025/23/35/image_25042025_23_35_35_10417.jpg', '/home/pi/Desktop/images/25042025/23/35/image_25042025_23_35_45_10454.jpg', '/home/pi/Desktop/images/25042025/23/35/image_25042025_23_35_55_9409.jpg', '/home/pi/Desktop/images/25042025/23/35/image_25042025_23_36_05_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/34/image_25042025_23_35_05_9377.jpg
/home/pi/Desktop/images/25042025/23/35/image_25042025_23_35_15_10424.jpg
/home/pi/Desktop/images/25042025/23/35/image_25042025_23_35_35_10417.jpg
/home/pi/Desktop/images/25042025/23/35/image_25042025_23_35_45_10454.jpg
/home/pi/Desktop/images/25042025/23/35/image_25042025_23_35_55_9409.jpg
/home/pi/Desktop/images/25042025/23/35/image_25042025_23_36_05_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":["1355204417","1355204413","1355204410","1355204418","1355204406","1355204415"],"photo_ids_order":["1355204406","1355204410","1355204413","1355204415","1355204417","1355204418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7489bf38ddad60864af03743765c37cd.jpg","text":"TemporaryFile(/tmp/multipartBody6024163012703515260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145473760,"filename":"image_25042025_23_35_55_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97dadaf5561b1dd2e25a703595a5e5ac.jpg","text":"TemporaryFile(/tmp/multipartBody5241455416567040218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145473760,"filename":"image_25042025_23_35_35_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d014e5773b8cd170d7cfdcb1bdbd60a.jpg","text":"TemporaryFile(/tmp/multipartBody6758886701241075322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145473760,"filename":"image_25042025_23_35_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/5/2/11effa11d90a019245efe470221bf13a.jpg","text":"TemporaryFile(/tmp/multipartBody1295580544989362063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145473760,"filename":"image_25042025_23_36_05_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0e01bbe18480830ffa9588a0f87dddd4.jpg","text":"TemporaryFile(/tmp/multipartBody3060445269126456317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145473760,"filename":"image_25042025_23_35_05_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84a9302189fecfbf76c55eb6276a62ec.jpg","text":"TemporaryFile(/tmp/multipartBody1508105510504646758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145473760,"filename":"image_25042025_23_35_45_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204413","file1":"1355204410","file0":"1355204406","file4":"1355204417","file5":"1355204418","file3":"1355204415"},"map_files_photo_id_array":[{"photo_id":"1355204418","filename":"file5"},{"photo_id":"1355204413","filename":"file2"},{"photo_id":"1355204417","filename":"file4"},{"photo_id":"1355204410","filename":"file1"},{"photo_id":"1355204406","filename":"file0"},{"photo_id":"1355204415","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204417":["hashtag1","hashtag2"]},{"1355204413":["hashtag1","hashtag2"]},{"1355204410":["hashtag1","hashtag2"]},{"1355204418":["hashtag1","hashtag2"]},{"1355204406":["hashtag1","hashtag2"]},{"1355204415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204417, 1355204413, 1355204410, 1355204418, 1355204406, 1355204415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.014289617538452 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:24:32.395963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_15_9437.jpg', '/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_35_10385.jpg', '/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_45_9366.jpg', '/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_55_10363.jpg', '/home/pi/Desktop/images/25042025/23/36/image_25042025_23_37_04_9386.jpg', '/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_15_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_15_9437.jpg
/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_35_10385.jpg
/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_45_9366.jpg
/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_55_10363.jpg
/home/pi/Desktop/images/25042025/23/36/image_25042025_23_37_04_9386.jpg
/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_15_10558.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3875916004180908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 02:24:42.547157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_15_9437.jpg', '/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_35_10385.jpg', '/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_45_9366.jpg', '/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_55_10363.jpg', '/home/pi/Desktop/images/25042025/23/36/image_25042025_23_37_04_9386.jpg', '/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_15_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_15_9437.jpg
/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_35_10385.jpg
/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_45_9366.jpg
/home/pi/Desktop/images/25042025/23/36/image_25042025_23_36_55_10363.jpg
/home/pi/Desktop/images/25042025/23/36/image_25042025_23_37_04_9386.jpg
/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_15_10558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204452","1355204455","1355204449","1355204440","1355204457","1355204445"],"photo_ids_order":["1355204440","1355204445","1355204449","1355204452","1355204455","1355204457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ada565c34df4fb4322d387564a9b7651.jpg","text":"TemporaryFile(/tmp/multipartBody2329961066430540903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145543088,"filename":"image_25042025_23_36_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/5/2/9585d03c14955402019da50144479436.jpg","text":"TemporaryFile(/tmp/multipartBody4927302932748030157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145543088,"filename":"image_25042025_23_37_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/5/2/0ce0fce8239c966447e8018eb8fc9986.jpg","text":"TemporaryFile(/tmp/multipartBody4574300903842759026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145543088,"filename":"image_25042025_23_36_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/60e89502cd25d2472709abe0a264ec59.jpg","text":"TemporaryFile(/tmp/multipartBody5818231826189417843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145543088,"filename":"image_25042025_23_36_15_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e7527487bbfa2bcfe22061f3ee74c37e.jpg","text":"TemporaryFile(/tmp/multipartBody7039059316852516622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145543088,"filename":"image_25042025_23_37_15_10558.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b4d7704c3d48075d3717119109269130.jpg","text":"TemporaryFile(/tmp/multipartBody6819512673913899263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145543088,"filename":"image_25042025_23_36_35_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204449","file1":"1355204445","file0":"1355204440","file4":"1355204455","file5":"1355204457","file3":"1355204452"},"map_files_photo_id_array":[{"photo_id":"1355204457","filename":"file5"},{"photo_id":"1355204449","filename":"file2"},{"photo_id":"1355204455","filename":"file4"},{"photo_id":"1355204445","filename":"file1"},{"photo_id":"1355204440","filename":"file0"},{"photo_id":"1355204452","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204452":["hashtag1","hashtag2"]},{"1355204455":["hashtag1","hashtag2"]},{"1355204449":["hashtag1","hashtag2"]},{"1355204440":["hashtag1","hashtag2"]},{"1355204457":["hashtag1","hashtag2"]},{"1355204445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204452, 1355204455, 1355204449, 1355204440, 1355204457, 1355204445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.665892362594604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:25:32.612530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_24_9360.jpg', '/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_35_10416.jpg', '/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_45_10378.jpg', '/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_55_9390.jpg', '/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_14_9420.jpg', '/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_25_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_24_9360.jpg
/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_35_10416.jpg
/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_45_10378.jpg
/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_55_9390.jpg
/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_14_9420.jpg
/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_25_10427.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4000983238220215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 02:25:42.641840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_24_9360.jpg', '/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_35_10416.jpg', '/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_45_10378.jpg', '/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_55_9390.jpg', '/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_14_9420.jpg', '/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_25_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_24_9360.jpg
/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_35_10416.jpg
/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_45_10378.jpg
/home/pi/Desktop/images/25042025/23/37/image_25042025_23_37_55_9390.jpg
/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_14_9420.jpg
/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_25_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204482","1355204472","1355204481","1355204484","1355204478","1355204483"],"photo_ids_order":["1355204472","1355204478","1355204481","1355204482","1355204483","1355204484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a65ea725cfdf6529f8d7865c9328013.jpg","text":"TemporaryFile(/tmp/multipartBody2149713284478984091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145603177,"filename":"image_25042025_23_37_55_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6ec3b7b12c1a9525672215f1e8426ae5.jpg","text":"TemporaryFile(/tmp/multipartBody4765809388313870940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145603177,"filename":"image_25042025_23_37_24_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/326d8649596be2eee57c5e726bcb7765.jpg","text":"TemporaryFile(/tmp/multipartBody438490689305245000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145603177,"filename":"image_25042025_23_37_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf39423f13b1c0dff83889eb436e114f.jpg","text":"TemporaryFile(/tmp/multipartBody1961061104422956711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145603177,"filename":"image_25042025_23_38_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/5/2/4af86abeb86e3a3fefac777f76eefbef.jpg","text":"TemporaryFile(/tmp/multipartBody69927089057514912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145603177,"filename":"image_25042025_23_37_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/5/2/aa2d864c6cb58339a7d07251d5031346.jpg","text":"TemporaryFile(/tmp/multipartBody3332138539814242737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145603177,"filename":"image_25042025_23_38_14_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204481","file1":"1355204478","file0":"1355204472","file4":"1355204483","file5":"1355204484","file3":"1355204482"},"map_files_photo_id_array":[{"photo_id":"1355204484","filename":"file5"},{"photo_id":"1355204481","filename":"file2"},{"photo_id":"1355204483","filename":"file4"},{"photo_id":"1355204478","filename":"file1"},{"photo_id":"1355204472","filename":"file0"},{"photo_id":"1355204482","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204482":["hashtag1","hashtag2"]},{"1355204472":["hashtag1","hashtag2"]},{"1355204481":["hashtag1","hashtag2"]},{"1355204484":["hashtag1","hashtag2"]},{"1355204478":["hashtag1","hashtag2"]},{"1355204483":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204482, 1355204472, 1355204481, 1355204484, 1355204478, 1355204483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.240705251693726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:26:32.792710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_35_10390.jpg', '/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_55_10376.jpg', '/home/pi/Desktop/images/25042025/23/38/image_25042025_23_39_04_9346.jpg', '/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_15_10504.jpg', '/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_24_9374.jpg', '/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_35_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_35_10390.jpg
/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_55_10376.jpg
/home/pi/Desktop/images/25042025/23/38/image_25042025_23_39_04_9346.jpg
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_15_10504.jpg
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_24_9374.jpg
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_35_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4009363651275635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 02:26:42.941680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_35_10390.jpg', '/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_55_10376.jpg', '/home/pi/Desktop/images/25042025/23/38/image_25042025_23_39_04_9346.jpg', '/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_15_10504.jpg', '/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_24_9374.jpg', '/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_35_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_35_10390.jpg
/home/pi/Desktop/images/25042025/23/38/image_25042025_23_38_55_10376.jpg
/home/pi/Desktop/images/25042025/23/38/image_25042025_23_39_04_9346.jpg
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_15_10504.jpg
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_24_9374.jpg
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_35_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":["1355204507","1355204506","1355204509","1355204499","1355204503","1355204508"],"photo_ids_order":["1355204499","1355204503","1355204506","1355204507","1355204508","1355204509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f53ddec9636523795408b941b3353af.jpg","text":"TemporaryFile(/tmp/multipartBody4906614071764147263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145663505,"filename":"image_25042025_23_39_15_10504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d6941a56d3d60193810a24b977c7d924.jpg","text":"TemporaryFile(/tmp/multipartBody5452372293578078096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145663505,"filename":"image_25042025_23_39_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/5/2/8a6f56c1152fa315c3baa34eb3b1f204.jpg","text":"TemporaryFile(/tmp/multipartBody4939841568811999897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145663505,"filename":"image_25042025_23_39_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c9d66eab6b999e5bee0b38281f6be2f.jpg","text":"TemporaryFile(/tmp/multipartBody3988124448513823767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145663505,"filename":"image_25042025_23_38_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/594e3c84246a1336370f5f1de2a1ade9.jpg","text":"TemporaryFile(/tmp/multipartBody4849384987608941994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145663505,"filename":"image_25042025_23_38_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/5/2/e2bfd5a53d7c6ea291b5b3eb8089bbd8.jpg","text":"TemporaryFile(/tmp/multipartBody3971978192309690423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145663505,"filename":"image_25042025_23_39_24_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204506","file1":"1355204503","file0":"1355204499","file4":"1355204508","file5":"1355204509","file3":"1355204507"},"map_files_photo_id_array":[{"photo_id":"1355204509","filename":"file5"},{"photo_id":"1355204506","filename":"file2"},{"photo_id":"1355204508","filename":"file4"},{"photo_id":"1355204503","filename":"file1"},{"photo_id":"1355204499","filename":"file0"},{"photo_id":"1355204507","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204507":["hashtag1","hashtag2"]},{"1355204506":["hashtag1","hashtag2"]},{"1355204509":["hashtag1","hashtag2"]},{"1355204499":["hashtag1","hashtag2"]},{"1355204503":["hashtag1","hashtag2"]},{"1355204508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204507, 1355204506, 1355204509, 1355204499, 1355204503, 1355204508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.383402824401855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:27:33.167520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_45_10362.jpg', '/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_55_9373.jpg', '/home/pi/Desktop/images/25042025/23/39/image_25042025_23_40_05_10446.jpg', '/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_14_9430.jpg', '/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_25_10532.jpg', '/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_35_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_45_10362.jpg
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_55_9373.jpg
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_40_05_10446.jpg
/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_14_9430.jpg
/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_25_10532.jpg
/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_35_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4318206310272217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 02:27:42.994032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_45_10362.jpg', '/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_55_9373.jpg', '/home/pi/Desktop/images/25042025/23/39/image_25042025_23_40_05_10446.jpg', '/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_14_9430.jpg', '/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_25_10532.jpg', '/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_35_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_45_10362.jpg
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_39_55_9373.jpg
/home/pi/Desktop/images/25042025/23/39/image_25042025_23_40_05_10446.jpg
/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_14_9430.jpg
/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_25_10532.jpg
/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_35_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":["1355204530","1355204533","1355204535","1355204532","1355204534","1355204528"],"photo_ids_order":["1355204528","1355204530","1355204532","1355204533","1355204534","1355204535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c4bfe8eaf86f3d80d748fb56845047e.jpg","text":"TemporaryFile(/tmp/multipartBody7701033332936451033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145723556,"filename":"image_25042025_23_39_55_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56d9a7182545e0ee54251555d9c30d0e.jpg","text":"TemporaryFile(/tmp/multipartBody4753725544361209534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145723556,"filename":"image_25042025_23_40_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/5/2/b78e8530e69ebe32423d8b506cabdff4.jpg","text":"TemporaryFile(/tmp/multipartBody367732751409381274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145723556,"filename":"image_25042025_23_40_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8cdd8297edc9f4bdcb5c351925a1fd9c.jpg","text":"TemporaryFile(/tmp/multipartBody8793158570755648718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145723556,"filename":"image_25042025_23_40_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8233f24b24784e73535cb7dafa2a0612.jpg","text":"TemporaryFile(/tmp/multipartBody2682619865790784019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145723556,"filename":"image_25042025_23_40_25_10532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/26958643d8b7ecf8a0506d002a391475.jpg","text":"TemporaryFile(/tmp/multipartBody6843616529733426373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145723556,"filename":"image_25042025_23_39_45_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204532","file1":"1355204530","file0":"1355204528","file4":"1355204534","file5":"1355204535","file3":"1355204533"},"map_files_photo_id_array":[{"photo_id":"1355204535","filename":"file5"},{"photo_id":"1355204532","filename":"file2"},{"photo_id":"1355204534","filename":"file4"},{"photo_id":"1355204530","filename":"file1"},{"photo_id":"1355204528","filename":"file0"},{"photo_id":"1355204533","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204530":["hashtag1","hashtag2"]},{"1355204533":["hashtag1","hashtag2"]},{"1355204535":["hashtag1","hashtag2"]},{"1355204532":["hashtag1","hashtag2"]},{"1355204534":["hashtag1","hashtag2"]},{"1355204528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204530, 1355204533, 1355204535, 1355204532, 1355204534, 1355204528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.40734052658081 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:28:32.277591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_45_9371.jpg', '/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_55_10412.jpg', '/home/pi/Desktop/images/25042025/23/40/image_25042025_23_41_05_9398.jpg', '/home/pi/Desktop/images/25042025/23/41/image_25042025_23_41_15_10530.jpg', '/home/pi/Desktop/images/25042025/23/41/image_25042025_23_41_25_9471.jpg', '/home/pi/Desktop/images/25042025/23/41/image_25042025_23_41_44_9489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_45_9371.jpg
/home/pi/Desktop/images/25042025/23/40/image_25042025_23_40_55_10412.jpg
/home/pi/Desktop/images/25042025/23/40/image_25042025_23_41_05_9398.jpg
/home/pi/Desktop/images/25042025/23/41/image_25042025_23_41_15_10530.jpg
/home/pi/Desktop/images/25042025/23/41/image_25042025_23_41_25_9471.jpg
/home/pi/Desktop/images/25042025/23/41/image_25042025_23_41_44_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":["1355204560","1355204551","1355204554","1355204548","1355204562","1355204558"],"photo_ids_order":["1355204548","1355204551","1355204554","1355204558","1355204560","1355204562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed5ed70a3826efa11dde200fb80d8cff.jpg","text":"TemporaryFile(/tmp/multipartBody1501673756020358195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145773761,"filename":"image_25042025_23_41_25_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a641b5bc36a0d1f270c565160b82d070.jpg","text":"TemporaryFile(/tmp/multipartBody6078548474676938266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145773761,"filename":"image_25042025_23_40_55_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30c52ccb6ff5f9eb95fb37ee2c60ed52.jpg","text":"TemporaryFile(/tmp/multipartBody729959122326745690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145773761,"filename":"image_25042025_23_41_05_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ba5ba33e716c1819898670ffe27ad7e.jpg","text":"TemporaryFile(/tmp/multipartBody6597621415172748780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145773761,"filename":"image_25042025_23_40_45_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f428eac682f8d3644fdfd9dfc960983e.jpg","text":"TemporaryFile(/tmp/multipartBody8968774287194328751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145773761,"filename":"image_25042025_23_41_44_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fbfff0916c6c7066ad92cb0b70c85150.jpg","text":"TemporaryFile(/tmp/multipartBody6395130561841374428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145773761,"filename":"image_25042025_23_41_15_10530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204554","file1":"1355204551","file0":"1355204548","file4":"1355204560","file5":"1355204562","file3":"1355204558"},"map_files_photo_id_array":[{"photo_id":"1355204562","filename":"file5"},{"photo_id":"1355204554","filename":"file2"},{"photo_id":"1355204560","filename":"file4"},{"photo_id":"1355204551","filename":"file1"},{"photo_id":"1355204548","filename":"file0"},{"photo_id":"1355204558","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204560":["hashtag1","hashtag2"]},{"1355204551":["hashtag1","hashtag2"]},{"1355204554":["hashtag1","hashtag2"]},{"1355204548":["hashtag1","hashtag2"]},{"1355204562":["hashtag1","hashtag2"]},{"1355204558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204560, 1355204551, 1355204554, 1355204548, 1355204562, 1355204558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.296863317489624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:29:32.474022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/41/image_25042025_23_41_55_10444.jpg', '/home/pi/Desktop/images/25042025/23/41/image_25042025_23_42_05_10361.jpg', '/home/pi/Desktop/images/25042025/23/42/image_25042025_23_42_15_9414.jpg', '/home/pi/Desktop/images/25042025/23/42/image_25042025_23_42_25_10490.jpg', '/home/pi/Desktop/images/25042025/23/42/image_25042025_23_42_34_9349.jpg', '/home/pi/Desktop/images/25042025/23/42/image_25042025_23_42_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/41/image_25042025_23_41_55_10444.jpg
/home/pi/Desktop/images/25042025/23/41/image_25042025_23_42_05_10361.jpg
/home/pi/Desktop/images/25042025/23/42/image_25042025_23_42_15_9414.jpg
/home/pi/Desktop/images/25042025/23/42/image_25042025_23_42_25_10490.jpg
/home/pi/Desktop/images/25042025/23/42/image_25042025_23_42_34_9349.jpg
/home/pi/Desktop/images/25042025/23/42/image_25042025_23_42_45_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204593","1355204586","1355204595","1355204589","1355204583","1355204579"],"photo_ids_order":["1355204579","1355204583","1355204586","1355204589","1355204593","1355204595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58fb8b9585134c3a3ae172cc3f4429d7.jpg","text":"TemporaryFile(/tmp/multipartBody7130218684125978747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145833979,"filename":"image_25042025_23_42_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/998764c8ac48d7a163ecc193bbcd315c.jpg","text":"TemporaryFile(/tmp/multipartBody696077229736332161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145833979,"filename":"image_25042025_23_42_15_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/82d5bba3e9c239624a84097fe6dd6a6e.jpg","text":"TemporaryFile(/tmp/multipartBody491871838497979603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145833979,"filename":"image_25042025_23_42_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/5/2/259060eb4a001e0701006bd6717ef0de.jpg","text":"TemporaryFile(/tmp/multipartBody8005052398162833421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145833979,"filename":"image_25042025_23_42_25_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e255c8cb2fcbfa8238878df888a002d1.jpg","text":"TemporaryFile(/tmp/multipartBody1023942866344553746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145833979,"filename":"image_25042025_23_42_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/5/2/d39c21c4dfea17882bd1a182527e32f9.jpg","text":"TemporaryFile(/tmp/multipartBody3052897447305531836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145833979,"filename":"image_25042025_23_41_55_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204586","file1":"1355204583","file0":"1355204579","file4":"1355204593","file5":"1355204595","file3":"1355204589"},"map_files_photo_id_array":[{"photo_id":"1355204595","filename":"file5"},{"photo_id":"1355204586","filename":"file2"},{"photo_id":"1355204593","filename":"file4"},{"photo_id":"1355204583","filename":"file1"},{"photo_id":"1355204579","filename":"file0"},{"photo_id":"1355204589","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204593":["hashtag1","hashtag2"]},{"1355204586":["hashtag1","hashtag2"]},{"1355204595":["hashtag1","hashtag2"]},{"1355204589":["hashtag1","hashtag2"]},{"1355204583":["hashtag1","hashtag2"]},{"1355204579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204593, 1355204586, 1355204595, 1355204589, 1355204583, 1355204579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.454763412475586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:30:32.711394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/42/image_25042025_23_42_55_10390.jpg', '/home/pi/Desktop/images/25042025/23/42/image_25042025_23_43_05_9349.jpg', '/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_15_10519.jpg', '/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_25_9400.jpg', '/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_35_10430.jpg', '/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_44_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/42/image_25042025_23_42_55_10390.jpg
/home/pi/Desktop/images/25042025/23/42/image_25042025_23_43_05_9349.jpg
/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_15_10519.jpg
/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_25_9400.jpg
/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_35_10430.jpg
/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_44_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":["1355204615","1355204609","1355204606","1355204611","1355204617","1355204613"],"photo_ids_order":["1355204606","1355204609","1355204611","1355204613","1355204615","1355204617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/08a4bd01b72b7b6cacc9c37a60f5a114.jpg","text":"TemporaryFile(/tmp/multipartBody4026787644725302598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145894204,"filename":"image_25042025_23_43_35_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b063b251b7b5925114b9cfbba4b50e53.jpg","text":"TemporaryFile(/tmp/multipartBody6603644909440758924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145894204,"filename":"image_25042025_23_43_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/5/2/0857f4c9939916f1f176fcec10929a43.jpg","text":"TemporaryFile(/tmp/multipartBody4810585665875534152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145894204,"filename":"image_25042025_23_42_55_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/967d52255985fffb3ef05cddc621dad6.jpg","text":"TemporaryFile(/tmp/multipartBody1399021548486594157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145894204,"filename":"image_25042025_23_43_15_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e93083c1a88d71fd67d00d093e5bb187.jpg","text":"TemporaryFile(/tmp/multipartBody5326298943732990777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145894204,"filename":"image_25042025_23_43_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/5/2/f05385762714f1eb76b8358c2a463058.jpg","text":"TemporaryFile(/tmp/multipartBody8162812196474448579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145894204,"filename":"image_25042025_23_43_25_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204611","file1":"1355204609","file0":"1355204606","file4":"1355204615","file5":"1355204617","file3":"1355204613"},"map_files_photo_id_array":[{"photo_id":"1355204617","filename":"file5"},{"photo_id":"1355204611","filename":"file2"},{"photo_id":"1355204615","filename":"file4"},{"photo_id":"1355204609","filename":"file1"},{"photo_id":"1355204606","filename":"file0"},{"photo_id":"1355204613","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204615":["hashtag1","hashtag2"]},{"1355204609":["hashtag1","hashtag2"]},{"1355204606":["hashtag1","hashtag2"]},{"1355204611":["hashtag1","hashtag2"]},{"1355204617":["hashtag1","hashtag2"]},{"1355204613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204615, 1355204609, 1355204606, 1355204611, 1355204617, 1355204613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.919564723968506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:31:32.960713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_55_10457.jpg', '/home/pi/Desktop/images/25042025/23/43/image_25042025_23_44_05_10349.jpg', '/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_15_9416.jpg', '/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_25_10386.jpg', '/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_34_9361.jpg', '/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_45_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_55_10457.jpg
/home/pi/Desktop/images/25042025/23/43/image_25042025_23_44_05_10349.jpg
/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_15_9416.jpg
/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_25_10386.jpg
/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_34_9361.jpg
/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_45_10517.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3938612937927246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 02:31:42.951746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_55_10457.jpg', '/home/pi/Desktop/images/25042025/23/43/image_25042025_23_44_05_10349.jpg', '/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_15_9416.jpg', '/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_25_10386.jpg', '/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_34_9361.jpg', '/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_45_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/43/image_25042025_23_43_55_10457.jpg
/home/pi/Desktop/images/25042025/23/43/image_25042025_23_44_05_10349.jpg
/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_15_9416.jpg
/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_25_10386.jpg
/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_34_9361.jpg
/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_45_10517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204642","1355204644","1355204647","1355204635","1355204645","1355204639"],"photo_ids_order":["1355204635","1355204639","1355204642","1355204644","1355204645","1355204647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/418d71f8215686b80892f15800a02a52.jpg","text":"TemporaryFile(/tmp/multipartBody6730766531019396938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145963484,"filename":"image_25042025_23_44_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/5/2/99bc0f81ea72b99a5ffa2e3a4fd73a94.jpg","text":"TemporaryFile(/tmp/multipartBody3639233783511019401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145963484,"filename":"image_25042025_23_44_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/5/2/1521e14eae87eb33a974cf0f36c08a54.jpg","text":"TemporaryFile(/tmp/multipartBody2711112029823688463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145963484,"filename":"image_25042025_23_44_45_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd2b61f7e03d061d212ca92b98032abe.jpg","text":"TemporaryFile(/tmp/multipartBody7928846534706756836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145963484,"filename":"image_25042025_23_43_55_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ed13c8ceae48bfa5783b29674310446.jpg","text":"TemporaryFile(/tmp/multipartBody4697296509997733939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145963484,"filename":"image_25042025_23_44_34_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/54c8c298a98d0a62b4a231e7566537ca.jpg","text":"TemporaryFile(/tmp/multipartBody7238875813829789986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746145963484,"filename":"image_25042025_23_44_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204642","file1":"1355204639","file0":"1355204635","file4":"1355204645","file5":"1355204647","file3":"1355204644"},"map_files_photo_id_array":[{"photo_id":"1355204647","filename":"file5"},{"photo_id":"1355204642","filename":"file2"},{"photo_id":"1355204645","filename":"file4"},{"photo_id":"1355204639","filename":"file1"},{"photo_id":"1355204635","filename":"file0"},{"photo_id":"1355204644","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204642":["hashtag1","hashtag2"]},{"1355204644":["hashtag1","hashtag2"]},{"1355204647":["hashtag1","hashtag2"]},{"1355204635":["hashtag1","hashtag2"]},{"1355204645":["hashtag1","hashtag2"]},{"1355204639":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204642, 1355204644, 1355204647, 1355204635, 1355204645, 1355204639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29007315635681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:32:32.158235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_54_9496.jpg', '/home/pi/Desktop/images/25042025/23/44/image_25042025_23_45_05_10496.jpg', '/home/pi/Desktop/images/25042025/23/45/image_25042025_23_45_15_10417.jpg', '/home/pi/Desktop/images/25042025/23/45/image_25042025_23_45_25_9373.jpg', '/home/pi/Desktop/images/25042025/23/45/image_25042025_23_45_35_10406.jpg', '/home/pi/Desktop/images/25042025/23/45/image_25042025_23_45_44_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/44/image_25042025_23_44_54_9496.jpg
/home/pi/Desktop/images/25042025/23/44/image_25042025_23_45_05_10496.jpg
/home/pi/Desktop/images/25042025/23/45/image_25042025_23_45_15_10417.jpg
/home/pi/Desktop/images/25042025/23/45/image_25042025_23_45_25_9373.jpg
/home/pi/Desktop/images/25042025/23/45/image_25042025_23_45_35_10406.jpg
/home/pi/Desktop/images/25042025/23/45/image_25042025_23_45_44_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204662","1355204656","1355204659","1355204653","1355204661","1355204663"],"photo_ids_order":["1355204653","1355204656","1355204659","1355204661","1355204662","1355204663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a861b5e9b88b98f0ac4415d99b6995f9.jpg","text":"TemporaryFile(/tmp/multipartBody1535424116099463008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146013653,"filename":"image_25042025_23_45_35_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/438cb23059027137c9d32b30e6cf4543.jpg","text":"TemporaryFile(/tmp/multipartBody1678566598734368376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146013653,"filename":"image_25042025_23_45_05_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/993b8de73933f1461795d02a921202ff.jpg","text":"TemporaryFile(/tmp/multipartBody2194618721334118231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146013653,"filename":"image_25042025_23_45_15_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b5e68e409762a62d89ee5b09cdddb662.jpg","text":"TemporaryFile(/tmp/multipartBody6709659992191214659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146013653,"filename":"image_25042025_23_44_54_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9388d0d87c0e3832559b6a31a48608ba.jpg","text":"TemporaryFile(/tmp/multipartBody1192860438795267869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146013653,"filename":"image_25042025_23_45_25_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/01fb1a8231e02b9e61f5caeb534cdea2.jpg","text":"TemporaryFile(/tmp/multipartBody8550425614274118537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146013653,"filename":"image_25042025_23_45_44_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204659","file1":"1355204656","file0":"1355204653","file4":"1355204662","file5":"1355204663","file3":"1355204661"},"map_files_photo_id_array":[{"photo_id":"1355204663","filename":"file5"},{"photo_id":"1355204659","filename":"file2"},{"photo_id":"1355204662","filename":"file4"},{"photo_id":"1355204656","filename":"file1"},{"photo_id":"1355204653","filename":"file0"},{"photo_id":"1355204661","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204662":["hashtag1","hashtag2"]},{"1355204656":["hashtag1","hashtag2"]},{"1355204659":["hashtag1","hashtag2"]},{"1355204653":["hashtag1","hashtag2"]},{"1355204661":["hashtag1","hashtag2"]},{"1355204663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204662, 1355204656, 1355204659, 1355204653, 1355204661, 1355204663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.419435739517212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:33:32.361389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/45/image_25042025_23_45_55_10436.jpg', '/home/pi/Desktop/images/25042025/23/45/image_25042025_23_46_05_10422.jpg', '/home/pi/Desktop/images/25042025/23/46/image_25042025_23_46_15_9529.jpg', '/home/pi/Desktop/images/25042025/23/46/image_25042025_23_46_35_9395.jpg', '/home/pi/Desktop/images/25042025/23/46/image_25042025_23_46_45_10428.jpg', '/home/pi/Desktop/images/25042025/23/46/image_25042025_23_46_54_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/45/image_25042025_23_45_55_10436.jpg
/home/pi/Desktop/images/25042025/23/45/image_25042025_23_46_05_10422.jpg
/home/pi/Desktop/images/25042025/23/46/image_25042025_23_46_15_9529.jpg
/home/pi/Desktop/images/25042025/23/46/image_25042025_23_46_35_9395.jpg
/home/pi/Desktop/images/25042025/23/46/image_25042025_23_46_45_10428.jpg
/home/pi/Desktop/images/25042025/23/46/image_25042025_23_46_54_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":["1355204683","1355204682","1355204685","1355204681","1355204678","1355204687"],"photo_ids_order":["1355204678","1355204681","1355204682","1355204683","1355204685","1355204687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0d46916034b6e625da7b338a035ba8e.jpg","text":"TemporaryFile(/tmp/multipartBody6196883408924901974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146073839,"filename":"image_25042025_23_46_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/5/2/ded5d3117d4de66cfbf3ce7f8d9e54fa.jpg","text":"TemporaryFile(/tmp/multipartBody6257463839497191566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146073839,"filename":"image_25042025_23_46_15_9529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/206ae799d51ba06beaff05062537fee9.jpg","text":"TemporaryFile(/tmp/multipartBody2654196446804262581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146073839,"filename":"image_25042025_23_46_45_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/735dd0edf894c69c573c08411d8dbc40.jpg","text":"TemporaryFile(/tmp/multipartBody705337146639160915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146073839,"filename":"image_25042025_23_46_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/353687f179d7645febcffedccb024b24.jpg","text":"TemporaryFile(/tmp/multipartBody366372235945446838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146073839,"filename":"image_25042025_23_45_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c4e13e1c73b24a9079d114b3f22ff03.jpg","text":"TemporaryFile(/tmp/multipartBody693103186548954844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146073839,"filename":"image_25042025_23_46_54_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204682","file1":"1355204681","file0":"1355204678","file4":"1355204685","file5":"1355204687","file3":"1355204683"},"map_files_photo_id_array":[{"photo_id":"1355204687","filename":"file5"},{"photo_id":"1355204682","filename":"file2"},{"photo_id":"1355204685","filename":"file4"},{"photo_id":"1355204681","filename":"file1"},{"photo_id":"1355204678","filename":"file0"},{"photo_id":"1355204683","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204683":["hashtag1","hashtag2"]},{"1355204682":["hashtag1","hashtag2"]},{"1355204685":["hashtag1","hashtag2"]},{"1355204681":["hashtag1","hashtag2"]},{"1355204678":["hashtag1","hashtag2"]},{"1355204687":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204683, 1355204682, 1355204685, 1355204681, 1355204678, 1355204687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01050639152527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:34:32.595137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/46/image_25042025_23_47_05_10523.jpg', '/home/pi/Desktop/images/25042025/23/47/image_25042025_23_47_14_9417.jpg', '/home/pi/Desktop/images/25042025/23/47/image_25042025_23_47_25_10499.jpg', '/home/pi/Desktop/images/25042025/23/47/image_25042025_23_47_35_10380.jpg', '/home/pi/Desktop/images/25042025/23/47/image_25042025_23_47_45_9359.jpg', '/home/pi/Desktop/images/25042025/23/47/image_25042025_23_47_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/46/image_25042025_23_47_05_10523.jpg
/home/pi/Desktop/images/25042025/23/47/image_25042025_23_47_14_9417.jpg
/home/pi/Desktop/images/25042025/23/47/image_25042025_23_47_25_10499.jpg
/home/pi/Desktop/images/25042025/23/47/image_25042025_23_47_35_10380.jpg
/home/pi/Desktop/images/25042025/23/47/image_25042025_23_47_45_9359.jpg
/home/pi/Desktop/images/25042025/23/47/image_25042025_23_47_55_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204702","1355204713","1355204715","1355204709","1355204706","1355204711"],"photo_ids_order":["1355204702","1355204706","1355204709","1355204711","1355204713","1355204715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e309bda6177d2cb0864e70e940bd750.jpg","text":"TemporaryFile(/tmp/multipartBody1786776543809416108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146134080,"filename":"image_25042025_23_47_05_10523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8829bfd7872ce6b577b9632a102f0ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5378113121956906525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146134080,"filename":"image_25042025_23_47_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/5/2/2716631e75d00caa2aabb27200a6b910.jpg","text":"TemporaryFile(/tmp/multipartBody1947648846346787177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146134080,"filename":"image_25042025_23_47_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/5/2/ab76fa90ecc6c208bedc4e4425b72e94.jpg","text":"TemporaryFile(/tmp/multipartBody7948698097615135212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146134080,"filename":"image_25042025_23_47_25_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90e07742efcc01e57685dbf521254869.jpg","text":"TemporaryFile(/tmp/multipartBody6530683759068811853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146134080,"filename":"image_25042025_23_47_14_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b396b4aad3e090db556146147514b1d9.jpg","text":"TemporaryFile(/tmp/multipartBody3213225920181956328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146134080,"filename":"image_25042025_23_47_35_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204709","file1":"1355204706","file0":"1355204702","file4":"1355204713","file5":"1355204715","file3":"1355204711"},"map_files_photo_id_array":[{"photo_id":"1355204715","filename":"file5"},{"photo_id":"1355204709","filename":"file2"},{"photo_id":"1355204713","filename":"file4"},{"photo_id":"1355204706","filename":"file1"},{"photo_id":"1355204702","filename":"file0"},{"photo_id":"1355204711","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204702":["hashtag1","hashtag2"]},{"1355204713":["hashtag1","hashtag2"]},{"1355204715":["hashtag1","hashtag2"]},{"1355204709":["hashtag1","hashtag2"]},{"1355204706":["hashtag1","hashtag2"]},{"1355204711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204702, 1355204713, 1355204715, 1355204709, 1355204706, 1355204711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.127280950546265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:35:32.957050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/48/image_25042025_23_48_15_9410.jpg', '/home/pi/Desktop/images/25042025/23/48/image_25042025_23_48_25_10390.jpg', '/home/pi/Desktop/images/25042025/23/48/image_25042025_23_48_35_9456.jpg', '/home/pi/Desktop/images/25042025/23/48/image_25042025_23_48_45_10379.jpg', '/home/pi/Desktop/images/25042025/23/48/image_25042025_23_48_54_9368.jpg', '/home/pi/Desktop/images/25042025/23/48/image_25042025_23_49_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/48/image_25042025_23_48_15_9410.jpg
/home/pi/Desktop/images/25042025/23/48/image_25042025_23_48_25_10390.jpg
/home/pi/Desktop/images/25042025/23/48/image_25042025_23_48_35_9456.jpg
/home/pi/Desktop/images/25042025/23/48/image_25042025_23_48_45_10379.jpg
/home/pi/Desktop/images/25042025/23/48/image_25042025_23_48_54_9368.jpg
/home/pi/Desktop/images/25042025/23/48/image_25042025_23_49_05_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204729","1355204731","1355204734","1355204733","1355204732","1355204726"],"photo_ids_order":["1355204726","1355204729","1355204731","1355204732","1355204733","1355204734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6bb6ae265da992086af7978e9f41b0c9.jpg","text":"TemporaryFile(/tmp/multipartBody4311111753508194823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146194433,"filename":"image_25042025_23_48_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f79808096c2424b5c55bb19a8b4a3fa4.jpg","text":"TemporaryFile(/tmp/multipartBody7853616972043282658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146194433,"filename":"image_25042025_23_48_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/5/2/633c697061f70154938dc9151f961781.jpg","text":"TemporaryFile(/tmp/multipartBody7510279313876696771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146194433,"filename":"image_25042025_23_49_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/5/2/e3f22f0a390effdb6a1b701d4f53a0df.jpg","text":"TemporaryFile(/tmp/multipartBody8675689883437076955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146194433,"filename":"image_25042025_23_48_54_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dcd5ebe4b831ce1bac3b220d6ec4e4df.jpg","text":"TemporaryFile(/tmp/multipartBody1928681691765324734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146194433,"filename":"image_25042025_23_48_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/5/2/71df57fd3225eda3df212bada3caa225.jpg","text":"TemporaryFile(/tmp/multipartBody3495567903284327671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146194433,"filename":"image_25042025_23_48_15_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204731","file1":"1355204729","file0":"1355204726","file4":"1355204733","file5":"1355204734","file3":"1355204732"},"map_files_photo_id_array":[{"photo_id":"1355204734","filename":"file5"},{"photo_id":"1355204731","filename":"file2"},{"photo_id":"1355204733","filename":"file4"},{"photo_id":"1355204729","filename":"file1"},{"photo_id":"1355204726","filename":"file0"},{"photo_id":"1355204732","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204729":["hashtag1","hashtag2"]},{"1355204731":["hashtag1","hashtag2"]},{"1355204734":["hashtag1","hashtag2"]},{"1355204733":["hashtag1","hashtag2"]},{"1355204732":["hashtag1","hashtag2"]},{"1355204726":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204729, 1355204731, 1355204734, 1355204733, 1355204732, 1355204726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.616637229919434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:36:33.031581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/49/image_25042025_23_49_15_10439.jpg', '/home/pi/Desktop/images/25042025/23/49/image_25042025_23_49_25_9386.jpg', '/home/pi/Desktop/images/25042025/23/49/image_25042025_23_49_35_10455.jpg', '/home/pi/Desktop/images/25042025/23/49/image_25042025_23_50_05_10398.jpg', '/home/pi/Desktop/images/25042025/23/50/image_25042025_23_50_15_9517.jpg', '/home/pi/Desktop/images/25042025/23/50/image_25042025_23_50_25_10487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/49/image_25042025_23_49_15_10439.jpg
/home/pi/Desktop/images/25042025/23/49/image_25042025_23_49_25_9386.jpg
/home/pi/Desktop/images/25042025/23/49/image_25042025_23_49_35_10455.jpg
/home/pi/Desktop/images/25042025/23/49/image_25042025_23_50_05_10398.jpg
/home/pi/Desktop/images/25042025/23/50/image_25042025_23_50_15_9517.jpg
/home/pi/Desktop/images/25042025/23/50/image_25042025_23_50_25_10487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204749","1355204752","1355204751","1355204750","1355204744","1355204747"],"photo_ids_order":["1355204744","1355204747","1355204749","1355204750","1355204751","1355204752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bbde362e12864bb6f957d04b772c69e9.jpg","text":"TemporaryFile(/tmp/multipartBody942377181205117234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146254524,"filename":"image_25042025_23_49_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/5/2/e3969949d4f72dfd186e878ac51e2f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5648656945259875534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146254524,"filename":"image_25042025_23_50_25_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/99625cc3a63f93473f7d69e163181c99.jpg","text":"TemporaryFile(/tmp/multipartBody4479892881846614988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146254524,"filename":"image_25042025_23_50_15_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09a2e34bc3d9035b8c873dbfcb8fb81f.jpg","text":"TemporaryFile(/tmp/multipartBody7032838757712804167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146254524,"filename":"image_25042025_23_50_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5970a5161b6472eedbfa3328317cb71c.jpg","text":"TemporaryFile(/tmp/multipartBody415939728241227527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146254524,"filename":"image_25042025_23_49_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d5080bf681e4fb62cb3f9b575cd9b9ec.jpg","text":"TemporaryFile(/tmp/multipartBody7373969370085768566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146254524,"filename":"image_25042025_23_49_25_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204749","file1":"1355204747","file0":"1355204744","file4":"1355204751","file5":"1355204752","file3":"1355204750"},"map_files_photo_id_array":[{"photo_id":"1355204752","filename":"file5"},{"photo_id":"1355204749","filename":"file2"},{"photo_id":"1355204751","filename":"file4"},{"photo_id":"1355204747","filename":"file1"},{"photo_id":"1355204744","filename":"file0"},{"photo_id":"1355204750","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204749":["hashtag1","hashtag2"]},{"1355204752":["hashtag1","hashtag2"]},{"1355204751":["hashtag1","hashtag2"]},{"1355204750":["hashtag1","hashtag2"]},{"1355204744":["hashtag1","hashtag2"]},{"1355204747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204749, 1355204752, 1355204751, 1355204750, 1355204744, 1355204747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80475354194641 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:37:32.266117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/50/image_25042025_23_50_35_9360.jpg', '/home/pi/Desktop/images/25042025/23/50/image_25042025_23_51_05_10468.jpg', '/home/pi/Desktop/images/25042025/23/51/image_25042025_23_51_15_10466.jpg', '/home/pi/Desktop/images/25042025/23/51/image_25042025_23_51_25_9365.jpg', '/home/pi/Desktop/images/25042025/23/51/image_25042025_23_51_35_10358.jpg', '/home/pi/Desktop/images/25042025/23/51/image_25042025_23_51_44_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/50/image_25042025_23_50_35_9360.jpg
/home/pi/Desktop/images/25042025/23/50/image_25042025_23_51_05_10468.jpg
/home/pi/Desktop/images/25042025/23/51/image_25042025_23_51_15_10466.jpg
/home/pi/Desktop/images/25042025/23/51/image_25042025_23_51_25_9365.jpg
/home/pi/Desktop/images/25042025/23/51/image_25042025_23_51_35_10358.jpg
/home/pi/Desktop/images/25042025/23/51/image_25042025_23_51_44_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":["1355204767","1355204764","1355204769","1355204762","1355204759","1355204768"],"photo_ids_order":["1355204759","1355204762","1355204764","1355204767","1355204768","1355204769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f28f979e656f7f7e7368405838620a7.jpg","text":"TemporaryFile(/tmp/multipartBody7311314951478385939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146313753,"filename":"image_25042025_23_51_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/5/2/784758f25cdc951cdfcd05428f0b38c9.jpg","text":"TemporaryFile(/tmp/multipartBody7316265214205904219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146313753,"filename":"image_25042025_23_51_15_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/69e447db139c6793b5bb7404f5ee7379.jpg","text":"TemporaryFile(/tmp/multipartBody2867262917594132450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146313753,"filename":"image_25042025_23_51_44_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a26a27481ca94dbfc3592b4c78faf211.jpg","text":"TemporaryFile(/tmp/multipartBody2202586451014178187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146313753,"filename":"image_25042025_23_51_05_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c88fcfcf18528bd0c1562cc2bc972fd.jpg","text":"TemporaryFile(/tmp/multipartBody5919412817771828039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146313753,"filename":"image_25042025_23_50_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/5/2/f668e91cd665cb920ac46f9fa1ec424d.jpg","text":"TemporaryFile(/tmp/multipartBody4262938278990313861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146313753,"filename":"image_25042025_23_51_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204764","file1":"1355204762","file0":"1355204759","file4":"1355204768","file5":"1355204769","file3":"1355204767"},"map_files_photo_id_array":[{"photo_id":"1355204769","filename":"file5"},{"photo_id":"1355204764","filename":"file2"},{"photo_id":"1355204768","filename":"file4"},{"photo_id":"1355204762","filename":"file1"},{"photo_id":"1355204759","filename":"file0"},{"photo_id":"1355204767","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204767":["hashtag1","hashtag2"]},{"1355204764":["hashtag1","hashtag2"]},{"1355204769":["hashtag1","hashtag2"]},{"1355204762":["hashtag1","hashtag2"]},{"1355204759":["hashtag1","hashtag2"]},{"1355204768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204767, 1355204764, 1355204769, 1355204762, 1355204759, 1355204768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94359040260315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:38:32.458425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/51/image_25042025_23_51_55_10401.jpg', '/home/pi/Desktop/images/25042025/23/51/image_25042025_23_52_05_10375.jpg', '/home/pi/Desktop/images/25042025/23/52/image_25042025_23_52_15_9402.jpg', '/home/pi/Desktop/images/25042025/23/52/image_25042025_23_52_35_9439.jpg', '/home/pi/Desktop/images/25042025/23/52/image_25042025_23_52_45_10370.jpg', '/home/pi/Desktop/images/25042025/23/52/image_25042025_23_53_05_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/51/image_25042025_23_51_55_10401.jpg
/home/pi/Desktop/images/25042025/23/51/image_25042025_23_52_05_10375.jpg
/home/pi/Desktop/images/25042025/23/52/image_25042025_23_52_15_9402.jpg
/home/pi/Desktop/images/25042025/23/52/image_25042025_23_52_35_9439.jpg
/home/pi/Desktop/images/25042025/23/52/image_25042025_23_52_45_10370.jpg
/home/pi/Desktop/images/25042025/23/52/image_25042025_23_53_05_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":["1355204791","1355204785","1355204782","1355204793","1355204787","1355204789"],"photo_ids_order":["1355204782","1355204785","1355204787","1355204789","1355204791","1355204793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f39013ab38dfbb18fcb368e7ec920b8.jpg","text":"TemporaryFile(/tmp/multipartBody7748015092811403990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146373940,"filename":"image_25042025_23_52_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/5/2/c3a55a65242ea9d86a06063e633c80c6.jpg","text":"TemporaryFile(/tmp/multipartBody6104277864517085070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146373940,"filename":"image_25042025_23_52_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c5c72ddb126c3f5605bb260200dda4a2.jpg","text":"TemporaryFile(/tmp/multipartBody1864923874115140124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146373940,"filename":"image_25042025_23_51_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/5/2/e1dbd03752a83755d7d8ad4ccf9d86fe.jpg","text":"TemporaryFile(/tmp/multipartBody1870696440758394970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146373940,"filename":"image_25042025_23_53_05_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ea74255b4b9b5c0dce6fb7a08941512.jpg","text":"TemporaryFile(/tmp/multipartBody6028531574421744056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146373940,"filename":"image_25042025_23_52_15_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6dbfb73713c208926d38ff839df57bed.jpg","text":"TemporaryFile(/tmp/multipartBody7639898170055047207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146373940,"filename":"image_25042025_23_52_35_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204787","file1":"1355204785","file0":"1355204782","file4":"1355204791","file5":"1355204793","file3":"1355204789"},"map_files_photo_id_array":[{"photo_id":"1355204793","filename":"file5"},{"photo_id":"1355204787","filename":"file2"},{"photo_id":"1355204791","filename":"file4"},{"photo_id":"1355204785","filename":"file1"},{"photo_id":"1355204782","filename":"file0"},{"photo_id":"1355204789","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204791":["hashtag1","hashtag2"]},{"1355204785":["hashtag1","hashtag2"]},{"1355204782":["hashtag1","hashtag2"]},{"1355204793":["hashtag1","hashtag2"]},{"1355204787":["hashtag1","hashtag2"]},{"1355204789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204791, 1355204785, 1355204782, 1355204793, 1355204787, 1355204789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15656638145447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:39:32.646352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/53/image_25042025_23_53_15_10112.jpg', '/home/pi/Desktop/images/25042025/23/53/image_25042025_23_53_25_10357.jpg', '/home/pi/Desktop/images/25042025/23/53/image_25042025_23_53_35_9372.jpg', '/home/pi/Desktop/images/25042025/23/53/image_25042025_23_53_45_10456.jpg', '/home/pi/Desktop/images/25042025/23/53/image_25042025_23_53_54_9357.jpg', '/home/pi/Desktop/images/25042025/23/53/image_25042025_23_54_05_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/53/image_25042025_23_53_15_10112.jpg
/home/pi/Desktop/images/25042025/23/53/image_25042025_23_53_25_10357.jpg
/home/pi/Desktop/images/25042025/23/53/image_25042025_23_53_35_9372.jpg
/home/pi/Desktop/images/25042025/23/53/image_25042025_23_53_45_10456.jpg
/home/pi/Desktop/images/25042025/23/53/image_25042025_23_53_54_9357.jpg
/home/pi/Desktop/images/25042025/23/53/image_25042025_23_54_05_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":["1355204807","1355204816","1355204818","1355204812","1355204814","1355204810"],"photo_ids_order":["1355204807","1355204810","1355204812","1355204814","1355204816","1355204818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/46ead0bfbbde7e342a5f8adbedb99b30.jpg","text":"TemporaryFile(/tmp/multipartBody648802558685330954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146434123,"filename":"image_25042025_23_53_15_10112.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7e2341887e2bec03909bf5b0ae9368f.jpg","text":"TemporaryFile(/tmp/multipartBody631085237868848679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146434123,"filename":"image_25042025_23_53_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/62828883be0a7b2d51ff917cbcd7adf6.jpg","text":"TemporaryFile(/tmp/multipartBody1395549086511138563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146434123,"filename":"image_25042025_23_54_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/5/2/cd3b3fb1a6a24641bc16e0936e597607.jpg","text":"TemporaryFile(/tmp/multipartBody8665885948208014952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146434123,"filename":"image_25042025_23_53_35_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1fa9e759a3a044d27a10354dfa72a4ed.jpg","text":"TemporaryFile(/tmp/multipartBody1713779894108717073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146434123,"filename":"image_25042025_23_53_45_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/79575465383936c3c0f0c8aaf3c03be1.jpg","text":"TemporaryFile(/tmp/multipartBody1849737101068180528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146434123,"filename":"image_25042025_23_53_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204812","file1":"1355204810","file0":"1355204807","file4":"1355204816","file5":"1355204818","file3":"1355204814"},"map_files_photo_id_array":[{"photo_id":"1355204818","filename":"file5"},{"photo_id":"1355204812","filename":"file2"},{"photo_id":"1355204816","filename":"file4"},{"photo_id":"1355204810","filename":"file1"},{"photo_id":"1355204807","filename":"file0"},{"photo_id":"1355204814","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204807":["hashtag1","hashtag2"]},{"1355204816":["hashtag1","hashtag2"]},{"1355204818":["hashtag1","hashtag2"]},{"1355204812":["hashtag1","hashtag2"]},{"1355204814":["hashtag1","hashtag2"]},{"1355204810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204807, 1355204816, 1355204818, 1355204812, 1355204814, 1355204810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.775142669677734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:40:32.978287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_15_10419.jpg', '/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_25_9480.jpg', '/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_35_10367.jpg', '/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_45_9353.jpg', '/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_55_10484.jpg', '/home/pi/Desktop/images/25042025/23/54/image_25042025_23_55_04_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_15_10419.jpg
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_25_9480.jpg
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_35_10367.jpg
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_45_9353.jpg
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_55_10484.jpg
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_55_04_9459.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4037463665008545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 02:40:42.957200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_15_10419.jpg', '/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_25_9480.jpg', '/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_35_10367.jpg', '/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_45_9353.jpg', '/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_55_10484.jpg', '/home/pi/Desktop/images/25042025/23/54/image_25042025_23_55_04_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_15_10419.jpg
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_25_9480.jpg
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_35_10367.jpg
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_45_9353.jpg
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_54_55_10484.jpg
/home/pi/Desktop/images/25042025/23/54/image_25042025_23_55_04_9459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204848","1355204839","1355204850","1355204843","1355204852","1355204846"],"photo_ids_order":["1355204839","1355204843","1355204846","1355204848","1355204850","1355204852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95f34420505181f875d48b7a08117732.jpg","text":"TemporaryFile(/tmp/multipartBody1821296241727202507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146503511,"filename":"image_25042025_23_54_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/5/2/1e8b3ec3aae43092b883644cd9632f61.jpg","text":"TemporaryFile(/tmp/multipartBody4608513843625222770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146503511,"filename":"image_25042025_23_54_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ced0a4b8190f6b98ec6e0a3eb4fedca5.jpg","text":"TemporaryFile(/tmp/multipartBody8669581014453758794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146503511,"filename":"image_25042025_23_54_55_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/849d8f903207905124181865fcb7ee3f.jpg","text":"TemporaryFile(/tmp/multipartBody5988467828505208610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146503511,"filename":"image_25042025_23_54_25_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/940d0ff887645ec656526225e51d1b23.jpg","text":"TemporaryFile(/tmp/multipartBody5160541570879057068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146503511,"filename":"image_25042025_23_55_04_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ddefcd64fb1fcdf75aa633c845f964af.jpg","text":"TemporaryFile(/tmp/multipartBody681455388250485491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146503511,"filename":"image_25042025_23_54_35_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204846","file1":"1355204843","file0":"1355204839","file4":"1355204850","file5":"1355204852","file3":"1355204848"},"map_files_photo_id_array":[{"photo_id":"1355204852","filename":"file5"},{"photo_id":"1355204846","filename":"file2"},{"photo_id":"1355204850","filename":"file4"},{"photo_id":"1355204843","filename":"file1"},{"photo_id":"1355204839","filename":"file0"},{"photo_id":"1355204848","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204848":["hashtag1","hashtag2"]},{"1355204839":["hashtag1","hashtag2"]},{"1355204850":["hashtag1","hashtag2"]},{"1355204843":["hashtag1","hashtag2"]},{"1355204852":["hashtag1","hashtag2"]},{"1355204846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204848, 1355204839, 1355204850, 1355204843, 1355204852, 1355204846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.00865125656128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:41:32.196623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/55/image_25042025_23_55_15_10505.jpg', '/home/pi/Desktop/images/25042025/23/55/image_25042025_23_55_24_9437.jpg', '/home/pi/Desktop/images/25042025/23/55/image_25042025_23_55_35_10459.jpg', '/home/pi/Desktop/images/25042025/23/55/image_25042025_23_55_45_10366.jpg', '/home/pi/Desktop/images/25042025/23/55/image_25042025_23_55_55_9370.jpg', '/home/pi/Desktop/images/25042025/23/55/image_25042025_23_56_05_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/55/image_25042025_23_55_15_10505.jpg
/home/pi/Desktop/images/25042025/23/55/image_25042025_23_55_24_9437.jpg
/home/pi/Desktop/images/25042025/23/55/image_25042025_23_55_35_10459.jpg
/home/pi/Desktop/images/25042025/23/55/image_25042025_23_55_45_10366.jpg
/home/pi/Desktop/images/25042025/23/55/image_25042025_23_55_55_9370.jpg
/home/pi/Desktop/images/25042025/23/55/image_25042025_23_56_05_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":["1355204866","1355204869","1355204871","1355204874","1355204873","1355204870"],"photo_ids_order":["1355204866","1355204869","1355204870","1355204871","1355204873","1355204874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/435a8f554fb6630d46831b2750480003.jpg","text":"TemporaryFile(/tmp/multipartBody954668777477785411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146553729,"filename":"image_25042025_23_55_15_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e42b627e63cbad3ee905878d00512b8b.jpg","text":"TemporaryFile(/tmp/multipartBody606266790687112568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146553729,"filename":"image_25042025_23_55_24_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/963605ed30e547333b245cb8fbd879b4.jpg","text":"TemporaryFile(/tmp/multipartBody7471030438412554007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146553729,"filename":"image_25042025_23_55_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a8d15d77af245b6f549c5cb960cf4e75.jpg","text":"TemporaryFile(/tmp/multipartBody2714588166226339021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146553729,"filename":"image_25042025_23_56_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/5/2/9f29502ed6694324b3ad5edbf49350bb.jpg","text":"TemporaryFile(/tmp/multipartBody2831760098465072267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146553729,"filename":"image_25042025_23_55_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/5/2/ff10b4042cebfb35027954362f631c33.jpg","text":"TemporaryFile(/tmp/multipartBody1371833073374565472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146553729,"filename":"image_25042025_23_55_35_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204870","file1":"1355204869","file0":"1355204866","file4":"1355204873","file5":"1355204874","file3":"1355204871"},"map_files_photo_id_array":[{"photo_id":"1355204874","filename":"file5"},{"photo_id":"1355204870","filename":"file2"},{"photo_id":"1355204873","filename":"file4"},{"photo_id":"1355204869","filename":"file1"},{"photo_id":"1355204866","filename":"file0"},{"photo_id":"1355204871","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204866":["hashtag1","hashtag2"]},{"1355204869":["hashtag1","hashtag2"]},{"1355204871":["hashtag1","hashtag2"]},{"1355204874":["hashtag1","hashtag2"]},{"1355204873":["hashtag1","hashtag2"]},{"1355204870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204866, 1355204869, 1355204871, 1355204874, 1355204873, 1355204870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.149179220199585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:42:32.362953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/56/image_25042025_23_56_14_9465.jpg', '/home/pi/Desktop/images/25042025/23/56/image_25042025_23_56_25_10465.jpg', '/home/pi/Desktop/images/25042025/23/56/image_25042025_23_56_35_10365.jpg', '/home/pi/Desktop/images/25042025/23/56/image_25042025_23_56_45_9492.jpg', '/home/pi/Desktop/images/25042025/23/56/image_25042025_23_56_55_10410.jpg', '/home/pi/Desktop/images/25042025/23/56/image_25042025_23_57_05_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/56/image_25042025_23_56_14_9465.jpg
/home/pi/Desktop/images/25042025/23/56/image_25042025_23_56_25_10465.jpg
/home/pi/Desktop/images/25042025/23/56/image_25042025_23_56_35_10365.jpg
/home/pi/Desktop/images/25042025/23/56/image_25042025_23_56_45_9492.jpg
/home/pi/Desktop/images/25042025/23/56/image_25042025_23_56_55_10410.jpg
/home/pi/Desktop/images/25042025/23/56/image_25042025_23_57_05_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":["1355204884","1355204887","1355204883","1355204886","1355204882","1355204885"],"photo_ids_order":["1355204882","1355204883","1355204884","1355204885","1355204886","1355204887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/765f9a4fe6f53a295dc683ea09748a5e.jpg","text":"TemporaryFile(/tmp/multipartBody1670063442561643126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146613849,"filename":"image_25042025_23_56_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/5/2/b7b3ef927c4a5b52eb1a19c98291a2f9.jpg","text":"TemporaryFile(/tmp/multipartBody2891637558363534228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146613849,"filename":"image_25042025_23_57_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/5/2/c12896e0ec806f1a5eada7e4be8f63d9.jpg","text":"TemporaryFile(/tmp/multipartBody6256900252639476188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146613849,"filename":"image_25042025_23_56_25_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/93d87be83822a1fe6f0d8287833aa77f.jpg","text":"TemporaryFile(/tmp/multipartBody5683318095031282340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146613849,"filename":"image_25042025_23_56_55_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c9247dffe96701e20c2a76a2d9a37c8.jpg","text":"TemporaryFile(/tmp/multipartBody4572171347038515704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146613849,"filename":"image_25042025_23_56_14_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7a0e82fc94923a1db35a2cf83f0f53c.jpg","text":"TemporaryFile(/tmp/multipartBody1304092724869862374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146613849,"filename":"image_25042025_23_56_45_9492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204884","file1":"1355204883","file0":"1355204882","file4":"1355204886","file5":"1355204887","file3":"1355204885"},"map_files_photo_id_array":[{"photo_id":"1355204887","filename":"file5"},{"photo_id":"1355204884","filename":"file2"},{"photo_id":"1355204886","filename":"file4"},{"photo_id":"1355204883","filename":"file1"},{"photo_id":"1355204882","filename":"file0"},{"photo_id":"1355204885","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204884":["hashtag1","hashtag2"]},{"1355204887":["hashtag1","hashtag2"]},{"1355204883":["hashtag1","hashtag2"]},{"1355204886":["hashtag1","hashtag2"]},{"1355204882":["hashtag1","hashtag2"]},{"1355204885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204884, 1355204887, 1355204883, 1355204886, 1355204882, 1355204885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.092812299728394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:43:32.643164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/57/image_25042025_23_57_15_10478.jpg', '/home/pi/Desktop/images/25042025/23/57/image_25042025_23_57_25_9415.jpg', '/home/pi/Desktop/images/25042025/23/57/image_25042025_23_57_45_10397.jpg', '/home/pi/Desktop/images/25042025/23/57/image_25042025_23_57_55_9383.jpg', '/home/pi/Desktop/images/25042025/23/57/image_25042025_23_58_05_10374.jpg', '/home/pi/Desktop/images/25042025/23/58/image_25042025_23_58_15_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/57/image_25042025_23_57_15_10478.jpg
/home/pi/Desktop/images/25042025/23/57/image_25042025_23_57_25_9415.jpg
/home/pi/Desktop/images/25042025/23/57/image_25042025_23_57_45_10397.jpg
/home/pi/Desktop/images/25042025/23/57/image_25042025_23_57_55_9383.jpg
/home/pi/Desktop/images/25042025/23/57/image_25042025_23_58_05_10374.jpg
/home/pi/Desktop/images/25042025/23/58/image_25042025_23_58_15_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204906","1355204909","1355204900","1355204903","1355204908","1355204907"],"photo_ids_order":["1355204900","1355204903","1355204906","1355204907","1355204908","1355204909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1e4458ab1728f2f817ea6d02df4fe4e1.jpg","text":"TemporaryFile(/tmp/multipartBody6762996987222078561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146674114,"filename":"image_25042025_23_57_45_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6725570ccd4d99c03140a699530fa4f5.jpg","text":"TemporaryFile(/tmp/multipartBody1902407768114888481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146674114,"filename":"image_25042025_23_58_15_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/78ec5241082ecaa6cf7b94d57bb45d8c.jpg","text":"TemporaryFile(/tmp/multipartBody4491996001587892018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146674114,"filename":"image_25042025_23_57_15_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/83209d3bda59b60c2cda0af3cd42c420.jpg","text":"TemporaryFile(/tmp/multipartBody6961033670278217883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146674114,"filename":"image_25042025_23_57_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/5/2/6b6d463cd6e15e2e1f36532d9656d029.jpg","text":"TemporaryFile(/tmp/multipartBody237062623618183252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146674114,"filename":"image_25042025_23_58_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9305c69b556d11a7f4a50de1d02fa72.jpg","text":"TemporaryFile(/tmp/multipartBody2232883831383951819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146674114,"filename":"image_25042025_23_57_55_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204906","file1":"1355204903","file0":"1355204900","file4":"1355204908","file5":"1355204909","file3":"1355204907"},"map_files_photo_id_array":[{"photo_id":"1355204909","filename":"file5"},{"photo_id":"1355204906","filename":"file2"},{"photo_id":"1355204908","filename":"file4"},{"photo_id":"1355204903","filename":"file1"},{"photo_id":"1355204900","filename":"file0"},{"photo_id":"1355204907","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204906":["hashtag1","hashtag2"]},{"1355204909":["hashtag1","hashtag2"]},{"1355204900":["hashtag1","hashtag2"]},{"1355204903":["hashtag1","hashtag2"]},{"1355204908":["hashtag1","hashtag2"]},{"1355204907":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204906, 1355204909, 1355204900, 1355204903, 1355204908, 1355204907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66435170173645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:44:32.880394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/58/image_25042025_23_58_25_10464.jpg', '/home/pi/Desktop/images/25042025/23/58/image_25042025_23_58_35_10371.jpg', '/home/pi/Desktop/images/25042025/23/58/image_25042025_23_58_45_9361.jpg', '/home/pi/Desktop/images/25042025/23/58/image_25042025_23_59_05_9387.jpg', '/home/pi/Desktop/images/25042025/23/59/image_25042025_23_59_15_10432.jpg', '/home/pi/Desktop/images/25042025/23/59/image_25042025_23_59_24_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/58/image_25042025_23_58_25_10464.jpg
/home/pi/Desktop/images/25042025/23/58/image_25042025_23_58_35_10371.jpg
/home/pi/Desktop/images/25042025/23/58/image_25042025_23_58_45_9361.jpg
/home/pi/Desktop/images/25042025/23/58/image_25042025_23_59_05_9387.jpg
/home/pi/Desktop/images/25042025/23/59/image_25042025_23_59_15_10432.jpg
/home/pi/Desktop/images/25042025/23/59/image_25042025_23_59_24_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":["1355204933","1355204935","1355204931","1355204925","1355204928","1355204937"],"photo_ids_order":["1355204925","1355204928","1355204931","1355204933","1355204935","1355204937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/948a0e189f9f9148bd76550520616eae.jpg","text":"TemporaryFile(/tmp/multipartBody439911993764117234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146734426,"filename":"image_25042025_23_59_05_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fcae958073eb53bbca014cbc3047ab79.jpg","text":"TemporaryFile(/tmp/multipartBody4035750317194514423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146734426,"filename":"image_25042025_23_59_15_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/37a2c4ac739ead7fe1f4a04368128f49.jpg","text":"TemporaryFile(/tmp/multipartBody924334682730363068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146734426,"filename":"image_25042025_23_58_45_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff1093ea0b2a6a40e53d88b1717a73f4.jpg","text":"TemporaryFile(/tmp/multipartBody6112119470743656297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146734426,"filename":"image_25042025_23_58_25_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c780ef2147fcfb749a8270cf5e490ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7270156394531041864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146734426,"filename":"image_25042025_23_58_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/5/2/cef02acac31deaca3d48b872eb6501f2.jpg","text":"TemporaryFile(/tmp/multipartBody3355623804713968839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146734426,"filename":"image_25042025_23_59_24_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204931","file1":"1355204928","file0":"1355204925","file4":"1355204935","file5":"1355204937","file3":"1355204933"},"map_files_photo_id_array":[{"photo_id":"1355204937","filename":"file5"},{"photo_id":"1355204931","filename":"file2"},{"photo_id":"1355204935","filename":"file4"},{"photo_id":"1355204928","filename":"file1"},{"photo_id":"1355204925","filename":"file0"},{"photo_id":"1355204933","filename":"file3"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204933":["hashtag1","hashtag2"]},{"1355204935":["hashtag1","hashtag2"]},{"1355204931":["hashtag1","hashtag2"]},{"1355204925":["hashtag1","hashtag2"]},{"1355204928":["hashtag1","hashtag2"]},{"1355204937":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204933, 1355204935, 1355204931, 1355204925, 1355204928, 1355204937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.674073219299316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:45:33.065274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
  port_id : 22415669
  datou_current_id : 2760558
in upload_from_sqlite, uploading in 22415669
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25042025/23/59/image_25042025_23_59_35_10359.jpg', '/home/pi/Desktop/images/25042025/23/59/image_25042025_23_59_45_10364.jpg', '/home/pi/Desktop/images/25042025/23/59/image_25042025_23_59_54_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2760558&datou=0
/home/pi/Desktop/images/25042025/23/59/image_25042025_23_59_35_10359.jpg
/home/pi/Desktop/images/25042025/23/59/image_25042025_23_59_45_10364.jpg
/home/pi/Desktop/images/25042025/23/59/image_25042025_23_59_54_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204959","1355204955","1355204957"],"photo_ids_order":["1355204955","1355204957","1355204959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41fddf3f9ae0dd81d74a66dd615844e1.jpg","text":"TemporaryFile(/tmp/multipartBody4395784853834809773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146794505,"filename":"image_25042025_23_59_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/5/2/18b7ff6b4696d14dfef957ed201480a0.jpg","text":"TemporaryFile(/tmp/multipartBody2121447669589846547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146794505,"filename":"image_25042025_23_59_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/256cb4c3157480aace1ee06f14d214ea.jpg","text":"TemporaryFile(/tmp/multipartBody540455191458338040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146794505,"filename":"image_25042025_23_59_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204959","file1":"1355204957","file0":"1355204955"},"map_files_photo_id_array":[{"photo_id":"1355204959","filename":"file2"},{"photo_id":"1355204957","filename":"file1"},{"photo_id":"1355204955","filename":"file0"}],"portfolio_id":22415669,"hashtag_by_photo_ids":[{"1355204959":["hashtag1","hashtag2"]},{"1355204955":["hashtag1","hashtag2"]},{"1355204957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22415669 used, photo_id : ArrayBuffer(1355204959, 1355204955, 1355204957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.420734643936157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 02:46:02.696039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 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_26042025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 22588808, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1746146823000}
4310
2781264
4310
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/01/image_26042025_00_01_22_10208.jpg', '/home/pi/Desktop/images/26042025/00/01/image_26042025_00_01_32_10351.jpg', '/home/pi/Desktop/images/26042025/00/01/image_26042025_00_01_42_9484.jpg', '/home/pi/Desktop/images/26042025/00/01/image_26042025_00_01_52_10349.jpg', '/home/pi/Desktop/images/26042025/00/01/image_26042025_00_02_03_10342.jpg', '/home/pi/Desktop/images/26042025/00/02/image_26042025_00_02_12_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/01/image_26042025_00_01_22_10208.jpg
/home/pi/Desktop/images/26042025/00/01/image_26042025_00_01_32_10351.jpg
/home/pi/Desktop/images/26042025/00/01/image_26042025_00_01_42_9484.jpg
/home/pi/Desktop/images/26042025/00/01/image_26042025_00_01_52_10349.jpg
/home/pi/Desktop/images/26042025/00/01/image_26042025_00_02_03_10342.jpg
/home/pi/Desktop/images/26042025/00/02/image_26042025_00_02_12_9369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204971","1355204968","1355204961","1355204964","1355204966","1355204975"],"photo_ids_order":["1355204961","1355204964","1355204966","1355204968","1355204971","1355204975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e5544e6c7b11bd751ee0de7a38e240a8.jpg","text":"TemporaryFile(/tmp/multipartBody8272111370044847690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146824528,"filename":"image_26042025_00_02_03_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/062a81fca97cc678f906a13074a35498.jpg","text":"TemporaryFile(/tmp/multipartBody4478195616487052390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146824528,"filename":"image_26042025_00_01_52_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9b467405c8f8d6896ca2bb81551d1d3.jpg","text":"TemporaryFile(/tmp/multipartBody4992782618206772707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146824528,"filename":"image_26042025_00_01_22_10208.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da68f5781f7bab81a2b4ce5f1bad5bf0.jpg","text":"TemporaryFile(/tmp/multipartBody5771585944345799892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146824528,"filename":"image_26042025_00_01_32_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/82a1a6ef196e22cb5963b1255ba3d537.jpg","text":"TemporaryFile(/tmp/multipartBody4601924424592074310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146824528,"filename":"image_26042025_00_01_42_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b79bb6c7608cf61a94d3bb9b285fa831.jpg","text":"TemporaryFile(/tmp/multipartBody4037488141178722056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146824528,"filename":"image_26042025_00_02_12_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204966","file1":"1355204964","file0":"1355204961","file4":"1355204971","file5":"1355204975","file3":"1355204968"},"map_files_photo_id_array":[{"photo_id":"1355204975","filename":"file5"},{"photo_id":"1355204966","filename":"file2"},{"photo_id":"1355204971","filename":"file4"},{"photo_id":"1355204964","filename":"file1"},{"photo_id":"1355204961","filename":"file0"},{"photo_id":"1355204968","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355204971":["hashtag1","hashtag2"]},{"1355204968":["hashtag1","hashtag2"]},{"1355204961":["hashtag1","hashtag2"]},{"1355204964":["hashtag1","hashtag2"]},{"1355204966":["hashtag1","hashtag2"]},{"1355204975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355204971, 1355204968, 1355204961, 1355204964, 1355204966, 1355204975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30854153633118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 02:46:42.345698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/02/image_26042025_00_02_22_10462.jpg', '/home/pi/Desktop/images/26042025/00/02/image_26042025_00_02_33_10429.jpg', '/home/pi/Desktop/images/26042025/00/02/image_26042025_00_02_42_9370.jpg', '/home/pi/Desktop/images/26042025/00/02/image_26042025_00_02_53_10365.jpg', '/home/pi/Desktop/images/26042025/00/02/image_26042025_00_03_02_9468.jpg', '/home/pi/Desktop/images/26042025/00/03/image_26042025_00_03_12_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/02/image_26042025_00_02_22_10462.jpg
/home/pi/Desktop/images/26042025/00/02/image_26042025_00_02_33_10429.jpg
/home/pi/Desktop/images/26042025/00/02/image_26042025_00_02_42_9370.jpg
/home/pi/Desktop/images/26042025/00/02/image_26042025_00_02_53_10365.jpg
/home/pi/Desktop/images/26042025/00/02/image_26042025_00_03_02_9468.jpg
/home/pi/Desktop/images/26042025/00/03/image_26042025_00_03_12_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355204983","1355204986","1355204988","1355204982","1355204985","1355204984"],"photo_ids_order":["1355204982","1355204983","1355204984","1355204985","1355204986","1355204988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d6e042fc3b8f6f5b40c968d969cee152.jpg","text":"TemporaryFile(/tmp/multipartBody4197981463918226504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146863103,"filename":"image_26042025_00_02_33_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e962ab968ea9b74bed1ebe8212d8f843.jpg","text":"TemporaryFile(/tmp/multipartBody6043491357776194664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146863103,"filename":"image_26042025_00_03_02_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a71e973aea25c1f2e6821ac99be2b45.jpg","text":"TemporaryFile(/tmp/multipartBody7865782388390668308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146863103,"filename":"image_26042025_00_03_12_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e57eb611f413b780ebf05b0b6ec7b78b.jpg","text":"TemporaryFile(/tmp/multipartBody6908504608090790596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146863103,"filename":"image_26042025_00_02_22_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/26dab89e9ff376ee2067aaa2896fb065.jpg","text":"TemporaryFile(/tmp/multipartBody5679151608095300444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146863103,"filename":"image_26042025_00_02_53_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d5d38a408b0943d5a56d4971e3f11d6.jpg","text":"TemporaryFile(/tmp/multipartBody8415526432404745533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146863103,"filename":"image_26042025_00_02_42_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355204984","file1":"1355204983","file0":"1355204982","file4":"1355204986","file5":"1355204988","file3":"1355204985"},"map_files_photo_id_array":[{"photo_id":"1355204988","filename":"file5"},{"photo_id":"1355204984","filename":"file2"},{"photo_id":"1355204986","filename":"file4"},{"photo_id":"1355204983","filename":"file1"},{"photo_id":"1355204982","filename":"file0"},{"photo_id":"1355204985","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355204983":["hashtag1","hashtag2"]},{"1355204986":["hashtag1","hashtag2"]},{"1355204988":["hashtag1","hashtag2"]},{"1355204982":["hashtag1","hashtag2"]},{"1355204985":["hashtag1","hashtag2"]},{"1355204984":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355204983, 1355204986, 1355204988, 1355204982, 1355204985, 1355204984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42954468727112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:47:32.482932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/03/image_26042025_00_03_23_10429.jpg', '/home/pi/Desktop/images/26042025/00/03/image_26042025_00_03_32_9365.jpg', '/home/pi/Desktop/images/26042025/00/03/image_26042025_00_03_43_10369.jpg', '/home/pi/Desktop/images/26042025/00/03/image_26042025_00_03_52_9415.jpg', '/home/pi/Desktop/images/26042025/00/03/image_26042025_00_04_02_10420.jpg', '/home/pi/Desktop/images/26042025/00/04/image_26042025_00_04_12_9491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/03/image_26042025_00_03_23_10429.jpg
/home/pi/Desktop/images/26042025/00/03/image_26042025_00_03_32_9365.jpg
/home/pi/Desktop/images/26042025/00/03/image_26042025_00_03_43_10369.jpg
/home/pi/Desktop/images/26042025/00/03/image_26042025_00_03_52_9415.jpg
/home/pi/Desktop/images/26042025/00/03/image_26042025_00_04_02_10420.jpg
/home/pi/Desktop/images/26042025/00/04/image_26042025_00_04_12_9491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355205001","1355205010","1355205007","1355205009","1355205005","1355205008"],"photo_ids_order":["1355205001","1355205005","1355205007","1355205008","1355205009","1355205010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c7348ca1fd1ec8b2506d572e784b2e9.jpg","text":"TemporaryFile(/tmp/multipartBody7410744490349664306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146914064,"filename":"image_26042025_00_03_23_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/47e26c218ed094449e596a5ce0b24841.jpg","text":"TemporaryFile(/tmp/multipartBody8145121463792664507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146914064,"filename":"image_26042025_00_04_12_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/729a91615987874601b41e576953fff5.jpg","text":"TemporaryFile(/tmp/multipartBody6240253375818544383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146914064,"filename":"image_26042025_00_03_43_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75b782b6112cafa3dacefae1e91369cf.jpg","text":"TemporaryFile(/tmp/multipartBody7785296997049620407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146914064,"filename":"image_26042025_00_04_02_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b76131af075a7e77d22beefe9d1d287.jpg","text":"TemporaryFile(/tmp/multipartBody3226177972195964263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146914064,"filename":"image_26042025_00_03_32_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/df9bf57ff63fd6771d5d1786d3ca044c.jpg","text":"TemporaryFile(/tmp/multipartBody1820432476624090793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146914064,"filename":"image_26042025_00_03_52_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205007","file1":"1355205005","file0":"1355205001","file4":"1355205009","file5":"1355205010","file3":"1355205008"},"map_files_photo_id_array":[{"photo_id":"1355205010","filename":"file5"},{"photo_id":"1355205007","filename":"file2"},{"photo_id":"1355205009","filename":"file4"},{"photo_id":"1355205005","filename":"file1"},{"photo_id":"1355205001","filename":"file0"},{"photo_id":"1355205008","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205001":["hashtag1","hashtag2"]},{"1355205010":["hashtag1","hashtag2"]},{"1355205007":["hashtag1","hashtag2"]},{"1355205009":["hashtag1","hashtag2"]},{"1355205005":["hashtag1","hashtag2"]},{"1355205008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205001, 1355205010, 1355205007, 1355205009, 1355205005, 1355205008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49310088157654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:48:32.745332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/04/image_26042025_00_04_22_10378.jpg', '/home/pi/Desktop/images/26042025/00/04/image_26042025_00_04_33_10527.jpg', '/home/pi/Desktop/images/26042025/00/04/image_26042025_00_04_42_9351.jpg', '/home/pi/Desktop/images/26042025/00/04/image_26042025_00_04_53_10401.jpg', '/home/pi/Desktop/images/26042025/00/04/image_26042025_00_05_02_9463.jpg', '/home/pi/Desktop/images/26042025/00/05/image_26042025_00_05_12_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/04/image_26042025_00_04_22_10378.jpg
/home/pi/Desktop/images/26042025/00/04/image_26042025_00_04_33_10527.jpg
/home/pi/Desktop/images/26042025/00/04/image_26042025_00_04_42_9351.jpg
/home/pi/Desktop/images/26042025/00/04/image_26042025_00_04_53_10401.jpg
/home/pi/Desktop/images/26042025/00/04/image_26042025_00_05_02_9463.jpg
/home/pi/Desktop/images/26042025/00/05/image_26042025_00_05_12_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355205031","1355205034","1355205028","1355205025","1355205036","1355205038"],"photo_ids_order":["1355205025","1355205028","1355205031","1355205034","1355205036","1355205038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eefd30a06bbe47224292eb7a22762375.jpg","text":"TemporaryFile(/tmp/multipartBody2622691970185528823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146974323,"filename":"image_26042025_00_04_42_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6ef1d76e5d4e6035a50574e09a6d1880.jpg","text":"TemporaryFile(/tmp/multipartBody3372593201039587125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146974323,"filename":"image_26042025_00_04_53_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/df22973ff63cd88c105546c4b1d48c76.jpg","text":"TemporaryFile(/tmp/multipartBody1903394405157888201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146974323,"filename":"image_26042025_00_04_33_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c9ee71d4edf24744ed7339abb91fd5f.jpg","text":"TemporaryFile(/tmp/multipartBody7132811050235928486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146974323,"filename":"image_26042025_00_04_22_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d6013d01a52e2a4bd8b751bda9d268b.jpg","text":"TemporaryFile(/tmp/multipartBody1306301270807903378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146974323,"filename":"image_26042025_00_05_02_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba8e43625ebf38e9de354504ffe0dd4c.jpg","text":"TemporaryFile(/tmp/multipartBody7340151135581680032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746146974323,"filename":"image_26042025_00_05_12_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205031","file1":"1355205028","file0":"1355205025","file4":"1355205036","file5":"1355205038","file3":"1355205034"},"map_files_photo_id_array":[{"photo_id":"1355205038","filename":"file5"},{"photo_id":"1355205031","filename":"file2"},{"photo_id":"1355205036","filename":"file4"},{"photo_id":"1355205028","filename":"file1"},{"photo_id":"1355205025","filename":"file0"},{"photo_id":"1355205034","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205031":["hashtag1","hashtag2"]},{"1355205034":["hashtag1","hashtag2"]},{"1355205028":["hashtag1","hashtag2"]},{"1355205025":["hashtag1","hashtag2"]},{"1355205036":["hashtag1","hashtag2"]},{"1355205038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205031, 1355205034, 1355205028, 1355205025, 1355205036, 1355205038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03203725814819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:49:32.871874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/05/image_26042025_00_05_22_9469.jpg', '/home/pi/Desktop/images/26042025/00/05/image_26042025_00_05_32_10389.jpg', '/home/pi/Desktop/images/26042025/00/05/image_26042025_00_05_43_10351.jpg', '/home/pi/Desktop/images/26042025/00/05/image_26042025_00_05_52_9368.jpg', '/home/pi/Desktop/images/26042025/00/05/image_26042025_00_06_02_10477.jpg', '/home/pi/Desktop/images/26042025/00/06/image_26042025_00_06_12_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/05/image_26042025_00_05_22_9469.jpg
/home/pi/Desktop/images/26042025/00/05/image_26042025_00_05_32_10389.jpg
/home/pi/Desktop/images/26042025/00/05/image_26042025_00_05_43_10351.jpg
/home/pi/Desktop/images/26042025/00/05/image_26042025_00_05_52_9368.jpg
/home/pi/Desktop/images/26042025/00/05/image_26042025_00_06_02_10477.jpg
/home/pi/Desktop/images/26042025/00/06/image_26042025_00_06_12_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":["1355205070","1355205064","1355205066","1355205071","1355205068","1355205062"],"photo_ids_order":["1355205062","1355205064","1355205066","1355205068","1355205070","1355205071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/996dd4983050a83cf55362ef70135af0.jpg","text":"TemporaryFile(/tmp/multipartBody3526188758818070057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147034452,"filename":"image_26042025_00_06_02_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f42a7b2d0d33c78a8a5acd64b301bfe0.jpg","text":"TemporaryFile(/tmp/multipartBody7329581449076791894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147034452,"filename":"image_26042025_00_05_32_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c0a4f0e02bd3e1134e7062f0202d46e0.jpg","text":"TemporaryFile(/tmp/multipartBody5690686248866557528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147034452,"filename":"image_26042025_00_05_43_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e1fde114440b198dcef082c4015de3a5.jpg","text":"TemporaryFile(/tmp/multipartBody6378487226104713999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147034452,"filename":"image_26042025_00_06_12_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff260befaa7d5a0bd139d72b61dea5a4.jpg","text":"TemporaryFile(/tmp/multipartBody5250759252165581049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147034452,"filename":"image_26042025_00_05_52_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8aa0ba111b706825147f57ca81096dd8.jpg","text":"TemporaryFile(/tmp/multipartBody3131446018513024613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147034452,"filename":"image_26042025_00_05_22_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205066","file1":"1355205064","file0":"1355205062","file4":"1355205070","file5":"1355205071","file3":"1355205068"},"map_files_photo_id_array":[{"photo_id":"1355205071","filename":"file5"},{"photo_id":"1355205066","filename":"file2"},{"photo_id":"1355205070","filename":"file4"},{"photo_id":"1355205064","filename":"file1"},{"photo_id":"1355205062","filename":"file0"},{"photo_id":"1355205068","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205070":["hashtag1","hashtag2"]},{"1355205064":["hashtag1","hashtag2"]},{"1355205066":["hashtag1","hashtag2"]},{"1355205071":["hashtag1","hashtag2"]},{"1355205068":["hashtag1","hashtag2"]},{"1355205062":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205070, 1355205064, 1355205066, 1355205071, 1355205068, 1355205062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.162306785583496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:50:33.145288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/06/image_26042025_00_06_22_10369.jpg', '/home/pi/Desktop/images/26042025/00/06/image_26042025_00_06_33_10373.jpg', '/home/pi/Desktop/images/26042025/00/06/image_26042025_00_06_42_9370.jpg', '/home/pi/Desktop/images/26042025/00/06/image_26042025_00_06_52_10364.jpg', '/home/pi/Desktop/images/26042025/00/06/image_26042025_00_07_03_10425.jpg', '/home/pi/Desktop/images/26042025/00/07/image_26042025_00_07_12_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/06/image_26042025_00_06_22_10369.jpg
/home/pi/Desktop/images/26042025/00/06/image_26042025_00_06_33_10373.jpg
/home/pi/Desktop/images/26042025/00/06/image_26042025_00_06_42_9370.jpg
/home/pi/Desktop/images/26042025/00/06/image_26042025_00_06_52_10364.jpg
/home/pi/Desktop/images/26042025/00/06/image_26042025_00_07_03_10425.jpg
/home/pi/Desktop/images/26042025/00/07/image_26042025_00_07_12_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":["1355205091","1355205093","1355205087","1355205092","1355205089","1355205094"],"photo_ids_order":["1355205087","1355205089","1355205091","1355205092","1355205093","1355205094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8a4c0b5e2d3b1f5ccbf4b6184247b2c8.jpg","text":"TemporaryFile(/tmp/multipartBody5604837843020686999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147094743,"filename":"image_26042025_00_06_42_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a49aaa6b980d3cf6c1de93241595be36.jpg","text":"TemporaryFile(/tmp/multipartBody3651543615069492406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147094743,"filename":"image_26042025_00_07_03_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/763f5e590e1faedb46a690b74c7df130.jpg","text":"TemporaryFile(/tmp/multipartBody4120596143355582743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147094743,"filename":"image_26042025_00_06_22_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/77363434da8f6f98c0bf1ae72260f330.jpg","text":"TemporaryFile(/tmp/multipartBody3773517884889990949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147094743,"filename":"image_26042025_00_06_52_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94cdacb24e5d7399797c5071cc012052.jpg","text":"TemporaryFile(/tmp/multipartBody1208207880068948010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147094743,"filename":"image_26042025_00_06_33_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec9cf7a4b31e5001a75a8c9c0f1cc906.jpg","text":"TemporaryFile(/tmp/multipartBody7272239515460209538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147094743,"filename":"image_26042025_00_07_12_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205091","file1":"1355205089","file0":"1355205087","file4":"1355205093","file5":"1355205094","file3":"1355205092"},"map_files_photo_id_array":[{"photo_id":"1355205094","filename":"file5"},{"photo_id":"1355205091","filename":"file2"},{"photo_id":"1355205093","filename":"file4"},{"photo_id":"1355205089","filename":"file1"},{"photo_id":"1355205087","filename":"file0"},{"photo_id":"1355205092","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205091":["hashtag1","hashtag2"]},{"1355205093":["hashtag1","hashtag2"]},{"1355205087":["hashtag1","hashtag2"]},{"1355205092":["hashtag1","hashtag2"]},{"1355205089":["hashtag1","hashtag2"]},{"1355205094":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205091, 1355205093, 1355205087, 1355205092, 1355205089, 1355205094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.95928931236267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:51:32.466421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/07/image_26042025_00_07_23_10412.jpg', '/home/pi/Desktop/images/26042025/00/07/image_26042025_00_07_32_9356.jpg', '/home/pi/Desktop/images/26042025/00/07/image_26042025_00_07_42_10358.jpg', '/home/pi/Desktop/images/26042025/00/07/image_26042025_00_07_53_10496.jpg', '/home/pi/Desktop/images/26042025/00/07/image_26042025_00_08_02_9370.jpg', '/home/pi/Desktop/images/26042025/00/08/image_26042025_00_08_13_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/07/image_26042025_00_07_23_10412.jpg
/home/pi/Desktop/images/26042025/00/07/image_26042025_00_07_32_9356.jpg
/home/pi/Desktop/images/26042025/00/07/image_26042025_00_07_42_10358.jpg
/home/pi/Desktop/images/26042025/00/07/image_26042025_00_07_53_10496.jpg
/home/pi/Desktop/images/26042025/00/07/image_26042025_00_08_02_9370.jpg
/home/pi/Desktop/images/26042025/00/08/image_26042025_00_08_13_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":["1355205115","1355205111","1355205114","1355205108","1355205116","1355205113"],"photo_ids_order":["1355205108","1355205111","1355205113","1355205114","1355205115","1355205116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/48cc7bd8989a564291834ece82ff1975.jpg","text":"TemporaryFile(/tmp/multipartBody2658047047471495550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147154067,"filename":"image_26042025_00_08_02_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3725311a4957557591ae66dbb7aa966a.jpg","text":"TemporaryFile(/tmp/multipartBody6984324064325136871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147154067,"filename":"image_26042025_00_07_32_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/719869d2e20095f63ff4078e37717a1a.jpg","text":"TemporaryFile(/tmp/multipartBody8134009350130588724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147154067,"filename":"image_26042025_00_07_53_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/71380704f02d3436e94b0535a3fd09b3.jpg","text":"TemporaryFile(/tmp/multipartBody5428234170994801298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147154067,"filename":"image_26042025_00_07_23_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9456da2657e73422320d1154d536a5c9.jpg","text":"TemporaryFile(/tmp/multipartBody4049041458720653530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147154067,"filename":"image_26042025_00_08_13_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0d6aa64adbe7e8203784a0c7833b422.jpg","text":"TemporaryFile(/tmp/multipartBody8707690728473149934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147154067,"filename":"image_26042025_00_07_42_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205113","file1":"1355205111","file0":"1355205108","file4":"1355205115","file5":"1355205116","file3":"1355205114"},"map_files_photo_id_array":[{"photo_id":"1355205116","filename":"file5"},{"photo_id":"1355205113","filename":"file2"},{"photo_id":"1355205115","filename":"file4"},{"photo_id":"1355205111","filename":"file1"},{"photo_id":"1355205108","filename":"file0"},{"photo_id":"1355205114","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205115":["hashtag1","hashtag2"]},{"1355205111":["hashtag1","hashtag2"]},{"1355205114":["hashtag1","hashtag2"]},{"1355205108":["hashtag1","hashtag2"]},{"1355205116":["hashtag1","hashtag2"]},{"1355205113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205115, 1355205111, 1355205114, 1355205108, 1355205116, 1355205113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.869508504867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:52:32.638746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/08/image_26042025_00_08_22_9456.jpg', '/home/pi/Desktop/images/26042025/00/08/image_26042025_00_08_32_10455.jpg', '/home/pi/Desktop/images/26042025/00/08/image_26042025_00_08_43_10365.jpg', '/home/pi/Desktop/images/26042025/00/08/image_26042025_00_08_52_9459.jpg', '/home/pi/Desktop/images/26042025/00/08/image_26042025_00_09_03_10384.jpg', '/home/pi/Desktop/images/26042025/00/09/image_26042025_00_09_22_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/08/image_26042025_00_08_22_9456.jpg
/home/pi/Desktop/images/26042025/00/08/image_26042025_00_08_32_10455.jpg
/home/pi/Desktop/images/26042025/00/08/image_26042025_00_08_43_10365.jpg
/home/pi/Desktop/images/26042025/00/08/image_26042025_00_08_52_9459.jpg
/home/pi/Desktop/images/26042025/00/08/image_26042025_00_09_03_10384.jpg
/home/pi/Desktop/images/26042025/00/09/image_26042025_00_09_22_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":["1355205130","1355205136","1355205132","1355205126","1355205134","1355205128"],"photo_ids_order":["1355205126","1355205128","1355205130","1355205132","1355205134","1355205136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/787dd6a769ab5d15748233238a3d7d72.jpg","text":"TemporaryFile(/tmp/multipartBody6330674454263466190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147214299,"filename":"image_26042025_00_08_43_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5e80317fbcb316927ecc7dc0b41fa789.jpg","text":"TemporaryFile(/tmp/multipartBody7422541792617912693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147214299,"filename":"image_26042025_00_09_22_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4d68ee7b08eb02dbe60a28193a0e6de.jpg","text":"TemporaryFile(/tmp/multipartBody8784768410894447329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147214299,"filename":"image_26042025_00_08_52_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53d0c41af32168a0cce42e90ce71c46e.jpg","text":"TemporaryFile(/tmp/multipartBody7422640992733010034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147214299,"filename":"image_26042025_00_08_22_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0e43d78b9bb1b25d402ac5b1d7cfd6c4.jpg","text":"TemporaryFile(/tmp/multipartBody8917649056209754273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147214299,"filename":"image_26042025_00_09_03_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc0bd1a084d12eaa3b9cbeea8924d7ed.jpg","text":"TemporaryFile(/tmp/multipartBody5516812812588439214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147214299,"filename":"image_26042025_00_08_32_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205130","file1":"1355205128","file0":"1355205126","file4":"1355205134","file5":"1355205136","file3":"1355205132"},"map_files_photo_id_array":[{"photo_id":"1355205136","filename":"file5"},{"photo_id":"1355205130","filename":"file2"},{"photo_id":"1355205134","filename":"file4"},{"photo_id":"1355205128","filename":"file1"},{"photo_id":"1355205126","filename":"file0"},{"photo_id":"1355205132","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205130":["hashtag1","hashtag2"]},{"1355205136":["hashtag1","hashtag2"]},{"1355205132":["hashtag1","hashtag2"]},{"1355205126":["hashtag1","hashtag2"]},{"1355205134":["hashtag1","hashtag2"]},{"1355205128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205130, 1355205136, 1355205132, 1355205126, 1355205134, 1355205128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31331968307495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:53:32.801902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/09/image_26042025_00_09_32_9523.jpg', '/home/pi/Desktop/images/26042025/00/09/image_26042025_00_09_42_10359.jpg', '/home/pi/Desktop/images/26042025/00/09/image_26042025_00_09_53_10367.jpg', '/home/pi/Desktop/images/26042025/00/09/image_26042025_00_10_02_9459.jpg', '/home/pi/Desktop/images/26042025/00/10/image_26042025_00_10_13_10406.jpg', '/home/pi/Desktop/images/26042025/00/10/image_26042025_00_10_22_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/09/image_26042025_00_09_32_9523.jpg
/home/pi/Desktop/images/26042025/00/09/image_26042025_00_09_42_10359.jpg
/home/pi/Desktop/images/26042025/00/09/image_26042025_00_09_53_10367.jpg
/home/pi/Desktop/images/26042025/00/09/image_26042025_00_10_02_9459.jpg
/home/pi/Desktop/images/26042025/00/10/image_26042025_00_10_13_10406.jpg
/home/pi/Desktop/images/26042025/00/10/image_26042025_00_10_22_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":["1355205150","1355205147","1355205152","1355205161","1355205155","1355205158"],"photo_ids_order":["1355205147","1355205150","1355205152","1355205155","1355205158","1355205161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d9430d68bb0558763913cbd23977cad.jpg","text":"TemporaryFile(/tmp/multipartBody8415151310542305699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147274372,"filename":"image_26042025_00_09_42_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d9128eb1f93b841279c189f7222a976.jpg","text":"TemporaryFile(/tmp/multipartBody6104350935314362708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147274372,"filename":"image_26042025_00_09_32_9523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/332aad3ab7da94e60a3694877e5a9b12.jpg","text":"TemporaryFile(/tmp/multipartBody7316108767653678821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147274372,"filename":"image_26042025_00_09_53_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/91bcadb9f70292c2b6df55d835563020.jpg","text":"TemporaryFile(/tmp/multipartBody2504742768787316980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147274372,"filename":"image_26042025_00_10_22_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/52f851f1f4586a1fe46b7114165c58ec.jpg","text":"TemporaryFile(/tmp/multipartBody996047260788045292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147274372,"filename":"image_26042025_00_10_02_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4bdb61d10c5b4b63d82776657323bf07.jpg","text":"TemporaryFile(/tmp/multipartBody7096218439403435885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147274372,"filename":"image_26042025_00_10_13_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205152","file1":"1355205150","file0":"1355205147","file4":"1355205158","file5":"1355205161","file3":"1355205155"},"map_files_photo_id_array":[{"photo_id":"1355205161","filename":"file5"},{"photo_id":"1355205152","filename":"file2"},{"photo_id":"1355205158","filename":"file4"},{"photo_id":"1355205150","filename":"file1"},{"photo_id":"1355205147","filename":"file0"},{"photo_id":"1355205155","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205150":["hashtag1","hashtag2"]},{"1355205147":["hashtag1","hashtag2"]},{"1355205152":["hashtag1","hashtag2"]},{"1355205161":["hashtag1","hashtag2"]},{"1355205155":["hashtag1","hashtag2"]},{"1355205158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205150, 1355205147, 1355205152, 1355205161, 1355205155, 1355205158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54695415496826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:54:32.981905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/10/image_26042025_00_10_32_10380.jpg', '/home/pi/Desktop/images/26042025/00/10/image_26042025_00_10_43_10420.jpg', '/home/pi/Desktop/images/26042025/00/10/image_26042025_00_10_52_9351.jpg', '/home/pi/Desktop/images/26042025/00/10/image_26042025_00_11_03_10375.jpg', '/home/pi/Desktop/images/26042025/00/11/image_26042025_00_11_12_9450.jpg', '/home/pi/Desktop/images/26042025/00/11/image_26042025_00_11_22_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/10/image_26042025_00_10_32_10380.jpg
/home/pi/Desktop/images/26042025/00/10/image_26042025_00_10_43_10420.jpg
/home/pi/Desktop/images/26042025/00/10/image_26042025_00_10_52_9351.jpg
/home/pi/Desktop/images/26042025/00/10/image_26042025_00_11_03_10375.jpg
/home/pi/Desktop/images/26042025/00/11/image_26042025_00_11_12_9450.jpg
/home/pi/Desktop/images/26042025/00/11/image_26042025_00_11_22_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":["1355205178","1355205172","1355205183","1355205185","1355205181","1355205175"],"photo_ids_order":["1355205172","1355205175","1355205178","1355205181","1355205183","1355205185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6dcb2720ff7f782666545391d148bd1f.jpg","text":"TemporaryFile(/tmp/multipartBody2010304412121241257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147334583,"filename":"image_26042025_00_10_52_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f9adc2d07d0126597020cf2342079e8.jpg","text":"TemporaryFile(/tmp/multipartBody7467361135333037648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147334583,"filename":"image_26042025_00_10_32_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9bc2d90c74487979f067d41bc0a3a298.jpg","text":"TemporaryFile(/tmp/multipartBody3500618701980407242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147334583,"filename":"image_26042025_00_11_12_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85c1bc1980b094eb5ba188e96fc08aee.jpg","text":"TemporaryFile(/tmp/multipartBody4641354810118330354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147334583,"filename":"image_26042025_00_11_22_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0c2c1519d8f19f34b522c20e48b7d7c3.jpg","text":"TemporaryFile(/tmp/multipartBody4799421082721693534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147334583,"filename":"image_26042025_00_11_03_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5327337bb72566705b2e24cedd6f0611.jpg","text":"TemporaryFile(/tmp/multipartBody6704422668460944171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147334583,"filename":"image_26042025_00_10_43_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205178","file1":"1355205175","file0":"1355205172","file4":"1355205183","file5":"1355205185","file3":"1355205181"},"map_files_photo_id_array":[{"photo_id":"1355205185","filename":"file5"},{"photo_id":"1355205178","filename":"file2"},{"photo_id":"1355205183","filename":"file4"},{"photo_id":"1355205175","filename":"file1"},{"photo_id":"1355205172","filename":"file0"},{"photo_id":"1355205181","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205178":["hashtag1","hashtag2"]},{"1355205172":["hashtag1","hashtag2"]},{"1355205183":["hashtag1","hashtag2"]},{"1355205185":["hashtag1","hashtag2"]},{"1355205181":["hashtag1","hashtag2"]},{"1355205175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205178, 1355205172, 1355205183, 1355205185, 1355205181, 1355205175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.343576192855835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:55:32.155806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/11/image_26042025_00_11_33_10436.jpg', '/home/pi/Desktop/images/26042025/00/11/image_26042025_00_11_42_9369.jpg', '/home/pi/Desktop/images/26042025/00/11/image_26042025_00_11_53_10388.jpg', '/home/pi/Desktop/images/26042025/00/11/image_26042025_00_12_02_9467.jpg', '/home/pi/Desktop/images/26042025/00/12/image_26042025_00_12_12_10401.jpg', '/home/pi/Desktop/images/26042025/00/12/image_26042025_00_12_22_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/11/image_26042025_00_11_33_10436.jpg
/home/pi/Desktop/images/26042025/00/11/image_26042025_00_11_42_9369.jpg
/home/pi/Desktop/images/26042025/00/11/image_26042025_00_11_53_10388.jpg
/home/pi/Desktop/images/26042025/00/11/image_26042025_00_12_02_9467.jpg
/home/pi/Desktop/images/26042025/00/12/image_26042025_00_12_12_10401.jpg
/home/pi/Desktop/images/26042025/00/12/image_26042025_00_12_22_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":["1355205199","1355205208","1355205202","1355205195","1355205204","1355205206"],"photo_ids_order":["1355205195","1355205199","1355205202","1355205204","1355205206","1355205208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c5db544b56217f659babd37a11f29838.jpg","text":"TemporaryFile(/tmp/multipartBody7447211672100246478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147393746,"filename":"image_26042025_00_11_42_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30a7364a47f594d2f152d5692848ee77.jpg","text":"TemporaryFile(/tmp/multipartBody7320852422922771636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147393746,"filename":"image_26042025_00_12_22_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd656e531dcf9d4824268958caef0b85.jpg","text":"TemporaryFile(/tmp/multipartBody8101223799872976460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147393746,"filename":"image_26042025_00_11_53_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cff7708a39d6b44dfd950979aa606d36.jpg","text":"TemporaryFile(/tmp/multipartBody5151483687427737862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147393746,"filename":"image_26042025_00_11_33_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e4b17e48138bfb76c5a1c2dae529dab.jpg","text":"TemporaryFile(/tmp/multipartBody361360800241727624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147393746,"filename":"image_26042025_00_12_02_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de6927c64d242478837f94690e13df7b.jpg","text":"TemporaryFile(/tmp/multipartBody5391186068948751220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147393746,"filename":"image_26042025_00_12_12_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205202","file1":"1355205199","file0":"1355205195","file4":"1355205206","file5":"1355205208","file3":"1355205204"},"map_files_photo_id_array":[{"photo_id":"1355205208","filename":"file5"},{"photo_id":"1355205202","filename":"file2"},{"photo_id":"1355205206","filename":"file4"},{"photo_id":"1355205199","filename":"file1"},{"photo_id":"1355205195","filename":"file0"},{"photo_id":"1355205204","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205199":["hashtag1","hashtag2"]},{"1355205208":["hashtag1","hashtag2"]},{"1355205202":["hashtag1","hashtag2"]},{"1355205195":["hashtag1","hashtag2"]},{"1355205204":["hashtag1","hashtag2"]},{"1355205206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205199, 1355205208, 1355205202, 1355205195, 1355205204, 1355205206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52727127075195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:56:32.490764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/12/image_26042025_00_12_32_10389.jpg', '/home/pi/Desktop/images/26042025/00/12/image_26042025_00_12_43_10364.jpg', '/home/pi/Desktop/images/26042025/00/12/image_26042025_00_12_52_9414.jpg', '/home/pi/Desktop/images/26042025/00/12/image_26042025_00_13_02_10401.jpg', '/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_12_9490.jpg', '/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_22_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/12/image_26042025_00_12_32_10389.jpg
/home/pi/Desktop/images/26042025/00/12/image_26042025_00_12_43_10364.jpg
/home/pi/Desktop/images/26042025/00/12/image_26042025_00_12_52_9414.jpg
/home/pi/Desktop/images/26042025/00/12/image_26042025_00_13_02_10401.jpg
/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_12_9490.jpg
/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_22_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":["1355205229","1355205222","1355205231","1355205227","1355205224","1355205218"],"photo_ids_order":["1355205218","1355205222","1355205224","1355205227","1355205229","1355205231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ef780020c49995f6ebc17c801029b97d.jpg","text":"TemporaryFile(/tmp/multipartBody1001675729717955718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147454071,"filename":"image_26042025_00_13_12_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/968e00f5764e3441f4e06fde26f64bae.jpg","text":"TemporaryFile(/tmp/multipartBody1969927197339795086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147454071,"filename":"image_26042025_00_12_43_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/604fac9b017a786b0765c9ac4f75bd87.jpg","text":"TemporaryFile(/tmp/multipartBody3177683846525803573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147454071,"filename":"image_26042025_00_13_22_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/072dbfcf7c599b525c6b169b083907a2.jpg","text":"TemporaryFile(/tmp/multipartBody5489338623227811663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147454071,"filename":"image_26042025_00_13_02_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/569d76f1ac8ace5dde398b69a4843f19.jpg","text":"TemporaryFile(/tmp/multipartBody5643123663020821103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147454071,"filename":"image_26042025_00_12_52_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f470781de9ec98491be7c39be8fd88b2.jpg","text":"TemporaryFile(/tmp/multipartBody2267853367459951907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147454071,"filename":"image_26042025_00_12_32_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205224","file1":"1355205222","file0":"1355205218","file4":"1355205229","file5":"1355205231","file3":"1355205227"},"map_files_photo_id_array":[{"photo_id":"1355205231","filename":"file5"},{"photo_id":"1355205224","filename":"file2"},{"photo_id":"1355205229","filename":"file4"},{"photo_id":"1355205222","filename":"file1"},{"photo_id":"1355205218","filename":"file0"},{"photo_id":"1355205227","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205229":["hashtag1","hashtag2"]},{"1355205222":["hashtag1","hashtag2"]},{"1355205231":["hashtag1","hashtag2"]},{"1355205227":["hashtag1","hashtag2"]},{"1355205224":["hashtag1","hashtag2"]},{"1355205218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205229, 1355205222, 1355205231, 1355205227, 1355205224, 1355205218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45379638671875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:57:32.869709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_33_10443.jpg', '/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_42_9393.jpg', '/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_53_10437.jpg', '/home/pi/Desktop/images/26042025/00/13/image_26042025_00_14_02_9453.jpg', '/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_12_10359.jpg', '/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_22_9492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_33_10443.jpg
/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_42_9393.jpg
/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_53_10437.jpg
/home/pi/Desktop/images/26042025/00/13/image_26042025_00_14_02_9453.jpg
/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_12_10359.jpg
/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_22_9492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 02:59:03.030944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_33_10443.jpg', '/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_42_9393.jpg', '/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_53_10437.jpg', '/home/pi/Desktop/images/26042025/00/13/image_26042025_00_14_02_9453.jpg', '/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_12_10359.jpg', '/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_22_9492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_33_10443.jpg
/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_42_9393.jpg
/home/pi/Desktop/images/26042025/00/13/image_26042025_00_13_53_10437.jpg
/home/pi/Desktop/images/26042025/00/13/image_26042025_00_14_02_9453.jpg
/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_12_10359.jpg
/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_22_9492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355205271","1355205284","1355205278","1355205292","1355205295","1355205289"],"photo_ids_order":["1355205271","1355205278","1355205284","1355205289","1355205292","1355205295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8868246674bffb44a9f529fe2eb0653d.jpg","text":"TemporaryFile(/tmp/multipartBody8384657151802483107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147603805,"filename":"image_26042025_00_13_33_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84e9fe8741686d64d84253d791d4a5c9.jpg","text":"TemporaryFile(/tmp/multipartBody4352617179351282798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147603805,"filename":"image_26042025_00_13_53_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa60dfa9073e88b6d40e37edf1c4b3b0.jpg","text":"TemporaryFile(/tmp/multipartBody2909652583231564055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147603805,"filename":"image_26042025_00_13_42_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97ecb8bd17a63d47e3dbf60f926d85e3.jpg","text":"TemporaryFile(/tmp/multipartBody8698179005660234984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147603805,"filename":"image_26042025_00_14_12_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e00964b71d82fc9f3e2ed1c69b526bae.jpg","text":"TemporaryFile(/tmp/multipartBody7140655121459527424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147603805,"filename":"image_26042025_00_14_22_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d871a1fb58a4570419a5354144baeaf8.jpg","text":"TemporaryFile(/tmp/multipartBody2313728550449315822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147603805,"filename":"image_26042025_00_14_02_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205284","file1":"1355205278","file0":"1355205271","file4":"1355205292","file5":"1355205295","file3":"1355205289"},"map_files_photo_id_array":[{"photo_id":"1355205295","filename":"file5"},{"photo_id":"1355205284","filename":"file2"},{"photo_id":"1355205292","filename":"file4"},{"photo_id":"1355205278","filename":"file1"},{"photo_id":"1355205271","filename":"file0"},{"photo_id":"1355205289","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205271":["hashtag1","hashtag2"]},{"1355205284":["hashtag1","hashtag2"]},{"1355205278":["hashtag1","hashtag2"]},{"1355205292":["hashtag1","hashtag2"]},{"1355205295":["hashtag1","hashtag2"]},{"1355205289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205271, 1355205284, 1355205278, 1355205292, 1355205295, 1355205289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.025102376937866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 02:59:52.209221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_32_10417.jpg', '/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_43_10440.jpg', '/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_52_9434.jpg', '/home/pi/Desktop/images/26042025/00/14/image_26042025_00_15_03_10362.jpg', '/home/pi/Desktop/images/26042025/00/15/image_26042025_00_15_12_9454.jpg', '/home/pi/Desktop/images/26042025/00/15/image_26042025_00_15_22_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_32_10417.jpg
/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_43_10440.jpg
/home/pi/Desktop/images/26042025/00/14/image_26042025_00_14_52_9434.jpg
/home/pi/Desktop/images/26042025/00/14/image_26042025_00_15_03_10362.jpg
/home/pi/Desktop/images/26042025/00/15/image_26042025_00_15_12_9454.jpg
/home/pi/Desktop/images/26042025/00/15/image_26042025_00_15_22_10372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355205310","1355205312","1355205315","1355205350","1355205308","1355205305"],"photo_ids_order":["1355205305","1355205308","1355205310","1355205312","1355205315","1355205350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc32780834e7faf972f99e19febfa7eb.jpg","text":"TemporaryFile(/tmp/multipartBody2023843347832724650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147653812,"filename":"image_26042025_00_14_52_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/243d04b3c8bc17c201cf2fda407b0116.jpg","text":"TemporaryFile(/tmp/multipartBody6974597297477628628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147653812,"filename":"image_26042025_00_15_03_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/57adbb4ce382651cf868fba019f11d21.jpg","text":"TemporaryFile(/tmp/multipartBody7111384698951765730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147653812,"filename":"image_26042025_00_15_12_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4aff39b80276377d07c6537a21993968.jpg","text":"TemporaryFile(/tmp/multipartBody709803860461019241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147653812,"filename":"image_26042025_00_15_22_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a04a2ee3cc7840c783bfb58b596f9838.jpg","text":"TemporaryFile(/tmp/multipartBody6052381954029536299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147653812,"filename":"image_26042025_00_14_43_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2213d4b114764be2b82aa9cc3f22b65.jpg","text":"TemporaryFile(/tmp/multipartBody663463084641368142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147653812,"filename":"image_26042025_00_14_32_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205310","file1":"1355205308","file0":"1355205305","file4":"1355205315","file5":"1355205350","file3":"1355205312"},"map_files_photo_id_array":[{"photo_id":"1355205350","filename":"file5"},{"photo_id":"1355205310","filename":"file2"},{"photo_id":"1355205315","filename":"file4"},{"photo_id":"1355205308","filename":"file1"},{"photo_id":"1355205305","filename":"file0"},{"photo_id":"1355205312","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205310":["hashtag1","hashtag2"]},{"1355205312":["hashtag1","hashtag2"]},{"1355205315":["hashtag1","hashtag2"]},{"1355205350":["hashtag1","hashtag2"]},{"1355205308":["hashtag1","hashtag2"]},{"1355205305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205310, 1355205312, 1355205315, 1355205350, 1355205308, 1355205305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45074772834778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:00:32.496623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/15/image_26042025_00_15_32_9436.jpg', '/home/pi/Desktop/images/26042025/00/15/image_26042025_00_15_42_10462.jpg', '/home/pi/Desktop/images/26042025/00/15/image_26042025_00_15_53_10485.jpg', '/home/pi/Desktop/images/26042025/00/15/image_26042025_00_16_02_9365.jpg', '/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_13_10471.jpg', '/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_22_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/15/image_26042025_00_15_32_9436.jpg
/home/pi/Desktop/images/26042025/00/15/image_26042025_00_15_42_10462.jpg
/home/pi/Desktop/images/26042025/00/15/image_26042025_00_15_53_10485.jpg
/home/pi/Desktop/images/26042025/00/15/image_26042025_00_16_02_9365.jpg
/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_13_10471.jpg
/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_22_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":["1355205733","1355205663","1355205552","1355205923","1355205605","1355205812"],"photo_ids_order":["1355205552","1355205605","1355205663","1355205733","1355205812","1355205923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4004e4d9b1f4d74cf70c061772d9d330.jpg","text":"TemporaryFile(/tmp/multipartBody4029052057812320412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147694101,"filename":"image_26042025_00_16_02_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ece190c45568629ecace1fc90505559.jpg","text":"TemporaryFile(/tmp/multipartBody4011658737843513496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147694101,"filename":"image_26042025_00_15_53_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d980444ce00ffe7933289f29ba951fa7.jpg","text":"TemporaryFile(/tmp/multipartBody2078276147445698059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147694101,"filename":"image_26042025_00_15_32_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f1440c988d946c9354c0df09a494697.jpg","text":"TemporaryFile(/tmp/multipartBody3336353981023974061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147694101,"filename":"image_26042025_00_16_22_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6b844be8f7db4373f5d232b41ae841b.jpg","text":"TemporaryFile(/tmp/multipartBody3357610333760049350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147694101,"filename":"image_26042025_00_15_42_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/969ee920ffe13ade8a52a74417818b1e.jpg","text":"TemporaryFile(/tmp/multipartBody6744722759002132769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147694101,"filename":"image_26042025_00_16_13_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355205663","file1":"1355205605","file0":"1355205552","file4":"1355205812","file5":"1355205923","file3":"1355205733"},"map_files_photo_id_array":[{"photo_id":"1355205923","filename":"file5"},{"photo_id":"1355205663","filename":"file2"},{"photo_id":"1355205812","filename":"file4"},{"photo_id":"1355205605","filename":"file1"},{"photo_id":"1355205552","filename":"file0"},{"photo_id":"1355205733","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355205733":["hashtag1","hashtag2"]},{"1355205663":["hashtag1","hashtag2"]},{"1355205552":["hashtag1","hashtag2"]},{"1355205923":["hashtag1","hashtag2"]},{"1355205605":["hashtag1","hashtag2"]},{"1355205812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355205733, 1355205663, 1355205552, 1355205923, 1355205605, 1355205812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37315130233765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:01:32.698003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_32_10378.jpg', '/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_42_9445.jpg', '/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_52_10371.jpg', '/home/pi/Desktop/images/26042025/00/16/image_26042025_00_17_03_10404.jpg', '/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_12_9446.jpg', '/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_23_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_32_10378.jpg
/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_42_9445.jpg
/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_52_10371.jpg
/home/pi/Desktop/images/26042025/00/16/image_26042025_00_17_03_10404.jpg
/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_12_9446.jpg
/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_23_10437.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5194306373596191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 03:01:42.775702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_32_10378.jpg', '/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_42_9445.jpg', '/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_52_10371.jpg', '/home/pi/Desktop/images/26042025/00/16/image_26042025_00_17_03_10404.jpg', '/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_12_9446.jpg', '/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_23_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_32_10378.jpg
/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_42_9445.jpg
/home/pi/Desktop/images/26042025/00/16/image_26042025_00_16_52_10371.jpg
/home/pi/Desktop/images/26042025/00/16/image_26042025_00_17_03_10404.jpg
/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_12_9446.jpg
/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_23_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355207157","1355206929","1355207000","1355207077","1355207236","1355206849"],"photo_ids_order":["1355206849","1355206929","1355207000","1355207077","1355207157","1355207236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85ef7b801f02853ec3ca20ddf15908ae.jpg","text":"TemporaryFile(/tmp/multipartBody5141451029483708153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147763495,"filename":"image_26042025_00_17_12_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a62f266089c0a8b699ab574750564cbb.jpg","text":"TemporaryFile(/tmp/multipartBody8896980968066068325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147763495,"filename":"image_26042025_00_16_42_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d562205ad74822103d69dea8cbe54468.jpg","text":"TemporaryFile(/tmp/multipartBody6013609689414608974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147763495,"filename":"image_26042025_00_16_52_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8a03e2ae74e23152fc23878abdf36e7d.jpg","text":"TemporaryFile(/tmp/multipartBody5160514571058599713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147763495,"filename":"image_26042025_00_17_03_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d93f07c46093b26dd2c7c1c4cc2fd3e7.jpg","text":"TemporaryFile(/tmp/multipartBody8955384883998249259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147763495,"filename":"image_26042025_00_17_23_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f72fdba1060e2a81f8589b912b69fc0c.jpg","text":"TemporaryFile(/tmp/multipartBody7975339634980707189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147763495,"filename":"image_26042025_00_16_32_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355207000","file1":"1355206929","file0":"1355206849","file4":"1355207157","file5":"1355207236","file3":"1355207077"},"map_files_photo_id_array":[{"photo_id":"1355207236","filename":"file5"},{"photo_id":"1355207000","filename":"file2"},{"photo_id":"1355207157","filename":"file4"},{"photo_id":"1355206929","filename":"file1"},{"photo_id":"1355206849","filename":"file0"},{"photo_id":"1355207077","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355207157":["hashtag1","hashtag2"]},{"1355206929":["hashtag1","hashtag2"]},{"1355207000":["hashtag1","hashtag2"]},{"1355207077":["hashtag1","hashtag2"]},{"1355207236":["hashtag1","hashtag2"]},{"1355206849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355207157, 1355206929, 1355207000, 1355207077, 1355207236, 1355206849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.492528200149536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:02:32.857264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_32_9371.jpg', '/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_42_10370.jpg', '/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_53_10390.jpg', '/home/pi/Desktop/images/26042025/00/17/image_26042025_00_18_02_9376.jpg', '/home/pi/Desktop/images/26042025/00/18/image_26042025_00_18_12_10379.jpg', '/home/pi/Desktop/images/26042025/00/18/image_26042025_00_18_22_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_32_9371.jpg
/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_42_10370.jpg
/home/pi/Desktop/images/26042025/00/17/image_26042025_00_17_53_10390.jpg
/home/pi/Desktop/images/26042025/00/17/image_26042025_00_18_02_9376.jpg
/home/pi/Desktop/images/26042025/00/18/image_26042025_00_18_12_10379.jpg
/home/pi/Desktop/images/26042025/00/18/image_26042025_00_18_22_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":["1355207925","1355207888","1355207981","1355207954","1355207861","1355207812"],"photo_ids_order":["1355207812","1355207861","1355207888","1355207925","1355207954","1355207981"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/318f2d345aa4a6995781c2f6df609d13.jpg","text":"TemporaryFile(/tmp/multipartBody2436533289734154399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147814436,"filename":"image_26042025_00_18_02_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5016a573951dca0d3d937324b51a0634.jpg","text":"TemporaryFile(/tmp/multipartBody2037401272202054917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147814436,"filename":"image_26042025_00_17_53_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/590251dedb6501dd74c5e7b7ce6bf6da.jpg","text":"TemporaryFile(/tmp/multipartBody8263684539238325221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147814436,"filename":"image_26042025_00_18_22_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e2ce01baf01813f3c71c62e95fe770b.jpg","text":"TemporaryFile(/tmp/multipartBody8407864965212423841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147814436,"filename":"image_26042025_00_18_12_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5b8ff4fd963b8a428f602b90defdc106.jpg","text":"TemporaryFile(/tmp/multipartBody8481663819975515551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147814436,"filename":"image_26042025_00_17_42_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b4b476f2d5a15d069c1e7142e847ff1.jpg","text":"TemporaryFile(/tmp/multipartBody1969667972675834293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147814436,"filename":"image_26042025_00_17_32_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355207888","file1":"1355207861","file0":"1355207812","file4":"1355207954","file5":"1355207981","file3":"1355207925"},"map_files_photo_id_array":[{"photo_id":"1355207981","filename":"file5"},{"photo_id":"1355207888","filename":"file2"},{"photo_id":"1355207954","filename":"file4"},{"photo_id":"1355207861","filename":"file1"},{"photo_id":"1355207812","filename":"file0"},{"photo_id":"1355207925","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355207925":["hashtag1","hashtag2"]},{"1355207888":["hashtag1","hashtag2"]},{"1355207981":["hashtag1","hashtag2"]},{"1355207954":["hashtag1","hashtag2"]},{"1355207861":["hashtag1","hashtag2"]},{"1355207812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355207925, 1355207888, 1355207981, 1355207954, 1355207861, 1355207812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.781543254852295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:03:33.026974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/18/image_26042025_00_18_32_10370.jpg', '/home/pi/Desktop/images/26042025/00/18/image_26042025_00_18_43_10521.jpg', '/home/pi/Desktop/images/26042025/00/18/image_26042025_00_18_52_9408.jpg', '/home/pi/Desktop/images/26042025/00/18/image_26042025_00_19_03_10382.jpg', '/home/pi/Desktop/images/26042025/00/19/image_26042025_00_19_12_9448.jpg', '/home/pi/Desktop/images/26042025/00/19/image_26042025_00_19_22_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/18/image_26042025_00_18_32_10370.jpg
/home/pi/Desktop/images/26042025/00/18/image_26042025_00_18_43_10521.jpg
/home/pi/Desktop/images/26042025/00/18/image_26042025_00_18_52_9408.jpg
/home/pi/Desktop/images/26042025/00/18/image_26042025_00_19_03_10382.jpg
/home/pi/Desktop/images/26042025/00/19/image_26042025_00_19_12_9448.jpg
/home/pi/Desktop/images/26042025/00/19/image_26042025_00_19_22_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":["1355208088","1355208142","1355208022","1355208019","1355208039","1355208024"],"photo_ids_order":["1355208019","1355208022","1355208024","1355208039","1355208088","1355208142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c20a402555679c6ce754661f1b1692fa.jpg","text":"TemporaryFile(/tmp/multipartBody8505166941950475054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147874619,"filename":"image_26042025_00_19_12_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed38c348db8d95e46ab6a9dad1a9a8bd.jpg","text":"TemporaryFile(/tmp/multipartBody1605317203270782200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147874619,"filename":"image_26042025_00_19_22_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2576005ae8c0c68029f3a54f694fcaec.jpg","text":"TemporaryFile(/tmp/multipartBody4376822934082521293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147874619,"filename":"image_26042025_00_18_43_10521.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21c92d96f2844eb3d68e1668fa35a34f.jpg","text":"TemporaryFile(/tmp/multipartBody4777124257150253792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147874619,"filename":"image_26042025_00_18_32_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a7a4b71610f2dfeabc44b9a6df18ea3.jpg","text":"TemporaryFile(/tmp/multipartBody7758716295710434662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147874619,"filename":"image_26042025_00_19_03_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7a17b300ba790f86db021042c4be1eff.jpg","text":"TemporaryFile(/tmp/multipartBody7252393565770038750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147874619,"filename":"image_26042025_00_18_52_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355208024","file1":"1355208022","file0":"1355208019","file4":"1355208088","file5":"1355208142","file3":"1355208039"},"map_files_photo_id_array":[{"photo_id":"1355208142","filename":"file5"},{"photo_id":"1355208024","filename":"file2"},{"photo_id":"1355208088","filename":"file4"},{"photo_id":"1355208022","filename":"file1"},{"photo_id":"1355208019","filename":"file0"},{"photo_id":"1355208039","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355208088":["hashtag1","hashtag2"]},{"1355208142":["hashtag1","hashtag2"]},{"1355208022":["hashtag1","hashtag2"]},{"1355208019":["hashtag1","hashtag2"]},{"1355208039":["hashtag1","hashtag2"]},{"1355208024":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355208088, 1355208142, 1355208022, 1355208019, 1355208039, 1355208024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94450545310974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:04:32.254714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/19/image_26042025_00_19_32_9426.jpg', '/home/pi/Desktop/images/26042025/00/19/image_26042025_00_19_42_10364.jpg', '/home/pi/Desktop/images/26042025/00/19/image_26042025_00_19_53_10384.jpg', '/home/pi/Desktop/images/26042025/00/19/image_26042025_00_20_02_9379.jpg', '/home/pi/Desktop/images/26042025/00/20/image_26042025_00_20_12_10380.jpg', '/home/pi/Desktop/images/26042025/00/20/image_26042025_00_20_23_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/19/image_26042025_00_19_32_9426.jpg
/home/pi/Desktop/images/26042025/00/19/image_26042025_00_19_42_10364.jpg
/home/pi/Desktop/images/26042025/00/19/image_26042025_00_19_53_10384.jpg
/home/pi/Desktop/images/26042025/00/19/image_26042025_00_20_02_9379.jpg
/home/pi/Desktop/images/26042025/00/20/image_26042025_00_20_12_10380.jpg
/home/pi/Desktop/images/26042025/00/20/image_26042025_00_20_23_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":["1355208609","1355208680","1355208578","1355208545","1355208739","1355208643"],"photo_ids_order":["1355208545","1355208578","1355208609","1355208643","1355208680","1355208739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6970ca848c7af1d6d537c9b6f67a151b.jpg","text":"TemporaryFile(/tmp/multipartBody4756202554971686357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147933849,"filename":"image_26042025_00_19_53_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/64bece7668c3b4e2b70707de27888f3b.jpg","text":"TemporaryFile(/tmp/multipartBody3991297722521802166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147933849,"filename":"image_26042025_00_20_12_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/975677673fa7b9a3dc9534f7f6a843b1.jpg","text":"TemporaryFile(/tmp/multipartBody8075445536806107162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147933849,"filename":"image_26042025_00_19_42_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e81560b4905817ebda774b4725bd4058.jpg","text":"TemporaryFile(/tmp/multipartBody1585725607999115073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147933849,"filename":"image_26042025_00_19_32_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3dd8f196e6316fc005fcf867046f6fda.jpg","text":"TemporaryFile(/tmp/multipartBody3043135330840778290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147933849,"filename":"image_26042025_00_20_23_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58624ff45a6e6785d0f10a940ce5f978.jpg","text":"TemporaryFile(/tmp/multipartBody7696954442403860646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147933849,"filename":"image_26042025_00_20_02_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355208609","file1":"1355208578","file0":"1355208545","file4":"1355208680","file5":"1355208739","file3":"1355208643"},"map_files_photo_id_array":[{"photo_id":"1355208739","filename":"file5"},{"photo_id":"1355208609","filename":"file2"},{"photo_id":"1355208680","filename":"file4"},{"photo_id":"1355208578","filename":"file1"},{"photo_id":"1355208545","filename":"file0"},{"photo_id":"1355208643","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355208609":["hashtag1","hashtag2"]},{"1355208680":["hashtag1","hashtag2"]},{"1355208578":["hashtag1","hashtag2"]},{"1355208545":["hashtag1","hashtag2"]},{"1355208739":["hashtag1","hashtag2"]},{"1355208643":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355208609, 1355208680, 1355208578, 1355208545, 1355208739, 1355208643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71273851394653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:05:32.489699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/20/image_26042025_00_20_32_9358.jpg', '/home/pi/Desktop/images/26042025/00/20/image_26042025_00_20_43_10358.jpg', '/home/pi/Desktop/images/26042025/00/20/image_26042025_00_20_52_9397.jpg', '/home/pi/Desktop/images/26042025/00/20/image_26042025_00_21_02_10395.jpg', '/home/pi/Desktop/images/26042025/00/21/image_26042025_00_21_13_10369.jpg', '/home/pi/Desktop/images/26042025/00/21/image_26042025_00_21_22_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/20/image_26042025_00_20_32_9358.jpg
/home/pi/Desktop/images/26042025/00/20/image_26042025_00_20_43_10358.jpg
/home/pi/Desktop/images/26042025/00/20/image_26042025_00_20_52_9397.jpg
/home/pi/Desktop/images/26042025/00/20/image_26042025_00_21_02_10395.jpg
/home/pi/Desktop/images/26042025/00/21/image_26042025_00_21_13_10369.jpg
/home/pi/Desktop/images/26042025/00/21/image_26042025_00_21_22_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":["1355209064","1355209099","1355209095","1355209048","1355209089","1355209097"],"photo_ids_order":["1355209048","1355209064","1355209089","1355209095","1355209097","1355209099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/edad7c88652d9bf41b072db033fc21c6.jpg","text":"TemporaryFile(/tmp/multipartBody9203323195758473912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147994068,"filename":"image_26042025_00_20_43_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/08805818bade2aa4b7917e1e49d5649c.jpg","text":"TemporaryFile(/tmp/multipartBody2484763226675221320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147994068,"filename":"image_26042025_00_21_22_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e977466aa75fe48aa53624f304912bc.jpg","text":"TemporaryFile(/tmp/multipartBody381855607244326911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147994068,"filename":"image_26042025_00_21_02_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/68b8f57bb9caf9b708d50c4bb654d3a9.jpg","text":"TemporaryFile(/tmp/multipartBody8251903024816871932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147994068,"filename":"image_26042025_00_20_32_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a146b43c93a05cc29ab47007de118b0.jpg","text":"TemporaryFile(/tmp/multipartBody7278048371096856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147994068,"filename":"image_26042025_00_20_52_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a71ce53d5b5462e975bf64e21c296c4e.jpg","text":"TemporaryFile(/tmp/multipartBody3863215094672012690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746147994068,"filename":"image_26042025_00_21_13_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209089","file1":"1355209064","file0":"1355209048","file4":"1355209097","file5":"1355209099","file3":"1355209095"},"map_files_photo_id_array":[{"photo_id":"1355209099","filename":"file5"},{"photo_id":"1355209089","filename":"file2"},{"photo_id":"1355209097","filename":"file4"},{"photo_id":"1355209064","filename":"file1"},{"photo_id":"1355209048","filename":"file0"},{"photo_id":"1355209095","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209064":["hashtag1","hashtag2"]},{"1355209099":["hashtag1","hashtag2"]},{"1355209095":["hashtag1","hashtag2"]},{"1355209048":["hashtag1","hashtag2"]},{"1355209089":["hashtag1","hashtag2"]},{"1355209097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209064, 1355209099, 1355209095, 1355209048, 1355209089, 1355209097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5900502204895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:06:32.672909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/21/image_26042025_00_21_32_10365.jpg', '/home/pi/Desktop/images/26042025/00/21/image_26042025_00_21_42_9472.jpg', '/home/pi/Desktop/images/26042025/00/21/image_26042025_00_21_52_10374.jpg', '/home/pi/Desktop/images/26042025/00/21/image_26042025_00_22_03_10518.jpg', '/home/pi/Desktop/images/26042025/00/22/image_26042025_00_22_12_9423.jpg', '/home/pi/Desktop/images/26042025/00/22/image_26042025_00_22_23_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/21/image_26042025_00_21_32_10365.jpg
/home/pi/Desktop/images/26042025/00/21/image_26042025_00_21_42_9472.jpg
/home/pi/Desktop/images/26042025/00/21/image_26042025_00_21_52_10374.jpg
/home/pi/Desktop/images/26042025/00/21/image_26042025_00_22_03_10518.jpg
/home/pi/Desktop/images/26042025/00/22/image_26042025_00_22_12_9423.jpg
/home/pi/Desktop/images/26042025/00/22/image_26042025_00_22_23_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":["1355209238","1355209267","1355209276","1355209234","1355209242","1355209286"],"photo_ids_order":["1355209234","1355209238","1355209242","1355209267","1355209276","1355209286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d2e1b6596f9471bb82dfb3074629531.jpg","text":"TemporaryFile(/tmp/multipartBody4914296627166173650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148054275,"filename":"image_26042025_00_21_42_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd55f1e411aae834ba0e1f0f0e92dcf2.jpg","text":"TemporaryFile(/tmp/multipartBody2772464166079837614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148054275,"filename":"image_26042025_00_22_03_10518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7830150218dacc70d8c297a0fe8f0309.jpg","text":"TemporaryFile(/tmp/multipartBody2981451726966854190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148054275,"filename":"image_26042025_00_22_12_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/03086d4d69f3f128c0b9c2a6b4497423.jpg","text":"TemporaryFile(/tmp/multipartBody1138054524969832211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148054275,"filename":"image_26042025_00_21_32_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0e90569d5d6b3118fe9f3dc084354ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5967262943039740645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148054275,"filename":"image_26042025_00_21_52_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/42c5041f183147b02d5f64226a3e739e.jpg","text":"TemporaryFile(/tmp/multipartBody2066453235600567505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148054275,"filename":"image_26042025_00_22_23_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209242","file1":"1355209238","file0":"1355209234","file4":"1355209276","file5":"1355209286","file3":"1355209267"},"map_files_photo_id_array":[{"photo_id":"1355209286","filename":"file5"},{"photo_id":"1355209242","filename":"file2"},{"photo_id":"1355209276","filename":"file4"},{"photo_id":"1355209238","filename":"file1"},{"photo_id":"1355209234","filename":"file0"},{"photo_id":"1355209267","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209238":["hashtag1","hashtag2"]},{"1355209267":["hashtag1","hashtag2"]},{"1355209276":["hashtag1","hashtag2"]},{"1355209234":["hashtag1","hashtag2"]},{"1355209242":["hashtag1","hashtag2"]},{"1355209286":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209238, 1355209267, 1355209276, 1355209234, 1355209242, 1355209286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.952760219573975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:07:32.992863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/22/image_26042025_00_22_42_10368.jpg', '/home/pi/Desktop/images/26042025/00/22/image_26042025_00_22_53_10413.jpg', '/home/pi/Desktop/images/26042025/00/22/image_26042025_00_23_02_9365.jpg', '/home/pi/Desktop/images/26042025/00/23/image_26042025_00_23_13_10417.jpg', '/home/pi/Desktop/images/26042025/00/23/image_26042025_00_23_22_9381.jpg', '/home/pi/Desktop/images/26042025/00/23/image_26042025_00_23_32_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/22/image_26042025_00_22_42_10368.jpg
/home/pi/Desktop/images/26042025/00/22/image_26042025_00_22_53_10413.jpg
/home/pi/Desktop/images/26042025/00/22/image_26042025_00_23_02_9365.jpg
/home/pi/Desktop/images/26042025/00/23/image_26042025_00_23_13_10417.jpg
/home/pi/Desktop/images/26042025/00/23/image_26042025_00_23_22_9381.jpg
/home/pi/Desktop/images/26042025/00/23/image_26042025_00_23_32_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355209418","1355209468","1355209438","1355209397","1355209401","1355209404"],"photo_ids_order":["1355209397","1355209401","1355209404","1355209418","1355209438","1355209468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c0977f679facc242884e309bc9e1b8e0.jpg","text":"TemporaryFile(/tmp/multipartBody7459524969939103363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148114592,"filename":"image_26042025_00_23_13_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96197e55124d639ab1bd1733ddf8117a.jpg","text":"TemporaryFile(/tmp/multipartBody3490607891326502733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148114592,"filename":"image_26042025_00_23_32_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8cc9a40486ec7e551fd765c97f0196a8.jpg","text":"TemporaryFile(/tmp/multipartBody8530947972691486847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148114592,"filename":"image_26042025_00_23_22_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8c73c8dcec0a765868c8acfdfd03ca5c.jpg","text":"TemporaryFile(/tmp/multipartBody3913259642505929038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148114592,"filename":"image_26042025_00_22_42_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28f83a03dcbf3ce5035e1df1d302fdb1.jpg","text":"TemporaryFile(/tmp/multipartBody383966482000982199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148114592,"filename":"image_26042025_00_22_53_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb014fc2398e291e23e1141da716f9fc.jpg","text":"TemporaryFile(/tmp/multipartBody5540906618408433839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148114592,"filename":"image_26042025_00_23_02_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209404","file1":"1355209401","file0":"1355209397","file4":"1355209438","file5":"1355209468","file3":"1355209418"},"map_files_photo_id_array":[{"photo_id":"1355209468","filename":"file5"},{"photo_id":"1355209404","filename":"file2"},{"photo_id":"1355209438","filename":"file4"},{"photo_id":"1355209401","filename":"file1"},{"photo_id":"1355209397","filename":"file0"},{"photo_id":"1355209418","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209418":["hashtag1","hashtag2"]},{"1355209468":["hashtag1","hashtag2"]},{"1355209438":["hashtag1","hashtag2"]},{"1355209397":["hashtag1","hashtag2"]},{"1355209401":["hashtag1","hashtag2"]},{"1355209404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209418, 1355209468, 1355209438, 1355209397, 1355209401, 1355209404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31971216201782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:08:33.117194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/23/image_26042025_00_23_42_9441.jpg', '/home/pi/Desktop/images/26042025/00/23/image_26042025_00_23_52_10358.jpg', '/home/pi/Desktop/images/26042025/00/23/image_26042025_00_24_03_10382.jpg', '/home/pi/Desktop/images/26042025/00/24/image_26042025_00_24_12_9476.jpg', '/home/pi/Desktop/images/26042025/00/24/image_26042025_00_24_22_10392.jpg', '/home/pi/Desktop/images/26042025/00/24/image_26042025_00_24_32_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/23/image_26042025_00_23_42_9441.jpg
/home/pi/Desktop/images/26042025/00/23/image_26042025_00_23_52_10358.jpg
/home/pi/Desktop/images/26042025/00/23/image_26042025_00_24_03_10382.jpg
/home/pi/Desktop/images/26042025/00/24/image_26042025_00_24_12_9476.jpg
/home/pi/Desktop/images/26042025/00/24/image_26042025_00_24_22_10392.jpg
/home/pi/Desktop/images/26042025/00/24/image_26042025_00_24_32_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":["1355209517","1355209619","1355209558","1355209531","1355209593","1355209617"],"photo_ids_order":["1355209517","1355209531","1355209558","1355209593","1355209617","1355209619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a86ef8c201d6edc5eb27dd3a03b2a7ea.jpg","text":"TemporaryFile(/tmp/multipartBody3691516604365399993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148174723,"filename":"image_26042025_00_23_42_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a22bbebc4c2d5d48140532f0e3356d7f.jpg","text":"TemporaryFile(/tmp/multipartBody8004798714203315352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148174723,"filename":"image_26042025_00_24_32_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/232f130d134c3bde5c781d7b67f39bdc.jpg","text":"TemporaryFile(/tmp/multipartBody4384151276211049854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148174723,"filename":"image_26042025_00_24_03_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1133e85cc66870a606a08aa09f95638c.jpg","text":"TemporaryFile(/tmp/multipartBody6478234488241139624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148174723,"filename":"image_26042025_00_23_52_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9e1147c3248cdecbe2a723e2c4cfa39.jpg","text":"TemporaryFile(/tmp/multipartBody3045744850636307907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148174723,"filename":"image_26042025_00_24_12_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c578422ea044d3a5983d50054b011c21.jpg","text":"TemporaryFile(/tmp/multipartBody8576430373579229741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148174723,"filename":"image_26042025_00_24_22_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209558","file1":"1355209531","file0":"1355209517","file4":"1355209617","file5":"1355209619","file3":"1355209593"},"map_files_photo_id_array":[{"photo_id":"1355209619","filename":"file5"},{"photo_id":"1355209558","filename":"file2"},{"photo_id":"1355209617","filename":"file4"},{"photo_id":"1355209531","filename":"file1"},{"photo_id":"1355209517","filename":"file0"},{"photo_id":"1355209593","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209517":["hashtag1","hashtag2"]},{"1355209619":["hashtag1","hashtag2"]},{"1355209558":["hashtag1","hashtag2"]},{"1355209531":["hashtag1","hashtag2"]},{"1355209593":["hashtag1","hashtag2"]},{"1355209617":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209517, 1355209619, 1355209558, 1355209531, 1355209593, 1355209617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37008547782898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:09:32.328088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/24/image_26042025_00_24_42_10465.jpg', '/home/pi/Desktop/images/26042025/00/24/image_26042025_00_24_53_10442.jpg', '/home/pi/Desktop/images/26042025/00/24/image_26042025_00_25_02_9374.jpg', '/home/pi/Desktop/images/26042025/00/25/image_26042025_00_25_13_10392.jpg', '/home/pi/Desktop/images/26042025/00/25/image_26042025_00_25_22_9367.jpg', '/home/pi/Desktop/images/26042025/00/25/image_26042025_00_25_32_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/24/image_26042025_00_24_42_10465.jpg
/home/pi/Desktop/images/26042025/00/24/image_26042025_00_24_53_10442.jpg
/home/pi/Desktop/images/26042025/00/24/image_26042025_00_25_02_9374.jpg
/home/pi/Desktop/images/26042025/00/25/image_26042025_00_25_13_10392.jpg
/home/pi/Desktop/images/26042025/00/25/image_26042025_00_25_22_9367.jpg
/home/pi/Desktop/images/26042025/00/25/image_26042025_00_25_32_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":["1355209640","1355209628","1355209643","1355209637","1355209635","1355209632"],"photo_ids_order":["1355209628","1355209632","1355209635","1355209637","1355209640","1355209643"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb41f68137f39fd9b020a83337d53322.jpg","text":"TemporaryFile(/tmp/multipartBody2363571311001696579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148233905,"filename":"image_26042025_00_25_22_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0ea559b47942fb56cd861687565a3634.jpg","text":"TemporaryFile(/tmp/multipartBody6111984875863205794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148233905,"filename":"image_26042025_00_24_42_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1622df32eb1d55045cd72e5a3bc2221.jpg","text":"TemporaryFile(/tmp/multipartBody8902430260590240838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148233905,"filename":"image_26042025_00_25_32_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2c7a2df8973620ff32f3c45ae6d13a5.jpg","text":"TemporaryFile(/tmp/multipartBody7334014120160131519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148233905,"filename":"image_26042025_00_25_13_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba37d25a22ecb47616a13b92d3b17780.jpg","text":"TemporaryFile(/tmp/multipartBody4650422191003998748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148233905,"filename":"image_26042025_00_25_02_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34343d75359001d8c129a8db98e27c23.jpg","text":"TemporaryFile(/tmp/multipartBody4012737740515977105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148233905,"filename":"image_26042025_00_24_53_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209635","file1":"1355209632","file0":"1355209628","file4":"1355209640","file5":"1355209643","file3":"1355209637"},"map_files_photo_id_array":[{"photo_id":"1355209643","filename":"file5"},{"photo_id":"1355209635","filename":"file2"},{"photo_id":"1355209640","filename":"file4"},{"photo_id":"1355209632","filename":"file1"},{"photo_id":"1355209628","filename":"file0"},{"photo_id":"1355209637","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209640":["hashtag1","hashtag2"]},{"1355209628":["hashtag1","hashtag2"]},{"1355209643":["hashtag1","hashtag2"]},{"1355209637":["hashtag1","hashtag2"]},{"1355209635":["hashtag1","hashtag2"]},{"1355209632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209640, 1355209628, 1355209643, 1355209637, 1355209635, 1355209632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16217112541199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:10:32.690157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/25/image_26042025_00_25_43_10374.jpg', '/home/pi/Desktop/images/26042025/00/25/image_26042025_00_25_52_9416.jpg', '/home/pi/Desktop/images/26042025/00/25/image_26042025_00_26_02_10380.jpg', '/home/pi/Desktop/images/26042025/00/26/image_26042025_00_26_12_9461.jpg', '/home/pi/Desktop/images/26042025/00/26/image_26042025_00_26_22_10393.jpg', '/home/pi/Desktop/images/26042025/00/26/image_26042025_00_26_33_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/25/image_26042025_00_25_43_10374.jpg
/home/pi/Desktop/images/26042025/00/25/image_26042025_00_25_52_9416.jpg
/home/pi/Desktop/images/26042025/00/25/image_26042025_00_26_02_10380.jpg
/home/pi/Desktop/images/26042025/00/26/image_26042025_00_26_12_9461.jpg
/home/pi/Desktop/images/26042025/00/26/image_26042025_00_26_22_10393.jpg
/home/pi/Desktop/images/26042025/00/26/image_26042025_00_26_33_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":["1355209660","1355209666","1355209653","1355209662","1355209664","1355209658"],"photo_ids_order":["1355209653","1355209658","1355209660","1355209662","1355209664","1355209666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c123e73d6a7098c4ffea4378020197c.jpg","text":"TemporaryFile(/tmp/multipartBody3392600932595737557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148294273,"filename":"image_26042025_00_26_02_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3c5c90c5f4249d1c64482ca417a3d01.jpg","text":"TemporaryFile(/tmp/multipartBody9210766313263371483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148294273,"filename":"image_26042025_00_26_33_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3b6522e919afb5e746dbf9f1128813e7.jpg","text":"TemporaryFile(/tmp/multipartBody1741288777511981616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148294273,"filename":"image_26042025_00_25_43_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0d188b60c44cfc59b35ff9d5b4056e4.jpg","text":"TemporaryFile(/tmp/multipartBody1176407173958614251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148294273,"filename":"image_26042025_00_26_12_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/acdfb67349c93a45f9b2b2ba9e300a9c.jpg","text":"TemporaryFile(/tmp/multipartBody3447836346779015990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148294273,"filename":"image_26042025_00_26_22_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c3607cfb96ee8b56d6f34250eb36346.jpg","text":"TemporaryFile(/tmp/multipartBody6249853147272963626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148294273,"filename":"image_26042025_00_25_52_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209660","file1":"1355209658","file0":"1355209653","file4":"1355209664","file5":"1355209666","file3":"1355209662"},"map_files_photo_id_array":[{"photo_id":"1355209666","filename":"file5"},{"photo_id":"1355209660","filename":"file2"},{"photo_id":"1355209664","filename":"file4"},{"photo_id":"1355209658","filename":"file1"},{"photo_id":"1355209653","filename":"file0"},{"photo_id":"1355209662","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209660":["hashtag1","hashtag2"]},{"1355209666":["hashtag1","hashtag2"]},{"1355209653":["hashtag1","hashtag2"]},{"1355209662":["hashtag1","hashtag2"]},{"1355209664":["hashtag1","hashtag2"]},{"1355209658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209660, 1355209666, 1355209653, 1355209662, 1355209664, 1355209658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.359424352645874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:11:32.932459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/26/image_26042025_00_26_43_9952.jpg', '/home/pi/Desktop/images/26042025/00/26/image_26042025_00_26_52_9463.jpg', '/home/pi/Desktop/images/26042025/00/26/image_26042025_00_27_03_10388.jpg', '/home/pi/Desktop/images/26042025/00/27/image_26042025_00_27_12_9371.jpg', '/home/pi/Desktop/images/26042025/00/27/image_26042025_00_27_22_10387.jpg', '/home/pi/Desktop/images/26042025/00/27/image_26042025_00_27_33_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/26/image_26042025_00_26_43_9952.jpg
/home/pi/Desktop/images/26042025/00/26/image_26042025_00_26_52_9463.jpg
/home/pi/Desktop/images/26042025/00/26/image_26042025_00_27_03_10388.jpg
/home/pi/Desktop/images/26042025/00/27/image_26042025_00_27_12_9371.jpg
/home/pi/Desktop/images/26042025/00/27/image_26042025_00_27_22_10387.jpg
/home/pi/Desktop/images/26042025/00/27/image_26042025_00_27_33_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":["1355209681","1355209690","1355209692","1355209686","1355209694","1355209676"],"photo_ids_order":["1355209676","1355209681","1355209686","1355209690","1355209692","1355209694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b830d60bd4313287cd3360f968bbf6a.jpg","text":"TemporaryFile(/tmp/multipartBody7510529151567220463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148354543,"filename":"image_26042025_00_26_52_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea36e9845e2f48be680fe6ee29662c3d.jpg","text":"TemporaryFile(/tmp/multipartBody4995853995263863461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148354543,"filename":"image_26042025_00_27_12_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f15fe044f65d4409f9a81ba19cb79efb.jpg","text":"TemporaryFile(/tmp/multipartBody895459628302267823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148354543,"filename":"image_26042025_00_27_22_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96d619ec1001d7f16a084894c00a1ec6.jpg","text":"TemporaryFile(/tmp/multipartBody8711020175942989192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148354543,"filename":"image_26042025_00_27_03_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d0f5b8ffd6806e252f5dde024a4e80e.jpg","text":"TemporaryFile(/tmp/multipartBody7465524792074203885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148354543,"filename":"image_26042025_00_27_33_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e9c185f111d28fe2d290a40bc9dfef4.jpg","text":"TemporaryFile(/tmp/multipartBody975762242587447759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148354543,"filename":"image_26042025_00_26_43_9952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209686","file1":"1355209681","file0":"1355209676","file4":"1355209692","file5":"1355209694","file3":"1355209690"},"map_files_photo_id_array":[{"photo_id":"1355209694","filename":"file5"},{"photo_id":"1355209686","filename":"file2"},{"photo_id":"1355209692","filename":"file4"},{"photo_id":"1355209681","filename":"file1"},{"photo_id":"1355209676","filename":"file0"},{"photo_id":"1355209690","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209681":["hashtag1","hashtag2"]},{"1355209690":["hashtag1","hashtag2"]},{"1355209692":["hashtag1","hashtag2"]},{"1355209686":["hashtag1","hashtag2"]},{"1355209694":["hashtag1","hashtag2"]},{"1355209676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209681, 1355209690, 1355209692, 1355209686, 1355209694, 1355209676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.490259408950806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:12:32.240220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/27/image_26042025_00_27_42_9432.jpg', '/home/pi/Desktop/images/26042025/00/27/image_26042025_00_27_52_10363.jpg', '/home/pi/Desktop/images/26042025/00/27/image_26042025_00_28_03_10395.jpg', '/home/pi/Desktop/images/26042025/00/28/image_26042025_00_28_12_9369.jpg', '/home/pi/Desktop/images/26042025/00/28/image_26042025_00_28_23_10441.jpg', '/home/pi/Desktop/images/26042025/00/28/image_26042025_00_28_32_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/27/image_26042025_00_27_42_9432.jpg
/home/pi/Desktop/images/26042025/00/27/image_26042025_00_27_52_10363.jpg
/home/pi/Desktop/images/26042025/00/27/image_26042025_00_28_03_10395.jpg
/home/pi/Desktop/images/26042025/00/28/image_26042025_00_28_12_9369.jpg
/home/pi/Desktop/images/26042025/00/28/image_26042025_00_28_23_10441.jpg
/home/pi/Desktop/images/26042025/00/28/image_26042025_00_28_32_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":["1355209721","1355209735","1355209714","1355209722","1355209704","1355209707"],"photo_ids_order":["1355209704","1355209707","1355209714","1355209721","1355209722","1355209735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4710d3bd9407478a26b31d27b228a1b4.jpg","text":"TemporaryFile(/tmp/multipartBody9066375078821406470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148413827,"filename":"image_26042025_00_28_12_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/480662f5a2f6f02ebf2c440a1f99a60c.jpg","text":"TemporaryFile(/tmp/multipartBody5795352805281482650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148413827,"filename":"image_26042025_00_28_32_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7175fff9f14bc9f6391138a457ab1975.jpg","text":"TemporaryFile(/tmp/multipartBody9223162759847520849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148413827,"filename":"image_26042025_00_28_03_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b718acac1a2f16edb213c3fd928b0715.jpg","text":"TemporaryFile(/tmp/multipartBody8639015399433450780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148413827,"filename":"image_26042025_00_28_23_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b282a1005abac58fb7864ec5dad8baf.jpg","text":"TemporaryFile(/tmp/multipartBody8641824904961323977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148413827,"filename":"image_26042025_00_27_42_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e1ab94b357f9bad18e3ca246ef0ef84.jpg","text":"TemporaryFile(/tmp/multipartBody3121491027644376472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148413827,"filename":"image_26042025_00_27_52_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209714","file1":"1355209707","file0":"1355209704","file4":"1355209722","file5":"1355209735","file3":"1355209721"},"map_files_photo_id_array":[{"photo_id":"1355209735","filename":"file5"},{"photo_id":"1355209714","filename":"file2"},{"photo_id":"1355209722","filename":"file4"},{"photo_id":"1355209707","filename":"file1"},{"photo_id":"1355209704","filename":"file0"},{"photo_id":"1355209721","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209721":["hashtag1","hashtag2"]},{"1355209735":["hashtag1","hashtag2"]},{"1355209714":["hashtag1","hashtag2"]},{"1355209722":["hashtag1","hashtag2"]},{"1355209704":["hashtag1","hashtag2"]},{"1355209707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209721, 1355209735, 1355209714, 1355209722, 1355209704, 1355209707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30178904533386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:13:32.458779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/28/image_26042025_00_28_42_10356.jpg', '/home/pi/Desktop/images/26042025/00/28/image_26042025_00_28_52_9424.jpg', '/home/pi/Desktop/images/26042025/00/28/image_26042025_00_29_02_10373.jpg', '/home/pi/Desktop/images/26042025/00/29/image_26042025_00_29_13_10491.jpg', '/home/pi/Desktop/images/26042025/00/29/image_26042025_00_29_22_9369.jpg', '/home/pi/Desktop/images/26042025/00/29/image_26042025_00_29_33_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/28/image_26042025_00_28_42_10356.jpg
/home/pi/Desktop/images/26042025/00/28/image_26042025_00_28_52_9424.jpg
/home/pi/Desktop/images/26042025/00/28/image_26042025_00_29_02_10373.jpg
/home/pi/Desktop/images/26042025/00/29/image_26042025_00_29_13_10491.jpg
/home/pi/Desktop/images/26042025/00/29/image_26042025_00_29_22_9369.jpg
/home/pi/Desktop/images/26042025/00/29/image_26042025_00_29_33_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":["1355209832","1355209811","1355209783","1355209831","1355209833","1355209830"],"photo_ids_order":["1355209783","1355209811","1355209830","1355209831","1355209832","1355209833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0bdb3c5ecc381be60c8b70616c957576.jpg","text":"TemporaryFile(/tmp/multipartBody2969050747327012491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148474051,"filename":"image_26042025_00_29_22_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0dea1c238df020d9abc92dee88d6fc06.jpg","text":"TemporaryFile(/tmp/multipartBody4198383071724743481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148474051,"filename":"image_26042025_00_28_52_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/787cda1822e741be71509b5bb146bc2d.jpg","text":"TemporaryFile(/tmp/multipartBody2307198703218690399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148474051,"filename":"image_26042025_00_28_42_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9613e367fcac1e78064d4f1dc961902.jpg","text":"TemporaryFile(/tmp/multipartBody2295785208320586786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148474051,"filename":"image_26042025_00_29_13_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0355d4f97fe44d362c21f16c3aa2d464.jpg","text":"TemporaryFile(/tmp/multipartBody3076225570534573335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148474051,"filename":"image_26042025_00_29_33_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/54d6cff9743495f5a803d29fd7d258ef.jpg","text":"TemporaryFile(/tmp/multipartBody2631194909625162417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148474051,"filename":"image_26042025_00_29_02_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209830","file1":"1355209811","file0":"1355209783","file4":"1355209832","file5":"1355209833","file3":"1355209831"},"map_files_photo_id_array":[{"photo_id":"1355209833","filename":"file5"},{"photo_id":"1355209830","filename":"file2"},{"photo_id":"1355209832","filename":"file4"},{"photo_id":"1355209811","filename":"file1"},{"photo_id":"1355209783","filename":"file0"},{"photo_id":"1355209831","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209832":["hashtag1","hashtag2"]},{"1355209811":["hashtag1","hashtag2"]},{"1355209783":["hashtag1","hashtag2"]},{"1355209831":["hashtag1","hashtag2"]},{"1355209833":["hashtag1","hashtag2"]},{"1355209830":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209832, 1355209811, 1355209783, 1355209831, 1355209833, 1355209830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58856964111328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:14:32.695732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/29/image_26042025_00_29_42_9370.jpg', '/home/pi/Desktop/images/26042025/00/29/image_26042025_00_29_52_10371.jpg', '/home/pi/Desktop/images/26042025/00/29/image_26042025_00_30_03_10417.jpg', '/home/pi/Desktop/images/26042025/00/30/image_26042025_00_30_12_9373.jpg', '/home/pi/Desktop/images/26042025/00/30/image_26042025_00_30_22_10346.jpg', '/home/pi/Desktop/images/26042025/00/30/image_26042025_00_30_33_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/29/image_26042025_00_29_42_9370.jpg
/home/pi/Desktop/images/26042025/00/29/image_26042025_00_29_52_10371.jpg
/home/pi/Desktop/images/26042025/00/29/image_26042025_00_30_03_10417.jpg
/home/pi/Desktop/images/26042025/00/30/image_26042025_00_30_12_9373.jpg
/home/pi/Desktop/images/26042025/00/30/image_26042025_00_30_22_10346.jpg
/home/pi/Desktop/images/26042025/00/30/image_26042025_00_30_33_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":["1355209871","1355209910","1355209893","1355209875","1355209908","1355209892"],"photo_ids_order":["1355209871","1355209875","1355209892","1355209893","1355209908","1355209910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e645c22cc122d328782e8cab3668ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5659672701671144284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148534298,"filename":"image_26042025_00_29_42_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1cd1d4bcab531bddc1e23fc7084a775.jpg","text":"TemporaryFile(/tmp/multipartBody4475979251069204448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148534298,"filename":"image_26042025_00_30_33_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d6ecf14be3b4e8503d28b6c880b7683.jpg","text":"TemporaryFile(/tmp/multipartBody6922458859666078691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148534298,"filename":"image_26042025_00_30_12_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2af0b2ad1b4e3fc9f9e0b1aa3cf8ee6d.jpg","text":"TemporaryFile(/tmp/multipartBody5372882876294648586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148534298,"filename":"image_26042025_00_29_52_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9d6c2b28a38e1d17f15b97398698e0e.jpg","text":"TemporaryFile(/tmp/multipartBody8314081861930098711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148534298,"filename":"image_26042025_00_30_22_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/78f56576ea19862f2d01086e460e3f7e.jpg","text":"TemporaryFile(/tmp/multipartBody7363102337167273270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148534298,"filename":"image_26042025_00_30_03_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209892","file1":"1355209875","file0":"1355209871","file4":"1355209908","file5":"1355209910","file3":"1355209893"},"map_files_photo_id_array":[{"photo_id":"1355209910","filename":"file5"},{"photo_id":"1355209892","filename":"file2"},{"photo_id":"1355209908","filename":"file4"},{"photo_id":"1355209875","filename":"file1"},{"photo_id":"1355209871","filename":"file0"},{"photo_id":"1355209893","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209871":["hashtag1","hashtag2"]},{"1355209910":["hashtag1","hashtag2"]},{"1355209893":["hashtag1","hashtag2"]},{"1355209875":["hashtag1","hashtag2"]},{"1355209908":["hashtag1","hashtag2"]},{"1355209892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209871, 1355209910, 1355209893, 1355209875, 1355209908, 1355209892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.845486640930176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:15:32.903938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/30/image_26042025_00_30_42_9379.jpg', '/home/pi/Desktop/images/26042025/00/30/image_26042025_00_30_53_10358.jpg', '/home/pi/Desktop/images/26042025/00/30/image_26042025_00_31_02_9448.jpg', '/home/pi/Desktop/images/26042025/00/31/image_26042025_00_31_12_10423.jpg', '/home/pi/Desktop/images/26042025/00/31/image_26042025_00_31_22_9471.jpg', '/home/pi/Desktop/images/26042025/00/31/image_26042025_00_31_32_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/30/image_26042025_00_30_42_9379.jpg
/home/pi/Desktop/images/26042025/00/30/image_26042025_00_30_53_10358.jpg
/home/pi/Desktop/images/26042025/00/30/image_26042025_00_31_02_9448.jpg
/home/pi/Desktop/images/26042025/00/31/image_26042025_00_31_12_10423.jpg
/home/pi/Desktop/images/26042025/00/31/image_26042025_00_31_22_9471.jpg
/home/pi/Desktop/images/26042025/00/31/image_26042025_00_31_32_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":["1355209970","1355209937","1355209972","1355209975","1355209963","1355209977"],"photo_ids_order":["1355209937","1355209963","1355209970","1355209972","1355209975","1355209977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d6d93598bae121899c7f01560ea6476c.jpg","text":"TemporaryFile(/tmp/multipartBody1726331110539772803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148594493,"filename":"image_26042025_00_31_02_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a9418199feceea2d697d448b4c2b740.jpg","text":"TemporaryFile(/tmp/multipartBody4088202771975697103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148594493,"filename":"image_26042025_00_30_42_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e7b2024cb32a4a24844bf659e02bdc4b.jpg","text":"TemporaryFile(/tmp/multipartBody1490373031871423072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148594493,"filename":"image_26042025_00_31_12_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/304f29e24706df603f2fc395eb4a24c1.jpg","text":"TemporaryFile(/tmp/multipartBody3221260023484261454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148594493,"filename":"image_26042025_00_31_22_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ea8a589c313f8f01d522df0a06c7de8.jpg","text":"TemporaryFile(/tmp/multipartBody7139438492479844723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148594493,"filename":"image_26042025_00_30_53_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6532f40198d914fb41c3878729575b5.jpg","text":"TemporaryFile(/tmp/multipartBody5489840017388449310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148594493,"filename":"image_26042025_00_31_32_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209970","file1":"1355209963","file0":"1355209937","file4":"1355209975","file5":"1355209977","file3":"1355209972"},"map_files_photo_id_array":[{"photo_id":"1355209977","filename":"file5"},{"photo_id":"1355209970","filename":"file2"},{"photo_id":"1355209975","filename":"file4"},{"photo_id":"1355209963","filename":"file1"},{"photo_id":"1355209937","filename":"file0"},{"photo_id":"1355209972","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209970":["hashtag1","hashtag2"]},{"1355209937":["hashtag1","hashtag2"]},{"1355209972":["hashtag1","hashtag2"]},{"1355209975":["hashtag1","hashtag2"]},{"1355209963":["hashtag1","hashtag2"]},{"1355209977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209970, 1355209937, 1355209972, 1355209975, 1355209963, 1355209977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.800642013549805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:16:33.155784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/31/image_26042025_00_31_43_10359.jpg', '/home/pi/Desktop/images/26042025/00/31/image_26042025_00_31_52_9449.jpg', '/home/pi/Desktop/images/26042025/00/31/image_26042025_00_32_03_10459.jpg', '/home/pi/Desktop/images/26042025/00/32/image_26042025_00_32_12_9442.jpg', '/home/pi/Desktop/images/26042025/00/32/image_26042025_00_32_22_10362.jpg', '/home/pi/Desktop/images/26042025/00/32/image_26042025_00_32_33_10488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/31/image_26042025_00_31_43_10359.jpg
/home/pi/Desktop/images/26042025/00/31/image_26042025_00_31_52_9449.jpg
/home/pi/Desktop/images/26042025/00/31/image_26042025_00_32_03_10459.jpg
/home/pi/Desktop/images/26042025/00/32/image_26042025_00_32_12_9442.jpg
/home/pi/Desktop/images/26042025/00/32/image_26042025_00_32_22_10362.jpg
/home/pi/Desktop/images/26042025/00/32/image_26042025_00_32_33_10488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355209999","1355209993","1355209992","1355209991","1355209994","1355209997"],"photo_ids_order":["1355209991","1355209992","1355209993","1355209994","1355209997","1355209999"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/768f74173d5a87aa3eb1f3ec7ac3acaa.jpg","text":"TemporaryFile(/tmp/multipartBody8629665235534263539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148654745,"filename":"image_26042025_00_32_33_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c749866b3672317cc0b691227d2ec341.jpg","text":"TemporaryFile(/tmp/multipartBody6013962949327934170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148654745,"filename":"image_26042025_00_32_03_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d08cf53c236a83dcc0b551c744442c0.jpg","text":"TemporaryFile(/tmp/multipartBody5054832671819299408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148654745,"filename":"image_26042025_00_31_52_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b7690a588f5184322368c29d0882311.jpg","text":"TemporaryFile(/tmp/multipartBody1441105712286768105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148654745,"filename":"image_26042025_00_31_43_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e7f3fc799717241b5641a6bceba093ef.jpg","text":"TemporaryFile(/tmp/multipartBody205980122750706394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148654745,"filename":"image_26042025_00_32_12_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f70d841efbbf55536ae8c0565c7f76e0.jpg","text":"TemporaryFile(/tmp/multipartBody843252394532875571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148654745,"filename":"image_26042025_00_32_22_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355209993","file1":"1355209992","file0":"1355209991","file4":"1355209997","file5":"1355209999","file3":"1355209994"},"map_files_photo_id_array":[{"photo_id":"1355209999","filename":"file5"},{"photo_id":"1355209993","filename":"file2"},{"photo_id":"1355209997","filename":"file4"},{"photo_id":"1355209992","filename":"file1"},{"photo_id":"1355209991","filename":"file0"},{"photo_id":"1355209994","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355209999":["hashtag1","hashtag2"]},{"1355209993":["hashtag1","hashtag2"]},{"1355209992":["hashtag1","hashtag2"]},{"1355209991":["hashtag1","hashtag2"]},{"1355209994":["hashtag1","hashtag2"]},{"1355209997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355209999, 1355209993, 1355209992, 1355209991, 1355209994, 1355209997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37451481819153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:17:32.383209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/32/image_26042025_00_32_42_9356.jpg', '/home/pi/Desktop/images/26042025/00/32/image_26042025_00_32_53_10356.jpg', '/home/pi/Desktop/images/26042025/00/32/image_26042025_00_33_02_9357.jpg', '/home/pi/Desktop/images/26042025/00/33/image_26042025_00_33_12_10383.jpg', '/home/pi/Desktop/images/26042025/00/33/image_26042025_00_33_23_10415.jpg', '/home/pi/Desktop/images/26042025/00/33/image_26042025_00_33_32_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/32/image_26042025_00_32_42_9356.jpg
/home/pi/Desktop/images/26042025/00/32/image_26042025_00_32_53_10356.jpg
/home/pi/Desktop/images/26042025/00/32/image_26042025_00_33_02_9357.jpg
/home/pi/Desktop/images/26042025/00/33/image_26042025_00_33_12_10383.jpg
/home/pi/Desktop/images/26042025/00/33/image_26042025_00_33_23_10415.jpg
/home/pi/Desktop/images/26042025/00/33/image_26042025_00_33_32_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":["1355210022","1355210030","1355210024","1355210026","1355210020","1355210028"],"photo_ids_order":["1355210020","1355210022","1355210024","1355210026","1355210028","1355210030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e4043dba0bc01af7752d1b02f625a75.jpg","text":"TemporaryFile(/tmp/multipartBody3018596312924350740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148713960,"filename":"image_26042025_00_32_53_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f84e9c87d4fef024f5392fb0412740c8.jpg","text":"TemporaryFile(/tmp/multipartBody7737911159552872733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148713960,"filename":"image_26042025_00_33_32_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ca2df79cd5589ab8882fead381bf7c8.jpg","text":"TemporaryFile(/tmp/multipartBody6072170989474599595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148713960,"filename":"image_26042025_00_33_02_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90e4c29b9fe5e82f3924559dad789035.jpg","text":"TemporaryFile(/tmp/multipartBody7327910520272196921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148713960,"filename":"image_26042025_00_33_12_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f28c651451262258ceab826c3467c27e.jpg","text":"TemporaryFile(/tmp/multipartBody911246822234817525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148713960,"filename":"image_26042025_00_32_42_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/04e7a74a27645f40e1ec856cee1f583e.jpg","text":"TemporaryFile(/tmp/multipartBody1959810239104462400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148713960,"filename":"image_26042025_00_33_23_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210024","file1":"1355210022","file0":"1355210020","file4":"1355210028","file5":"1355210030","file3":"1355210026"},"map_files_photo_id_array":[{"photo_id":"1355210030","filename":"file5"},{"photo_id":"1355210024","filename":"file2"},{"photo_id":"1355210028","filename":"file4"},{"photo_id":"1355210022","filename":"file1"},{"photo_id":"1355210020","filename":"file0"},{"photo_id":"1355210026","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210022":["hashtag1","hashtag2"]},{"1355210030":["hashtag1","hashtag2"]},{"1355210024":["hashtag1","hashtag2"]},{"1355210026":["hashtag1","hashtag2"]},{"1355210020":["hashtag1","hashtag2"]},{"1355210028":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210022, 1355210030, 1355210024, 1355210026, 1355210020, 1355210028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31637501716614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:18:32.637335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/33/image_26042025_00_33_43_10450.jpg', '/home/pi/Desktop/images/26042025/00/33/image_26042025_00_33_52_9477.jpg', '/home/pi/Desktop/images/26042025/00/33/image_26042025_00_34_02_10372.jpg', '/home/pi/Desktop/images/26042025/00/34/image_26042025_00_34_13_10455.jpg', '/home/pi/Desktop/images/26042025/00/34/image_26042025_00_34_22_9367.jpg', '/home/pi/Desktop/images/26042025/00/34/image_26042025_00_34_33_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/33/image_26042025_00_33_43_10450.jpg
/home/pi/Desktop/images/26042025/00/33/image_26042025_00_33_52_9477.jpg
/home/pi/Desktop/images/26042025/00/33/image_26042025_00_34_02_10372.jpg
/home/pi/Desktop/images/26042025/00/34/image_26042025_00_34_13_10455.jpg
/home/pi/Desktop/images/26042025/00/34/image_26042025_00_34_22_9367.jpg
/home/pi/Desktop/images/26042025/00/34/image_26042025_00_34_33_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":["1355210051","1355210045","1355210054","1355210048","1355210053","1355210055"],"photo_ids_order":["1355210045","1355210048","1355210051","1355210053","1355210054","1355210055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2399d412648a248b7fa42af4dab6f5ac.jpg","text":"TemporaryFile(/tmp/multipartBody1449464742597997004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148774215,"filename":"image_26042025_00_34_02_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e47b24a326c9637c5e58d2653c8746f.jpg","text":"TemporaryFile(/tmp/multipartBody7689485848141271856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148774215,"filename":"image_26042025_00_33_43_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/92d69a08c4ef8e8cf106d7590f242560.jpg","text":"TemporaryFile(/tmp/multipartBody1211891733045789672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148774215,"filename":"image_26042025_00_34_22_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d4ff89097400fc30f3bc66d81087da6.jpg","text":"TemporaryFile(/tmp/multipartBody641620712894644539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148774215,"filename":"image_26042025_00_33_52_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa98741964b08fb8d386161a6471f1ef.jpg","text":"TemporaryFile(/tmp/multipartBody8650029649561399044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148774215,"filename":"image_26042025_00_34_13_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc8867a12805ae699d1687d0543cb3fe.jpg","text":"TemporaryFile(/tmp/multipartBody6030154436674007550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148774215,"filename":"image_26042025_00_34_33_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210051","file1":"1355210048","file0":"1355210045","file4":"1355210054","file5":"1355210055","file3":"1355210053"},"map_files_photo_id_array":[{"photo_id":"1355210055","filename":"file5"},{"photo_id":"1355210051","filename":"file2"},{"photo_id":"1355210054","filename":"file4"},{"photo_id":"1355210048","filename":"file1"},{"photo_id":"1355210045","filename":"file0"},{"photo_id":"1355210053","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210051":["hashtag1","hashtag2"]},{"1355210045":["hashtag1","hashtag2"]},{"1355210054":["hashtag1","hashtag2"]},{"1355210048":["hashtag1","hashtag2"]},{"1355210053":["hashtag1","hashtag2"]},{"1355210055":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210051, 1355210045, 1355210054, 1355210048, 1355210053, 1355210055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88569450378418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:19:32.938287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/34/image_26042025_00_34_42_9439.jpg', '/home/pi/Desktop/images/26042025/00/34/image_26042025_00_34_52_10461.jpg', '/home/pi/Desktop/images/26042025/00/34/image_26042025_00_35_02_9491.jpg', '/home/pi/Desktop/images/26042025/00/35/image_26042025_00_35_12_10368.jpg', '/home/pi/Desktop/images/26042025/00/35/image_26042025_00_35_23_10371.jpg', '/home/pi/Desktop/images/26042025/00/35/image_26042025_00_35_32_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/34/image_26042025_00_34_42_9439.jpg
/home/pi/Desktop/images/26042025/00/34/image_26042025_00_34_52_10461.jpg
/home/pi/Desktop/images/26042025/00/34/image_26042025_00_35_02_9491.jpg
/home/pi/Desktop/images/26042025/00/35/image_26042025_00_35_12_10368.jpg
/home/pi/Desktop/images/26042025/00/35/image_26042025_00_35_23_10371.jpg
/home/pi/Desktop/images/26042025/00/35/image_26042025_00_35_32_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":["1355210075","1355210069","1355210072","1355210074","1355210077","1355210076"],"photo_ids_order":["1355210069","1355210072","1355210074","1355210075","1355210076","1355210077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b141e4e8e494724dcf1e1563137e181a.jpg","text":"TemporaryFile(/tmp/multipartBody1194199381279460601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148834540,"filename":"image_26042025_00_35_12_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2333bed2488d11f2c5f42caa6aeb23ef.jpg","text":"TemporaryFile(/tmp/multipartBody4695856308382494102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148834540,"filename":"image_26042025_00_34_42_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09e0e32283838eddfdd18b13c5b4e9aa.jpg","text":"TemporaryFile(/tmp/multipartBody6980413755246238862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148834540,"filename":"image_26042025_00_34_52_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a0224a44d188e9c0066fb8ae95fafe81.jpg","text":"TemporaryFile(/tmp/multipartBody8736883778150126743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148834540,"filename":"image_26042025_00_35_02_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d8c0861fec03c29eb820f5fd80adac2.jpg","text":"TemporaryFile(/tmp/multipartBody2504803939650205231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148834540,"filename":"image_26042025_00_35_32_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7b4ea7d979e00faf64b8b47ba72a055b.jpg","text":"TemporaryFile(/tmp/multipartBody2840206220972496947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148834540,"filename":"image_26042025_00_35_23_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210074","file1":"1355210072","file0":"1355210069","file4":"1355210076","file5":"1355210077","file3":"1355210075"},"map_files_photo_id_array":[{"photo_id":"1355210077","filename":"file5"},{"photo_id":"1355210074","filename":"file2"},{"photo_id":"1355210076","filename":"file4"},{"photo_id":"1355210072","filename":"file1"},{"photo_id":"1355210069","filename":"file0"},{"photo_id":"1355210075","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210075":["hashtag1","hashtag2"]},{"1355210069":["hashtag1","hashtag2"]},{"1355210072":["hashtag1","hashtag2"]},{"1355210074":["hashtag1","hashtag2"]},{"1355210077":["hashtag1","hashtag2"]},{"1355210076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210075, 1355210069, 1355210072, 1355210074, 1355210077, 1355210076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.760822057724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:20:32.987152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/35/image_26042025_00_35_42_10364.jpg', '/home/pi/Desktop/images/26042025/00/35/image_26042025_00_35_52_9445.jpg', '/home/pi/Desktop/images/26042025/00/35/image_26042025_00_36_02_10429.jpg', '/home/pi/Desktop/images/26042025/00/36/image_26042025_00_36_13_10452.jpg', '/home/pi/Desktop/images/26042025/00/36/image_26042025_00_36_22_9356.jpg', '/home/pi/Desktop/images/26042025/00/36/image_26042025_00_36_33_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/35/image_26042025_00_35_42_10364.jpg
/home/pi/Desktop/images/26042025/00/35/image_26042025_00_35_52_9445.jpg
/home/pi/Desktop/images/26042025/00/35/image_26042025_00_36_02_10429.jpg
/home/pi/Desktop/images/26042025/00/36/image_26042025_00_36_13_10452.jpg
/home/pi/Desktop/images/26042025/00/36/image_26042025_00_36_22_9356.jpg
/home/pi/Desktop/images/26042025/00/36/image_26042025_00_36_33_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210100","1355210098","1355210102","1355210104","1355210094","1355210091"],"photo_ids_order":["1355210091","1355210094","1355210098","1355210100","1355210102","1355210104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/70eac3b47c125b158b677ae557b2a0f5.jpg","text":"TemporaryFile(/tmp/multipartBody3681762817520349607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148894602,"filename":"image_26042025_00_36_13_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63847785de5f0743836bad416edab114.jpg","text":"TemporaryFile(/tmp/multipartBody5488368372400382964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148894602,"filename":"image_26042025_00_36_02_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ded3a37e7f6c315dc77d58f18eba05c7.jpg","text":"TemporaryFile(/tmp/multipartBody1562014675256491800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148894602,"filename":"image_26042025_00_36_22_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fcadcb77021938d819403caa3d9baf13.jpg","text":"TemporaryFile(/tmp/multipartBody5630191639154872810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148894602,"filename":"image_26042025_00_36_33_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/106cd85837e91258fa86a439fcbb1a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5991366421793437581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148894602,"filename":"image_26042025_00_35_52_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f85f30e243f51bb97462d23a13288ec5.jpg","text":"TemporaryFile(/tmp/multipartBody3324312202677648295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148894602,"filename":"image_26042025_00_35_42_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210098","file1":"1355210094","file0":"1355210091","file4":"1355210102","file5":"1355210104","file3":"1355210100"},"map_files_photo_id_array":[{"photo_id":"1355210104","filename":"file5"},{"photo_id":"1355210098","filename":"file2"},{"photo_id":"1355210102","filename":"file4"},{"photo_id":"1355210094","filename":"file1"},{"photo_id":"1355210091","filename":"file0"},{"photo_id":"1355210100","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210100":["hashtag1","hashtag2"]},{"1355210098":["hashtag1","hashtag2"]},{"1355210102":["hashtag1","hashtag2"]},{"1355210104":["hashtag1","hashtag2"]},{"1355210094":["hashtag1","hashtag2"]},{"1355210091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210100, 1355210098, 1355210102, 1355210104, 1355210094, 1355210091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.825451374053955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:21:32.297460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/36/image_26042025_00_36_52_10382.jpg', '/home/pi/Desktop/images/26042025/00/36/image_26042025_00_37_03_10452.jpg', '/home/pi/Desktop/images/26042025/00/37/image_26042025_00_37_12_9354.jpg', '/home/pi/Desktop/images/26042025/00/37/image_26042025_00_37_23_10383.jpg', '/home/pi/Desktop/images/26042025/00/37/image_26042025_00_37_32_9374.jpg', '/home/pi/Desktop/images/26042025/00/37/image_26042025_00_37_42_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/36/image_26042025_00_36_52_10382.jpg
/home/pi/Desktop/images/26042025/00/36/image_26042025_00_37_03_10452.jpg
/home/pi/Desktop/images/26042025/00/37/image_26042025_00_37_12_9354.jpg
/home/pi/Desktop/images/26042025/00/37/image_26042025_00_37_23_10383.jpg
/home/pi/Desktop/images/26042025/00/37/image_26042025_00_37_32_9374.jpg
/home/pi/Desktop/images/26042025/00/37/image_26042025_00_37_42_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":["1355210115","1355210123","1355210119","1355210130","1355210133","1355210127"],"photo_ids_order":["1355210115","1355210119","1355210123","1355210127","1355210130","1355210133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e196de0b5b0e314965b8d4724ee20801.jpg","text":"TemporaryFile(/tmp/multipartBody7023281249429714560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148953915,"filename":"image_26042025_00_36_52_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/23a4c9104b5b331469385fe38473cf99.jpg","text":"TemporaryFile(/tmp/multipartBody1733859637188755752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148953915,"filename":"image_26042025_00_37_12_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1400ecf1b11fa82e811c35c4bda051fe.jpg","text":"TemporaryFile(/tmp/multipartBody3685306136347257034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148953915,"filename":"image_26042025_00_37_03_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d85faaba0e2593d78ea9eb998abb2f9c.jpg","text":"TemporaryFile(/tmp/multipartBody3562441318958777218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148953915,"filename":"image_26042025_00_37_32_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30c5f3aba268c2c96d0faec240237c0b.jpg","text":"TemporaryFile(/tmp/multipartBody672638139869392714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148953915,"filename":"image_26042025_00_37_42_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d8a0b0e9520f1dc3c055a1c92c148a02.jpg","text":"TemporaryFile(/tmp/multipartBody5116323216910139530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746148953915,"filename":"image_26042025_00_37_23_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210123","file1":"1355210119","file0":"1355210115","file4":"1355210130","file5":"1355210133","file3":"1355210127"},"map_files_photo_id_array":[{"photo_id":"1355210133","filename":"file5"},{"photo_id":"1355210123","filename":"file2"},{"photo_id":"1355210130","filename":"file4"},{"photo_id":"1355210119","filename":"file1"},{"photo_id":"1355210115","filename":"file0"},{"photo_id":"1355210127","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210115":["hashtag1","hashtag2"]},{"1355210123":["hashtag1","hashtag2"]},{"1355210119":["hashtag1","hashtag2"]},{"1355210130":["hashtag1","hashtag2"]},{"1355210133":["hashtag1","hashtag2"]},{"1355210127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210115, 1355210123, 1355210119, 1355210130, 1355210133, 1355210127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66017246246338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:22:32.460430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/37/image_26042025_00_37_53_10519.jpg', '/home/pi/Desktop/images/26042025/00/37/image_26042025_00_38_02_9355.jpg', '/home/pi/Desktop/images/26042025/00/38/image_26042025_00_38_13_10369.jpg', '/home/pi/Desktop/images/26042025/00/38/image_26042025_00_38_22_9474.jpg', '/home/pi/Desktop/images/26042025/00/38/image_26042025_00_38_32_10374.jpg', '/home/pi/Desktop/images/26042025/00/38/image_26042025_00_38_43_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/37/image_26042025_00_37_53_10519.jpg
/home/pi/Desktop/images/26042025/00/37/image_26042025_00_38_02_9355.jpg
/home/pi/Desktop/images/26042025/00/38/image_26042025_00_38_13_10369.jpg
/home/pi/Desktop/images/26042025/00/38/image_26042025_00_38_22_9474.jpg
/home/pi/Desktop/images/26042025/00/38/image_26042025_00_38_32_10374.jpg
/home/pi/Desktop/images/26042025/00/38/image_26042025_00_38_43_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":["1355210142","1355210141","1355210144","1355210138","1355210147","1355210146"],"photo_ids_order":["1355210138","1355210141","1355210142","1355210144","1355210146","1355210147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/772bd58d95f2429c9f0adedd4429f958.jpg","text":"TemporaryFile(/tmp/multipartBody6291265406717813170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149014058,"filename":"image_26042025_00_38_13_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/350d82019207d1da5f76b2035f360099.jpg","text":"TemporaryFile(/tmp/multipartBody4400475523569342344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149014058,"filename":"image_26042025_00_38_02_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0aca6cc15f640ce8c79ced667987683.jpg","text":"TemporaryFile(/tmp/multipartBody6354429051593003684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149014058,"filename":"image_26042025_00_38_22_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0c10a4f8a4f719da5b2c5954bc05b6f0.jpg","text":"TemporaryFile(/tmp/multipartBody8934984516092503923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149014058,"filename":"image_26042025_00_37_53_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f46bd76183191e19d9b1dd294c603fdc.jpg","text":"TemporaryFile(/tmp/multipartBody6798801749998963544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149014058,"filename":"image_26042025_00_38_43_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aba2a287fb5f15ef44abaa8fa11778fa.jpg","text":"TemporaryFile(/tmp/multipartBody4066852794084808232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149014058,"filename":"image_26042025_00_38_32_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210142","file1":"1355210141","file0":"1355210138","file4":"1355210146","file5":"1355210147","file3":"1355210144"},"map_files_photo_id_array":[{"photo_id":"1355210147","filename":"file5"},{"photo_id":"1355210142","filename":"file2"},{"photo_id":"1355210146","filename":"file4"},{"photo_id":"1355210141","filename":"file1"},{"photo_id":"1355210138","filename":"file0"},{"photo_id":"1355210144","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210142":["hashtag1","hashtag2"]},{"1355210141":["hashtag1","hashtag2"]},{"1355210144":["hashtag1","hashtag2"]},{"1355210138":["hashtag1","hashtag2"]},{"1355210147":["hashtag1","hashtag2"]},{"1355210146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210142, 1355210141, 1355210144, 1355210138, 1355210147, 1355210146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.164635181427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:23:32.666526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/38/image_26042025_00_38_52_9385.jpg', '/home/pi/Desktop/images/26042025/00/38/image_26042025_00_39_03_10365.jpg', '/home/pi/Desktop/images/26042025/00/39/image_26042025_00_39_12_9370.jpg', '/home/pi/Desktop/images/26042025/00/39/image_26042025_00_39_22_10374.jpg', '/home/pi/Desktop/images/26042025/00/39/image_26042025_00_39_33_10393.jpg', '/home/pi/Desktop/images/26042025/00/39/image_26042025_00_39_42_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/38/image_26042025_00_38_52_9385.jpg
/home/pi/Desktop/images/26042025/00/38/image_26042025_00_39_03_10365.jpg
/home/pi/Desktop/images/26042025/00/39/image_26042025_00_39_12_9370.jpg
/home/pi/Desktop/images/26042025/00/39/image_26042025_00_39_22_10374.jpg
/home/pi/Desktop/images/26042025/00/39/image_26042025_00_39_33_10393.jpg
/home/pi/Desktop/images/26042025/00/39/image_26042025_00_39_42_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210171","1355210174","1355210165","1355210167","1355210166","1355210169"],"photo_ids_order":["1355210165","1355210166","1355210167","1355210169","1355210171","1355210174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9c8ec8a76a9d97989a5cdbda34740c4.jpg","text":"TemporaryFile(/tmp/multipartBody6519633750521285155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149074264,"filename":"image_26042025_00_39_33_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b58e026cbd4aa13ec46831fe1d9a9617.jpg","text":"TemporaryFile(/tmp/multipartBody1792237986052506001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149074264,"filename":"image_26042025_00_39_42_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bbf7c5252b5e0f42125ce8c3551b1e49.jpg","text":"TemporaryFile(/tmp/multipartBody8532526954786569671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149074264,"filename":"image_26042025_00_38_52_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8226edeb5f51ffaebacecc1e236ed7b7.jpg","text":"TemporaryFile(/tmp/multipartBody918455035598624109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149074264,"filename":"image_26042025_00_39_12_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f1d7c63b8cc276e10cab9c13f18970d.jpg","text":"TemporaryFile(/tmp/multipartBody6597663855975888908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149074264,"filename":"image_26042025_00_39_03_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2462139a6532f88cda21455c85f7fa99.jpg","text":"TemporaryFile(/tmp/multipartBody231016924148024332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149074264,"filename":"image_26042025_00_39_22_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210167","file1":"1355210166","file0":"1355210165","file4":"1355210171","file5":"1355210174","file3":"1355210169"},"map_files_photo_id_array":[{"photo_id":"1355210174","filename":"file5"},{"photo_id":"1355210167","filename":"file2"},{"photo_id":"1355210171","filename":"file4"},{"photo_id":"1355210166","filename":"file1"},{"photo_id":"1355210165","filename":"file0"},{"photo_id":"1355210169","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210171":["hashtag1","hashtag2"]},{"1355210174":["hashtag1","hashtag2"]},{"1355210165":["hashtag1","hashtag2"]},{"1355210167":["hashtag1","hashtag2"]},{"1355210166":["hashtag1","hashtag2"]},{"1355210169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210171, 1355210174, 1355210165, 1355210167, 1355210166, 1355210169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.14433526992798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:24:32.901950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/39/image_26042025_00_39_53_10447.jpg', '/home/pi/Desktop/images/26042025/00/39/image_26042025_00_40_02_9478.jpg', '/home/pi/Desktop/images/26042025/00/40/image_26042025_00_40_12_10456.jpg', '/home/pi/Desktop/images/26042025/00/40/image_26042025_00_40_22_9414.jpg', '/home/pi/Desktop/images/26042025/00/40/image_26042025_00_40_32_10377.jpg', '/home/pi/Desktop/images/26042025/00/40/image_26042025_00_40_43_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/39/image_26042025_00_39_53_10447.jpg
/home/pi/Desktop/images/26042025/00/39/image_26042025_00_40_02_9478.jpg
/home/pi/Desktop/images/26042025/00/40/image_26042025_00_40_12_10456.jpg
/home/pi/Desktop/images/26042025/00/40/image_26042025_00_40_22_9414.jpg
/home/pi/Desktop/images/26042025/00/40/image_26042025_00_40_32_10377.jpg
/home/pi/Desktop/images/26042025/00/40/image_26042025_00_40_43_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":["1355210192","1355210186","1355210191","1355210188","1355210193","1355210190"],"photo_ids_order":["1355210186","1355210188","1355210190","1355210191","1355210192","1355210193"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/376ce77913c6d9166e018266fc4425ea.jpg","text":"TemporaryFile(/tmp/multipartBody8405776694347773142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149134496,"filename":"image_26042025_00_40_32_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b615ad129af7a31d239d2e800e8ef1bb.jpg","text":"TemporaryFile(/tmp/multipartBody3833413252907405180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149134496,"filename":"image_26042025_00_39_53_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6a04c73c266d247da55f91eb544c349.jpg","text":"TemporaryFile(/tmp/multipartBody3278903001530077355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149134496,"filename":"image_26042025_00_40_22_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a144c19d64bed44eb6e0526ed2bd4c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7725505845363591464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149134496,"filename":"image_26042025_00_40_02_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da00d5fa67aed13b1fff6e2a570bc63f.jpg","text":"TemporaryFile(/tmp/multipartBody5741235640511280248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149134496,"filename":"image_26042025_00_40_43_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/43d2e065820a3e0e3db5d646bc0e7365.jpg","text":"TemporaryFile(/tmp/multipartBody2225704040898860188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149134496,"filename":"image_26042025_00_40_12_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210190","file1":"1355210188","file0":"1355210186","file4":"1355210192","file5":"1355210193","file3":"1355210191"},"map_files_photo_id_array":[{"photo_id":"1355210193","filename":"file5"},{"photo_id":"1355210190","filename":"file2"},{"photo_id":"1355210192","filename":"file4"},{"photo_id":"1355210188","filename":"file1"},{"photo_id":"1355210186","filename":"file0"},{"photo_id":"1355210191","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210192":["hashtag1","hashtag2"]},{"1355210186":["hashtag1","hashtag2"]},{"1355210191":["hashtag1","hashtag2"]},{"1355210188":["hashtag1","hashtag2"]},{"1355210193":["hashtag1","hashtag2"]},{"1355210190":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210192, 1355210186, 1355210191, 1355210188, 1355210193, 1355210190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03972816467285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:25:33.025500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/40/image_26042025_00_40_52_9419.jpg', '/home/pi/Desktop/images/26042025/00/40/image_26042025_00_41_02_10374.jpg', '/home/pi/Desktop/images/26042025/00/41/image_26042025_00_41_13_10425.jpg', '/home/pi/Desktop/images/26042025/00/41/image_26042025_00_41_22_9377.jpg', '/home/pi/Desktop/images/26042025/00/41/image_26042025_00_41_33_10378.jpg', '/home/pi/Desktop/images/26042025/00/41/image_26042025_00_41_42_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/40/image_26042025_00_40_52_9419.jpg
/home/pi/Desktop/images/26042025/00/40/image_26042025_00_41_02_10374.jpg
/home/pi/Desktop/images/26042025/00/41/image_26042025_00_41_13_10425.jpg
/home/pi/Desktop/images/26042025/00/41/image_26042025_00_41_22_9377.jpg
/home/pi/Desktop/images/26042025/00/41/image_26042025_00_41_33_10378.jpg
/home/pi/Desktop/images/26042025/00/41/image_26042025_00_41_42_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":["1355210220","1355210223","1355210205","1355210213","1355210209","1355210218"],"photo_ids_order":["1355210205","1355210209","1355210213","1355210218","1355210220","1355210223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d8d4e3c7eca6e953abac140d108ce30b.jpg","text":"TemporaryFile(/tmp/multipartBody7551311423225785870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149194634,"filename":"image_26042025_00_41_33_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5072fe8fff8d5b858c677ebc8d3d85c2.jpg","text":"TemporaryFile(/tmp/multipartBody2689033555444128532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149194634,"filename":"image_26042025_00_41_42_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0aae0d40aacb18566449b9947b577176.jpg","text":"TemporaryFile(/tmp/multipartBody3341251375280544467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149194634,"filename":"image_26042025_00_40_52_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/122fcfb3eb7e874b3ad0c30983177f46.jpg","text":"TemporaryFile(/tmp/multipartBody195916618801896102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149194634,"filename":"image_26042025_00_41_13_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/009d8b1a5e8dd08338dad5d1b2db832a.jpg","text":"TemporaryFile(/tmp/multipartBody3274026200339647207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149194634,"filename":"image_26042025_00_41_02_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a089815f089a90384373ec2dff542650.jpg","text":"TemporaryFile(/tmp/multipartBody4524012501843816085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149194634,"filename":"image_26042025_00_41_22_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210213","file1":"1355210209","file0":"1355210205","file4":"1355210220","file5":"1355210223","file3":"1355210218"},"map_files_photo_id_array":[{"photo_id":"1355210223","filename":"file5"},{"photo_id":"1355210213","filename":"file2"},{"photo_id":"1355210220","filename":"file4"},{"photo_id":"1355210209","filename":"file1"},{"photo_id":"1355210205","filename":"file0"},{"photo_id":"1355210218","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210220":["hashtag1","hashtag2"]},{"1355210223":["hashtag1","hashtag2"]},{"1355210205":["hashtag1","hashtag2"]},{"1355210213":["hashtag1","hashtag2"]},{"1355210209":["hashtag1","hashtag2"]},{"1355210218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210220, 1355210223, 1355210205, 1355210213, 1355210209, 1355210218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.221784830093384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:26:32.230518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/41/image_26042025_00_41_52_10391.jpg', '/home/pi/Desktop/images/26042025/00/41/image_26042025_00_42_03_10425.jpg', '/home/pi/Desktop/images/26042025/00/42/image_26042025_00_42_12_9358.jpg', '/home/pi/Desktop/images/26042025/00/42/image_26042025_00_42_23_10373.jpg', '/home/pi/Desktop/images/26042025/00/42/image_26042025_00_42_32_9364.jpg', '/home/pi/Desktop/images/26042025/00/42/image_26042025_00_42_42_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/41/image_26042025_00_41_52_10391.jpg
/home/pi/Desktop/images/26042025/00/41/image_26042025_00_42_03_10425.jpg
/home/pi/Desktop/images/26042025/00/42/image_26042025_00_42_12_9358.jpg
/home/pi/Desktop/images/26042025/00/42/image_26042025_00_42_23_10373.jpg
/home/pi/Desktop/images/26042025/00/42/image_26042025_00_42_32_9364.jpg
/home/pi/Desktop/images/26042025/00/42/image_26042025_00_42_42_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210240","1355210234","1355210245","1355210256","1355210250","1355210253"],"photo_ids_order":["1355210234","1355210240","1355210245","1355210250","1355210253","1355210256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9549778a67b3dea0e46065c32e96c880.jpg","text":"TemporaryFile(/tmp/multipartBody3250213382457987243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149253809,"filename":"image_26042025_00_42_03_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b4981b14b50d7f74200784278ad36608.jpg","text":"TemporaryFile(/tmp/multipartBody6323572672272277001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149253809,"filename":"image_26042025_00_41_52_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5873936d0424d294750330adf97f3c17.jpg","text":"TemporaryFile(/tmp/multipartBody2294513322735510002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149253809,"filename":"image_26042025_00_42_12_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/385e3f3af81a192207894aacd4cf13d8.jpg","text":"TemporaryFile(/tmp/multipartBody7255719776766632470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149253809,"filename":"image_26042025_00_42_42_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af346e459fff30087062de1e28cbd1a6.jpg","text":"TemporaryFile(/tmp/multipartBody4890576322976682481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149253809,"filename":"image_26042025_00_42_23_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95c4042768240bfdaf18b555d2d114e4.jpg","text":"TemporaryFile(/tmp/multipartBody923116239927664815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149253809,"filename":"image_26042025_00_42_32_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210245","file1":"1355210240","file0":"1355210234","file4":"1355210253","file5":"1355210256","file3":"1355210250"},"map_files_photo_id_array":[{"photo_id":"1355210256","filename":"file5"},{"photo_id":"1355210245","filename":"file2"},{"photo_id":"1355210253","filename":"file4"},{"photo_id":"1355210240","filename":"file1"},{"photo_id":"1355210234","filename":"file0"},{"photo_id":"1355210250","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210240":["hashtag1","hashtag2"]},{"1355210234":["hashtag1","hashtag2"]},{"1355210245":["hashtag1","hashtag2"]},{"1355210256":["hashtag1","hashtag2"]},{"1355210250":["hashtag1","hashtag2"]},{"1355210253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210240, 1355210234, 1355210245, 1355210256, 1355210250, 1355210253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.548779249191284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:27:32.487894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/42/image_26042025_00_42_53_10502.jpg', '/home/pi/Desktop/images/26042025/00/42/image_26042025_00_43_02_9385.jpg', '/home/pi/Desktop/images/26042025/00/43/image_26042025_00_43_13_10393.jpg', '/home/pi/Desktop/images/26042025/00/43/image_26042025_00_43_22_9460.jpg', '/home/pi/Desktop/images/26042025/00/43/image_26042025_00_43_32_10380.jpg', '/home/pi/Desktop/images/26042025/00/43/image_26042025_00_43_43_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/42/image_26042025_00_42_53_10502.jpg
/home/pi/Desktop/images/26042025/00/42/image_26042025_00_43_02_9385.jpg
/home/pi/Desktop/images/26042025/00/43/image_26042025_00_43_13_10393.jpg
/home/pi/Desktop/images/26042025/00/43/image_26042025_00_43_22_9460.jpg
/home/pi/Desktop/images/26042025/00/43/image_26042025_00_43_32_10380.jpg
/home/pi/Desktop/images/26042025/00/43/image_26042025_00_43_43_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":["1355210279","1355210273","1355210267","1355210264","1355210275","1355210271"],"photo_ids_order":["1355210264","1355210267","1355210271","1355210273","1355210275","1355210279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/836f968a93250fd4d1f81bb746263a08.jpg","text":"TemporaryFile(/tmp/multipartBody3256385150274829088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149314093,"filename":"image_26042025_00_43_43_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/305c6a068fac0fcf4e1c60370cd7d148.jpg","text":"TemporaryFile(/tmp/multipartBody6258508599433810500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149314093,"filename":"image_26042025_00_43_22_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c6806d92c5a4da1a57bd69fb8402715.jpg","text":"TemporaryFile(/tmp/multipartBody4207301174659348607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149314093,"filename":"image_26042025_00_43_02_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1ea4e7a381886dbd00b0213a201ead83.jpg","text":"TemporaryFile(/tmp/multipartBody7650200355951013560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149314093,"filename":"image_26042025_00_42_53_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b4baa274bb221290590e2d558bfd0b33.jpg","text":"TemporaryFile(/tmp/multipartBody4665286897386686003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149314093,"filename":"image_26042025_00_43_32_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e5dfe88e579ba8b2f31057a8458cde6.jpg","text":"TemporaryFile(/tmp/multipartBody5651455872167092462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149314093,"filename":"image_26042025_00_43_13_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210271","file1":"1355210267","file0":"1355210264","file4":"1355210275","file5":"1355210279","file3":"1355210273"},"map_files_photo_id_array":[{"photo_id":"1355210279","filename":"file5"},{"photo_id":"1355210271","filename":"file2"},{"photo_id":"1355210275","filename":"file4"},{"photo_id":"1355210267","filename":"file1"},{"photo_id":"1355210264","filename":"file0"},{"photo_id":"1355210273","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210279":["hashtag1","hashtag2"]},{"1355210273":["hashtag1","hashtag2"]},{"1355210267":["hashtag1","hashtag2"]},{"1355210264":["hashtag1","hashtag2"]},{"1355210275":["hashtag1","hashtag2"]},{"1355210271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210279, 1355210273, 1355210267, 1355210264, 1355210275, 1355210271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48644208908081 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:28:32.637283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/43/image_26042025_00_43_52_9350.jpg', '/home/pi/Desktop/images/26042025/00/43/image_26042025_00_44_03_10366.jpg', '/home/pi/Desktop/images/26042025/00/44/image_26042025_00_44_12_9474.jpg', '/home/pi/Desktop/images/26042025/00/44/image_26042025_00_44_22_10360.jpg', '/home/pi/Desktop/images/26042025/00/44/image_26042025_00_44_33_10440.jpg', '/home/pi/Desktop/images/26042025/00/44/image_26042025_00_44_42_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/43/image_26042025_00_43_52_9350.jpg
/home/pi/Desktop/images/26042025/00/43/image_26042025_00_44_03_10366.jpg
/home/pi/Desktop/images/26042025/00/44/image_26042025_00_44_12_9474.jpg
/home/pi/Desktop/images/26042025/00/44/image_26042025_00_44_22_10360.jpg
/home/pi/Desktop/images/26042025/00/44/image_26042025_00_44_33_10440.jpg
/home/pi/Desktop/images/26042025/00/44/image_26042025_00_44_42_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210297","1355210291","1355210294","1355210288","1355210303","1355210299"],"photo_ids_order":["1355210288","1355210291","1355210294","1355210297","1355210299","1355210303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/80d262f33aad95d2d3de18e081457b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7220360107371410211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149374224,"filename":"image_26042025_00_44_22_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/400cb78c467d56ff14f8fb14661239ae.jpg","text":"TemporaryFile(/tmp/multipartBody2382328156785906907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149374224,"filename":"image_26042025_00_44_03_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c8aee222957c34e48c16a97f4007ae3.jpg","text":"TemporaryFile(/tmp/multipartBody8500635598893933188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149374224,"filename":"image_26042025_00_44_12_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/57c4df5c9347e0fec5d7348357274031.jpg","text":"TemporaryFile(/tmp/multipartBody1130970807494846405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149374224,"filename":"image_26042025_00_43_52_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/afe3064b9a57c36616a3c444ab4232a4.jpg","text":"TemporaryFile(/tmp/multipartBody7114354830794550662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149374224,"filename":"image_26042025_00_44_42_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c33090df2836965ef5e6e4f7e13333d1.jpg","text":"TemporaryFile(/tmp/multipartBody3806617699934939261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149374224,"filename":"image_26042025_00_44_33_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210294","file1":"1355210291","file0":"1355210288","file4":"1355210299","file5":"1355210303","file3":"1355210297"},"map_files_photo_id_array":[{"photo_id":"1355210303","filename":"file5"},{"photo_id":"1355210294","filename":"file2"},{"photo_id":"1355210299","filename":"file4"},{"photo_id":"1355210291","filename":"file1"},{"photo_id":"1355210288","filename":"file0"},{"photo_id":"1355210297","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210297":["hashtag1","hashtag2"]},{"1355210291":["hashtag1","hashtag2"]},{"1355210294":["hashtag1","hashtag2"]},{"1355210288":["hashtag1","hashtag2"]},{"1355210303":["hashtag1","hashtag2"]},{"1355210299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210297, 1355210291, 1355210294, 1355210288, 1355210303, 1355210299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57686448097229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:29:32.861861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/44/image_26042025_00_44_53_10375.jpg', '/home/pi/Desktop/images/26042025/00/44/image_26042025_00_45_02_9453.jpg', '/home/pi/Desktop/images/26042025/00/45/image_26042025_00_45_12_10415.jpg', '/home/pi/Desktop/images/26042025/00/45/image_26042025_00_45_22_9492.jpg', '/home/pi/Desktop/images/26042025/00/45/image_26042025_00_45_32_10373.jpg', '/home/pi/Desktop/images/26042025/00/45/image_26042025_00_45_43_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/44/image_26042025_00_44_53_10375.jpg
/home/pi/Desktop/images/26042025/00/44/image_26042025_00_45_02_9453.jpg
/home/pi/Desktop/images/26042025/00/45/image_26042025_00_45_12_10415.jpg
/home/pi/Desktop/images/26042025/00/45/image_26042025_00_45_22_9492.jpg
/home/pi/Desktop/images/26042025/00/45/image_26042025_00_45_32_10373.jpg
/home/pi/Desktop/images/26042025/00/45/image_26042025_00_45_43_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":["1355210313","1355210316","1355210321","1355210323","1355210319","1355210310"],"photo_ids_order":["1355210310","1355210313","1355210316","1355210319","1355210321","1355210323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/adc63ac402c2a44b0eb5ab052a50afe7.jpg","text":"TemporaryFile(/tmp/multipartBody4467744610586666209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149434457,"filename":"image_26042025_00_45_02_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3719d3621bf0b2fe757a41eb5c701a8.jpg","text":"TemporaryFile(/tmp/multipartBody5870312717689527248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149434457,"filename":"image_26042025_00_45_12_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/23e46e1cb5dadc031489b6f8898a3113.jpg","text":"TemporaryFile(/tmp/multipartBody5476902190193292908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149434457,"filename":"image_26042025_00_45_32_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/654fd25f19b1afcb81f7968192aad9d7.jpg","text":"TemporaryFile(/tmp/multipartBody2559032085484909426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149434457,"filename":"image_26042025_00_45_43_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b7886a3a684510c5a82e3da382c44da0.jpg","text":"TemporaryFile(/tmp/multipartBody4771793886805389788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149434457,"filename":"image_26042025_00_45_22_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39f06caac625fc982fbf9ac434e0cd6d.jpg","text":"TemporaryFile(/tmp/multipartBody7985215759945812675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149434457,"filename":"image_26042025_00_44_53_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210316","file1":"1355210313","file0":"1355210310","file4":"1355210321","file5":"1355210323","file3":"1355210319"},"map_files_photo_id_array":[{"photo_id":"1355210323","filename":"file5"},{"photo_id":"1355210316","filename":"file2"},{"photo_id":"1355210321","filename":"file4"},{"photo_id":"1355210313","filename":"file1"},{"photo_id":"1355210310","filename":"file0"},{"photo_id":"1355210319","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210313":["hashtag1","hashtag2"]},{"1355210316":["hashtag1","hashtag2"]},{"1355210321":["hashtag1","hashtag2"]},{"1355210323":["hashtag1","hashtag2"]},{"1355210319":["hashtag1","hashtag2"]},{"1355210310":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210313, 1355210316, 1355210321, 1355210323, 1355210319, 1355210310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.056093454360962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:30:33.194466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/45/image_26042025_00_45_52_9413.jpg', '/home/pi/Desktop/images/26042025/00/45/image_26042025_00_46_02_10384.jpg', '/home/pi/Desktop/images/26042025/00/46/image_26042025_00_46_12_9437.jpg', '/home/pi/Desktop/images/26042025/00/46/image_26042025_00_46_22_10379.jpg', '/home/pi/Desktop/images/26042025/00/46/image_26042025_00_46_33_10506.jpg', '/home/pi/Desktop/images/26042025/00/46/image_26042025_00_46_42_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/45/image_26042025_00_45_52_9413.jpg
/home/pi/Desktop/images/26042025/00/45/image_26042025_00_46_02_10384.jpg
/home/pi/Desktop/images/26042025/00/46/image_26042025_00_46_12_9437.jpg
/home/pi/Desktop/images/26042025/00/46/image_26042025_00_46_22_10379.jpg
/home/pi/Desktop/images/26042025/00/46/image_26042025_00_46_33_10506.jpg
/home/pi/Desktop/images/26042025/00/46/image_26042025_00_46_42_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210345","1355210339","1355210347","1355210341","1355210349","1355210343"],"photo_ids_order":["1355210339","1355210341","1355210343","1355210345","1355210347","1355210349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d0b2beda97385eb67d7ef099e5490c6.jpg","text":"TemporaryFile(/tmp/multipartBody5130067831995602711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149494850,"filename":"image_26042025_00_46_22_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d28b173b4cdbd55805931b345fbec86.jpg","text":"TemporaryFile(/tmp/multipartBody7501068843806778097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149494850,"filename":"image_26042025_00_45_52_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae2583b0d380f75bb5158ea8514a53fe.jpg","text":"TemporaryFile(/tmp/multipartBody2575017442191609479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149494850,"filename":"image_26042025_00_46_33_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49bc8ffb7df0656fef8f6259ba539ef4.jpg","text":"TemporaryFile(/tmp/multipartBody7569006119464183206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149494850,"filename":"image_26042025_00_46_02_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d581a4af036b901ec570ef2fb411aaae.jpg","text":"TemporaryFile(/tmp/multipartBody1219312771577252940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149494850,"filename":"image_26042025_00_46_42_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0e0afdc8f76c945131638508c5ff0a07.jpg","text":"TemporaryFile(/tmp/multipartBody7248467741339871018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149494850,"filename":"image_26042025_00_46_12_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210343","file1":"1355210341","file0":"1355210339","file4":"1355210347","file5":"1355210349","file3":"1355210345"},"map_files_photo_id_array":[{"photo_id":"1355210349","filename":"file5"},{"photo_id":"1355210343","filename":"file2"},{"photo_id":"1355210347","filename":"file4"},{"photo_id":"1355210341","filename":"file1"},{"photo_id":"1355210339","filename":"file0"},{"photo_id":"1355210345","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210345":["hashtag1","hashtag2"]},{"1355210339":["hashtag1","hashtag2"]},{"1355210347":["hashtag1","hashtag2"]},{"1355210341":["hashtag1","hashtag2"]},{"1355210349":["hashtag1","hashtag2"]},{"1355210343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210345, 1355210339, 1355210347, 1355210341, 1355210349, 1355210343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06592679023743 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:31:32.400428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/46/image_26042025_00_46_53_10389.jpg', '/home/pi/Desktop/images/26042025/00/46/image_26042025_00_47_02_9469.jpg', '/home/pi/Desktop/images/26042025/00/47/image_26042025_00_47_12_10368.jpg', '/home/pi/Desktop/images/26042025/00/47/image_26042025_00_47_23_10441.jpg', '/home/pi/Desktop/images/26042025/00/47/image_26042025_00_47_32_9357.jpg', '/home/pi/Desktop/images/26042025/00/47/image_26042025_00_47_43_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/46/image_26042025_00_46_53_10389.jpg
/home/pi/Desktop/images/26042025/00/46/image_26042025_00_47_02_9469.jpg
/home/pi/Desktop/images/26042025/00/47/image_26042025_00_47_12_10368.jpg
/home/pi/Desktop/images/26042025/00/47/image_26042025_00_47_23_10441.jpg
/home/pi/Desktop/images/26042025/00/47/image_26042025_00_47_32_9357.jpg
/home/pi/Desktop/images/26042025/00/47/image_26042025_00_47_43_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":["1355210378","1355210381","1355210375","1355210369","1355210371","1355210373"],"photo_ids_order":["1355210369","1355210371","1355210373","1355210375","1355210378","1355210381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a6c2522c1032ee71d150d562116c298.jpg","text":"TemporaryFile(/tmp/multipartBody6493761447433625237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149553987,"filename":"image_26042025_00_47_32_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/854d239c225733bed4ed129be4f5de27.jpg","text":"TemporaryFile(/tmp/multipartBody3784473179068342319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149553987,"filename":"image_26042025_00_47_43_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8234f26f79e92ee4540b0a4aaf4a462d.jpg","text":"TemporaryFile(/tmp/multipartBody7233354791343129071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149553987,"filename":"image_26042025_00_47_23_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/221ad9917ea4ae854e3dbe5a184e8613.jpg","text":"TemporaryFile(/tmp/multipartBody8579018018674061094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149553987,"filename":"image_26042025_00_46_53_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75ad315419d518831485e32ed43d50fa.jpg","text":"TemporaryFile(/tmp/multipartBody727705050553796109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149553987,"filename":"image_26042025_00_47_02_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a84f9e579a3e26697f9c23dbd8260275.jpg","text":"TemporaryFile(/tmp/multipartBody3244022925099517418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149553987,"filename":"image_26042025_00_47_12_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210373","file1":"1355210371","file0":"1355210369","file4":"1355210378","file5":"1355210381","file3":"1355210375"},"map_files_photo_id_array":[{"photo_id":"1355210381","filename":"file5"},{"photo_id":"1355210373","filename":"file2"},{"photo_id":"1355210378","filename":"file4"},{"photo_id":"1355210371","filename":"file1"},{"photo_id":"1355210369","filename":"file0"},{"photo_id":"1355210375","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210378":["hashtag1","hashtag2"]},{"1355210381":["hashtag1","hashtag2"]},{"1355210375":["hashtag1","hashtag2"]},{"1355210369":["hashtag1","hashtag2"]},{"1355210371":["hashtag1","hashtag2"]},{"1355210373":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210378, 1355210381, 1355210375, 1355210369, 1355210371, 1355210373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.917770862579346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:32:32.714905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/47/image_26042025_00_47_52_9400.jpg', '/home/pi/Desktop/images/26042025/00/47/image_26042025_00_48_02_10373.jpg', '/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_13_10425.jpg', '/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_22_9369.jpg', '/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_33_10378.jpg', '/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_42_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/47/image_26042025_00_47_52_9400.jpg
/home/pi/Desktop/images/26042025/00/47/image_26042025_00_48_02_10373.jpg
/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_13_10425.jpg
/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_22_9369.jpg
/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_33_10378.jpg
/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_42_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210399","1355210395","1355210398","1355210392","1355210388","1355210397"],"photo_ids_order":["1355210388","1355210392","1355210395","1355210397","1355210398","1355210399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea45d5ae9180c52df6db20fd51ad92a0.jpg","text":"TemporaryFile(/tmp/multipartBody5930618653793708369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149614329,"filename":"image_26042025_00_48_42_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cdb872ef70900522df56dbd20893e5c6.jpg","text":"TemporaryFile(/tmp/multipartBody6271267981891598971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149614329,"filename":"image_26042025_00_48_13_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/694d36e1ae170c4c04f22682e8d43e5b.jpg","text":"TemporaryFile(/tmp/multipartBody7835602254094170705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149614329,"filename":"image_26042025_00_48_33_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/933879ff115cc108d445ac1d1c25d250.jpg","text":"TemporaryFile(/tmp/multipartBody4268400351466171592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149614329,"filename":"image_26042025_00_48_02_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1058113e78c783efe997d049608a7a92.jpg","text":"TemporaryFile(/tmp/multipartBody1716233737137724587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149614329,"filename":"image_26042025_00_47_52_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf7b1383103d7e2d61de1c0fd86d1835.jpg","text":"TemporaryFile(/tmp/multipartBody1949513362326897468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149614329,"filename":"image_26042025_00_48_22_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210395","file1":"1355210392","file0":"1355210388","file4":"1355210398","file5":"1355210399","file3":"1355210397"},"map_files_photo_id_array":[{"photo_id":"1355210399","filename":"file5"},{"photo_id":"1355210395","filename":"file2"},{"photo_id":"1355210398","filename":"file4"},{"photo_id":"1355210392","filename":"file1"},{"photo_id":"1355210388","filename":"file0"},{"photo_id":"1355210397","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210399":["hashtag1","hashtag2"]},{"1355210395":["hashtag1","hashtag2"]},{"1355210398":["hashtag1","hashtag2"]},{"1355210392":["hashtag1","hashtag2"]},{"1355210388":["hashtag1","hashtag2"]},{"1355210397":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210399, 1355210395, 1355210398, 1355210392, 1355210388, 1355210397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77765727043152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:33:33.140569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_52_10385.jpg', '/home/pi/Desktop/images/26042025/00/48/image_26042025_00_49_02_9464.jpg', '/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_12_10381.jpg', '/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_23_10378.jpg', '/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_32_9363.jpg', '/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_42_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_52_10385.jpg
/home/pi/Desktop/images/26042025/00/48/image_26042025_00_49_02_9464.jpg
/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_12_10381.jpg
/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_23_10378.jpg
/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_32_9363.jpg
/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_42_10378.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5136728286743164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 03:33:43.127142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_52_10385.jpg', '/home/pi/Desktop/images/26042025/00/48/image_26042025_00_49_02_9464.jpg', '/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_12_10381.jpg', '/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_23_10378.jpg', '/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_32_9363.jpg', '/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_42_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/48/image_26042025_00_48_52_10385.jpg
/home/pi/Desktop/images/26042025/00/48/image_26042025_00_49_02_9464.jpg
/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_12_10381.jpg
/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_23_10378.jpg
/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_32_9363.jpg
/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_42_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210432","1355210429","1355210426","1355210428","1355210422","1355210419"],"photo_ids_order":["1355210419","1355210422","1355210426","1355210428","1355210429","1355210432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e80a4f520baf7bcc5f812e4933578e5c.jpg","text":"TemporaryFile(/tmp/multipartBody4085626854671639762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149684180,"filename":"image_26042025_00_49_42_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d14a3be0e6a27a7d735512d023f4f03a.jpg","text":"TemporaryFile(/tmp/multipartBody697731102102148475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149684180,"filename":"image_26042025_00_49_32_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b72af5fe5a9cf2efaa03f04b1df91957.jpg","text":"TemporaryFile(/tmp/multipartBody3209546411654566940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149684180,"filename":"image_26042025_00_49_12_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/037b69213412879405dcac64deb8034a.jpg","text":"TemporaryFile(/tmp/multipartBody2647473836184036723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149684180,"filename":"image_26042025_00_49_23_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4bc7d9d9f4395b5ebc51ae7cfc5ee787.jpg","text":"TemporaryFile(/tmp/multipartBody2600140597758318365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149684180,"filename":"image_26042025_00_49_02_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a9416849ba7d868d1b2a6da218bdf79.jpg","text":"TemporaryFile(/tmp/multipartBody8548200740985497858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149684180,"filename":"image_26042025_00_48_52_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210426","file1":"1355210422","file0":"1355210419","file4":"1355210429","file5":"1355210432","file3":"1355210428"},"map_files_photo_id_array":[{"photo_id":"1355210432","filename":"file5"},{"photo_id":"1355210426","filename":"file2"},{"photo_id":"1355210429","filename":"file4"},{"photo_id":"1355210422","filename":"file1"},{"photo_id":"1355210419","filename":"file0"},{"photo_id":"1355210428","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210432":["hashtag1","hashtag2"]},{"1355210429":["hashtag1","hashtag2"]},{"1355210426":["hashtag1","hashtag2"]},{"1355210428":["hashtag1","hashtag2"]},{"1355210422":["hashtag1","hashtag2"]},{"1355210419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210432, 1355210429, 1355210426, 1355210428, 1355210422, 1355210419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10765266418457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:34:32.264577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_52_9535.jpg', '/home/pi/Desktop/images/26042025/00/49/image_26042025_00_50_02_10379.jpg', '/home/pi/Desktop/images/26042025/00/50/image_26042025_00_50_42_9448.jpg', '/home/pi/Desktop/images/26042025/00/50/image_26042025_00_50_52_10382.jpg', '/home/pi/Desktop/images/26042025/00/50/image_26042025_00_51_03_10419.jpg', '/home/pi/Desktop/images/26042025/00/51/image_26042025_00_51_12_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/49/image_26042025_00_49_52_9535.jpg
/home/pi/Desktop/images/26042025/00/49/image_26042025_00_50_02_10379.jpg
/home/pi/Desktop/images/26042025/00/50/image_26042025_00_50_42_9448.jpg
/home/pi/Desktop/images/26042025/00/50/image_26042025_00_50_52_10382.jpg
/home/pi/Desktop/images/26042025/00/50/image_26042025_00_51_03_10419.jpg
/home/pi/Desktop/images/26042025/00/51/image_26042025_00_51_12_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":["1355210450","1355210447","1355210441","1355210444","1355210452","1355210449"],"photo_ids_order":["1355210441","1355210444","1355210447","1355210449","1355210450","1355210452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/00fea298b1cf381ddbef201ac56a1a3c.jpg","text":"TemporaryFile(/tmp/multipartBody8787719015624079401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149733843,"filename":"image_26042025_00_51_03_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/32bddfb6091558abd774dd64ce338e1c.jpg","text":"TemporaryFile(/tmp/multipartBody3778698142046838939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149733843,"filename":"image_26042025_00_50_42_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1e4ee7fdb947636737288441e9af39ee.jpg","text":"TemporaryFile(/tmp/multipartBody6655305276954784598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149733843,"filename":"image_26042025_00_49_52_9535.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b20a1dec9fde4f22d54b901df9bdd78.jpg","text":"TemporaryFile(/tmp/multipartBody3550149756927153306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149733843,"filename":"image_26042025_00_50_02_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce29c2c4599ddd652749a57058441ace.jpg","text":"TemporaryFile(/tmp/multipartBody4274900528886281427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149733843,"filename":"image_26042025_00_51_12_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/98b16a8b805ebc7439286f90fc035a4e.jpg","text":"TemporaryFile(/tmp/multipartBody75134460975584341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149733843,"filename":"image_26042025_00_50_52_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210447","file1":"1355210444","file0":"1355210441","file4":"1355210450","file5":"1355210452","file3":"1355210449"},"map_files_photo_id_array":[{"photo_id":"1355210452","filename":"file5"},{"photo_id":"1355210447","filename":"file2"},{"photo_id":"1355210450","filename":"file4"},{"photo_id":"1355210444","filename":"file1"},{"photo_id":"1355210441","filename":"file0"},{"photo_id":"1355210449","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210450":["hashtag1","hashtag2"]},{"1355210447":["hashtag1","hashtag2"]},{"1355210441":["hashtag1","hashtag2"]},{"1355210444":["hashtag1","hashtag2"]},{"1355210452":["hashtag1","hashtag2"]},{"1355210449":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210450, 1355210447, 1355210441, 1355210444, 1355210452, 1355210449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1921329498291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:35:32.612373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/51/image_26042025_00_51_23_10413.jpg', '/home/pi/Desktop/images/26042025/00/51/image_26042025_00_51_32_9391.jpg', '/home/pi/Desktop/images/26042025/00/51/image_26042025_00_51_42_10359.jpg', '/home/pi/Desktop/images/26042025/00/51/image_26042025_00_51_53_10441.jpg', '/home/pi/Desktop/images/26042025/00/51/image_26042025_00_52_02_9397.jpg', '/home/pi/Desktop/images/26042025/00/52/image_26042025_00_52_13_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/51/image_26042025_00_51_23_10413.jpg
/home/pi/Desktop/images/26042025/00/51/image_26042025_00_51_32_9391.jpg
/home/pi/Desktop/images/26042025/00/51/image_26042025_00_51_42_10359.jpg
/home/pi/Desktop/images/26042025/00/51/image_26042025_00_51_53_10441.jpg
/home/pi/Desktop/images/26042025/00/51/image_26042025_00_52_02_9397.jpg
/home/pi/Desktop/images/26042025/00/52/image_26042025_00_52_13_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":["1355210474","1355210473","1355210476","1355210461","1355210470","1355210467"],"photo_ids_order":["1355210461","1355210467","1355210470","1355210473","1355210474","1355210476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af40626c1999c25afd9520165a17a9a9.jpg","text":"TemporaryFile(/tmp/multipartBody1933995533794603572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149794203,"filename":"image_26042025_00_52_02_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28f6dada01977e378bcb612e7b1041d4.jpg","text":"TemporaryFile(/tmp/multipartBody8643433080822932899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149794203,"filename":"image_26042025_00_51_53_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e6ad90258215ac0ec3c8684b3920690.jpg","text":"TemporaryFile(/tmp/multipartBody8792866729256657813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149794203,"filename":"image_26042025_00_52_13_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55918e6bb899b9e8f3a54b884ad075f6.jpg","text":"TemporaryFile(/tmp/multipartBody3102599661416602571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149794203,"filename":"image_26042025_00_51_23_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4366e2408a1f0378159828e5e2e1990e.jpg","text":"TemporaryFile(/tmp/multipartBody8145175126155751883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149794203,"filename":"image_26042025_00_51_42_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e2960c2d12d214c154fc8910bf9a37c7.jpg","text":"TemporaryFile(/tmp/multipartBody4242777330510971322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149794203,"filename":"image_26042025_00_51_32_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210470","file1":"1355210467","file0":"1355210461","file4":"1355210474","file5":"1355210476","file3":"1355210473"},"map_files_photo_id_array":[{"photo_id":"1355210476","filename":"file5"},{"photo_id":"1355210470","filename":"file2"},{"photo_id":"1355210474","filename":"file4"},{"photo_id":"1355210467","filename":"file1"},{"photo_id":"1355210461","filename":"file0"},{"photo_id":"1355210473","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210474":["hashtag1","hashtag2"]},{"1355210473":["hashtag1","hashtag2"]},{"1355210476":["hashtag1","hashtag2"]},{"1355210461":["hashtag1","hashtag2"]},{"1355210470":["hashtag1","hashtag2"]},{"1355210467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210474, 1355210473, 1355210476, 1355210461, 1355210470, 1355210467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51572322845459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:36:32.643322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/52/image_26042025_00_52_22_9392.jpg', '/home/pi/Desktop/images/26042025/00/52/image_26042025_00_52_32_10404.jpg', '/home/pi/Desktop/images/26042025/00/52/image_26042025_00_52_43_10357.jpg', '/home/pi/Desktop/images/26042025/00/52/image_26042025_00_52_52_9469.jpg', '/home/pi/Desktop/images/26042025/00/52/image_26042025_00_53_03_10416.jpg', '/home/pi/Desktop/images/26042025/00/53/image_26042025_00_53_12_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/52/image_26042025_00_52_22_9392.jpg
/home/pi/Desktop/images/26042025/00/52/image_26042025_00_52_32_10404.jpg
/home/pi/Desktop/images/26042025/00/52/image_26042025_00_52_43_10357.jpg
/home/pi/Desktop/images/26042025/00/52/image_26042025_00_52_52_9469.jpg
/home/pi/Desktop/images/26042025/00/52/image_26042025_00_53_03_10416.jpg
/home/pi/Desktop/images/26042025/00/53/image_26042025_00_53_12_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":["1355210495","1355210498","1355210492","1355210504","1355210500","1355210502"],"photo_ids_order":["1355210492","1355210495","1355210498","1355210500","1355210502","1355210504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a2ab452ba31312bb3809c1faae05fba1.jpg","text":"TemporaryFile(/tmp/multipartBody3387045180554577887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149854223,"filename":"image_26042025_00_52_32_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65ec30ec1f5215dc360db257c1b4666e.jpg","text":"TemporaryFile(/tmp/multipartBody4506984588758268368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149854223,"filename":"image_26042025_00_52_43_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f33fabd909c2ce0d9b8cf339dd66a690.jpg","text":"TemporaryFile(/tmp/multipartBody2279314229821646910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149854223,"filename":"image_26042025_00_52_22_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/17c4d0b2414ca36b62036859a4f83362.jpg","text":"TemporaryFile(/tmp/multipartBody1199056695950225771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149854223,"filename":"image_26042025_00_53_12_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5b1fdeea3861d9b9cf401485bce0c7e2.jpg","text":"TemporaryFile(/tmp/multipartBody4414669607391578221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149854223,"filename":"image_26042025_00_52_52_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af824f9141ba904dbb65f774dc9bb5d6.jpg","text":"TemporaryFile(/tmp/multipartBody7560343802504139094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149854223,"filename":"image_26042025_00_53_03_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210498","file1":"1355210495","file0":"1355210492","file4":"1355210502","file5":"1355210504","file3":"1355210500"},"map_files_photo_id_array":[{"photo_id":"1355210504","filename":"file5"},{"photo_id":"1355210498","filename":"file2"},{"photo_id":"1355210502","filename":"file4"},{"photo_id":"1355210495","filename":"file1"},{"photo_id":"1355210492","filename":"file0"},{"photo_id":"1355210500","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210495":["hashtag1","hashtag2"]},{"1355210498":["hashtag1","hashtag2"]},{"1355210492":["hashtag1","hashtag2"]},{"1355210504":["hashtag1","hashtag2"]},{"1355210500":["hashtag1","hashtag2"]},{"1355210502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210495, 1355210498, 1355210492, 1355210504, 1355210500, 1355210502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.14920997619629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:37:32.920295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/53/image_26042025_00_53_22_10382.jpg', '/home/pi/Desktop/images/26042025/00/53/image_26042025_00_53_32_9498.jpg', '/home/pi/Desktop/images/26042025/00/53/image_26042025_00_53_42_10377.jpg', '/home/pi/Desktop/images/26042025/00/53/image_26042025_00_53_53_10386.jpg', '/home/pi/Desktop/images/26042025/00/53/image_26042025_00_54_02_9429.jpg', '/home/pi/Desktop/images/26042025/00/54/image_26042025_00_54_12_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/53/image_26042025_00_53_22_10382.jpg
/home/pi/Desktop/images/26042025/00/53/image_26042025_00_53_32_9498.jpg
/home/pi/Desktop/images/26042025/00/53/image_26042025_00_53_42_10377.jpg
/home/pi/Desktop/images/26042025/00/53/image_26042025_00_53_53_10386.jpg
/home/pi/Desktop/images/26042025/00/53/image_26042025_00_54_02_9429.jpg
/home/pi/Desktop/images/26042025/00/54/image_26042025_00_54_12_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":["1355210525","1355210518","1355210512","1355210521","1355210515","1355210523"],"photo_ids_order":["1355210512","1355210515","1355210518","1355210521","1355210523","1355210525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2eed1473038d0350383bb12ab4d6c096.jpg","text":"TemporaryFile(/tmp/multipartBody2761126017490069132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149914536,"filename":"image_26042025_00_54_12_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e918e1acf9207baacde7d76a1292791.jpg","text":"TemporaryFile(/tmp/multipartBody1620623443197080525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149914536,"filename":"image_26042025_00_53_42_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee2b7c2cda9fdd45e09c94f903669405.jpg","text":"TemporaryFile(/tmp/multipartBody2341227119660944103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149914536,"filename":"image_26042025_00_53_22_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75891a4d22d780a269ff9e309f595cfc.jpg","text":"TemporaryFile(/tmp/multipartBody7450150408214876040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149914536,"filename":"image_26042025_00_53_53_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc3e4763da62f33fac662a2c072b6bcd.jpg","text":"TemporaryFile(/tmp/multipartBody3834073909692900670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149914536,"filename":"image_26042025_00_53_32_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb1a6b8f7fa49183d11faa40f7bca503.jpg","text":"TemporaryFile(/tmp/multipartBody5834863012463663328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149914536,"filename":"image_26042025_00_54_02_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210518","file1":"1355210515","file0":"1355210512","file4":"1355210523","file5":"1355210525","file3":"1355210521"},"map_files_photo_id_array":[{"photo_id":"1355210525","filename":"file5"},{"photo_id":"1355210518","filename":"file2"},{"photo_id":"1355210523","filename":"file4"},{"photo_id":"1355210515","filename":"file1"},{"photo_id":"1355210512","filename":"file0"},{"photo_id":"1355210521","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210525":["hashtag1","hashtag2"]},{"1355210518":["hashtag1","hashtag2"]},{"1355210512":["hashtag1","hashtag2"]},{"1355210521":["hashtag1","hashtag2"]},{"1355210515":["hashtag1","hashtag2"]},{"1355210523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210525, 1355210518, 1355210512, 1355210521, 1355210515, 1355210523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52262759208679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:38:33.206237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/54/image_26042025_00_54_22_9428.jpg', '/home/pi/Desktop/images/26042025/00/54/image_26042025_00_54_32_10378.jpg', '/home/pi/Desktop/images/26042025/00/54/image_26042025_00_54_43_10362.jpg', '/home/pi/Desktop/images/26042025/00/54/image_26042025_00_54_52_9422.jpg', '/home/pi/Desktop/images/26042025/00/55/image_26042025_00_55_12_9464.jpg', '/home/pi/Desktop/images/26042025/00/55/image_26042025_00_55_22_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/54/image_26042025_00_54_22_9428.jpg
/home/pi/Desktop/images/26042025/00/54/image_26042025_00_54_32_10378.jpg
/home/pi/Desktop/images/26042025/00/54/image_26042025_00_54_43_10362.jpg
/home/pi/Desktop/images/26042025/00/54/image_26042025_00_54_52_9422.jpg
/home/pi/Desktop/images/26042025/00/55/image_26042025_00_55_12_9464.jpg
/home/pi/Desktop/images/26042025/00/55/image_26042025_00_55_22_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":["1355210546","1355210545","1355210533","1355210541","1355210535","1355210544"],"photo_ids_order":["1355210533","1355210535","1355210541","1355210544","1355210545","1355210546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3dba5c923d3f3b77b0020718708666e.jpg","text":"TemporaryFile(/tmp/multipartBody5002951138655249266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149974814,"filename":"image_26042025_00_55_22_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c685ec5c2406b172c8177d235fe0ed92.jpg","text":"TemporaryFile(/tmp/multipartBody3312170777148746390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149974814,"filename":"image_26042025_00_55_12_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/79b1c20af651580c4f3e9b0fccf4201b.jpg","text":"TemporaryFile(/tmp/multipartBody650747237519090690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149974814,"filename":"image_26042025_00_54_22_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/02169f5b22bf385d0e72eb3b59c5a5de.jpg","text":"TemporaryFile(/tmp/multipartBody8555857327090684087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149974814,"filename":"image_26042025_00_54_43_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21acbdd534f288b5caf992bf9883c580.jpg","text":"TemporaryFile(/tmp/multipartBody513557528672585245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149974814,"filename":"image_26042025_00_54_32_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2805139022183056a1ff8aff66ed43f9.jpg","text":"TemporaryFile(/tmp/multipartBody8454385864265047706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746149974814,"filename":"image_26042025_00_54_52_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210541","file1":"1355210535","file0":"1355210533","file4":"1355210545","file5":"1355210546","file3":"1355210544"},"map_files_photo_id_array":[{"photo_id":"1355210546","filename":"file5"},{"photo_id":"1355210541","filename":"file2"},{"photo_id":"1355210545","filename":"file4"},{"photo_id":"1355210535","filename":"file1"},{"photo_id":"1355210533","filename":"file0"},{"photo_id":"1355210544","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210546":["hashtag1","hashtag2"]},{"1355210545":["hashtag1","hashtag2"]},{"1355210533":["hashtag1","hashtag2"]},{"1355210541":["hashtag1","hashtag2"]},{"1355210535":["hashtag1","hashtag2"]},{"1355210544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210546, 1355210545, 1355210533, 1355210541, 1355210535, 1355210544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84111976623535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:39:32.378465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/55/image_26042025_00_55_42_9399.jpg', '/home/pi/Desktop/images/26042025/00/55/image_26042025_00_55_52_10368.jpg', '/home/pi/Desktop/images/26042025/00/55/image_26042025_00_56_02_9399.jpg', '/home/pi/Desktop/images/26042025/00/56/image_26042025_00_56_12_10445.jpg', '/home/pi/Desktop/images/26042025/00/56/image_26042025_00_56_23_10370.jpg', '/home/pi/Desktop/images/26042025/00/56/image_26042025_00_56_32_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/55/image_26042025_00_55_42_9399.jpg
/home/pi/Desktop/images/26042025/00/55/image_26042025_00_55_52_10368.jpg
/home/pi/Desktop/images/26042025/00/55/image_26042025_00_56_02_9399.jpg
/home/pi/Desktop/images/26042025/00/56/image_26042025_00_56_12_10445.jpg
/home/pi/Desktop/images/26042025/00/56/image_26042025_00_56_23_10370.jpg
/home/pi/Desktop/images/26042025/00/56/image_26042025_00_56_32_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":["1355210564","1355210561","1355210563","1355210566","1355210565","1355210559"],"photo_ids_order":["1355210559","1355210561","1355210563","1355210564","1355210565","1355210566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ca934d2f5637a7dd52608e5522d49e6d.jpg","text":"TemporaryFile(/tmp/multipartBody2750959624871441436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150034007,"filename":"image_26042025_00_56_12_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/808df06d371c5d9265a48d4687de0e1a.jpg","text":"TemporaryFile(/tmp/multipartBody1931162052503357323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150034007,"filename":"image_26042025_00_55_52_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0c49c291073c10438781bf9d9bf0ce0f.jpg","text":"TemporaryFile(/tmp/multipartBody7263483740942206520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150034007,"filename":"image_26042025_00_56_02_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c754d7a2882188ce2baf14a572bef95b.jpg","text":"TemporaryFile(/tmp/multipartBody2937044283675295425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150034007,"filename":"image_26042025_00_56_32_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4cf479b527a8eb81317e08d449a5b975.jpg","text":"TemporaryFile(/tmp/multipartBody4432210072953916455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150034007,"filename":"image_26042025_00_56_23_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eabd8ebc47c2820b424a6d917cc315db.jpg","text":"TemporaryFile(/tmp/multipartBody4915073808932617963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150034007,"filename":"image_26042025_00_55_42_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210563","file1":"1355210561","file0":"1355210559","file4":"1355210565","file5":"1355210566","file3":"1355210564"},"map_files_photo_id_array":[{"photo_id":"1355210566","filename":"file5"},{"photo_id":"1355210563","filename":"file2"},{"photo_id":"1355210565","filename":"file4"},{"photo_id":"1355210561","filename":"file1"},{"photo_id":"1355210559","filename":"file0"},{"photo_id":"1355210564","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210564":["hashtag1","hashtag2"]},{"1355210561":["hashtag1","hashtag2"]},{"1355210563":["hashtag1","hashtag2"]},{"1355210566":["hashtag1","hashtag2"]},{"1355210565":["hashtag1","hashtag2"]},{"1355210559":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210564, 1355210561, 1355210563, 1355210566, 1355210565, 1355210559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.346521615982056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:40:32.614032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/56/image_26042025_00_56_42_10355.jpg', '/home/pi/Desktop/images/26042025/00/56/image_26042025_00_56_52_9450.jpg', '/home/pi/Desktop/images/26042025/00/56/image_26042025_00_57_02_10385.jpg', '/home/pi/Desktop/images/26042025/00/57/image_26042025_00_57_13_10380.jpg', '/home/pi/Desktop/images/26042025/00/57/image_26042025_00_57_22_9362.jpg', '/home/pi/Desktop/images/26042025/00/57/image_26042025_00_57_32_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/56/image_26042025_00_56_42_10355.jpg
/home/pi/Desktop/images/26042025/00/56/image_26042025_00_56_52_9450.jpg
/home/pi/Desktop/images/26042025/00/56/image_26042025_00_57_02_10385.jpg
/home/pi/Desktop/images/26042025/00/57/image_26042025_00_57_13_10380.jpg
/home/pi/Desktop/images/26042025/00/57/image_26042025_00_57_22_9362.jpg
/home/pi/Desktop/images/26042025/00/57/image_26042025_00_57_32_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":["1355210588","1355210590","1355210587","1355210581","1355210584","1355210589"],"photo_ids_order":["1355210581","1355210584","1355210587","1355210588","1355210589","1355210590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/27733808cce877f668c239c24e2c7734.jpg","text":"TemporaryFile(/tmp/multipartBody1175603472195546167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150094219,"filename":"image_26042025_00_57_13_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/414bbe949b3f8eb71f088c81a9de6af6.jpg","text":"TemporaryFile(/tmp/multipartBody8985805109851504176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150094219,"filename":"image_26042025_00_57_32_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34c73dd7bea6c3cd085b0abf98b65560.jpg","text":"TemporaryFile(/tmp/multipartBody1595096553744756947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150094219,"filename":"image_26042025_00_57_02_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6dff2a730de29f5033216b8182cc93e.jpg","text":"TemporaryFile(/tmp/multipartBody3012977948345264810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150094219,"filename":"image_26042025_00_56_42_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/789b29ec099f6c7ec9d17d39601fa398.jpg","text":"TemporaryFile(/tmp/multipartBody4269879460261516268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150094219,"filename":"image_26042025_00_56_52_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc3d5193004f1765ec824371dd258da6.jpg","text":"TemporaryFile(/tmp/multipartBody1952028386474120373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150094219,"filename":"image_26042025_00_57_22_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210587","file1":"1355210584","file0":"1355210581","file4":"1355210589","file5":"1355210590","file3":"1355210588"},"map_files_photo_id_array":[{"photo_id":"1355210590","filename":"file5"},{"photo_id":"1355210587","filename":"file2"},{"photo_id":"1355210589","filename":"file4"},{"photo_id":"1355210584","filename":"file1"},{"photo_id":"1355210581","filename":"file0"},{"photo_id":"1355210588","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210588":["hashtag1","hashtag2"]},{"1355210590":["hashtag1","hashtag2"]},{"1355210587":["hashtag1","hashtag2"]},{"1355210581":["hashtag1","hashtag2"]},{"1355210584":["hashtag1","hashtag2"]},{"1355210589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210588, 1355210590, 1355210587, 1355210581, 1355210584, 1355210589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.45847773551941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:41:32.967867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/57/image_26042025_00_57_42_9484.jpg', '/home/pi/Desktop/images/26042025/00/57/image_26042025_00_57_52_10391.jpg', '/home/pi/Desktop/images/26042025/00/57/image_26042025_00_58_03_10383.jpg', '/home/pi/Desktop/images/26042025/00/58/image_26042025_00_58_12_9470.jpg', '/home/pi/Desktop/images/26042025/00/58/image_26042025_00_58_23_10377.jpg', '/home/pi/Desktop/images/26042025/00/58/image_26042025_00_58_32_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/57/image_26042025_00_57_42_9484.jpg
/home/pi/Desktop/images/26042025/00/57/image_26042025_00_57_52_10391.jpg
/home/pi/Desktop/images/26042025/00/57/image_26042025_00_58_03_10383.jpg
/home/pi/Desktop/images/26042025/00/58/image_26042025_00_58_12_9470.jpg
/home/pi/Desktop/images/26042025/00/58/image_26042025_00_58_23_10377.jpg
/home/pi/Desktop/images/26042025/00/58/image_26042025_00_58_32_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":["1355210610","1355210606","1355210611","1355210605","1355210608","1355210601"],"photo_ids_order":["1355210601","1355210605","1355210606","1355210608","1355210610","1355210611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/36a88d15c4d65c0d784f552fd26bdae7.jpg","text":"TemporaryFile(/tmp/multipartBody6821462201290961585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150154568,"filename":"image_26042025_00_58_23_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c48674ac53d6b772cbe47795cbd88851.jpg","text":"TemporaryFile(/tmp/multipartBody7063482857354008476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150154568,"filename":"image_26042025_00_58_03_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/100ff6b725217002212b0fb4bbee8c45.jpg","text":"TemporaryFile(/tmp/multipartBody7466483543810437749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150154568,"filename":"image_26042025_00_58_32_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bfeeb9bfb4e455c493076e4c9a4dd3d9.jpg","text":"TemporaryFile(/tmp/multipartBody1060265576091459656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150154568,"filename":"image_26042025_00_57_52_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/613b9aeec7f017ebd95f42777e8b3303.jpg","text":"TemporaryFile(/tmp/multipartBody4416095952230687839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150154568,"filename":"image_26042025_00_58_12_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/edbc942c6d4d0eea24b3356f1def5c34.jpg","text":"TemporaryFile(/tmp/multipartBody5718650527386304337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150154568,"filename":"image_26042025_00_57_42_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210606","file1":"1355210605","file0":"1355210601","file4":"1355210610","file5":"1355210611","file3":"1355210608"},"map_files_photo_id_array":[{"photo_id":"1355210611","filename":"file5"},{"photo_id":"1355210606","filename":"file2"},{"photo_id":"1355210610","filename":"file4"},{"photo_id":"1355210605","filename":"file1"},{"photo_id":"1355210601","filename":"file0"},{"photo_id":"1355210608","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210610":["hashtag1","hashtag2"]},{"1355210606":["hashtag1","hashtag2"]},{"1355210611":["hashtag1","hashtag2"]},{"1355210605":["hashtag1","hashtag2"]},{"1355210608":["hashtag1","hashtag2"]},{"1355210601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210610, 1355210606, 1355210611, 1355210605, 1355210608, 1355210601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.352344274520874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:42:32.994190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/58/image_26042025_00_58_42_10372.jpg', '/home/pi/Desktop/images/26042025/00/58/image_26042025_00_58_53_10446.jpg', '/home/pi/Desktop/images/26042025/00/58/image_26042025_00_59_02_9375.jpg', '/home/pi/Desktop/images/26042025/00/59/image_26042025_00_59_13_10468.jpg', '/home/pi/Desktop/images/26042025/00/59/image_26042025_00_59_22_9468.jpg', '/home/pi/Desktop/images/26042025/00/59/image_26042025_00_59_33_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/58/image_26042025_00_58_42_10372.jpg
/home/pi/Desktop/images/26042025/00/58/image_26042025_00_58_53_10446.jpg
/home/pi/Desktop/images/26042025/00/58/image_26042025_00_59_02_9375.jpg
/home/pi/Desktop/images/26042025/00/59/image_26042025_00_59_13_10468.jpg
/home/pi/Desktop/images/26042025/00/59/image_26042025_00_59_22_9468.jpg
/home/pi/Desktop/images/26042025/00/59/image_26042025_00_59_33_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210627","1355210624","1355210626","1355210620","1355210628","1355210622"],"photo_ids_order":["1355210620","1355210622","1355210624","1355210626","1355210627","1355210628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5b5004de3e26b74e0ed180d518fc2903.jpg","text":"TemporaryFile(/tmp/multipartBody1580857539161456275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150214576,"filename":"image_26042025_00_59_22_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a2c019ef6613e77288ee44a0618aee26.jpg","text":"TemporaryFile(/tmp/multipartBody6229934710773415608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150214576,"filename":"image_26042025_00_59_02_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8164bae38bc366a9d01a24cda68e7aa7.jpg","text":"TemporaryFile(/tmp/multipartBody2506905882916271718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150214576,"filename":"image_26042025_00_59_13_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/344adfcc447896bc3c76889138d0825c.jpg","text":"TemporaryFile(/tmp/multipartBody3757744468947167582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150214576,"filename":"image_26042025_00_58_42_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/455e8eeba6b3a6f974fccffd4dc30975.jpg","text":"TemporaryFile(/tmp/multipartBody5648079896189165563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150214576,"filename":"image_26042025_00_59_33_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/078f1e3c29f7ce059aaa91d6a0f4db72.jpg","text":"TemporaryFile(/tmp/multipartBody6156862000787276267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150214576,"filename":"image_26042025_00_58_53_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210624","file1":"1355210622","file0":"1355210620","file4":"1355210627","file5":"1355210628","file3":"1355210626"},"map_files_photo_id_array":[{"photo_id":"1355210628","filename":"file5"},{"photo_id":"1355210624","filename":"file2"},{"photo_id":"1355210627","filename":"file4"},{"photo_id":"1355210622","filename":"file1"},{"photo_id":"1355210620","filename":"file0"},{"photo_id":"1355210626","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210627":["hashtag1","hashtag2"]},{"1355210624":["hashtag1","hashtag2"]},{"1355210626":["hashtag1","hashtag2"]},{"1355210620":["hashtag1","hashtag2"]},{"1355210628":["hashtag1","hashtag2"]},{"1355210622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210627, 1355210624, 1355210626, 1355210620, 1355210628, 1355210622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67085599899292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:43:32.259321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/00/59/image_26042025_00_59_42_9431.jpg', '/home/pi/Desktop/images/26042025/00/59/image_26042025_00_59_52_10385.jpg', '/home/pi/Desktop/images/26042025/01/00/image_26042025_01_00_16_10094.jpg', '/home/pi/Desktop/images/26042025/01/00/image_26042025_01_00_36_10386.jpg', '/home/pi/Desktop/images/26042025/01/00/image_26042025_01_00_46_9341.jpg', '/home/pi/Desktop/images/26042025/01/00/image_26042025_01_00_56_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/00/59/image_26042025_00_59_42_9431.jpg
/home/pi/Desktop/images/26042025/00/59/image_26042025_00_59_52_10385.jpg
/home/pi/Desktop/images/26042025/01/00/image_26042025_01_00_16_10094.jpg
/home/pi/Desktop/images/26042025/01/00/image_26042025_01_00_36_10386.jpg
/home/pi/Desktop/images/26042025/01/00/image_26042025_01_00_46_9341.jpg
/home/pi/Desktop/images/26042025/01/00/image_26042025_01_00_56_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210645","1355210639","1355210642","1355210647","1355210652","1355210649"],"photo_ids_order":["1355210639","1355210642","1355210645","1355210647","1355210649","1355210652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2054e07eeb2c3a15d47b0494a2a3641b.jpg","text":"TemporaryFile(/tmp/multipartBody4130175800129725191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150273858,"filename":"image_26042025_01_00_16_10094.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c29fbe82aa41c27b74f3385c1e2ecf8c.jpg","text":"TemporaryFile(/tmp/multipartBody4501741674954963013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150273858,"filename":"image_26042025_00_59_42_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e9adbdae884596c8e82a197a8b3b02e.jpg","text":"TemporaryFile(/tmp/multipartBody1645502266764434979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150273858,"filename":"image_26042025_00_59_52_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da230edf766d65fdc1f201fa38bc2eba.jpg","text":"TemporaryFile(/tmp/multipartBody5469513704815500155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150273858,"filename":"image_26042025_01_00_36_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e088a5114d865c5a70522a4184877e7.jpg","text":"TemporaryFile(/tmp/multipartBody8648222242756346142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150273858,"filename":"image_26042025_01_00_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c289c2baccfd6e23a37aa77021292d34.jpg","text":"TemporaryFile(/tmp/multipartBody8520748049470006628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150273858,"filename":"image_26042025_01_00_46_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210645","file1":"1355210642","file0":"1355210639","file4":"1355210649","file5":"1355210652","file3":"1355210647"},"map_files_photo_id_array":[{"photo_id":"1355210652","filename":"file5"},{"photo_id":"1355210645","filename":"file2"},{"photo_id":"1355210649","filename":"file4"},{"photo_id":"1355210642","filename":"file1"},{"photo_id":"1355210639","filename":"file0"},{"photo_id":"1355210647","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210645":["hashtag1","hashtag2"]},{"1355210639":["hashtag1","hashtag2"]},{"1355210642":["hashtag1","hashtag2"]},{"1355210647":["hashtag1","hashtag2"]},{"1355210652":["hashtag1","hashtag2"]},{"1355210649":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210645, 1355210639, 1355210642, 1355210647, 1355210652, 1355210649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52292251586914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:44:32.557716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/00/image_26042025_01_01_06_10363.jpg', '/home/pi/Desktop/images/26042025/01/01/image_26042025_01_01_16_9507.jpg', '/home/pi/Desktop/images/26042025/01/01/image_26042025_01_01_26_10378.jpg', '/home/pi/Desktop/images/26042025/01/01/image_26042025_01_01_36_9363.jpg', '/home/pi/Desktop/images/26042025/01/01/image_26042025_01_01_56_10385.jpg', '/home/pi/Desktop/images/26042025/01/01/image_26042025_01_02_06_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/00/image_26042025_01_01_06_10363.jpg
/home/pi/Desktop/images/26042025/01/01/image_26042025_01_01_16_9507.jpg
/home/pi/Desktop/images/26042025/01/01/image_26042025_01_01_26_10378.jpg
/home/pi/Desktop/images/26042025/01/01/image_26042025_01_01_36_9363.jpg
/home/pi/Desktop/images/26042025/01/01/image_26042025_01_01_56_10385.jpg
/home/pi/Desktop/images/26042025/01/01/image_26042025_01_02_06_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210681","1355210683","1355210685","1355210679","1355210673","1355210676"],"photo_ids_order":["1355210673","1355210676","1355210679","1355210681","1355210683","1355210685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc37b71dbe53b8359d00506fdd136135.jpg","text":"TemporaryFile(/tmp/multipartBody7420378274024627397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150334157,"filename":"image_26042025_01_01_36_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/33e70bfcdfd5176bac10160d814f5b11.jpg","text":"TemporaryFile(/tmp/multipartBody2001874621845244085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150334157,"filename":"image_26042025_01_01_56_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b5f1173eba8286234c17d18540e51895.jpg","text":"TemporaryFile(/tmp/multipartBody7353855645117208104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150334157,"filename":"image_26042025_01_02_06_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aecb3f5fc588236156fe4a84dc83d5b5.jpg","text":"TemporaryFile(/tmp/multipartBody672288902245937432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150334157,"filename":"image_26042025_01_01_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30fadff8155118917c84778150902fc7.jpg","text":"TemporaryFile(/tmp/multipartBody5188619780028600318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150334157,"filename":"image_26042025_01_01_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/5/2/a7e6b3f834aefdb9d239d35b10c1d933.jpg","text":"TemporaryFile(/tmp/multipartBody4617921379551644696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150334157,"filename":"image_26042025_01_01_16_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210679","file1":"1355210676","file0":"1355210673","file4":"1355210683","file5":"1355210685","file3":"1355210681"},"map_files_photo_id_array":[{"photo_id":"1355210685","filename":"file5"},{"photo_id":"1355210679","filename":"file2"},{"photo_id":"1355210683","filename":"file4"},{"photo_id":"1355210676","filename":"file1"},{"photo_id":"1355210673","filename":"file0"},{"photo_id":"1355210681","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210681":["hashtag1","hashtag2"]},{"1355210683":["hashtag1","hashtag2"]},{"1355210685":["hashtag1","hashtag2"]},{"1355210679":["hashtag1","hashtag2"]},{"1355210673":["hashtag1","hashtag2"]},{"1355210676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210681, 1355210683, 1355210685, 1355210679, 1355210673, 1355210676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.65914034843445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:45:32.704564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/02/image_26042025_01_02_16_10380.jpg', '/home/pi/Desktop/images/26042025/01/02/image_26042025_01_02_26_9347.jpg', '/home/pi/Desktop/images/26042025/01/02/image_26042025_01_02_36_10381.jpg', '/home/pi/Desktop/images/26042025/01/02/image_26042025_01_02_46_10390.jpg', '/home/pi/Desktop/images/26042025/01/02/image_26042025_01_02_56_9534.jpg', '/home/pi/Desktop/images/26042025/01/02/image_26042025_01_03_06_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/02/image_26042025_01_02_16_10380.jpg
/home/pi/Desktop/images/26042025/01/02/image_26042025_01_02_26_9347.jpg
/home/pi/Desktop/images/26042025/01/02/image_26042025_01_02_36_10381.jpg
/home/pi/Desktop/images/26042025/01/02/image_26042025_01_02_46_10390.jpg
/home/pi/Desktop/images/26042025/01/02/image_26042025_01_02_56_9534.jpg
/home/pi/Desktop/images/26042025/01/02/image_26042025_01_03_06_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210703","1355210706","1355210708","1355210710","1355210697","1355210700"],"photo_ids_order":["1355210697","1355210700","1355210703","1355210706","1355210708","1355210710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d9ecf659b62ebef821677f5e6dd91720.jpg","text":"TemporaryFile(/tmp/multipartBody2830290271060090316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150394410,"filename":"image_26042025_01_02_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/5/2/71e7aa071cf0821d8e25cd106f04950b.jpg","text":"TemporaryFile(/tmp/multipartBody4667867551123543895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150394410,"filename":"image_26042025_01_02_46_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c76fe698f70a0f0a7aaa07d025ef6271.jpg","text":"TemporaryFile(/tmp/multipartBody672780311125882793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150394410,"filename":"image_26042025_01_02_56_9534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c8fad482face7fb73f453f58d7fc8f1.jpg","text":"TemporaryFile(/tmp/multipartBody153466515332123361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150394410,"filename":"image_26042025_01_03_06_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/547d903b445d01f543bb9762db2c9be2.jpg","text":"TemporaryFile(/tmp/multipartBody6265065335872107035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150394410,"filename":"image_26042025_01_02_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e8fd7c4ba6e886a6123e0d20c1b5c9f.jpg","text":"TemporaryFile(/tmp/multipartBody245888434475383350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150394410,"filename":"image_26042025_01_02_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210703","file1":"1355210700","file0":"1355210697","file4":"1355210708","file5":"1355210710","file3":"1355210706"},"map_files_photo_id_array":[{"photo_id":"1355210710","filename":"file5"},{"photo_id":"1355210703","filename":"file2"},{"photo_id":"1355210708","filename":"file4"},{"photo_id":"1355210700","filename":"file1"},{"photo_id":"1355210697","filename":"file0"},{"photo_id":"1355210706","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210703":["hashtag1","hashtag2"]},{"1355210706":["hashtag1","hashtag2"]},{"1355210708":["hashtag1","hashtag2"]},{"1355210710":["hashtag1","hashtag2"]},{"1355210697":["hashtag1","hashtag2"]},{"1355210700":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210703, 1355210706, 1355210708, 1355210710, 1355210697, 1355210700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18417429924011 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:46:32.916500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_16_9380.jpg', '/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_26_10373.jpg', '/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_36_10394.jpg', '/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_56_10380.jpg', '/home/pi/Desktop/images/26042025/01/03/image_26042025_01_04_06_9343.jpg', '/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_16_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_16_9380.jpg
/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_26_10373.jpg
/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_36_10394.jpg
/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_56_10380.jpg
/home/pi/Desktop/images/26042025/01/03/image_26042025_01_04_06_9343.jpg
/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_16_10380.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5134973526000977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 03:46:42.931110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_16_9380.jpg', '/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_26_10373.jpg', '/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_36_10394.jpg', '/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_56_10380.jpg', '/home/pi/Desktop/images/26042025/01/03/image_26042025_01_04_06_9343.jpg', '/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_16_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_16_9380.jpg
/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_26_10373.jpg
/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_36_10394.jpg
/home/pi/Desktop/images/26042025/01/03/image_26042025_01_03_56_10380.jpg
/home/pi/Desktop/images/26042025/01/03/image_26042025_01_04_06_9343.jpg
/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_16_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210739","1355210730","1355210732","1355210735","1355210737","1355210736"],"photo_ids_order":["1355210730","1355210732","1355210735","1355210736","1355210737","1355210739"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c840c17d1c92a88dcb827f7b8500e65.jpg","text":"TemporaryFile(/tmp/multipartBody7393230755459933957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150463576,"filename":"image_26042025_01_04_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f269669801bfc6ac2d9c53f33545376.jpg","text":"TemporaryFile(/tmp/multipartBody3057996305917889206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150463576,"filename":"image_26042025_01_03_16_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8382b7edc4e749202dc351f91282f7d8.jpg","text":"TemporaryFile(/tmp/multipartBody7848222911530344646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150463576,"filename":"image_26042025_01_03_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/5/2/a8ca9c57fb88862831a512db73f9a128.jpg","text":"TemporaryFile(/tmp/multipartBody2738309367102317083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150463576,"filename":"image_26042025_01_03_36_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c386daf8e8e0ef0d04dd07c9ec3e38aa.jpg","text":"TemporaryFile(/tmp/multipartBody6756306482443755641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150463576,"filename":"image_26042025_01_04_06_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/050832a608355b49d73c1ceb7cf35500.jpg","text":"TemporaryFile(/tmp/multipartBody3755893869028300408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150463576,"filename":"image_26042025_01_03_56_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210735","file1":"1355210732","file0":"1355210730","file4":"1355210737","file5":"1355210739","file3":"1355210736"},"map_files_photo_id_array":[{"photo_id":"1355210739","filename":"file5"},{"photo_id":"1355210735","filename":"file2"},{"photo_id":"1355210737","filename":"file4"},{"photo_id":"1355210732","filename":"file1"},{"photo_id":"1355210730","filename":"file0"},{"photo_id":"1355210736","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210739":["hashtag1","hashtag2"]},{"1355210730":["hashtag1","hashtag2"]},{"1355210732":["hashtag1","hashtag2"]},{"1355210735":["hashtag1","hashtag2"]},{"1355210737":["hashtag1","hashtag2"]},{"1355210736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210739, 1355210730, 1355210732, 1355210735, 1355210737, 1355210736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46740102767944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:47:33.168461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_26_10384.jpg', '/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_36_9362.jpg', '/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_46_10438.jpg', '/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_55_9376.jpg', '/home/pi/Desktop/images/26042025/01/04/image_26042025_01_05_06_10419.jpg', '/home/pi/Desktop/images/26042025/01/05/image_26042025_01_05_16_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_26_10384.jpg
/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_36_9362.jpg
/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_46_10438.jpg
/home/pi/Desktop/images/26042025/01/04/image_26042025_01_04_55_9376.jpg
/home/pi/Desktop/images/26042025/01/04/image_26042025_01_05_06_10419.jpg
/home/pi/Desktop/images/26042025/01/05/image_26042025_01_05_16_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":["1355210765","1355210759","1355210761","1355210755","1355210764","1355210751"],"photo_ids_order":["1355210751","1355210755","1355210759","1355210761","1355210764","1355210765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6bfcb3665fb458bcdcadbb68162409f.jpg","text":"TemporaryFile(/tmp/multipartBody6378413600699054939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150514765,"filename":"image_26042025_01_05_16_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a96af5cc65a5444a33c0c73f46b8fc2e.jpg","text":"TemporaryFile(/tmp/multipartBody6237549002981342067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150514765,"filename":"image_26042025_01_04_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/5/2/4fc1c69e7dd2a183ccbb6175f67e8450.jpg","text":"TemporaryFile(/tmp/multipartBody2527687844697514233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150514765,"filename":"image_26042025_01_04_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/5/2/21ad96f11cc6cfe7bee7bc20c0f0bd8f.jpg","text":"TemporaryFile(/tmp/multipartBody636769922331800953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150514765,"filename":"image_26042025_01_04_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/5/2/14a90dcbc3209d5bad03d6cefecb645a.jpg","text":"TemporaryFile(/tmp/multipartBody4806262803792949142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150514765,"filename":"image_26042025_01_05_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/5/2/2e74021ddab337fb50345d2d9e6098c8.jpg","text":"TemporaryFile(/tmp/multipartBody389375364265372533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150514765,"filename":"image_26042025_01_04_26_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210759","file1":"1355210755","file0":"1355210751","file4":"1355210764","file5":"1355210765","file3":"1355210761"},"map_files_photo_id_array":[{"photo_id":"1355210765","filename":"file5"},{"photo_id":"1355210759","filename":"file2"},{"photo_id":"1355210764","filename":"file4"},{"photo_id":"1355210755","filename":"file1"},{"photo_id":"1355210751","filename":"file0"},{"photo_id":"1355210761","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210765":["hashtag1","hashtag2"]},{"1355210759":["hashtag1","hashtag2"]},{"1355210761":["hashtag1","hashtag2"]},{"1355210755":["hashtag1","hashtag2"]},{"1355210764":["hashtag1","hashtag2"]},{"1355210751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210765, 1355210759, 1355210761, 1355210755, 1355210764, 1355210751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73408532142639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:48:32.311880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/05/image_26042025_01_05_26_9374.jpg', '/home/pi/Desktop/images/26042025/01/05/image_26042025_01_05_36_10442.jpg', '/home/pi/Desktop/images/26042025/01/05/image_26042025_01_05_45_9370.jpg', '/home/pi/Desktop/images/26042025/01/05/image_26042025_01_05_56_10416.jpg', '/home/pi/Desktop/images/26042025/01/05/image_26042025_01_06_06_10388.jpg', '/home/pi/Desktop/images/26042025/01/06/image_26042025_01_06_16_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/05/image_26042025_01_05_26_9374.jpg
/home/pi/Desktop/images/26042025/01/05/image_26042025_01_05_36_10442.jpg
/home/pi/Desktop/images/26042025/01/05/image_26042025_01_05_45_9370.jpg
/home/pi/Desktop/images/26042025/01/05/image_26042025_01_05_56_10416.jpg
/home/pi/Desktop/images/26042025/01/05/image_26042025_01_06_06_10388.jpg
/home/pi/Desktop/images/26042025/01/06/image_26042025_01_06_16_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":["1355210792","1355210786","1355210791","1355210794","1355210790","1355210793"],"photo_ids_order":["1355210786","1355210790","1355210791","1355210792","1355210793","1355210794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea69629abeb9f86b241599679b1c984c.jpg","text":"TemporaryFile(/tmp/multipartBody6525034717240042275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150573911,"filename":"image_26042025_01_05_56_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c0692280a61519e62b66c93807bdfbeb.jpg","text":"TemporaryFile(/tmp/multipartBody143179766802828399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150573911,"filename":"image_26042025_01_05_26_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0a41803d76b9439f584a90ce569bb94f.jpg","text":"TemporaryFile(/tmp/multipartBody70561610409073405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150573911,"filename":"image_26042025_01_05_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/5/2/16e4b050d3f40536e427df29558ac5bf.jpg","text":"TemporaryFile(/tmp/multipartBody2995833127640436748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150573911,"filename":"image_26042025_01_06_16_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3b7b1be5f2f2bb5150fad7404adc8b1e.jpg","text":"TemporaryFile(/tmp/multipartBody5675958858255723123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150573911,"filename":"image_26042025_01_05_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/5/2/4761b30d9526a032e7d342a7123df680.jpg","text":"TemporaryFile(/tmp/multipartBody470821410772389398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150573911,"filename":"image_26042025_01_06_06_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210791","file1":"1355210790","file0":"1355210786","file4":"1355210793","file5":"1355210794","file3":"1355210792"},"map_files_photo_id_array":[{"photo_id":"1355210794","filename":"file5"},{"photo_id":"1355210791","filename":"file2"},{"photo_id":"1355210793","filename":"file4"},{"photo_id":"1355210790","filename":"file1"},{"photo_id":"1355210786","filename":"file0"},{"photo_id":"1355210792","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210792":["hashtag1","hashtag2"]},{"1355210786":["hashtag1","hashtag2"]},{"1355210791":["hashtag1","hashtag2"]},{"1355210794":["hashtag1","hashtag2"]},{"1355210790":["hashtag1","hashtag2"]},{"1355210793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210792, 1355210786, 1355210791, 1355210794, 1355210790, 1355210793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.935704708099365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:49:32.663729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/06/image_26042025_01_06_26_10491.jpg', '/home/pi/Desktop/images/26042025/01/06/image_26042025_01_06_36_9454.jpg', '/home/pi/Desktop/images/26042025/01/06/image_26042025_01_06_46_10412.jpg', '/home/pi/Desktop/images/26042025/01/06/image_26042025_01_06_56_10378.jpg', '/home/pi/Desktop/images/26042025/01/06/image_26042025_01_07_06_9416.jpg', '/home/pi/Desktop/images/26042025/01/07/image_26042025_01_07_16_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/06/image_26042025_01_06_26_10491.jpg
/home/pi/Desktop/images/26042025/01/06/image_26042025_01_06_36_9454.jpg
/home/pi/Desktop/images/26042025/01/06/image_26042025_01_06_46_10412.jpg
/home/pi/Desktop/images/26042025/01/06/image_26042025_01_06_56_10378.jpg
/home/pi/Desktop/images/26042025/01/06/image_26042025_01_07_06_9416.jpg
/home/pi/Desktop/images/26042025/01/07/image_26042025_01_07_16_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210817","1355210822","1355210819","1355210810","1355210813","1355210820"],"photo_ids_order":["1355210810","1355210813","1355210817","1355210819","1355210820","1355210822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/991878845ae914d23e704632af55c2b4.jpg","text":"TemporaryFile(/tmp/multipartBody6278858756615636811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150634265,"filename":"image_26042025_01_06_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/5/2/3db92eb7b997021e5593363cca3ea3a4.jpg","text":"TemporaryFile(/tmp/multipartBody8772960979001777019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150634265,"filename":"image_26042025_01_07_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6cc1ec5b85a09eeb61c4d2b592f7e999.jpg","text":"TemporaryFile(/tmp/multipartBody2965284939416293650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150634265,"filename":"image_26042025_01_06_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4aee1c3d3f67e03b1e318d4ee33ac1bf.jpg","text":"TemporaryFile(/tmp/multipartBody7348072628090906130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150634265,"filename":"image_26042025_01_06_26_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/938f7ece58b9198958189ae427b50b0f.jpg","text":"TemporaryFile(/tmp/multipartBody4811008796192900203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150634265,"filename":"image_26042025_01_06_36_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89684a46d6bf61fb74d75584540cef9c.jpg","text":"TemporaryFile(/tmp/multipartBody2851741795287428249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150634265,"filename":"image_26042025_01_07_06_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210817","file1":"1355210813","file0":"1355210810","file4":"1355210820","file5":"1355210822","file3":"1355210819"},"map_files_photo_id_array":[{"photo_id":"1355210822","filename":"file5"},{"photo_id":"1355210817","filename":"file2"},{"photo_id":"1355210820","filename":"file4"},{"photo_id":"1355210813","filename":"file1"},{"photo_id":"1355210810","filename":"file0"},{"photo_id":"1355210819","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210817":["hashtag1","hashtag2"]},{"1355210822":["hashtag1","hashtag2"]},{"1355210819":["hashtag1","hashtag2"]},{"1355210810":["hashtag1","hashtag2"]},{"1355210813":["hashtag1","hashtag2"]},{"1355210820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210817, 1355210822, 1355210819, 1355210810, 1355210813, 1355210820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.30913019180298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:50:32.687666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/07/image_26042025_01_07_26_9361.jpg', '/home/pi/Desktop/images/26042025/01/07/image_26042025_01_07_36_10463.jpg', '/home/pi/Desktop/images/26042025/01/07/image_26042025_01_07_46_10390.jpg', '/home/pi/Desktop/images/26042025/01/07/image_26042025_01_07_56_9418.jpg', '/home/pi/Desktop/images/26042025/01/07/image_26042025_01_08_06_10396.jpg', '/home/pi/Desktop/images/26042025/01/08/image_26042025_01_08_16_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/07/image_26042025_01_07_26_9361.jpg
/home/pi/Desktop/images/26042025/01/07/image_26042025_01_07_36_10463.jpg
/home/pi/Desktop/images/26042025/01/07/image_26042025_01_07_46_10390.jpg
/home/pi/Desktop/images/26042025/01/07/image_26042025_01_07_56_9418.jpg
/home/pi/Desktop/images/26042025/01/07/image_26042025_01_08_06_10396.jpg
/home/pi/Desktop/images/26042025/01/08/image_26042025_01_08_16_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":["1355210843","1355210837","1355210845","1355210839","1355210844","1355210841"],"photo_ids_order":["1355210837","1355210839","1355210841","1355210843","1355210844","1355210845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/18a1f32cf92372f44a201e0dc2e026b0.jpg","text":"TemporaryFile(/tmp/multipartBody8575955211238436283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150694280,"filename":"image_26042025_01_07_56_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a2711549d50d05444d17755df2976a47.jpg","text":"TemporaryFile(/tmp/multipartBody3850599114094635352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150694280,"filename":"image_26042025_01_07_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/5/2/94876735307278a6d73036cd2108189c.jpg","text":"TemporaryFile(/tmp/multipartBody9063837548158245697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150694280,"filename":"image_26042025_01_08_16_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6b7730a228e96f22faca35bcd5db624.jpg","text":"TemporaryFile(/tmp/multipartBody2090784876010169563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150694280,"filename":"image_26042025_01_07_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/5/2/5f2119d1788676c32dfe2051f7b63ffd.jpg","text":"TemporaryFile(/tmp/multipartBody4927417922768921189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150694280,"filename":"image_26042025_01_08_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/5/2/dfd1fd78f49b176bafc0af7d8d259431.jpg","text":"TemporaryFile(/tmp/multipartBody7781797585063930585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150694280,"filename":"image_26042025_01_07_46_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210841","file1":"1355210839","file0":"1355210837","file4":"1355210844","file5":"1355210845","file3":"1355210843"},"map_files_photo_id_array":[{"photo_id":"1355210845","filename":"file5"},{"photo_id":"1355210841","filename":"file2"},{"photo_id":"1355210844","filename":"file4"},{"photo_id":"1355210839","filename":"file1"},{"photo_id":"1355210837","filename":"file0"},{"photo_id":"1355210843","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210843":["hashtag1","hashtag2"]},{"1355210837":["hashtag1","hashtag2"]},{"1355210845":["hashtag1","hashtag2"]},{"1355210839":["hashtag1","hashtag2"]},{"1355210844":["hashtag1","hashtag2"]},{"1355210841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210843, 1355210837, 1355210845, 1355210839, 1355210844, 1355210841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.71561574935913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:51:32.864919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/08/image_26042025_01_08_26_10476.jpg', '/home/pi/Desktop/images/26042025/01/08/image_26042025_01_08_36_10363.jpg', '/home/pi/Desktop/images/26042025/01/08/image_26042025_01_08_46_9421.jpg', '/home/pi/Desktop/images/26042025/01/08/image_26042025_01_08_56_10410.jpg', '/home/pi/Desktop/images/26042025/01/08/image_26042025_01_09_06_9365.jpg', '/home/pi/Desktop/images/26042025/01/09/image_26042025_01_09_16_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/08/image_26042025_01_08_26_10476.jpg
/home/pi/Desktop/images/26042025/01/08/image_26042025_01_08_36_10363.jpg
/home/pi/Desktop/images/26042025/01/08/image_26042025_01_08_46_9421.jpg
/home/pi/Desktop/images/26042025/01/08/image_26042025_01_08_56_10410.jpg
/home/pi/Desktop/images/26042025/01/08/image_26042025_01_09_06_9365.jpg
/home/pi/Desktop/images/26042025/01/09/image_26042025_01_09_16_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":["1355210867","1355210861","1355210858","1355210863","1355210865","1355210868"],"photo_ids_order":["1355210858","1355210861","1355210863","1355210865","1355210867","1355210868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e0f4767dd1624e4862a99fe501073c7.jpg","text":"TemporaryFile(/tmp/multipartBody1126211627566465363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150754488,"filename":"image_26042025_01_09_06_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/38324debe9d17682b0ab7309ca3f195b.jpg","text":"TemporaryFile(/tmp/multipartBody7911360702502910846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150754488,"filename":"image_26042025_01_08_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/5/2/425a50eb3c7f628c1b83d7ca28d0b9a9.jpg","text":"TemporaryFile(/tmp/multipartBody5013942529586551676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150754488,"filename":"image_26042025_01_08_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/5/2/0f693d69ae2b5765707d7173920eb827.jpg","text":"TemporaryFile(/tmp/multipartBody2808946244141780460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150754488,"filename":"image_26042025_01_08_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/5/2/f29bfb57845331f84f1ded7372f2fbcb.jpg","text":"TemporaryFile(/tmp/multipartBody8025130612169217060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150754488,"filename":"image_26042025_01_08_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/5/2/3d4d9d5f8835eb69b545e9554e14ae46.jpg","text":"TemporaryFile(/tmp/multipartBody1239859404097594553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150754488,"filename":"image_26042025_01_09_16_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210863","file1":"1355210861","file0":"1355210858","file4":"1355210867","file5":"1355210868","file3":"1355210865"},"map_files_photo_id_array":[{"photo_id":"1355210868","filename":"file5"},{"photo_id":"1355210863","filename":"file2"},{"photo_id":"1355210867","filename":"file4"},{"photo_id":"1355210861","filename":"file1"},{"photo_id":"1355210858","filename":"file0"},{"photo_id":"1355210865","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210867":["hashtag1","hashtag2"]},{"1355210861":["hashtag1","hashtag2"]},{"1355210858":["hashtag1","hashtag2"]},{"1355210863":["hashtag1","hashtag2"]},{"1355210865":["hashtag1","hashtag2"]},{"1355210868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210867, 1355210861, 1355210858, 1355210863, 1355210865, 1355210868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14039754867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:52:32.159150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/09/image_26042025_01_09_26_10362.jpg', '/home/pi/Desktop/images/26042025/01/09/image_26042025_01_09_36_9468.jpg', '/home/pi/Desktop/images/26042025/01/09/image_26042025_01_09_46_10372.jpg', '/home/pi/Desktop/images/26042025/01/09/image_26042025_01_10_06_10349.jpg', '/home/pi/Desktop/images/26042025/01/10/image_26042025_01_10_16_10372.jpg', '/home/pi/Desktop/images/26042025/01/10/image_26042025_01_10_26_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/09/image_26042025_01_09_26_10362.jpg
/home/pi/Desktop/images/26042025/01/09/image_26042025_01_09_36_9468.jpg
/home/pi/Desktop/images/26042025/01/09/image_26042025_01_09_46_10372.jpg
/home/pi/Desktop/images/26042025/01/09/image_26042025_01_10_06_10349.jpg
/home/pi/Desktop/images/26042025/01/10/image_26042025_01_10_16_10372.jpg
/home/pi/Desktop/images/26042025/01/10/image_26042025_01_10_26_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210885","1355210882","1355210884","1355210880","1355210883","1355210886"],"photo_ids_order":["1355210880","1355210882","1355210883","1355210884","1355210885","1355210886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96198da5c49fc13f0262590fb9712536.jpg","text":"TemporaryFile(/tmp/multipartBody643997797607293118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150813736,"filename":"image_26042025_01_10_16_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3719b7483ac4689e9f53a50998f739bc.jpg","text":"TemporaryFile(/tmp/multipartBody6338083290614779881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150813736,"filename":"image_26042025_01_09_36_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/862ef9e49cf4882e742e6675450ab15d.jpg","text":"TemporaryFile(/tmp/multipartBody8745812120651067979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150813736,"filename":"image_26042025_01_10_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/5/2/92080aeb9f7c6bf390bae410c123b476.jpg","text":"TemporaryFile(/tmp/multipartBody1897779118088473244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150813736,"filename":"image_26042025_01_09_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/5/2/88a2100e23fdffddca448dd0a6250aa4.jpg","text":"TemporaryFile(/tmp/multipartBody7912397253959107811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150813736,"filename":"image_26042025_01_09_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/5/2/b7664c68f2f0e718c4c39cef59faee59.jpg","text":"TemporaryFile(/tmp/multipartBody3967088018375022130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150813736,"filename":"image_26042025_01_10_26_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210883","file1":"1355210882","file0":"1355210880","file4":"1355210885","file5":"1355210886","file3":"1355210884"},"map_files_photo_id_array":[{"photo_id":"1355210886","filename":"file5"},{"photo_id":"1355210883","filename":"file2"},{"photo_id":"1355210885","filename":"file4"},{"photo_id":"1355210882","filename":"file1"},{"photo_id":"1355210880","filename":"file0"},{"photo_id":"1355210884","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210885":["hashtag1","hashtag2"]},{"1355210882":["hashtag1","hashtag2"]},{"1355210884":["hashtag1","hashtag2"]},{"1355210880":["hashtag1","hashtag2"]},{"1355210883":["hashtag1","hashtag2"]},{"1355210886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210885, 1355210882, 1355210884, 1355210880, 1355210883, 1355210886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.581125020980835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:53:32.489607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/10/image_26042025_01_10_36_10373.jpg', '/home/pi/Desktop/images/26042025/01/10/image_26042025_01_10_56_10389.jpg', '/home/pi/Desktop/images/26042025/01/10/image_26042025_01_11_06_10380.jpg', '/home/pi/Desktop/images/26042025/01/11/image_26042025_01_11_16_9368.jpg', '/home/pi/Desktop/images/26042025/01/11/image_26042025_01_11_26_10405.jpg', '/home/pi/Desktop/images/26042025/01/11/image_26042025_01_11_36_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/10/image_26042025_01_10_36_10373.jpg
/home/pi/Desktop/images/26042025/01/10/image_26042025_01_10_56_10389.jpg
/home/pi/Desktop/images/26042025/01/10/image_26042025_01_11_06_10380.jpg
/home/pi/Desktop/images/26042025/01/11/image_26042025_01_11_16_9368.jpg
/home/pi/Desktop/images/26042025/01/11/image_26042025_01_11_26_10405.jpg
/home/pi/Desktop/images/26042025/01/11/image_26042025_01_11_36_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355210904","1355210915","1355210914","1355210911","1355210908","1355210913"],"photo_ids_order":["1355210904","1355210908","1355210911","1355210913","1355210914","1355210915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/29cc423a51b197ed1eac179b08d146aa.jpg","text":"TemporaryFile(/tmp/multipartBody2249310969135500395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150874078,"filename":"image_26042025_01_10_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/5/2/ff85664f8fe409d6d8c478b03d43cc06.jpg","text":"TemporaryFile(/tmp/multipartBody7162774235129507495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150874078,"filename":"image_26042025_01_11_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/5/2/c4911946a4e7d9ef38fc258c26fb2304.jpg","text":"TemporaryFile(/tmp/multipartBody8115680670950856188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150874078,"filename":"image_26042025_01_11_26_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/432b15009537a7e0fd8f0fd8598fe6f3.jpg","text":"TemporaryFile(/tmp/multipartBody8824193597809256998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150874078,"filename":"image_26042025_01_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/5/2/cd7fde4ab8ed188397f12c1cd068c3cf.jpg","text":"TemporaryFile(/tmp/multipartBody1983528099976964073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150874078,"filename":"image_26042025_01_10_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/5/2/f8d0c9befbeefef72b24563637249bab.jpg","text":"TemporaryFile(/tmp/multipartBody4193516426847172629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150874078,"filename":"image_26042025_01_11_16_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210911","file1":"1355210908","file0":"1355210904","file4":"1355210914","file5":"1355210915","file3":"1355210913"},"map_files_photo_id_array":[{"photo_id":"1355210915","filename":"file5"},{"photo_id":"1355210911","filename":"file2"},{"photo_id":"1355210914","filename":"file4"},{"photo_id":"1355210908","filename":"file1"},{"photo_id":"1355210904","filename":"file0"},{"photo_id":"1355210913","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210904":["hashtag1","hashtag2"]},{"1355210915":["hashtag1","hashtag2"]},{"1355210914":["hashtag1","hashtag2"]},{"1355210911":["hashtag1","hashtag2"]},{"1355210908":["hashtag1","hashtag2"]},{"1355210913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210904, 1355210915, 1355210914, 1355210911, 1355210908, 1355210913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.765432357788086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:54:32.708679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/11/image_26042025_01_11_46_9427.jpg', '/home/pi/Desktop/images/26042025/01/11/image_26042025_01_12_06_9379.jpg', '/home/pi/Desktop/images/26042025/01/12/image_26042025_01_12_16_10452.jpg', '/home/pi/Desktop/images/26042025/01/12/image_26042025_01_12_26_10367.jpg', '/home/pi/Desktop/images/26042025/01/12/image_26042025_01_12_36_9442.jpg', '/home/pi/Desktop/images/26042025/01/12/image_26042025_01_12_46_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/11/image_26042025_01_11_46_9427.jpg
/home/pi/Desktop/images/26042025/01/11/image_26042025_01_12_06_9379.jpg
/home/pi/Desktop/images/26042025/01/12/image_26042025_01_12_16_10452.jpg
/home/pi/Desktop/images/26042025/01/12/image_26042025_01_12_26_10367.jpg
/home/pi/Desktop/images/26042025/01/12/image_26042025_01_12_36_9442.jpg
/home/pi/Desktop/images/26042025/01/12/image_26042025_01_12_46_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":["1355210936","1355210933","1355210935","1355210938","1355210937","1355210931"],"photo_ids_order":["1355210931","1355210933","1355210935","1355210936","1355210937","1355210938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6cf9d72d5ea0c125ca240454bb5ac584.jpg","text":"TemporaryFile(/tmp/multipartBody3386267415079604556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150934299,"filename":"image_26042025_01_12_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/5/2/87f2330410b307883138c243443bda2b.jpg","text":"TemporaryFile(/tmp/multipartBody3886916913916395087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150934299,"filename":"image_26042025_01_12_06_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0228c705ee51e4be362a7d952fc2534f.jpg","text":"TemporaryFile(/tmp/multipartBody5594145951751751083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150934299,"filename":"image_26042025_01_12_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/5/2/7c3cbaf2a3b1167ab97024e8c32ef658.jpg","text":"TemporaryFile(/tmp/multipartBody6945430091640283101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150934299,"filename":"image_26042025_01_12_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/5/2/44b429e168669562fa0f5de7619c2ea0.jpg","text":"TemporaryFile(/tmp/multipartBody8848194613148733402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150934299,"filename":"image_26042025_01_12_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/5/2/e50c259c94d27528de99c2cfb83db004.jpg","text":"TemporaryFile(/tmp/multipartBody6693371195448514561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150934299,"filename":"image_26042025_01_11_46_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210935","file1":"1355210933","file0":"1355210931","file4":"1355210937","file5":"1355210938","file3":"1355210936"},"map_files_photo_id_array":[{"photo_id":"1355210938","filename":"file5"},{"photo_id":"1355210935","filename":"file2"},{"photo_id":"1355210937","filename":"file4"},{"photo_id":"1355210933","filename":"file1"},{"photo_id":"1355210931","filename":"file0"},{"photo_id":"1355210936","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355210936":["hashtag1","hashtag2"]},{"1355210933":["hashtag1","hashtag2"]},{"1355210935":["hashtag1","hashtag2"]},{"1355210938":["hashtag1","hashtag2"]},{"1355210937":["hashtag1","hashtag2"]},{"1355210931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355210936, 1355210933, 1355210935, 1355210938, 1355210937, 1355210931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.42287278175354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:55:32.835630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/12/image_26042025_01_12_56_9421.jpg', '/home/pi/Desktop/images/26042025/01/12/image_26042025_01_13_06_10453.jpg', '/home/pi/Desktop/images/26042025/01/13/image_26042025_01_13_15_9369.jpg', '/home/pi/Desktop/images/26042025/01/13/image_26042025_01_13_26_10518.jpg', '/home/pi/Desktop/images/26042025/01/13/image_26042025_01_13_36_10356.jpg', '/home/pi/Desktop/images/26042025/01/13/image_26042025_01_13_46_9523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/12/image_26042025_01_12_56_9421.jpg
/home/pi/Desktop/images/26042025/01/12/image_26042025_01_13_06_10453.jpg
/home/pi/Desktop/images/26042025/01/13/image_26042025_01_13_15_9369.jpg
/home/pi/Desktop/images/26042025/01/13/image_26042025_01_13_26_10518.jpg
/home/pi/Desktop/images/26042025/01/13/image_26042025_01_13_36_10356.jpg
/home/pi/Desktop/images/26042025/01/13/image_26042025_01_13_46_9523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355211062","1355210960","1355210977","1355210955","1355210958","1355210952"],"photo_ids_order":["1355210952","1355210955","1355210958","1355210960","1355210977","1355211062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da58b1645c6c586cf36559975ec07a23.jpg","text":"TemporaryFile(/tmp/multipartBody8340873564740270585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150994416,"filename":"image_26042025_01_13_46_9523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad90789a3e3a2769eab1fb9f5e5ee010.jpg","text":"TemporaryFile(/tmp/multipartBody86156452687307666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150994416,"filename":"image_26042025_01_13_26_10518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9590fc88ebb8dd67682f2ec90d8f41c.jpg","text":"TemporaryFile(/tmp/multipartBody612505467308401508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150994416,"filename":"image_26042025_01_13_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/5/2/144641297e52bc9912fbe1888d9f3300.jpg","text":"TemporaryFile(/tmp/multipartBody3241497780073734319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150994416,"filename":"image_26042025_01_13_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/5/2/98c0a9691a52bcef69416a7bfa0e5209.jpg","text":"TemporaryFile(/tmp/multipartBody5179697780876328793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150994416,"filename":"image_26042025_01_13_15_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/615f20cc8adeb723c4e9e22a096ecd48.jpg","text":"TemporaryFile(/tmp/multipartBody7465017738223133884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746150994416,"filename":"image_26042025_01_12_56_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355210958","file1":"1355210955","file0":"1355210952","file4":"1355210977","file5":"1355211062","file3":"1355210960"},"map_files_photo_id_array":[{"photo_id":"1355211062","filename":"file5"},{"photo_id":"1355210958","filename":"file2"},{"photo_id":"1355210977","filename":"file4"},{"photo_id":"1355210955","filename":"file1"},{"photo_id":"1355210952","filename":"file0"},{"photo_id":"1355210960","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355211062":["hashtag1","hashtag2"]},{"1355210960":["hashtag1","hashtag2"]},{"1355210977":["hashtag1","hashtag2"]},{"1355210955":["hashtag1","hashtag2"]},{"1355210958":["hashtag1","hashtag2"]},{"1355210952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355211062, 1355210960, 1355210977, 1355210955, 1355210958, 1355210952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.86495399475098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:56:33.148287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/13/image_26042025_01_13_56_10348.jpg', '/home/pi/Desktop/images/26042025/01/13/image_26042025_01_14_06_9350.jpg', '/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_16_10455.jpg', '/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_25_9470.jpg', '/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_36_10503.jpg', '/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_46_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/13/image_26042025_01_13_56_10348.jpg
/home/pi/Desktop/images/26042025/01/13/image_26042025_01_14_06_9350.jpg
/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_16_10455.jpg
/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_25_9470.jpg
/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_36_10503.jpg
/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_46_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":["1355211449","1355211416","1355211385","1355211328","1355211357","1355211497"],"photo_ids_order":["1355211328","1355211357","1355211385","1355211416","1355211449","1355211497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e7e531765d8969a2566787d45c0301e3.jpg","text":"TemporaryFile(/tmp/multipartBody83636547238233732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151054784,"filename":"image_26042025_01_14_36_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f5b89d6e94d255663849e3e5e49a78f.jpg","text":"TemporaryFile(/tmp/multipartBody7442201564317201816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151054784,"filename":"image_26042025_01_14_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/5/2/408bb2ffe242b90324e7928888f16972.jpg","text":"TemporaryFile(/tmp/multipartBody8774606297392072946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151054784,"filename":"image_26042025_01_14_16_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4c5cef00cebe8e5acb7f7d05a240e650.jpg","text":"TemporaryFile(/tmp/multipartBody8893709968326908737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151054784,"filename":"image_26042025_01_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/5/2/28603fb15cc4d09304f6f8bd97db5c93.jpg","text":"TemporaryFile(/tmp/multipartBody4842307151952057243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151054784,"filename":"image_26042025_01_14_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/5/2/4b2cd17b77e0c4f18b60f2cc46dbb3c8.jpg","text":"TemporaryFile(/tmp/multipartBody5969421960442331267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151054784,"filename":"image_26042025_01_14_46_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211385","file1":"1355211357","file0":"1355211328","file4":"1355211449","file5":"1355211497","file3":"1355211416"},"map_files_photo_id_array":[{"photo_id":"1355211497","filename":"file5"},{"photo_id":"1355211385","filename":"file2"},{"photo_id":"1355211449","filename":"file4"},{"photo_id":"1355211357","filename":"file1"},{"photo_id":"1355211328","filename":"file0"},{"photo_id":"1355211416","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355211449":["hashtag1","hashtag2"]},{"1355211416":["hashtag1","hashtag2"]},{"1355211385":["hashtag1","hashtag2"]},{"1355211328":["hashtag1","hashtag2"]},{"1355211357":["hashtag1","hashtag2"]},{"1355211497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355211449, 1355211416, 1355211385, 1355211328, 1355211357, 1355211497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.341047048568726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 03:57:32.281597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250417 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250418 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250419 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250420 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250421 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250422 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250424 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_56_9364.jpg', '/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_16_10359.jpg', '/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_26_9412.jpg', '/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_36_10376.jpg', '/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_46_9351.jpg', '/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_56_10492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_56_9364.jpg
/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_16_10359.jpg
/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_26_9412.jpg
/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_36_10376.jpg
/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_46_9351.jpg
/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_56_10492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 03:59:03.783062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250425 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26042025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250426 ORDER BY id_local ASC LIMIT 6;
  port_id : 22588808
  datou_current_id : 2781264
in upload_from_sqlite, uploading in 22588808
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_56_9364.jpg', '/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_16_10359.jpg', '/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_26_9412.jpg', '/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_36_10376.jpg', '/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_46_9351.jpg', '/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_56_10492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781264&datou=0
/home/pi/Desktop/images/26042025/01/14/image_26042025_01_14_56_9364.jpg
/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_16_10359.jpg
/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_26_9412.jpg
/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_36_10376.jpg
/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_46_9351.jpg
/home/pi/Desktop/images/26042025/01/15/image_26042025_01_15_56_10492.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355211716","1355211725","1355211710","1355211707","1355211720","1355211714"],"photo_ids_order":["1355211707","1355211710","1355211714","1355211716","1355211720","1355211725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af68d1de843970403e06601790e6609d.jpg","text":"TemporaryFile(/tmp/multipartBody5097986365496659806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151206233,"filename":"image_26042025_01_15_36_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/927564a1b6055dabb774b8258267deb8.jpg","text":"TemporaryFile(/tmp/multipartBody2752206000677763123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151206233,"filename":"image_26042025_01_15_56_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3a2ae23f5cdfc5affa4d54bd6816fe8.jpg","text":"TemporaryFile(/tmp/multipartBody3559163005682108613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151206233,"filename":"image_26042025_01_15_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e2f49ce3d726413061365f5423c25d7.jpg","text":"TemporaryFile(/tmp/multipartBody6200157938222218557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151206233,"filename":"image_26042025_01_14_56_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b89d29afc3cdd714e61efd31fd3853e.jpg","text":"TemporaryFile(/tmp/multipartBody6289455258110295871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151206233,"filename":"image_26042025_01_15_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/5/2/b90c4fddaf767d140c83e9575655d3e3.jpg","text":"TemporaryFile(/tmp/multipartBody1847305218496829329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151206233,"filename":"image_26042025_01_15_26_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211714","file1":"1355211710","file0":"1355211707","file4":"1355211720","file5":"1355211725","file3":"1355211716"},"map_files_photo_id_array":[{"photo_id":"1355211725","filename":"file5"},{"photo_id":"1355211714","filename":"file2"},{"photo_id":"1355211720","filename":"file4"},{"photo_id":"1355211710","filename":"file1"},{"photo_id":"1355211707","filename":"file0"},{"photo_id":"1355211716","filename":"file3"}],"portfolio_id":22588808,"hashtag_by_photo_ids":[{"1355211716":["hashtag1","hashtag2"]},{"1355211725":["hashtag1","hashtag2"]},{"1355211710":["hashtag1","hashtag2"]},{"1355211707":["hashtag1","hashtag2"]},{"1355211720":["hashtag1","hashtag2"]},{"1355211714":["hashtag1","hashtag2"]}],"comms":"Portfolio 22588808 used, photo_id : ArrayBuffer(1355211716, 1355211725, 1355211710, 1355211707, 1355211720, 1355211714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00880980491638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 03:59:42.878881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 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_02052025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 22589093, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1746151243000}
4310
2781402
4310
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/02/image_02052025_00_02_14_10072.jpg', '/home/pi/Desktop/images/02052025/00/02/image_02052025_00_02_25_10398.jpg', '/home/pi/Desktop/images/02052025/00/02/image_02052025_00_02_35_10481.jpg', '/home/pi/Desktop/images/02052025/00/02/image_02052025_00_02_45_9395.jpg', '/home/pi/Desktop/images/02052025/00/02/image_02052025_00_02_55_10356.jpg', '/home/pi/Desktop/images/02052025/00/02/image_02052025_00_03_04_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/02/image_02052025_00_02_14_10072.jpg
/home/pi/Desktop/images/02052025/00/02/image_02052025_00_02_25_10398.jpg
/home/pi/Desktop/images/02052025/00/02/image_02052025_00_02_35_10481.jpg
/home/pi/Desktop/images/02052025/00/02/image_02052025_00_02_45_9395.jpg
/home/pi/Desktop/images/02052025/00/02/image_02052025_00_02_55_10356.jpg
/home/pi/Desktop/images/02052025/00/02/image_02052025_00_03_04_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355211740","1355211737","1355211739","1355211733","1355211742","1355211735"],"photo_ids_order":["1355211733","1355211735","1355211737","1355211739","1355211740","1355211742"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ac8f12ea026a76fc525c0ca2dcfffe49.jpg","text":"TemporaryFile(/tmp/multipartBody7284303332972559556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151244281,"filename":"image_02052025_00_02_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/5/2/6b6d2d5686afc9fcf11ae247b94d8d68.jpg","text":"TemporaryFile(/tmp/multipartBody5395227862054634821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151244281,"filename":"image_02052025_00_02_35_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ca3b2f8c452ba8f6a364a40fab8b548.jpg","text":"TemporaryFile(/tmp/multipartBody2785801829570132216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151244281,"filename":"image_02052025_00_02_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/5/2/d7fa0e58d96404f54cd6690477fd4e81.jpg","text":"TemporaryFile(/tmp/multipartBody2225227183721503094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151244281,"filename":"image_02052025_00_02_14_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6317789abdb3b3cd67e21e2bee0fc1f.jpg","text":"TemporaryFile(/tmp/multipartBody480076364296931923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151244281,"filename":"image_02052025_00_03_04_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/787c70de76b0878975f68111f392cc91.jpg","text":"TemporaryFile(/tmp/multipartBody7783012157730169793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151244281,"filename":"image_02052025_00_02_25_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211737","file1":"1355211735","file0":"1355211733","file4":"1355211740","file5":"1355211742","file3":"1355211739"},"map_files_photo_id_array":[{"photo_id":"1355211742","filename":"file5"},{"photo_id":"1355211737","filename":"file2"},{"photo_id":"1355211740","filename":"file4"},{"photo_id":"1355211735","filename":"file1"},{"photo_id":"1355211733","filename":"file0"},{"photo_id":"1355211739","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355211740":["hashtag1","hashtag2"]},{"1355211737":["hashtag1","hashtag2"]},{"1355211739":["hashtag1","hashtag2"]},{"1355211733":["hashtag1","hashtag2"]},{"1355211742":["hashtag1","hashtag2"]},{"1355211735":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355211740, 1355211737, 1355211739, 1355211733, 1355211742, 1355211735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42853307723999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:00:33.010590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/03/image_02052025_00_03_15_10359.jpg', '/home/pi/Desktop/images/02052025/00/03/image_02052025_00_03_25_10383.jpg', '/home/pi/Desktop/images/02052025/00/03/image_02052025_00_03_35_9453.jpg', '/home/pi/Desktop/images/02052025/00/03/image_02052025_00_03_45_10365.jpg', '/home/pi/Desktop/images/02052025/00/03/image_02052025_00_03_54_9463.jpg', '/home/pi/Desktop/images/02052025/00/03/image_02052025_00_04_05_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/03/image_02052025_00_03_15_10359.jpg
/home/pi/Desktop/images/02052025/00/03/image_02052025_00_03_25_10383.jpg
/home/pi/Desktop/images/02052025/00/03/image_02052025_00_03_35_9453.jpg
/home/pi/Desktop/images/02052025/00/03/image_02052025_00_03_45_10365.jpg
/home/pi/Desktop/images/02052025/00/03/image_02052025_00_03_54_9463.jpg
/home/pi/Desktop/images/02052025/00/03/image_02052025_00_04_05_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355211761","1355211755","1355211764","1355211763","1355211762","1355211759"],"photo_ids_order":["1355211755","1355211759","1355211761","1355211762","1355211763","1355211764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/002e499a6ed75a2dd6d5d8b7b8d117ac.jpg","text":"TemporaryFile(/tmp/multipartBody7640410851642891024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151293481,"filename":"image_02052025_00_03_35_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1ac0eca4bdf0c6897a5fcb9e6f2102ee.jpg","text":"TemporaryFile(/tmp/multipartBody8511027867880800791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151293481,"filename":"image_02052025_00_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/5/2/56a473ed445a11167051f5d24f668818.jpg","text":"TemporaryFile(/tmp/multipartBody9109265268889088865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151293481,"filename":"image_02052025_00_04_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1e6177f370359460c76c49696067f12.jpg","text":"TemporaryFile(/tmp/multipartBody2590102951043754366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151293481,"filename":"image_02052025_00_03_54_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39bbb7fce157f3404d7fa0e548a10588.jpg","text":"TemporaryFile(/tmp/multipartBody7257056048648801610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151293481,"filename":"image_02052025_00_03_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/5/2/46d7b16cc3f9e6af91db5f2cbd6ec071.jpg","text":"TemporaryFile(/tmp/multipartBody8919562523951684191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151293481,"filename":"image_02052025_00_03_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211761","file1":"1355211759","file0":"1355211755","file4":"1355211763","file5":"1355211764","file3":"1355211762"},"map_files_photo_id_array":[{"photo_id":"1355211764","filename":"file5"},{"photo_id":"1355211761","filename":"file2"},{"photo_id":"1355211763","filename":"file4"},{"photo_id":"1355211759","filename":"file1"},{"photo_id":"1355211755","filename":"file0"},{"photo_id":"1355211762","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355211761":["hashtag1","hashtag2"]},{"1355211755":["hashtag1","hashtag2"]},{"1355211764":["hashtag1","hashtag2"]},{"1355211763":["hashtag1","hashtag2"]},{"1355211762":["hashtag1","hashtag2"]},{"1355211759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355211761, 1355211755, 1355211764, 1355211763, 1355211762, 1355211759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77661752700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:01:32.258324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/04/image_02052025_00_04_15_10340.jpg', '/home/pi/Desktop/images/02052025/00/04/image_02052025_00_04_25_9433.jpg', '/home/pi/Desktop/images/02052025/00/04/image_02052025_00_04_35_10404.jpg', '/home/pi/Desktop/images/02052025/00/04/image_02052025_00_04_44_9458.jpg', '/home/pi/Desktop/images/02052025/00/04/image_02052025_00_04_55_10463.jpg', '/home/pi/Desktop/images/02052025/00/04/image_02052025_00_05_04_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/04/image_02052025_00_04_15_10340.jpg
/home/pi/Desktop/images/02052025/00/04/image_02052025_00_04_25_9433.jpg
/home/pi/Desktop/images/02052025/00/04/image_02052025_00_04_35_10404.jpg
/home/pi/Desktop/images/02052025/00/04/image_02052025_00_04_44_9458.jpg
/home/pi/Desktop/images/02052025/00/04/image_02052025_00_04_55_10463.jpg
/home/pi/Desktop/images/02052025/00/04/image_02052025_00_05_04_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":["1355211782","1355211776","1355211784","1355211787","1355211786","1355211779"],"photo_ids_order":["1355211776","1355211779","1355211782","1355211784","1355211786","1355211787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e88f8c7822713fe3a980018c13028f14.jpg","text":"TemporaryFile(/tmp/multipartBody4828949567505194268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151352730,"filename":"image_02052025_00_04_35_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b30dabea69dfb997c0f7f1c0012c6a9e.jpg","text":"TemporaryFile(/tmp/multipartBody5929548604524195844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151352730,"filename":"image_02052025_00_04_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/5/2/2265e3b1a605145a14e9839274dbc4b5.jpg","text":"TemporaryFile(/tmp/multipartBody7050388658832647352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151352730,"filename":"image_02052025_00_04_44_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9518c2bcccf67f89cc8a1099621dc3b.jpg","text":"TemporaryFile(/tmp/multipartBody7100380671990411554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151352730,"filename":"image_02052025_00_05_04_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/349d2534eed3a4b78355f4e528c432cc.jpg","text":"TemporaryFile(/tmp/multipartBody1429030730680089188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151352730,"filename":"image_02052025_00_04_55_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb8cc1ecde7099e9bb5ba424cc75fddb.jpg","text":"TemporaryFile(/tmp/multipartBody877356237225600533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151352730,"filename":"image_02052025_00_04_25_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211782","file1":"1355211779","file0":"1355211776","file4":"1355211786","file5":"1355211787","file3":"1355211784"},"map_files_photo_id_array":[{"photo_id":"1355211787","filename":"file5"},{"photo_id":"1355211782","filename":"file2"},{"photo_id":"1355211786","filename":"file4"},{"photo_id":"1355211779","filename":"file1"},{"photo_id":"1355211776","filename":"file0"},{"photo_id":"1355211784","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355211782":["hashtag1","hashtag2"]},{"1355211776":["hashtag1","hashtag2"]},{"1355211784":["hashtag1","hashtag2"]},{"1355211787":["hashtag1","hashtag2"]},{"1355211786":["hashtag1","hashtag2"]},{"1355211779":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355211782, 1355211776, 1355211784, 1355211787, 1355211786, 1355211779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.97101879119873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:02:32.475618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/05/image_02052025_00_05_15_10365.jpg', '/home/pi/Desktop/images/02052025/00/05/image_02052025_00_05_25_10434.jpg', '/home/pi/Desktop/images/02052025/00/05/image_02052025_00_05_34_9361.jpg', '/home/pi/Desktop/images/02052025/00/05/image_02052025_00_05_45_10338.jpg', '/home/pi/Desktop/images/02052025/00/05/image_02052025_00_05_55_10421.jpg', '/home/pi/Desktop/images/02052025/00/05/image_02052025_00_06_05_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/05/image_02052025_00_05_15_10365.jpg
/home/pi/Desktop/images/02052025/00/05/image_02052025_00_05_25_10434.jpg
/home/pi/Desktop/images/02052025/00/05/image_02052025_00_05_34_9361.jpg
/home/pi/Desktop/images/02052025/00/05/image_02052025_00_05_45_10338.jpg
/home/pi/Desktop/images/02052025/00/05/image_02052025_00_05_55_10421.jpg
/home/pi/Desktop/images/02052025/00/05/image_02052025_00_06_05_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355211796","1355211800","1355211802","1355211798","1355211804","1355211807"],"photo_ids_order":["1355211796","1355211798","1355211800","1355211802","1355211804","1355211807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4436840e3f1cdf3cf3749fbe0a0b7e4d.jpg","text":"TemporaryFile(/tmp/multipartBody3077512194353038856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151412938,"filename":"image_02052025_00_05_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e378276d5d67a1bf55b251d720287b6.jpg","text":"TemporaryFile(/tmp/multipartBody2461243926831077322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151412938,"filename":"image_02052025_00_05_34_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/47b09dc1e62c12ab527f9299c374b8de.jpg","text":"TemporaryFile(/tmp/multipartBody4560611525764260773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151412938,"filename":"image_02052025_00_05_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/5/2/8de8ccf74122b7e3e71a457917b37642.jpg","text":"TemporaryFile(/tmp/multipartBody5842328231204289754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151412938,"filename":"image_02052025_00_05_25_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d5283ea1880d0d4743dde923cde07f3.jpg","text":"TemporaryFile(/tmp/multipartBody155814177409643572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151412938,"filename":"image_02052025_00_05_55_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95064d00de3c830765b322717a4fd412.jpg","text":"TemporaryFile(/tmp/multipartBody1528726671720172154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151412938,"filename":"image_02052025_00_06_05_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211800","file1":"1355211798","file0":"1355211796","file4":"1355211804","file5":"1355211807","file3":"1355211802"},"map_files_photo_id_array":[{"photo_id":"1355211807","filename":"file5"},{"photo_id":"1355211800","filename":"file2"},{"photo_id":"1355211804","filename":"file4"},{"photo_id":"1355211798","filename":"file1"},{"photo_id":"1355211796","filename":"file0"},{"photo_id":"1355211802","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355211796":["hashtag1","hashtag2"]},{"1355211800":["hashtag1","hashtag2"]},{"1355211802":["hashtag1","hashtag2"]},{"1355211798":["hashtag1","hashtag2"]},{"1355211804":["hashtag1","hashtag2"]},{"1355211807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355211796, 1355211800, 1355211802, 1355211798, 1355211804, 1355211807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23427057266235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:03:32.693806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/06/image_02052025_00_06_15_10400.jpg', '/home/pi/Desktop/images/02052025/00/06/image_02052025_00_06_24_9336.jpg', '/home/pi/Desktop/images/02052025/00/06/image_02052025_00_06_35_10365.jpg', '/home/pi/Desktop/images/02052025/00/06/image_02052025_00_06_45_10347.jpg', '/home/pi/Desktop/images/02052025/00/06/image_02052025_00_06_54_9441.jpg', '/home/pi/Desktop/images/02052025/00/06/image_02052025_00_07_05_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/06/image_02052025_00_06_15_10400.jpg
/home/pi/Desktop/images/02052025/00/06/image_02052025_00_06_24_9336.jpg
/home/pi/Desktop/images/02052025/00/06/image_02052025_00_06_35_10365.jpg
/home/pi/Desktop/images/02052025/00/06/image_02052025_00_06_45_10347.jpg
/home/pi/Desktop/images/02052025/00/06/image_02052025_00_06_54_9441.jpg
/home/pi/Desktop/images/02052025/00/06/image_02052025_00_07_05_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355211836","1355211838","1355211832","1355211835","1355211829","1355211837"],"photo_ids_order":["1355211829","1355211832","1355211835","1355211836","1355211837","1355211838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bafc811995f736785c93313440e09d16.jpg","text":"TemporaryFile(/tmp/multipartBody3180711037065718678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151473161,"filename":"image_02052025_00_06_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/5/2/794f4207d1e3139ca24d1b669d771e22.jpg","text":"TemporaryFile(/tmp/multipartBody3047201952346380529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151473161,"filename":"image_02052025_00_07_05_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d81a6f0f7e787f8c2acaef832d535711.jpg","text":"TemporaryFile(/tmp/multipartBody5335883967547633823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151473161,"filename":"image_02052025_00_06_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/5/2/349f69efdb258fb905b99727d6af0dc9.jpg","text":"TemporaryFile(/tmp/multipartBody3585364764153334671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151473161,"filename":"image_02052025_00_06_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/5/2/a110785d179d32c9907053a8188332fb.jpg","text":"TemporaryFile(/tmp/multipartBody2247217453138596855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151473161,"filename":"image_02052025_00_06_15_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cce040bed228f6ae9be15a6fd9ad9c50.jpg","text":"TemporaryFile(/tmp/multipartBody3564219135628098746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151473161,"filename":"image_02052025_00_06_54_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211835","file1":"1355211832","file0":"1355211829","file4":"1355211837","file5":"1355211838","file3":"1355211836"},"map_files_photo_id_array":[{"photo_id":"1355211838","filename":"file5"},{"photo_id":"1355211835","filename":"file2"},{"photo_id":"1355211837","filename":"file4"},{"photo_id":"1355211832","filename":"file1"},{"photo_id":"1355211829","filename":"file0"},{"photo_id":"1355211836","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355211836":["hashtag1","hashtag2"]},{"1355211838":["hashtag1","hashtag2"]},{"1355211832":["hashtag1","hashtag2"]},{"1355211835":["hashtag1","hashtag2"]},{"1355211829":["hashtag1","hashtag2"]},{"1355211837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355211836, 1355211838, 1355211832, 1355211835, 1355211829, 1355211837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.73832702636719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:04:32.841499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/07/image_02052025_00_07_14_9461.jpg', '/home/pi/Desktop/images/02052025/00/07/image_02052025_00_07_25_10449.jpg', '/home/pi/Desktop/images/02052025/00/07/image_02052025_00_07_35_10431.jpg', '/home/pi/Desktop/images/02052025/00/07/image_02052025_00_07_45_9406.jpg', '/home/pi/Desktop/images/02052025/00/07/image_02052025_00_07_55_10132.jpg', '/home/pi/Desktop/images/02052025/00/07/image_02052025_00_08_05_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/07/image_02052025_00_07_14_9461.jpg
/home/pi/Desktop/images/02052025/00/07/image_02052025_00_07_25_10449.jpg
/home/pi/Desktop/images/02052025/00/07/image_02052025_00_07_35_10431.jpg
/home/pi/Desktop/images/02052025/00/07/image_02052025_00_07_45_9406.jpg
/home/pi/Desktop/images/02052025/00/07/image_02052025_00_07_55_10132.jpg
/home/pi/Desktop/images/02052025/00/07/image_02052025_00_08_05_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":["1355211860","1355211862","1355211859","1355211861","1355211855","1355211858"],"photo_ids_order":["1355211855","1355211858","1355211859","1355211860","1355211861","1355211862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/956ade76bf7acfab24803060a1cb03c2.jpg","text":"TemporaryFile(/tmp/multipartBody1237255522527281536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151533321,"filename":"image_02052025_00_07_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/5/2/6807b206699fab6158b2acbedd1b7eff.jpg","text":"TemporaryFile(/tmp/multipartBody7579116902484635170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151533321,"filename":"image_02052025_00_08_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/5/2/61b9b3926d4a392657416d9740414205.jpg","text":"TemporaryFile(/tmp/multipartBody9076771093999547207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151533321,"filename":"image_02052025_00_07_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/5/2/a0f8b9448b72f5427a1ec21715aef3ff.jpg","text":"TemporaryFile(/tmp/multipartBody4614840188586666816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151533321,"filename":"image_02052025_00_07_55_10132.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b8f518e9ffaeffab2f00f10fc130b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7665975266420914108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151533321,"filename":"image_02052025_00_07_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/5/2/39b4fcf1b1e74671ddfcfce390c51af0.jpg","text":"TemporaryFile(/tmp/multipartBody7261876111446823352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151533321,"filename":"image_02052025_00_07_25_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211859","file1":"1355211858","file0":"1355211855","file4":"1355211861","file5":"1355211862","file3":"1355211860"},"map_files_photo_id_array":[{"photo_id":"1355211862","filename":"file5"},{"photo_id":"1355211859","filename":"file2"},{"photo_id":"1355211861","filename":"file4"},{"photo_id":"1355211858","filename":"file1"},{"photo_id":"1355211855","filename":"file0"},{"photo_id":"1355211860","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355211860":["hashtag1","hashtag2"]},{"1355211862":["hashtag1","hashtag2"]},{"1355211859":["hashtag1","hashtag2"]},{"1355211861":["hashtag1","hashtag2"]},{"1355211855":["hashtag1","hashtag2"]},{"1355211858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355211860, 1355211862, 1355211859, 1355211861, 1355211855, 1355211858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55919599533081 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:05:33.096113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/08/image_02052025_00_08_14_9361.jpg', '/home/pi/Desktop/images/02052025/00/08/image_02052025_00_08_25_10400.jpg', '/home/pi/Desktop/images/02052025/00/08/image_02052025_00_08_34_9431.jpg', '/home/pi/Desktop/images/02052025/00/08/image_02052025_00_08_45_10333.jpg', '/home/pi/Desktop/images/02052025/00/08/image_02052025_00_08_55_10423.jpg', '/home/pi/Desktop/images/02052025/00/08/image_02052025_00_09_04_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/08/image_02052025_00_08_14_9361.jpg
/home/pi/Desktop/images/02052025/00/08/image_02052025_00_08_25_10400.jpg
/home/pi/Desktop/images/02052025/00/08/image_02052025_00_08_34_9431.jpg
/home/pi/Desktop/images/02052025/00/08/image_02052025_00_08_45_10333.jpg
/home/pi/Desktop/images/02052025/00/08/image_02052025_00_08_55_10423.jpg
/home/pi/Desktop/images/02052025/00/08/image_02052025_00_09_04_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":["1355211886","1355211882","1355211876","1355211879","1355211884","1355211887"],"photo_ids_order":["1355211876","1355211879","1355211882","1355211884","1355211886","1355211887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc443f566d1657e9731733590b0348b4.jpg","text":"TemporaryFile(/tmp/multipartBody7035010249285538413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151593566,"filename":"image_02052025_00_08_55_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec096e2fc1efcc10bcaa2a773a1a6396.jpg","text":"TemporaryFile(/tmp/multipartBody1151815254178256898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151593566,"filename":"image_02052025_00_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/5/2/35301e98f97be08766d45a2fbbe7c4ad.jpg","text":"TemporaryFile(/tmp/multipartBody2836003951311304047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151593566,"filename":"image_02052025_00_08_14_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22fba6be9a79f73d6fc2c191a937c2b6.jpg","text":"TemporaryFile(/tmp/multipartBody942550467117302060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151593566,"filename":"image_02052025_00_08_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2393a7181ba39d191a917cebdd4af83.jpg","text":"TemporaryFile(/tmp/multipartBody3878906769143611424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151593566,"filename":"image_02052025_00_08_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/5/2/4e2cd418fc262685645216f2a6d22b36.jpg","text":"TemporaryFile(/tmp/multipartBody4309962428242066988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151593566,"filename":"image_02052025_00_09_04_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211882","file1":"1355211879","file0":"1355211876","file4":"1355211886","file5":"1355211887","file3":"1355211884"},"map_files_photo_id_array":[{"photo_id":"1355211887","filename":"file5"},{"photo_id":"1355211882","filename":"file2"},{"photo_id":"1355211886","filename":"file4"},{"photo_id":"1355211879","filename":"file1"},{"photo_id":"1355211876","filename":"file0"},{"photo_id":"1355211884","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355211886":["hashtag1","hashtag2"]},{"1355211882":["hashtag1","hashtag2"]},{"1355211876":["hashtag1","hashtag2"]},{"1355211879":["hashtag1","hashtag2"]},{"1355211884":["hashtag1","hashtag2"]},{"1355211887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355211886, 1355211882, 1355211876, 1355211879, 1355211884, 1355211887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43627953529358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:06:32.266158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/09/image_02052025_00_09_15_10364.jpg', '/home/pi/Desktop/images/02052025/00/09/image_02052025_00_09_25_10433.jpg', '/home/pi/Desktop/images/02052025/00/09/image_02052025_00_09_45_10337.jpg', '/home/pi/Desktop/images/02052025/00/09/image_02052025_00_09_55_10360.jpg', '/home/pi/Desktop/images/02052025/00/09/image_02052025_00_10_05_9348.jpg', '/home/pi/Desktop/images/02052025/00/10/image_02052025_00_10_15_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/09/image_02052025_00_09_15_10364.jpg
/home/pi/Desktop/images/02052025/00/09/image_02052025_00_09_25_10433.jpg
/home/pi/Desktop/images/02052025/00/09/image_02052025_00_09_45_10337.jpg
/home/pi/Desktop/images/02052025/00/09/image_02052025_00_09_55_10360.jpg
/home/pi/Desktop/images/02052025/00/09/image_02052025_00_10_05_9348.jpg
/home/pi/Desktop/images/02052025/00/10/image_02052025_00_10_15_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":["1355211911","1355211905","1355211910","1355211907","1355211901","1355211909"],"photo_ids_order":["1355211901","1355211905","1355211907","1355211909","1355211910","1355211911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1dd875a6b66bc0617c451bb540d25079.jpg","text":"TemporaryFile(/tmp/multipartBody421638076751850698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151652746,"filename":"image_02052025_00_10_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/319b63b5152f6425959b0422daa1aaae.jpg","text":"TemporaryFile(/tmp/multipartBody3079098347887242118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151652746,"filename":"image_02052025_00_09_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c65852d9002a7c42d8d1a2273351de2e.jpg","text":"TemporaryFile(/tmp/multipartBody8435573146113770679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151652746,"filename":"image_02052025_00_10_05_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3d451364e5410f6059fd4d9bd66a80c.jpg","text":"TemporaryFile(/tmp/multipartBody3889806212305460818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151652746,"filename":"image_02052025_00_09_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/5/2/ff0fc55c38f997f0188c06f8e3d8549f.jpg","text":"TemporaryFile(/tmp/multipartBody8475435527699719863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151652746,"filename":"image_02052025_00_09_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/5/2/5a16fb9e949d1aacd6d4e14dd8c74062.jpg","text":"TemporaryFile(/tmp/multipartBody3284650917884727320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151652746,"filename":"image_02052025_00_09_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211907","file1":"1355211905","file0":"1355211901","file4":"1355211910","file5":"1355211911","file3":"1355211909"},"map_files_photo_id_array":[{"photo_id":"1355211911","filename":"file5"},{"photo_id":"1355211907","filename":"file2"},{"photo_id":"1355211910","filename":"file4"},{"photo_id":"1355211905","filename":"file1"},{"photo_id":"1355211901","filename":"file0"},{"photo_id":"1355211909","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355211911":["hashtag1","hashtag2"]},{"1355211905":["hashtag1","hashtag2"]},{"1355211910":["hashtag1","hashtag2"]},{"1355211907":["hashtag1","hashtag2"]},{"1355211901":["hashtag1","hashtag2"]},{"1355211909":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355211911, 1355211905, 1355211910, 1355211907, 1355211901, 1355211909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76711130142212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:07:32.492945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/10/image_02052025_00_10_24_9347.jpg', '/home/pi/Desktop/images/02052025/00/10/image_02052025_00_10_35_10365.jpg', '/home/pi/Desktop/images/02052025/00/10/image_02052025_00_10_45_10352.jpg', '/home/pi/Desktop/images/02052025/00/10/image_02052025_00_10_54_9451.jpg', '/home/pi/Desktop/images/02052025/00/10/image_02052025_00_11_05_10353.jpg', '/home/pi/Desktop/images/02052025/00/11/image_02052025_00_11_15_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/10/image_02052025_00_10_24_9347.jpg
/home/pi/Desktop/images/02052025/00/10/image_02052025_00_10_35_10365.jpg
/home/pi/Desktop/images/02052025/00/10/image_02052025_00_10_45_10352.jpg
/home/pi/Desktop/images/02052025/00/10/image_02052025_00_10_54_9451.jpg
/home/pi/Desktop/images/02052025/00/10/image_02052025_00_11_05_10353.jpg
/home/pi/Desktop/images/02052025/00/11/image_02052025_00_11_15_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":["1355211932","1355211941","1355211937","1355211928","1355211942","1355211939"],"photo_ids_order":["1355211928","1355211932","1355211937","1355211939","1355211941","1355211942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2bd9c14236ebc32c9728f7da5d765555.jpg","text":"TemporaryFile(/tmp/multipartBody8306930107177057188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151712966,"filename":"image_02052025_00_10_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad0cecf615a71c299172301de6f1ea30.jpg","text":"TemporaryFile(/tmp/multipartBody4421264541575111985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151712966,"filename":"image_02052025_00_11_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/5/2/4531c68718926caa84000d563f674fb9.jpg","text":"TemporaryFile(/tmp/multipartBody4788254000984614425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151712966,"filename":"image_02052025_00_10_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/5/2/488be59e3e6475230c00ac121e116aec.jpg","text":"TemporaryFile(/tmp/multipartBody4366170180105654318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151712966,"filename":"image_02052025_00_10_24_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86ce151adfbbf86848ff24539acea3d4.jpg","text":"TemporaryFile(/tmp/multipartBody8751330088495953306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151712966,"filename":"image_02052025_00_11_15_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/782cf3ea7645ca2e248760211c63dceb.jpg","text":"TemporaryFile(/tmp/multipartBody5023879587769316846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151712966,"filename":"image_02052025_00_10_54_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211937","file1":"1355211932","file0":"1355211928","file4":"1355211941","file5":"1355211942","file3":"1355211939"},"map_files_photo_id_array":[{"photo_id":"1355211942","filename":"file5"},{"photo_id":"1355211937","filename":"file2"},{"photo_id":"1355211941","filename":"file4"},{"photo_id":"1355211932","filename":"file1"},{"photo_id":"1355211928","filename":"file0"},{"photo_id":"1355211939","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355211932":["hashtag1","hashtag2"]},{"1355211941":["hashtag1","hashtag2"]},{"1355211937":["hashtag1","hashtag2"]},{"1355211928":["hashtag1","hashtag2"]},{"1355211942":["hashtag1","hashtag2"]},{"1355211939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355211932, 1355211941, 1355211937, 1355211928, 1355211942, 1355211939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.431427001953125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:08:32.765553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/11/image_02052025_00_11_25_9352.jpg', '/home/pi/Desktop/images/02052025/00/11/image_02052025_00_11_35_10360.jpg', '/home/pi/Desktop/images/02052025/00/11/image_02052025_00_11_44_9349.jpg', '/home/pi/Desktop/images/02052025/00/11/image_02052025_00_11_55_10370.jpg', '/home/pi/Desktop/images/02052025/00/11/image_02052025_00_12_05_10482.jpg', '/home/pi/Desktop/images/02052025/00/12/image_02052025_00_12_15_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/11/image_02052025_00_11_25_9352.jpg
/home/pi/Desktop/images/02052025/00/11/image_02052025_00_11_35_10360.jpg
/home/pi/Desktop/images/02052025/00/11/image_02052025_00_11_44_9349.jpg
/home/pi/Desktop/images/02052025/00/11/image_02052025_00_11_55_10370.jpg
/home/pi/Desktop/images/02052025/00/11/image_02052025_00_12_05_10482.jpg
/home/pi/Desktop/images/02052025/00/12/image_02052025_00_12_15_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355211968","1355211949","1355211954","1355211963","1355211965","1355211959"],"photo_ids_order":["1355211949","1355211954","1355211959","1355211963","1355211965","1355211968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/834960ed43eafd84ba1d94fda1c6981e.jpg","text":"TemporaryFile(/tmp/multipartBody3265340078160205045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151773239,"filename":"image_02052025_00_12_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/5/2/2e16841c62d4d89abed5089f8c002adb.jpg","text":"TemporaryFile(/tmp/multipartBody7061085605956039691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151773239,"filename":"image_02052025_00_11_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/5/2/10dcb720807bd6209676ae35ba6bb1da.jpg","text":"TemporaryFile(/tmp/multipartBody6889131642648424037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151773239,"filename":"image_02052025_00_11_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d8dc26debf0032ac952b23de47b41ff.jpg","text":"TemporaryFile(/tmp/multipartBody2397144701797138745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151773239,"filename":"image_02052025_00_11_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/5/2/77c820b9473578e4d8334646cf2f25dd.jpg","text":"TemporaryFile(/tmp/multipartBody6061266724223217476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151773239,"filename":"image_02052025_00_12_05_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0bb2dca131908782a90d60fb6309739f.jpg","text":"TemporaryFile(/tmp/multipartBody4659865856663041261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151773239,"filename":"image_02052025_00_11_44_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211959","file1":"1355211954","file0":"1355211949","file4":"1355211965","file5":"1355211968","file3":"1355211963"},"map_files_photo_id_array":[{"photo_id":"1355211968","filename":"file5"},{"photo_id":"1355211959","filename":"file2"},{"photo_id":"1355211965","filename":"file4"},{"photo_id":"1355211954","filename":"file1"},{"photo_id":"1355211949","filename":"file0"},{"photo_id":"1355211963","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355211968":["hashtag1","hashtag2"]},{"1355211949":["hashtag1","hashtag2"]},{"1355211954":["hashtag1","hashtag2"]},{"1355211963":["hashtag1","hashtag2"]},{"1355211965":["hashtag1","hashtag2"]},{"1355211959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355211968, 1355211949, 1355211954, 1355211963, 1355211965, 1355211959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80867290496826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:09:32.908625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/12/image_02052025_00_12_25_10378.jpg', '/home/pi/Desktop/images/02052025/00/12/image_02052025_00_12_34_9425.jpg', '/home/pi/Desktop/images/02052025/00/12/image_02052025_00_12_45_10377.jpg', '/home/pi/Desktop/images/02052025/00/12/image_02052025_00_12_55_10375.jpg', '/home/pi/Desktop/images/02052025/00/12/image_02052025_00_13_04_9349.jpg', '/home/pi/Desktop/images/02052025/00/13/image_02052025_00_13_15_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/12/image_02052025_00_12_25_10378.jpg
/home/pi/Desktop/images/02052025/00/12/image_02052025_00_12_34_9425.jpg
/home/pi/Desktop/images/02052025/00/12/image_02052025_00_12_45_10377.jpg
/home/pi/Desktop/images/02052025/00/12/image_02052025_00_12_55_10375.jpg
/home/pi/Desktop/images/02052025/00/12/image_02052025_00_13_04_9349.jpg
/home/pi/Desktop/images/02052025/00/13/image_02052025_00_13_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":["1355211994","1355211990","1355211984","1355211987","1355211980","1355211992"],"photo_ids_order":["1355211980","1355211984","1355211987","1355211990","1355211992","1355211994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e518f429fa6bf515ec81ce35f35940a6.jpg","text":"TemporaryFile(/tmp/multipartBody2908594190079682489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151833374,"filename":"image_02052025_00_13_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/5/2/22c3895763e5dc1b65e50f70ba32dc75.jpg","text":"TemporaryFile(/tmp/multipartBody702138134141876813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151833374,"filename":"image_02052025_00_12_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86beca71bb95dc96d970bf373e0ef381.jpg","text":"TemporaryFile(/tmp/multipartBody6115605539994628660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151833374,"filename":"image_02052025_00_12_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/5/2/c2c2fee1de371e78db6cab81664cda63.jpg","text":"TemporaryFile(/tmp/multipartBody4758277128738513158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151833374,"filename":"image_02052025_00_12_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/5/2/0bbef7f18f519c152c15ebb7811eb63e.jpg","text":"TemporaryFile(/tmp/multipartBody3326340840634310308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151833374,"filename":"image_02052025_00_12_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/5/2/6a9486d061f47d3340f300c0b11e5c89.jpg","text":"TemporaryFile(/tmp/multipartBody8473315260803462844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151833374,"filename":"image_02052025_00_13_04_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355211987","file1":"1355211984","file0":"1355211980","file4":"1355211992","file5":"1355211994","file3":"1355211990"},"map_files_photo_id_array":[{"photo_id":"1355211994","filename":"file5"},{"photo_id":"1355211987","filename":"file2"},{"photo_id":"1355211992","filename":"file4"},{"photo_id":"1355211984","filename":"file1"},{"photo_id":"1355211980","filename":"file0"},{"photo_id":"1355211990","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355211994":["hashtag1","hashtag2"]},{"1355211990":["hashtag1","hashtag2"]},{"1355211984":["hashtag1","hashtag2"]},{"1355211987":["hashtag1","hashtag2"]},{"1355211980":["hashtag1","hashtag2"]},{"1355211992":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355211994, 1355211990, 1355211984, 1355211987, 1355211980, 1355211992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.68086838722229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:10:33.127083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/13/image_02052025_00_13_25_10459.jpg', '/home/pi/Desktop/images/02052025/00/13/image_02052025_00_13_35_9355.jpg', '/home/pi/Desktop/images/02052025/00/13/image_02052025_00_13_45_10361.jpg', '/home/pi/Desktop/images/02052025/00/13/image_02052025_00_13_54_9471.jpg', '/home/pi/Desktop/images/02052025/00/13/image_02052025_00_14_05_10363.jpg', '/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_14_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/13/image_02052025_00_13_25_10459.jpg
/home/pi/Desktop/images/02052025/00/13/image_02052025_00_13_35_9355.jpg
/home/pi/Desktop/images/02052025/00/13/image_02052025_00_13_45_10361.jpg
/home/pi/Desktop/images/02052025/00/13/image_02052025_00_13_54_9471.jpg
/home/pi/Desktop/images/02052025/00/13/image_02052025_00_14_05_10363.jpg
/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_14_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":["1355212019","1355212006","1355212015","1355212017","1355212011","1355212013"],"photo_ids_order":["1355212006","1355212011","1355212013","1355212015","1355212017","1355212019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d9727a5c28c9339107ca3d37a4d128b.jpg","text":"TemporaryFile(/tmp/multipartBody1912786508085665255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151893607,"filename":"image_02052025_00_14_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/5/2/410b841e1ca2c4d808e78f98b6ca0692.jpg","text":"TemporaryFile(/tmp/multipartBody7020629858743167963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151893607,"filename":"image_02052025_00_13_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/5/2/e9faecb4440db1107fec0e83d77b953d.jpg","text":"TemporaryFile(/tmp/multipartBody7318105946556622680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151893607,"filename":"image_02052025_00_13_54_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/507185e73eabadf22458b0a118993a95.jpg","text":"TemporaryFile(/tmp/multipartBody6428446213875550729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151893607,"filename":"image_02052025_00_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/5/2/77e53e22cd62a589dd0067271eee7ea0.jpg","text":"TemporaryFile(/tmp/multipartBody4754309477985789516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151893607,"filename":"image_02052025_00_13_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/5/2/d611a71c90744e59cf437923bd2931f4.jpg","text":"TemporaryFile(/tmp/multipartBody2783283990155887206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151893607,"filename":"image_02052025_00_13_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212013","file1":"1355212011","file0":"1355212006","file4":"1355212017","file5":"1355212019","file3":"1355212015"},"map_files_photo_id_array":[{"photo_id":"1355212019","filename":"file5"},{"photo_id":"1355212013","filename":"file2"},{"photo_id":"1355212017","filename":"file4"},{"photo_id":"1355212011","filename":"file1"},{"photo_id":"1355212006","filename":"file0"},{"photo_id":"1355212015","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212019":["hashtag1","hashtag2"]},{"1355212006":["hashtag1","hashtag2"]},{"1355212015":["hashtag1","hashtag2"]},{"1355212017":["hashtag1","hashtag2"]},{"1355212011":["hashtag1","hashtag2"]},{"1355212013":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212019, 1355212006, 1355212015, 1355212017, 1355212011, 1355212013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.189509868621826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:11:32.389066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_25_10380.jpg', '/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_35_10383.jpg', '/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_44_9400.jpg', '/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_55_10366.jpg', '/home/pi/Desktop/images/02052025/00/14/image_02052025_00_15_05_10422.jpg', '/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_15_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_25_10380.jpg
/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_35_10383.jpg
/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_44_9400.jpg
/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_55_10366.jpg
/home/pi/Desktop/images/02052025/00/14/image_02052025_00_15_05_10422.jpg
/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_15_9376.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.383089542388916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 04:11:42.388080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_25_10380.jpg', '/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_35_10383.jpg', '/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_44_9400.jpg', '/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_55_10366.jpg', '/home/pi/Desktop/images/02052025/00/14/image_02052025_00_15_05_10422.jpg', '/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_15_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_25_10380.jpg
/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_35_10383.jpg
/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_44_9400.jpg
/home/pi/Desktop/images/02052025/00/14/image_02052025_00_14_55_10366.jpg
/home/pi/Desktop/images/02052025/00/14/image_02052025_00_15_05_10422.jpg
/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_15_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212043","1355212037","1355212036","1355212039","1355212033","1355212041"],"photo_ids_order":["1355212033","1355212036","1355212037","1355212039","1355212041","1355212043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7cb0fbafd95a1605f3ebaca753b15cae.jpg","text":"TemporaryFile(/tmp/multipartBody8687835531799477154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151962861,"filename":"image_02052025_00_15_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/5/2/c2b447cddc09062fc11761c5bf3adbcf.jpg","text":"TemporaryFile(/tmp/multipartBody6638458121572555009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151962861,"filename":"image_02052025_00_14_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/5/2/ddb28b1e9c5319920cf97fa395dad822.jpg","text":"TemporaryFile(/tmp/multipartBody522693236460310880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151962861,"filename":"image_02052025_00_14_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/426ee879731492f68b72c7f12a81ab54.jpg","text":"TemporaryFile(/tmp/multipartBody5281782294890604902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151962861,"filename":"image_02052025_00_14_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/5/2/9d9fa44cd18c1fa2029bee44e1b0ec70.jpg","text":"TemporaryFile(/tmp/multipartBody8991130805694433304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151962861,"filename":"image_02052025_00_14_25_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cdaf02419ef96b713c79a76702c1ef84.jpg","text":"TemporaryFile(/tmp/multipartBody4542422214806723528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746151962861,"filename":"image_02052025_00_15_05_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212037","file1":"1355212036","file0":"1355212033","file4":"1355212041","file5":"1355212043","file3":"1355212039"},"map_files_photo_id_array":[{"photo_id":"1355212043","filename":"file5"},{"photo_id":"1355212037","filename":"file2"},{"photo_id":"1355212041","filename":"file4"},{"photo_id":"1355212036","filename":"file1"},{"photo_id":"1355212033","filename":"file0"},{"photo_id":"1355212039","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212043":["hashtag1","hashtag2"]},{"1355212037":["hashtag1","hashtag2"]},{"1355212036":["hashtag1","hashtag2"]},{"1355212039":["hashtag1","hashtag2"]},{"1355212033":["hashtag1","hashtag2"]},{"1355212041":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212043, 1355212037, 1355212036, 1355212039, 1355212033, 1355212041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.638441801071167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:12:32.791967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_25_10375.jpg', '/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_34_9448.jpg', '/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_45_10358.jpg', '/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_55_10429.jpg', '/home/pi/Desktop/images/02052025/00/15/image_02052025_00_16_05_9402.jpg', '/home/pi/Desktop/images/02052025/00/16/image_02052025_00_16_45_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_25_10375.jpg
/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_34_9448.jpg
/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_45_10358.jpg
/home/pi/Desktop/images/02052025/00/15/image_02052025_00_15_55_10429.jpg
/home/pi/Desktop/images/02052025/00/15/image_02052025_00_16_05_9402.jpg
/home/pi/Desktop/images/02052025/00/16/image_02052025_00_16_45_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212069","1355212063","1355212065","1355212068","1355212067","1355212061"],"photo_ids_order":["1355212061","1355212063","1355212065","1355212067","1355212068","1355212069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b984484c6f566b8ea288a6f4c45a243.jpg","text":"TemporaryFile(/tmp/multipartBody6148778861700319578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152013272,"filename":"image_02052025_00_16_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/5/2/aec2a3bf1cc99b3848dbb48c6dfe09a3.jpg","text":"TemporaryFile(/tmp/multipartBody7503705823637233374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152013272,"filename":"image_02052025_00_15_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/5/2/87075164bc0edf5bad0bce1f138e5026.jpg","text":"TemporaryFile(/tmp/multipartBody6996671910394607899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152013272,"filename":"image_02052025_00_15_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/092445047d187e1688d57e86f7088044.jpg","text":"TemporaryFile(/tmp/multipartBody3376728501027245732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152013272,"filename":"image_02052025_00_16_05_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3e7a6ccb2e6b201b7c7984dc7ac4140.jpg","text":"TemporaryFile(/tmp/multipartBody8718656735788491935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152013272,"filename":"image_02052025_00_15_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/5/2/651e9b91ed5261d37736d24d5df8a215.jpg","text":"TemporaryFile(/tmp/multipartBody5695489679141616678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152013272,"filename":"image_02052025_00_15_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212065","file1":"1355212063","file0":"1355212061","file4":"1355212068","file5":"1355212069","file3":"1355212067"},"map_files_photo_id_array":[{"photo_id":"1355212069","filename":"file5"},{"photo_id":"1355212065","filename":"file2"},{"photo_id":"1355212068","filename":"file4"},{"photo_id":"1355212063","filename":"file1"},{"photo_id":"1355212061","filename":"file0"},{"photo_id":"1355212067","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212069":["hashtag1","hashtag2"]},{"1355212063":["hashtag1","hashtag2"]},{"1355212065":["hashtag1","hashtag2"]},{"1355212068":["hashtag1","hashtag2"]},{"1355212067":["hashtag1","hashtag2"]},{"1355212061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212069, 1355212063, 1355212065, 1355212068, 1355212067, 1355212061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.34519910812378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:13:33.071846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/16/image_02052025_00_17_05_10363.jpg', '/home/pi/Desktop/images/02052025/00/17/image_02052025_00_17_14_9348.jpg', '/home/pi/Desktop/images/02052025/00/17/image_02052025_00_17_25_10357.jpg', '/home/pi/Desktop/images/02052025/00/17/image_02052025_00_17_35_10353.jpg', '/home/pi/Desktop/images/02052025/00/17/image_02052025_00_17_44_9429.jpg', '/home/pi/Desktop/images/02052025/00/17/image_02052025_00_17_55_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/16/image_02052025_00_17_05_10363.jpg
/home/pi/Desktop/images/02052025/00/17/image_02052025_00_17_14_9348.jpg
/home/pi/Desktop/images/02052025/00/17/image_02052025_00_17_25_10357.jpg
/home/pi/Desktop/images/02052025/00/17/image_02052025_00_17_35_10353.jpg
/home/pi/Desktop/images/02052025/00/17/image_02052025_00_17_44_9429.jpg
/home/pi/Desktop/images/02052025/00/17/image_02052025_00_17_55_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":["1355212093","1355212084","1355212092","1355212086","1355212089","1355212091"],"photo_ids_order":["1355212084","1355212086","1355212089","1355212091","1355212092","1355212093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2ca830fe081d5bab0d3bbe40833d148.jpg","text":"TemporaryFile(/tmp/multipartBody7480077565485155420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152073565,"filename":"image_02052025_00_17_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/5/2/e9177eb4c30bdfa5a53e9bfddc500cae.jpg","text":"TemporaryFile(/tmp/multipartBody1316490457299850160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152073565,"filename":"image_02052025_00_17_05_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d4e5a957f94115d41806715fb1b11a8.jpg","text":"TemporaryFile(/tmp/multipartBody954060617617358895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152073565,"filename":"image_02052025_00_17_44_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3edf547a70a7b1532d6386f8816bf630.jpg","text":"TemporaryFile(/tmp/multipartBody3481492994425367785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152073565,"filename":"image_02052025_00_17_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/5/2/a9ee105486c74f32f1b1e394c15b43ff.jpg","text":"TemporaryFile(/tmp/multipartBody290889339075865610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152073565,"filename":"image_02052025_00_17_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/5/2/0038940525de7c4d54c2f7a3944906d7.jpg","text":"TemporaryFile(/tmp/multipartBody9102430237304077459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152073565,"filename":"image_02052025_00_17_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212089","file1":"1355212086","file0":"1355212084","file4":"1355212092","file5":"1355212093","file3":"1355212091"},"map_files_photo_id_array":[{"photo_id":"1355212093","filename":"file5"},{"photo_id":"1355212089","filename":"file2"},{"photo_id":"1355212092","filename":"file4"},{"photo_id":"1355212086","filename":"file1"},{"photo_id":"1355212084","filename":"file0"},{"photo_id":"1355212091","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212093":["hashtag1","hashtag2"]},{"1355212084":["hashtag1","hashtag2"]},{"1355212092":["hashtag1","hashtag2"]},{"1355212086":["hashtag1","hashtag2"]},{"1355212089":["hashtag1","hashtag2"]},{"1355212091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212093, 1355212084, 1355212092, 1355212086, 1355212089, 1355212091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.42389154434204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:14:32.244209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/18/image_02052025_00_18_15_10362.jpg', '/home/pi/Desktop/images/02052025/00/18/image_02052025_00_18_25_10369.jpg', '/home/pi/Desktop/images/02052025/00/18/image_02052025_00_18_35_9433.jpg', '/home/pi/Desktop/images/02052025/00/18/image_02052025_00_18_45_10447.jpg', '/home/pi/Desktop/images/02052025/00/18/image_02052025_00_18_54_9360.jpg', '/home/pi/Desktop/images/02052025/00/18/image_02052025_00_19_05_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/18/image_02052025_00_18_15_10362.jpg
/home/pi/Desktop/images/02052025/00/18/image_02052025_00_18_25_10369.jpg
/home/pi/Desktop/images/02052025/00/18/image_02052025_00_18_35_9433.jpg
/home/pi/Desktop/images/02052025/00/18/image_02052025_00_18_45_10447.jpg
/home/pi/Desktop/images/02052025/00/18/image_02052025_00_18_54_9360.jpg
/home/pi/Desktop/images/02052025/00/18/image_02052025_00_19_05_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":["1355212121","1355212111","1355212108","1355212122","1355212116","1355212119"],"photo_ids_order":["1355212108","1355212111","1355212116","1355212119","1355212121","1355212122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b08455fb44594cab7cd07f9e13a04c9.jpg","text":"TemporaryFile(/tmp/multipartBody1803880460807923521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152132727,"filename":"image_02052025_00_18_54_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7a0a5e34ac170f0b0e5dced7148ece1a.jpg","text":"TemporaryFile(/tmp/multipartBody7526507560960738495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152132727,"filename":"image_02052025_00_18_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a99133e87f41851fc3d2b8d3961cde0.jpg","text":"TemporaryFile(/tmp/multipartBody3827743234483962025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152132727,"filename":"image_02052025_00_18_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/5/2/a4f56eb125c0cabbd88bb4f1b450072a.jpg","text":"TemporaryFile(/tmp/multipartBody1661492517271246599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152132727,"filename":"image_02052025_00_19_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e133b297f15ec8d63ad3758be6295d6a.jpg","text":"TemporaryFile(/tmp/multipartBody8410020423246431271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152132727,"filename":"image_02052025_00_18_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/5/2/2943f4a3a89ecc57494ba1f1732e39d6.jpg","text":"TemporaryFile(/tmp/multipartBody639007089894172161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152132727,"filename":"image_02052025_00_18_45_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212116","file1":"1355212111","file0":"1355212108","file4":"1355212121","file5":"1355212122","file3":"1355212119"},"map_files_photo_id_array":[{"photo_id":"1355212122","filename":"file5"},{"photo_id":"1355212116","filename":"file2"},{"photo_id":"1355212121","filename":"file4"},{"photo_id":"1355212111","filename":"file1"},{"photo_id":"1355212108","filename":"file0"},{"photo_id":"1355212119","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212121":["hashtag1","hashtag2"]},{"1355212111":["hashtag1","hashtag2"]},{"1355212108":["hashtag1","hashtag2"]},{"1355212122":["hashtag1","hashtag2"]},{"1355212116":["hashtag1","hashtag2"]},{"1355212119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212121, 1355212111, 1355212108, 1355212122, 1355212116, 1355212119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.180474281311035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:15:32.545336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/19/image_02052025_00_19_15_10352.jpg', '/home/pi/Desktop/images/02052025/00/19/image_02052025_00_19_24_9382.jpg', '/home/pi/Desktop/images/02052025/00/19/image_02052025_00_19_35_10370.jpg', '/home/pi/Desktop/images/02052025/00/19/image_02052025_00_19_45_10441.jpg', '/home/pi/Desktop/images/02052025/00/19/image_02052025_00_19_55_9414.jpg', '/home/pi/Desktop/images/02052025/00/19/image_02052025_00_20_05_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/19/image_02052025_00_19_15_10352.jpg
/home/pi/Desktop/images/02052025/00/19/image_02052025_00_19_24_9382.jpg
/home/pi/Desktop/images/02052025/00/19/image_02052025_00_19_35_10370.jpg
/home/pi/Desktop/images/02052025/00/19/image_02052025_00_19_45_10441.jpg
/home/pi/Desktop/images/02052025/00/19/image_02052025_00_19_55_9414.jpg
/home/pi/Desktop/images/02052025/00/19/image_02052025_00_20_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":["1355212141","1355212144","1355212138","1355212146","1355212143","1355212148"],"photo_ids_order":["1355212138","1355212141","1355212143","1355212144","1355212146","1355212148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2702e6c429d5fd95618bd34b4493a37a.jpg","text":"TemporaryFile(/tmp/multipartBody6792330942047036421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152193043,"filename":"image_02052025_00_19_24_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/333f4a60507d3b68733e01ad54fc4adf.jpg","text":"TemporaryFile(/tmp/multipartBody3160383755562270917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152193043,"filename":"image_02052025_00_19_45_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1e6eb3fabf7679476093c94e3b1752ca.jpg","text":"TemporaryFile(/tmp/multipartBody5900769785584225870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152193043,"filename":"image_02052025_00_19_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/5/2/f329272e97bfbeed6f7638e3ed2f2e14.jpg","text":"TemporaryFile(/tmp/multipartBody843498186295772392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152193043,"filename":"image_02052025_00_19_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/5/2/30adb8e762882356be2e14f9a4937916.jpg","text":"TemporaryFile(/tmp/multipartBody1686947487381468623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152193043,"filename":"image_02052025_00_19_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f73aa31c37699f6e2252469af2af0f3.jpg","text":"TemporaryFile(/tmp/multipartBody6302904458186232754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152193043,"filename":"image_02052025_00_20_05_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212143","file1":"1355212141","file0":"1355212138","file4":"1355212146","file5":"1355212148","file3":"1355212144"},"map_files_photo_id_array":[{"photo_id":"1355212148","filename":"file5"},{"photo_id":"1355212143","filename":"file2"},{"photo_id":"1355212146","filename":"file4"},{"photo_id":"1355212141","filename":"file1"},{"photo_id":"1355212138","filename":"file0"},{"photo_id":"1355212144","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212141":["hashtag1","hashtag2"]},{"1355212144":["hashtag1","hashtag2"]},{"1355212138":["hashtag1","hashtag2"]},{"1355212146":["hashtag1","hashtag2"]},{"1355212143":["hashtag1","hashtag2"]},{"1355212148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212141, 1355212144, 1355212138, 1355212146, 1355212143, 1355212148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.740335941314697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:16:32.754194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/20/image_02052025_00_20_14_9412.jpg', '/home/pi/Desktop/images/02052025/00/20/image_02052025_00_20_25_10419.jpg', '/home/pi/Desktop/images/02052025/00/20/image_02052025_00_20_34_9418.jpg', '/home/pi/Desktop/images/02052025/00/20/image_02052025_00_20_45_10356.jpg', '/home/pi/Desktop/images/02052025/00/20/image_02052025_00_20_55_10366.jpg', '/home/pi/Desktop/images/02052025/00/20/image_02052025_00_21_04_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/20/image_02052025_00_20_14_9412.jpg
/home/pi/Desktop/images/02052025/00/20/image_02052025_00_20_25_10419.jpg
/home/pi/Desktop/images/02052025/00/20/image_02052025_00_20_34_9418.jpg
/home/pi/Desktop/images/02052025/00/20/image_02052025_00_20_45_10356.jpg
/home/pi/Desktop/images/02052025/00/20/image_02052025_00_20_55_10366.jpg
/home/pi/Desktop/images/02052025/00/20/image_02052025_00_21_04_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212168","1355212165","1355212170","1355212173","1355212175","1355212163"],"photo_ids_order":["1355212163","1355212165","1355212168","1355212170","1355212173","1355212175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7afc3cb60d028b6bd10a9f25259152be.jpg","text":"TemporaryFile(/tmp/multipartBody4293576356693121277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152253221,"filename":"image_02052025_00_20_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/5/2/4ddac3cbc865e1426134566f880dd4a4.jpg","text":"TemporaryFile(/tmp/multipartBody1671914804120823446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152253221,"filename":"image_02052025_00_20_25_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/719049247c42ddc52544aec403db6b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4666044797452480233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152253221,"filename":"image_02052025_00_20_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/5/2/2178622ede470d4ad33f04df9e2cfc5e.jpg","text":"TemporaryFile(/tmp/multipartBody9217732440846506831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152253221,"filename":"image_02052025_00_20_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/5/2/39c90c02ed5fc9a319a3918199c44bc8.jpg","text":"TemporaryFile(/tmp/multipartBody2378814670943274155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152253221,"filename":"image_02052025_00_21_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b1715ae3e1f70f75f21410da78b28849.jpg","text":"TemporaryFile(/tmp/multipartBody4973736776648412569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152253221,"filename":"image_02052025_00_20_14_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212168","file1":"1355212165","file0":"1355212163","file4":"1355212173","file5":"1355212175","file3":"1355212170"},"map_files_photo_id_array":[{"photo_id":"1355212175","filename":"file5"},{"photo_id":"1355212168","filename":"file2"},{"photo_id":"1355212173","filename":"file4"},{"photo_id":"1355212165","filename":"file1"},{"photo_id":"1355212163","filename":"file0"},{"photo_id":"1355212170","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212168":["hashtag1","hashtag2"]},{"1355212165":["hashtag1","hashtag2"]},{"1355212170":["hashtag1","hashtag2"]},{"1355212173":["hashtag1","hashtag2"]},{"1355212175":["hashtag1","hashtag2"]},{"1355212163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212168, 1355212165, 1355212170, 1355212173, 1355212175, 1355212163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.485647439956665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:17:33.110103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/21/image_02052025_00_21_15_10353.jpg', '/home/pi/Desktop/images/02052025/00/21/image_02052025_00_21_25_10503.jpg', '/home/pi/Desktop/images/02052025/00/21/image_02052025_00_21_35_9372.jpg', '/home/pi/Desktop/images/02052025/00/21/image_02052025_00_21_45_10434.jpg', '/home/pi/Desktop/images/02052025/00/21/image_02052025_00_21_54_9363.jpg', '/home/pi/Desktop/images/02052025/00/21/image_02052025_00_22_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/21/image_02052025_00_21_15_10353.jpg
/home/pi/Desktop/images/02052025/00/21/image_02052025_00_21_25_10503.jpg
/home/pi/Desktop/images/02052025/00/21/image_02052025_00_21_35_9372.jpg
/home/pi/Desktop/images/02052025/00/21/image_02052025_00_21_45_10434.jpg
/home/pi/Desktop/images/02052025/00/21/image_02052025_00_21_54_9363.jpg
/home/pi/Desktop/images/02052025/00/21/image_02052025_00_22_05_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212192","1355212195","1355212204","1355212201","1355212191","1355212199"],"photo_ids_order":["1355212191","1355212192","1355212195","1355212199","1355212201","1355212204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/264be9ce4069e7c3f9fe069b67314309.jpg","text":"TemporaryFile(/tmp/multipartBody1474112770004754380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152313590,"filename":"image_02052025_00_21_25_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8c738eb8601796006bc2c8cd9581cf36.jpg","text":"TemporaryFile(/tmp/multipartBody6018524596423460918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152313590,"filename":"image_02052025_00_21_35_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1ad0172d19be8f89e7f34a4630ae2a3d.jpg","text":"TemporaryFile(/tmp/multipartBody8574877042406442719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152313590,"filename":"image_02052025_00_22_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/5/2/96ea66084c3d6d659c42800bfc042eeb.jpg","text":"TemporaryFile(/tmp/multipartBody1213971402734955802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152313590,"filename":"image_02052025_00_21_54_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf66e68ec229151081ce99f3164927a5.jpg","text":"TemporaryFile(/tmp/multipartBody1457685756824338558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152313590,"filename":"image_02052025_00_21_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af870547ec19cdb11345d1d9c9c75018.jpg","text":"TemporaryFile(/tmp/multipartBody2906025202076025955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152313590,"filename":"image_02052025_00_21_45_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212195","file1":"1355212192","file0":"1355212191","file4":"1355212201","file5":"1355212204","file3":"1355212199"},"map_files_photo_id_array":[{"photo_id":"1355212204","filename":"file5"},{"photo_id":"1355212195","filename":"file2"},{"photo_id":"1355212201","filename":"file4"},{"photo_id":"1355212192","filename":"file1"},{"photo_id":"1355212191","filename":"file0"},{"photo_id":"1355212199","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212192":["hashtag1","hashtag2"]},{"1355212195":["hashtag1","hashtag2"]},{"1355212204":["hashtag1","hashtag2"]},{"1355212201":["hashtag1","hashtag2"]},{"1355212191":["hashtag1","hashtag2"]},{"1355212199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212192, 1355212195, 1355212204, 1355212201, 1355212191, 1355212199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88718366622925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:18:32.397879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/22/image_02052025_00_22_15_10341.jpg', '/home/pi/Desktop/images/02052025/00/22/image_02052025_00_22_25_9435.jpg', '/home/pi/Desktop/images/02052025/00/22/image_02052025_00_22_35_10349.jpg', '/home/pi/Desktop/images/02052025/00/22/image_02052025_00_22_44_9480.jpg', '/home/pi/Desktop/images/02052025/00/22/image_02052025_00_22_55_10440.jpg', '/home/pi/Desktop/images/02052025/00/22/image_02052025_00_23_05_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/22/image_02052025_00_22_15_10341.jpg
/home/pi/Desktop/images/02052025/00/22/image_02052025_00_22_25_9435.jpg
/home/pi/Desktop/images/02052025/00/22/image_02052025_00_22_35_10349.jpg
/home/pi/Desktop/images/02052025/00/22/image_02052025_00_22_44_9480.jpg
/home/pi/Desktop/images/02052025/00/22/image_02052025_00_22_55_10440.jpg
/home/pi/Desktop/images/02052025/00/22/image_02052025_00_23_05_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":["1355212229","1355212214","1355212222","1355212225","1355212221","1355212218"],"photo_ids_order":["1355212214","1355212218","1355212221","1355212222","1355212225","1355212229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d78c688fa18469f6ce9aab82b158ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8425985954181474397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152372870,"filename":"image_02052025_00_23_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/5/2/0bd15c4931636d8866e293284e01ce6a.jpg","text":"TemporaryFile(/tmp/multipartBody8179958891645575847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152372870,"filename":"image_02052025_00_22_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/5/2/f3f618b3465b06ed213d0b054d4910af.jpg","text":"TemporaryFile(/tmp/multipartBody6966819403166666648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152372870,"filename":"image_02052025_00_22_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/5/2/43b685ee3a8e517bc9aaffc79eaeff05.jpg","text":"TemporaryFile(/tmp/multipartBody260202483692503957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152372870,"filename":"image_02052025_00_22_55_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/878dec17bdee67244c54596a4ebf1bbe.jpg","text":"TemporaryFile(/tmp/multipartBody4053563521835811388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152372870,"filename":"image_02052025_00_22_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/5/2/faf4d8e0c0b435640f221cfebd068d98.jpg","text":"TemporaryFile(/tmp/multipartBody1653622356598862829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152372870,"filename":"image_02052025_00_22_25_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212221","file1":"1355212218","file0":"1355212214","file4":"1355212225","file5":"1355212229","file3":"1355212222"},"map_files_photo_id_array":[{"photo_id":"1355212229","filename":"file5"},{"photo_id":"1355212221","filename":"file2"},{"photo_id":"1355212225","filename":"file4"},{"photo_id":"1355212218","filename":"file1"},{"photo_id":"1355212214","filename":"file0"},{"photo_id":"1355212222","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212229":["hashtag1","hashtag2"]},{"1355212214":["hashtag1","hashtag2"]},{"1355212222":["hashtag1","hashtag2"]},{"1355212225":["hashtag1","hashtag2"]},{"1355212221":["hashtag1","hashtag2"]},{"1355212218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212229, 1355212214, 1355212222, 1355212225, 1355212221, 1355212218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.879520654678345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:19:32.706724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/23/image_02052025_00_23_15_9361.jpg', '/home/pi/Desktop/images/02052025/00/23/image_02052025_00_23_25_10360.jpg', '/home/pi/Desktop/images/02052025/00/23/image_02052025_00_23_34_9353.jpg', '/home/pi/Desktop/images/02052025/00/23/image_02052025_00_23_45_10416.jpg', '/home/pi/Desktop/images/02052025/00/23/image_02052025_00_23_55_10349.jpg', '/home/pi/Desktop/images/02052025/00/23/image_02052025_00_24_04_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/23/image_02052025_00_23_15_9361.jpg
/home/pi/Desktop/images/02052025/00/23/image_02052025_00_23_25_10360.jpg
/home/pi/Desktop/images/02052025/00/23/image_02052025_00_23_34_9353.jpg
/home/pi/Desktop/images/02052025/00/23/image_02052025_00_23_45_10416.jpg
/home/pi/Desktop/images/02052025/00/23/image_02052025_00_23_55_10349.jpg
/home/pi/Desktop/images/02052025/00/23/image_02052025_00_24_04_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":["1355212252","1355212255","1355212246","1355212254","1355212250","1355212253"],"photo_ids_order":["1355212246","1355212250","1355212252","1355212253","1355212254","1355212255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/baa019c30a136f2e26ec86939316ece4.jpg","text":"TemporaryFile(/tmp/multipartBody2941384440453165693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152433188,"filename":"image_02052025_00_23_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/5/2/0792e52479e3c3a82398db0a2fc4dc1f.jpg","text":"TemporaryFile(/tmp/multipartBody2148642049435082233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152433188,"filename":"image_02052025_00_24_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/5/2/b364197718f4055af70bc006119be5c4.jpg","text":"TemporaryFile(/tmp/multipartBody208522354295495174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152433188,"filename":"image_02052025_00_23_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b6575adb9dec4052a074e9d3055d6f8e.jpg","text":"TemporaryFile(/tmp/multipartBody8756966249621279409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152433188,"filename":"image_02052025_00_23_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/5/2/3d7e254b4a825a639f9969f129db7c52.jpg","text":"TemporaryFile(/tmp/multipartBody4369280226067675602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152433188,"filename":"image_02052025_00_23_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/5/2/db6a1578a73f2fd9e221de142e3da4cd.jpg","text":"TemporaryFile(/tmp/multipartBody8644335686487920991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152433188,"filename":"image_02052025_00_23_45_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212252","file1":"1355212250","file0":"1355212246","file4":"1355212254","file5":"1355212255","file3":"1355212253"},"map_files_photo_id_array":[{"photo_id":"1355212255","filename":"file5"},{"photo_id":"1355212252","filename":"file2"},{"photo_id":"1355212254","filename":"file4"},{"photo_id":"1355212250","filename":"file1"},{"photo_id":"1355212246","filename":"file0"},{"photo_id":"1355212253","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212252":["hashtag1","hashtag2"]},{"1355212255":["hashtag1","hashtag2"]},{"1355212246":["hashtag1","hashtag2"]},{"1355212254":["hashtag1","hashtag2"]},{"1355212250":["hashtag1","hashtag2"]},{"1355212253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212252, 1355212255, 1355212246, 1355212254, 1355212250, 1355212253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.45163106918335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:20:33.011987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/24/image_02052025_00_24_15_10405.jpg', '/home/pi/Desktop/images/02052025/00/24/image_02052025_00_24_24_9472.jpg', '/home/pi/Desktop/images/02052025/00/24/image_02052025_00_24_35_10372.jpg', '/home/pi/Desktop/images/02052025/00/24/image_02052025_00_24_45_10417.jpg', '/home/pi/Desktop/images/02052025/00/24/image_02052025_00_24_55_9408.jpg', '/home/pi/Desktop/images/02052025/00/24/image_02052025_00_25_05_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/24/image_02052025_00_24_15_10405.jpg
/home/pi/Desktop/images/02052025/00/24/image_02052025_00_24_24_9472.jpg
/home/pi/Desktop/images/02052025/00/24/image_02052025_00_24_35_10372.jpg
/home/pi/Desktop/images/02052025/00/24/image_02052025_00_24_45_10417.jpg
/home/pi/Desktop/images/02052025/00/24/image_02052025_00_24_55_9408.jpg
/home/pi/Desktop/images/02052025/00/24/image_02052025_00_25_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":["1355212270","1355212267","1355212276","1355212272","1355212274","1355212277"],"photo_ids_order":["1355212267","1355212270","1355212272","1355212274","1355212276","1355212277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d79156641c038f2cb33e9c03baa82e1.jpg","text":"TemporaryFile(/tmp/multipartBody4668916913543841502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152493500,"filename":"image_02052025_00_24_24_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65f42ef95b1b907d2a0dd089a6742d50.jpg","text":"TemporaryFile(/tmp/multipartBody2956144820622071082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152493500,"filename":"image_02052025_00_24_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/19cb257ffb925d4fe9fb4421540c1c6f.jpg","text":"TemporaryFile(/tmp/multipartBody6482540488676737198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152493500,"filename":"image_02052025_00_24_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/5/2/498d4e27d4bac5fc2e9b7038b8833704.jpg","text":"TemporaryFile(/tmp/multipartBody1556290787617054314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152493500,"filename":"image_02052025_00_24_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/5/2/a337de308beb16c0318ac372264d1066.jpg","text":"TemporaryFile(/tmp/multipartBody3336474887239109610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152493500,"filename":"image_02052025_00_24_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/5/2/dd8bb5520fc5c2f580bde41c26ab794c.jpg","text":"TemporaryFile(/tmp/multipartBody7199452902100922307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152493500,"filename":"image_02052025_00_25_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212272","file1":"1355212270","file0":"1355212267","file4":"1355212276","file5":"1355212277","file3":"1355212274"},"map_files_photo_id_array":[{"photo_id":"1355212277","filename":"file5"},{"photo_id":"1355212272","filename":"file2"},{"photo_id":"1355212276","filename":"file4"},{"photo_id":"1355212270","filename":"file1"},{"photo_id":"1355212267","filename":"file0"},{"photo_id":"1355212274","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212270":["hashtag1","hashtag2"]},{"1355212267":["hashtag1","hashtag2"]},{"1355212276":["hashtag1","hashtag2"]},{"1355212272":["hashtag1","hashtag2"]},{"1355212274":["hashtag1","hashtag2"]},{"1355212277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212270, 1355212267, 1355212276, 1355212272, 1355212274, 1355212277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.212953090667725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:21:33.202980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/25/image_02052025_00_25_15_10410.jpg', '/home/pi/Desktop/images/02052025/00/25/image_02052025_00_25_25_9406.jpg', '/home/pi/Desktop/images/02052025/00/25/image_02052025_00_25_35_10361.jpg', '/home/pi/Desktop/images/02052025/00/25/image_02052025_00_25_44_9344.jpg', '/home/pi/Desktop/images/02052025/00/25/image_02052025_00_25_55_10365.jpg', '/home/pi/Desktop/images/02052025/00/25/image_02052025_00_26_05_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/25/image_02052025_00_25_15_10410.jpg
/home/pi/Desktop/images/02052025/00/25/image_02052025_00_25_25_9406.jpg
/home/pi/Desktop/images/02052025/00/25/image_02052025_00_25_35_10361.jpg
/home/pi/Desktop/images/02052025/00/25/image_02052025_00_25_44_9344.jpg
/home/pi/Desktop/images/02052025/00/25/image_02052025_00_25_55_10365.jpg
/home/pi/Desktop/images/02052025/00/25/image_02052025_00_26_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":["1355212297","1355212301","1355212300","1355212299","1355212292","1355212295"],"photo_ids_order":["1355212292","1355212295","1355212297","1355212299","1355212300","1355212301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84a3516811b3350a8728fff13cba1287.jpg","text":"TemporaryFile(/tmp/multipartBody7221182582809590281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152553678,"filename":"image_02052025_00_25_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53239d0e2b002745d0ed7ff49f742eac.jpg","text":"TemporaryFile(/tmp/multipartBody1798799746330154123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152553678,"filename":"image_02052025_00_26_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/834495a8cf288b83e301a83cf8121aea.jpg","text":"TemporaryFile(/tmp/multipartBody4988742042660956019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152553678,"filename":"image_02052025_00_25_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/5/2/038e3b66dd84c00c7e1a8bb8432e8fdd.jpg","text":"TemporaryFile(/tmp/multipartBody7529461461054824916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152553678,"filename":"image_02052025_00_25_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/5/2/c0ac89fee937a0bb2d2f0d2f9e6bb3ab.jpg","text":"TemporaryFile(/tmp/multipartBody1130595560093035062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152553678,"filename":"image_02052025_00_25_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/5/2/2a0c6e2158dfac2ec9cd07f27f8fce2d.jpg","text":"TemporaryFile(/tmp/multipartBody2265558247067093155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152553678,"filename":"image_02052025_00_25_25_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212297","file1":"1355212295","file0":"1355212292","file4":"1355212300","file5":"1355212301","file3":"1355212299"},"map_files_photo_id_array":[{"photo_id":"1355212301","filename":"file5"},{"photo_id":"1355212297","filename":"file2"},{"photo_id":"1355212300","filename":"file4"},{"photo_id":"1355212295","filename":"file1"},{"photo_id":"1355212292","filename":"file0"},{"photo_id":"1355212299","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212297":["hashtag1","hashtag2"]},{"1355212301":["hashtag1","hashtag2"]},{"1355212300":["hashtag1","hashtag2"]},{"1355212299":["hashtag1","hashtag2"]},{"1355212292":["hashtag1","hashtag2"]},{"1355212295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212297, 1355212301, 1355212300, 1355212299, 1355212292, 1355212295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.265796899795532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:22:32.388883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/26/image_02052025_00_26_15_9408.jpg', '/home/pi/Desktop/images/02052025/00/26/image_02052025_00_26_34_9387.jpg', '/home/pi/Desktop/images/02052025/00/26/image_02052025_00_26_45_10365.jpg', '/home/pi/Desktop/images/02052025/00/26/image_02052025_00_26_55_10354.jpg', '/home/pi/Desktop/images/02052025/00/26/image_02052025_00_27_04_9469.jpg', '/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/26/image_02052025_00_26_15_9408.jpg
/home/pi/Desktop/images/02052025/00/26/image_02052025_00_26_34_9387.jpg
/home/pi/Desktop/images/02052025/00/26/image_02052025_00_26_45_10365.jpg
/home/pi/Desktop/images/02052025/00/26/image_02052025_00_26_55_10354.jpg
/home/pi/Desktop/images/02052025/00/26/image_02052025_00_27_04_9469.jpg
/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_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":["1355212316","1355212318","1355212311","1355212314","1355212317","1355212319"],"photo_ids_order":["1355212311","1355212314","1355212316","1355212317","1355212318","1355212319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a80bdfd68b332409e2882f78b55b89d9.jpg","text":"TemporaryFile(/tmp/multipartBody5777007112390153694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152612866,"filename":"image_02052025_00_26_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/5/2/76f079961f049fd1a3d0cee72ffe5f2c.jpg","text":"TemporaryFile(/tmp/multipartBody94839678340190874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152612866,"filename":"image_02052025_00_27_04_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b5142e81f5fc1b2c9c601add9ee11830.jpg","text":"TemporaryFile(/tmp/multipartBody4520359120285204733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152612866,"filename":"image_02052025_00_26_15_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1753f1ab97a7006dfe473b97b348733f.jpg","text":"TemporaryFile(/tmp/multipartBody3122017523066740001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152612866,"filename":"image_02052025_00_26_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/5/2/0c8ecbcca545d58eb6073b551b1ff905.jpg","text":"TemporaryFile(/tmp/multipartBody8932228232562184517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152612866,"filename":"image_02052025_00_26_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/5/2/c302081ab43a104a93798e38473b46b8.jpg","text":"TemporaryFile(/tmp/multipartBody4644225323217984475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152612866,"filename":"image_02052025_00_27_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212316","file1":"1355212314","file0":"1355212311","file4":"1355212318","file5":"1355212319","file3":"1355212317"},"map_files_photo_id_array":[{"photo_id":"1355212319","filename":"file5"},{"photo_id":"1355212316","filename":"file2"},{"photo_id":"1355212318","filename":"file4"},{"photo_id":"1355212314","filename":"file1"},{"photo_id":"1355212311","filename":"file0"},{"photo_id":"1355212317","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212316":["hashtag1","hashtag2"]},{"1355212318":["hashtag1","hashtag2"]},{"1355212311":["hashtag1","hashtag2"]},{"1355212314":["hashtag1","hashtag2"]},{"1355212317":["hashtag1","hashtag2"]},{"1355212319":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212316, 1355212318, 1355212311, 1355212314, 1355212317, 1355212319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.8279972076416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:23:32.584603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_25_10411.jpg', '/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_35_9367.jpg', '/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_45_10356.jpg', '/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_54_9358.jpg', '/home/pi/Desktop/images/02052025/00/27/image_02052025_00_28_05_10364.jpg', '/home/pi/Desktop/images/02052025/00/28/image_02052025_00_28_15_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_25_10411.jpg
/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_35_9367.jpg
/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_45_10356.jpg
/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_54_9358.jpg
/home/pi/Desktop/images/02052025/00/27/image_02052025_00_28_05_10364.jpg
/home/pi/Desktop/images/02052025/00/28/image_02052025_00_28_15_10359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4004957675933838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 04:23:42.668743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_25_10411.jpg', '/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_35_9367.jpg', '/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_45_10356.jpg', '/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_54_9358.jpg', '/home/pi/Desktop/images/02052025/00/27/image_02052025_00_28_05_10364.jpg', '/home/pi/Desktop/images/02052025/00/28/image_02052025_00_28_15_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_25_10411.jpg
/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_35_9367.jpg
/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_45_10356.jpg
/home/pi/Desktop/images/02052025/00/27/image_02052025_00_27_54_9358.jpg
/home/pi/Desktop/images/02052025/00/27/image_02052025_00_28_05_10364.jpg
/home/pi/Desktop/images/02052025/00/28/image_02052025_00_28_15_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":["1355212342","1355212345","1355212344","1355212338","1355212340","1355212346"],"photo_ids_order":["1355212338","1355212340","1355212342","1355212344","1355212345","1355212346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1aa3b5fd52295ccf596bf73468351e7e.jpg","text":"TemporaryFile(/tmp/multipartBody2614887709818371517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152683161,"filename":"image_02052025_00_27_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/947d49f448b39849b5207e073a35fabe.jpg","text":"TemporaryFile(/tmp/multipartBody8563095345315035597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152683161,"filename":"image_02052025_00_28_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/5/2/22dc614d17265155cc12e045b26a792c.jpg","text":"TemporaryFile(/tmp/multipartBody4072494830254311576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152683161,"filename":"image_02052025_00_27_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6c676c3ba16df4d199764dbc15eab85b.jpg","text":"TemporaryFile(/tmp/multipartBody7488835175933212042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152683161,"filename":"image_02052025_00_27_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/5/2/f60bec5f79dda9981462c8e014806b3e.jpg","text":"TemporaryFile(/tmp/multipartBody7688883752906745873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152683161,"filename":"image_02052025_00_27_35_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0a6232d5fcda196663aaed00aae7194.jpg","text":"TemporaryFile(/tmp/multipartBody8195893009798667728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152683161,"filename":"image_02052025_00_28_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212342","file1":"1355212340","file0":"1355212338","file4":"1355212345","file5":"1355212346","file3":"1355212344"},"map_files_photo_id_array":[{"photo_id":"1355212346","filename":"file5"},{"photo_id":"1355212342","filename":"file2"},{"photo_id":"1355212345","filename":"file4"},{"photo_id":"1355212340","filename":"file1"},{"photo_id":"1355212338","filename":"file0"},{"photo_id":"1355212344","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212342":["hashtag1","hashtag2"]},{"1355212345":["hashtag1","hashtag2"]},{"1355212344":["hashtag1","hashtag2"]},{"1355212338":["hashtag1","hashtag2"]},{"1355212340":["hashtag1","hashtag2"]},{"1355212346":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212342, 1355212345, 1355212344, 1355212338, 1355212340, 1355212346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.353724002838135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:24:32.722301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/28/image_02052025_00_28_24_9377.jpg', '/home/pi/Desktop/images/02052025/00/28/image_02052025_00_28_45_10350.jpg', '/home/pi/Desktop/images/02052025/00/28/image_02052025_00_28_55_9447.jpg', '/home/pi/Desktop/images/02052025/00/28/image_02052025_00_29_05_10420.jpg', '/home/pi/Desktop/images/02052025/00/29/image_02052025_00_29_14_9357.jpg', '/home/pi/Desktop/images/02052025/00/29/image_02052025_00_29_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/28/image_02052025_00_28_24_9377.jpg
/home/pi/Desktop/images/02052025/00/28/image_02052025_00_28_45_10350.jpg
/home/pi/Desktop/images/02052025/00/28/image_02052025_00_28_55_9447.jpg
/home/pi/Desktop/images/02052025/00/28/image_02052025_00_29_05_10420.jpg
/home/pi/Desktop/images/02052025/00/29/image_02052025_00_29_14_9357.jpg
/home/pi/Desktop/images/02052025/00/29/image_02052025_00_29_25_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212366","1355212360","1355212362","1355212368","1355212367","1355212364"],"photo_ids_order":["1355212360","1355212362","1355212364","1355212366","1355212367","1355212368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5c8442a246062821699d63e8262c36af.jpg","text":"TemporaryFile(/tmp/multipartBody8016774607697560274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152733207,"filename":"image_02052025_00_29_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/5/2/af63424efe063c71f4ced1982dd22703.jpg","text":"TemporaryFile(/tmp/multipartBody5698554955652118041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152733207,"filename":"image_02052025_00_28_24_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5c49bc67e830d54127d4facd7b63e023.jpg","text":"TemporaryFile(/tmp/multipartBody6761616709322375979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152733207,"filename":"image_02052025_00_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/5/2/0c3c630a3cacdaafb77454928a5ab756.jpg","text":"TemporaryFile(/tmp/multipartBody5611869522900828571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152733207,"filename":"image_02052025_00_29_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2fbb8da59be844b5910892a4b42fb977.jpg","text":"TemporaryFile(/tmp/multipartBody2321460511532315640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152733207,"filename":"image_02052025_00_29_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b6a132f32a739ad9d808c0ec4e86a27.jpg","text":"TemporaryFile(/tmp/multipartBody8243921401608574795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152733207,"filename":"image_02052025_00_28_55_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212364","file1":"1355212362","file0":"1355212360","file4":"1355212367","file5":"1355212368","file3":"1355212366"},"map_files_photo_id_array":[{"photo_id":"1355212368","filename":"file5"},{"photo_id":"1355212364","filename":"file2"},{"photo_id":"1355212367","filename":"file4"},{"photo_id":"1355212362","filename":"file1"},{"photo_id":"1355212360","filename":"file0"},{"photo_id":"1355212366","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212366":["hashtag1","hashtag2"]},{"1355212360":["hashtag1","hashtag2"]},{"1355212362":["hashtag1","hashtag2"]},{"1355212368":["hashtag1","hashtag2"]},{"1355212367":["hashtag1","hashtag2"]},{"1355212364":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212366, 1355212360, 1355212362, 1355212368, 1355212367, 1355212364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51289343833923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:25:32.474887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/29/image_02052025_00_29_35_10360.jpg', '/home/pi/Desktop/images/02052025/00/29/image_02052025_00_29_44_9413.jpg', '/home/pi/Desktop/images/02052025/00/29/image_02052025_00_29_55_10368.jpg', '/home/pi/Desktop/images/02052025/00/29/image_02052025_00_30_05_10412.jpg', '/home/pi/Desktop/images/02052025/00/30/image_02052025_00_30_15_9364.jpg', '/home/pi/Desktop/images/02052025/00/30/image_02052025_00_30_25_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/29/image_02052025_00_29_35_10360.jpg
/home/pi/Desktop/images/02052025/00/29/image_02052025_00_29_44_9413.jpg
/home/pi/Desktop/images/02052025/00/29/image_02052025_00_29_55_10368.jpg
/home/pi/Desktop/images/02052025/00/29/image_02052025_00_30_05_10412.jpg
/home/pi/Desktop/images/02052025/00/30/image_02052025_00_30_15_9364.jpg
/home/pi/Desktop/images/02052025/00/30/image_02052025_00_30_25_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":["1355212384","1355212387","1355212381","1355212383","1355212386","1355212388"],"photo_ids_order":["1355212381","1355212383","1355212384","1355212386","1355212387","1355212388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85a22f70b7582979b7ff6db2de6d436a.jpg","text":"TemporaryFile(/tmp/multipartBody7662704649696288417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152792941,"filename":"image_02052025_00_29_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/5/2/14654cdc29bb89016ce0ffd7e3ba630e.jpg","text":"TemporaryFile(/tmp/multipartBody4317965508796994451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152792941,"filename":"image_02052025_00_30_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/5/2/1ac65b4e79124a3de79985449022af44.jpg","text":"TemporaryFile(/tmp/multipartBody849831378910282570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152792941,"filename":"image_02052025_00_29_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/5/2/d5957a11957546033946209601618811.jpg","text":"TemporaryFile(/tmp/multipartBody7898195822724474509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152792941,"filename":"image_02052025_00_29_44_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d86f99d075c88d1cec17a4b5ae6f494.jpg","text":"TemporaryFile(/tmp/multipartBody2447342287815158864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152792941,"filename":"image_02052025_00_30_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/5/2/1d52b3f78729a4f98fcfabd207495cd3.jpg","text":"TemporaryFile(/tmp/multipartBody8122930251762903118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152792941,"filename":"image_02052025_00_30_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212384","file1":"1355212383","file0":"1355212381","file4":"1355212387","file5":"1355212388","file3":"1355212386"},"map_files_photo_id_array":[{"photo_id":"1355212388","filename":"file5"},{"photo_id":"1355212384","filename":"file2"},{"photo_id":"1355212387","filename":"file4"},{"photo_id":"1355212383","filename":"file1"},{"photo_id":"1355212381","filename":"file0"},{"photo_id":"1355212386","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212384":["hashtag1","hashtag2"]},{"1355212387":["hashtag1","hashtag2"]},{"1355212381":["hashtag1","hashtag2"]},{"1355212383":["hashtag1","hashtag2"]},{"1355212386":["hashtag1","hashtag2"]},{"1355212388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212384, 1355212387, 1355212381, 1355212383, 1355212386, 1355212388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77489495277405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:26:32.677996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/30/image_02052025_00_30_34_9467.jpg', '/home/pi/Desktop/images/02052025/00/30/image_02052025_00_30_45_10397.jpg', '/home/pi/Desktop/images/02052025/00/30/image_02052025_00_30_55_9728.jpg', '/home/pi/Desktop/images/02052025/00/30/image_02052025_00_31_05_10365.jpg', '/home/pi/Desktop/images/02052025/00/31/image_02052025_00_31_14_9349.jpg', '/home/pi/Desktop/images/02052025/00/31/image_02052025_00_31_25_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/30/image_02052025_00_30_34_9467.jpg
/home/pi/Desktop/images/02052025/00/30/image_02052025_00_30_45_10397.jpg
/home/pi/Desktop/images/02052025/00/30/image_02052025_00_30_55_9728.jpg
/home/pi/Desktop/images/02052025/00/30/image_02052025_00_31_05_10365.jpg
/home/pi/Desktop/images/02052025/00/31/image_02052025_00_31_14_9349.jpg
/home/pi/Desktop/images/02052025/00/31/image_02052025_00_31_25_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212412","1355212414","1355212402","1355212405","1355212410","1355212416"],"photo_ids_order":["1355212402","1355212405","1355212410","1355212412","1355212414","1355212416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05e57f5a322ab51e706691689c277154.jpg","text":"TemporaryFile(/tmp/multipartBody7690188281749338613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152853149,"filename":"image_02052025_00_31_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/5/2/7202661878adb34f7ceb8e3311eef1f5.jpg","text":"TemporaryFile(/tmp/multipartBody3050913169345957503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152853149,"filename":"image_02052025_00_31_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/03db3ec026cfff7e3b275dbfdc9018fb.jpg","text":"TemporaryFile(/tmp/multipartBody1641607638326502679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152853149,"filename":"image_02052025_00_30_34_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8398d603fa6edbf18d87f6c1287ee280.jpg","text":"TemporaryFile(/tmp/multipartBody5858263197200455702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152853149,"filename":"image_02052025_00_30_45_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/254dc22f0a8a2c7da8eaf60c95f3f440.jpg","text":"TemporaryFile(/tmp/multipartBody439641593281915757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152853149,"filename":"image_02052025_00_30_55_9728.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d0cab50c7924087b02de7c1c01be36f.jpg","text":"TemporaryFile(/tmp/multipartBody915514515671516537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152853149,"filename":"image_02052025_00_31_25_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212410","file1":"1355212405","file0":"1355212402","file4":"1355212414","file5":"1355212416","file3":"1355212412"},"map_files_photo_id_array":[{"photo_id":"1355212416","filename":"file5"},{"photo_id":"1355212410","filename":"file2"},{"photo_id":"1355212414","filename":"file4"},{"photo_id":"1355212405","filename":"file1"},{"photo_id":"1355212402","filename":"file0"},{"photo_id":"1355212412","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212412":["hashtag1","hashtag2"]},{"1355212414":["hashtag1","hashtag2"]},{"1355212402":["hashtag1","hashtag2"]},{"1355212405":["hashtag1","hashtag2"]},{"1355212410":["hashtag1","hashtag2"]},{"1355212416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212412, 1355212414, 1355212402, 1355212405, 1355212410, 1355212416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.23479413986206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:27:33.044537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/31/image_02052025_00_31_35_10347.jpg', '/home/pi/Desktop/images/02052025/00/31/image_02052025_00_31_44_9432.jpg', '/home/pi/Desktop/images/02052025/00/31/image_02052025_00_31_55_10365.jpg', '/home/pi/Desktop/images/02052025/00/31/image_02052025_00_32_05_10416.jpg', '/home/pi/Desktop/images/02052025/00/32/image_02052025_00_32_15_9345.jpg', '/home/pi/Desktop/images/02052025/00/32/image_02052025_00_32_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/31/image_02052025_00_31_35_10347.jpg
/home/pi/Desktop/images/02052025/00/31/image_02052025_00_31_44_9432.jpg
/home/pi/Desktop/images/02052025/00/31/image_02052025_00_31_55_10365.jpg
/home/pi/Desktop/images/02052025/00/31/image_02052025_00_32_05_10416.jpg
/home/pi/Desktop/images/02052025/00/32/image_02052025_00_32_15_9345.jpg
/home/pi/Desktop/images/02052025/00/32/image_02052025_00_32_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212433","1355212427","1355212432","1355212429","1355212431","1355212434"],"photo_ids_order":["1355212427","1355212429","1355212431","1355212432","1355212433","1355212434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aabbc7bf22aacdf69b0410408a3d4b26.jpg","text":"TemporaryFile(/tmp/multipartBody6336393839415908048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152913513,"filename":"image_02052025_00_32_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/5/2/565eb8609845fbe4e5e71bfc296a9621.jpg","text":"TemporaryFile(/tmp/multipartBody605523263682577673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152913513,"filename":"image_02052025_00_31_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/5/2/45c45cc911a23dd3f946376046584856.jpg","text":"TemporaryFile(/tmp/multipartBody6983240968330861925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152913513,"filename":"image_02052025_00_32_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/5/2/b30aae120b7b54448c4e706a4440d033.jpg","text":"TemporaryFile(/tmp/multipartBody5369061800808521526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152913513,"filename":"image_02052025_00_31_44_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30bdba6f5d33ef6d3c56617bfa653062.jpg","text":"TemporaryFile(/tmp/multipartBody2521036163709133590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152913513,"filename":"image_02052025_00_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/5/2/de51ac143a71ca1c5fd40039f7e81416.jpg","text":"TemporaryFile(/tmp/multipartBody1105750784916238456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152913513,"filename":"image_02052025_00_32_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212431","file1":"1355212429","file0":"1355212427","file4":"1355212433","file5":"1355212434","file3":"1355212432"},"map_files_photo_id_array":[{"photo_id":"1355212434","filename":"file5"},{"photo_id":"1355212431","filename":"file2"},{"photo_id":"1355212433","filename":"file4"},{"photo_id":"1355212429","filename":"file1"},{"photo_id":"1355212427","filename":"file0"},{"photo_id":"1355212432","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212433":["hashtag1","hashtag2"]},{"1355212427":["hashtag1","hashtag2"]},{"1355212432":["hashtag1","hashtag2"]},{"1355212429":["hashtag1","hashtag2"]},{"1355212431":["hashtag1","hashtag2"]},{"1355212434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212433, 1355212427, 1355212432, 1355212429, 1355212431, 1355212434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.149781465530396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:28:32.278272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/32/image_02052025_00_32_34_9456.jpg', '/home/pi/Desktop/images/02052025/00/32/image_02052025_00_32_45_10335.jpg', '/home/pi/Desktop/images/02052025/00/32/image_02052025_00_32_55_10353.jpg', '/home/pi/Desktop/images/02052025/00/32/image_02052025_00_33_04_9348.jpg', '/home/pi/Desktop/images/02052025/00/33/image_02052025_00_33_15_10367.jpg', '/home/pi/Desktop/images/02052025/00/33/image_02052025_00_33_25_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/32/image_02052025_00_32_34_9456.jpg
/home/pi/Desktop/images/02052025/00/32/image_02052025_00_32_45_10335.jpg
/home/pi/Desktop/images/02052025/00/32/image_02052025_00_32_55_10353.jpg
/home/pi/Desktop/images/02052025/00/32/image_02052025_00_33_04_9348.jpg
/home/pi/Desktop/images/02052025/00/33/image_02052025_00_33_15_10367.jpg
/home/pi/Desktop/images/02052025/00/33/image_02052025_00_33_25_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":["1355212450","1355212453","1355212455","1355212452","1355212454","1355212448"],"photo_ids_order":["1355212448","1355212450","1355212452","1355212453","1355212454","1355212455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae87b731fe6fd47778103def4ab68d73.jpg","text":"TemporaryFile(/tmp/multipartBody6720891063037922455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152972764,"filename":"image_02052025_00_32_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0107e6ca4dd2665f3935c6ac18a5598e.jpg","text":"TemporaryFile(/tmp/multipartBody7979521674203209253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152972764,"filename":"image_02052025_00_33_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/5/2/b4cebdd46e4440ac770d2ab337d94b51.jpg","text":"TemporaryFile(/tmp/multipartBody3713803215943761255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152972764,"filename":"image_02052025_00_33_25_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf2c9f7d77eca9a3582dae0403ec2aee.jpg","text":"TemporaryFile(/tmp/multipartBody5188460035055707561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152972764,"filename":"image_02052025_00_32_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/5/2/776eb0e21b3e46cab7999fd400855b67.jpg","text":"TemporaryFile(/tmp/multipartBody4191100197302883597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152972764,"filename":"image_02052025_00_33_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/19218f23885398a6b5e1ca762107d5d2.jpg","text":"TemporaryFile(/tmp/multipartBody5488822223598348830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746152972764,"filename":"image_02052025_00_32_34_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212452","file1":"1355212450","file0":"1355212448","file4":"1355212454","file5":"1355212455","file3":"1355212453"},"map_files_photo_id_array":[{"photo_id":"1355212455","filename":"file5"},{"photo_id":"1355212452","filename":"file2"},{"photo_id":"1355212454","filename":"file4"},{"photo_id":"1355212450","filename":"file1"},{"photo_id":"1355212448","filename":"file0"},{"photo_id":"1355212453","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212450":["hashtag1","hashtag2"]},{"1355212453":["hashtag1","hashtag2"]},{"1355212455":["hashtag1","hashtag2"]},{"1355212452":["hashtag1","hashtag2"]},{"1355212454":["hashtag1","hashtag2"]},{"1355212448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212450, 1355212453, 1355212455, 1355212452, 1355212454, 1355212448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26418209075928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:29:32.688612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/33/image_02052025_00_33_35_9424.jpg', '/home/pi/Desktop/images/02052025/00/33/image_02052025_00_33_45_10425.jpg', '/home/pi/Desktop/images/02052025/00/33/image_02052025_00_33_55_9389.jpg', '/home/pi/Desktop/images/02052025/00/33/image_02052025_00_34_05_10359.jpg', '/home/pi/Desktop/images/02052025/00/34/image_02052025_00_34_15_10411.jpg', '/home/pi/Desktop/images/02052025/00/34/image_02052025_00_34_25_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/33/image_02052025_00_33_35_9424.jpg
/home/pi/Desktop/images/02052025/00/33/image_02052025_00_33_45_10425.jpg
/home/pi/Desktop/images/02052025/00/33/image_02052025_00_33_55_9389.jpg
/home/pi/Desktop/images/02052025/00/33/image_02052025_00_34_05_10359.jpg
/home/pi/Desktop/images/02052025/00/34/image_02052025_00_34_15_10411.jpg
/home/pi/Desktop/images/02052025/00/34/image_02052025_00_34_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":["1355212477","1355212474","1355212482","1355212479","1355212470","1355212481"],"photo_ids_order":["1355212470","1355212474","1355212477","1355212479","1355212481","1355212482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/874b6458b2da4ab3ced488343ba75dd1.jpg","text":"TemporaryFile(/tmp/multipartBody4012297595740231471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153033253,"filename":"image_02052025_00_33_55_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/72ed887ff0fa5e86de533ddc5a8b027b.jpg","text":"TemporaryFile(/tmp/multipartBody9196060288575193833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153033253,"filename":"image_02052025_00_33_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/00d5e8781ecd5143dff322282fd55ffc.jpg","text":"TemporaryFile(/tmp/multipartBody583308126915531243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153033253,"filename":"image_02052025_00_34_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/5/2/2bc265480b4933fad4f0ecc2e7b5dd4f.jpg","text":"TemporaryFile(/tmp/multipartBody8298695272217964292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153033253,"filename":"image_02052025_00_34_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/5/2/c4b6cfb920eaded9f14409443ef2e8cb.jpg","text":"TemporaryFile(/tmp/multipartBody7690032636289066563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153033253,"filename":"image_02052025_00_33_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/5/2/0ef807f9b3150b523931bfd5510ad738.jpg","text":"TemporaryFile(/tmp/multipartBody3313229741494644092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153033253,"filename":"image_02052025_00_34_15_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212477","file1":"1355212474","file0":"1355212470","file4":"1355212481","file5":"1355212482","file3":"1355212479"},"map_files_photo_id_array":[{"photo_id":"1355212482","filename":"file5"},{"photo_id":"1355212477","filename":"file2"},{"photo_id":"1355212481","filename":"file4"},{"photo_id":"1355212474","filename":"file1"},{"photo_id":"1355212470","filename":"file0"},{"photo_id":"1355212479","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212477":["hashtag1","hashtag2"]},{"1355212474":["hashtag1","hashtag2"]},{"1355212482":["hashtag1","hashtag2"]},{"1355212479":["hashtag1","hashtag2"]},{"1355212470":["hashtag1","hashtag2"]},{"1355212481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212477, 1355212474, 1355212482, 1355212479, 1355212470, 1355212481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.843451261520386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:30:32.785509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/34/image_02052025_00_34_35_10493.jpg', '/home/pi/Desktop/images/02052025/00/34/image_02052025_00_34_45_9445.jpg', '/home/pi/Desktop/images/02052025/00/34/image_02052025_00_34_55_10346.jpg', '/home/pi/Desktop/images/02052025/00/34/image_02052025_00_35_04_9374.jpg', '/home/pi/Desktop/images/02052025/00/35/image_02052025_00_35_15_10378.jpg', '/home/pi/Desktop/images/02052025/00/35/image_02052025_00_35_25_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/34/image_02052025_00_34_35_10493.jpg
/home/pi/Desktop/images/02052025/00/34/image_02052025_00_34_45_9445.jpg
/home/pi/Desktop/images/02052025/00/34/image_02052025_00_34_55_10346.jpg
/home/pi/Desktop/images/02052025/00/34/image_02052025_00_35_04_9374.jpg
/home/pi/Desktop/images/02052025/00/35/image_02052025_00_35_15_10378.jpg
/home/pi/Desktop/images/02052025/00/35/image_02052025_00_35_25_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212492","1355212501","1355212499","1355212503","1355212496","1355212502"],"photo_ids_order":["1355212492","1355212496","1355212499","1355212501","1355212502","1355212503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b41c0d2ea82a6891ac09bb4e5ed07a6.jpg","text":"TemporaryFile(/tmp/multipartBody7586635581129365608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153093271,"filename":"image_02052025_00_34_35_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc5b51a30d704e521ffd2a3695796f81.jpg","text":"TemporaryFile(/tmp/multipartBody171058086307320397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153093271,"filename":"image_02052025_00_35_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/5/2/31e714e70984262338a854dab2d4c9c8.jpg","text":"TemporaryFile(/tmp/multipartBody6074447962852379566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153093271,"filename":"image_02052025_00_34_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/5/2/f766306214d78ea2eeb4765468241073.jpg","text":"TemporaryFile(/tmp/multipartBody8444040891239567366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153093271,"filename":"image_02052025_00_35_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/298fb1b150259808d89eb9d509b70fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7119619870987653461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153093271,"filename":"image_02052025_00_34_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/5/2/3d3a3efc238bbae740355dda3aa1f5dc.jpg","text":"TemporaryFile(/tmp/multipartBody2492248211957691641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153093271,"filename":"image_02052025_00_35_15_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212499","file1":"1355212496","file0":"1355212492","file4":"1355212502","file5":"1355212503","file3":"1355212501"},"map_files_photo_id_array":[{"photo_id":"1355212503","filename":"file5"},{"photo_id":"1355212499","filename":"file2"},{"photo_id":"1355212502","filename":"file4"},{"photo_id":"1355212496","filename":"file1"},{"photo_id":"1355212492","filename":"file0"},{"photo_id":"1355212501","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212492":["hashtag1","hashtag2"]},{"1355212501":["hashtag1","hashtag2"]},{"1355212499":["hashtag1","hashtag2"]},{"1355212503":["hashtag1","hashtag2"]},{"1355212496":["hashtag1","hashtag2"]},{"1355212502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212492, 1355212501, 1355212499, 1355212503, 1355212496, 1355212502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40703558921814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:31:32.969919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/35/image_02052025_00_35_34_9355.jpg', '/home/pi/Desktop/images/02052025/00/35/image_02052025_00_35_45_10355.jpg', '/home/pi/Desktop/images/02052025/00/35/image_02052025_00_35_55_10486.jpg', '/home/pi/Desktop/images/02052025/00/35/image_02052025_00_36_05_9342.jpg', '/home/pi/Desktop/images/02052025/00/36/image_02052025_00_36_15_10441.jpg', '/home/pi/Desktop/images/02052025/00/36/image_02052025_00_36_24_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/35/image_02052025_00_35_34_9355.jpg
/home/pi/Desktop/images/02052025/00/35/image_02052025_00_35_45_10355.jpg
/home/pi/Desktop/images/02052025/00/35/image_02052025_00_35_55_10486.jpg
/home/pi/Desktop/images/02052025/00/35/image_02052025_00_36_05_9342.jpg
/home/pi/Desktop/images/02052025/00/36/image_02052025_00_36_15_10441.jpg
/home/pi/Desktop/images/02052025/00/36/image_02052025_00_36_24_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":["1355212526","1355212525","1355212524","1355212518","1355212527","1355212521"],"photo_ids_order":["1355212518","1355212521","1355212524","1355212525","1355212526","1355212527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ace1cb4b40d6e0245f5fa521e25787c9.jpg","text":"TemporaryFile(/tmp/multipartBody798589158886928156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153153435,"filename":"image_02052025_00_36_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/5/2/bb3d56caeeece5d5a836e5f92965f472.jpg","text":"TemporaryFile(/tmp/multipartBody4350081419310707320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153153435,"filename":"image_02052025_00_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/5/2/c72c1453586dfd8226a8c61d76cef95c.jpg","text":"TemporaryFile(/tmp/multipartBody8414079266590372495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153153435,"filename":"image_02052025_00_35_55_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/31b0bcbed9ca0452055ceeb8e3744806.jpg","text":"TemporaryFile(/tmp/multipartBody5230480609066372021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153153435,"filename":"image_02052025_00_35_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/5/2/7ba2fd947538e55a9b720486d7d8e5cd.jpg","text":"TemporaryFile(/tmp/multipartBody3198894705591632169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153153435,"filename":"image_02052025_00_36_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/5/2/7c840ea388160f80a6f8f94870c423e1.jpg","text":"TemporaryFile(/tmp/multipartBody6214538056494233880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153153435,"filename":"image_02052025_00_35_45_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212524","file1":"1355212521","file0":"1355212518","file4":"1355212526","file5":"1355212527","file3":"1355212525"},"map_files_photo_id_array":[{"photo_id":"1355212527","filename":"file5"},{"photo_id":"1355212524","filename":"file2"},{"photo_id":"1355212526","filename":"file4"},{"photo_id":"1355212521","filename":"file1"},{"photo_id":"1355212518","filename":"file0"},{"photo_id":"1355212525","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212526":["hashtag1","hashtag2"]},{"1355212525":["hashtag1","hashtag2"]},{"1355212524":["hashtag1","hashtag2"]},{"1355212518":["hashtag1","hashtag2"]},{"1355212527":["hashtag1","hashtag2"]},{"1355212521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212526, 1355212525, 1355212524, 1355212518, 1355212527, 1355212521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4405152797699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:32:32.204979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/36/image_02052025_00_36_35_10367.jpg', '/home/pi/Desktop/images/02052025/00/36/image_02052025_00_36_45_10427.jpg', '/home/pi/Desktop/images/02052025/00/36/image_02052025_00_36_55_9355.jpg', '/home/pi/Desktop/images/02052025/00/36/image_02052025_00_37_05_10346.jpg', '/home/pi/Desktop/images/02052025/00/37/image_02052025_00_37_14_9374.jpg', '/home/pi/Desktop/images/02052025/00/37/image_02052025_00_37_25_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/36/image_02052025_00_36_35_10367.jpg
/home/pi/Desktop/images/02052025/00/36/image_02052025_00_36_45_10427.jpg
/home/pi/Desktop/images/02052025/00/36/image_02052025_00_36_55_9355.jpg
/home/pi/Desktop/images/02052025/00/36/image_02052025_00_37_05_10346.jpg
/home/pi/Desktop/images/02052025/00/37/image_02052025_00_37_14_9374.jpg
/home/pi/Desktop/images/02052025/00/37/image_02052025_00_37_25_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212543","1355212546","1355212555","1355212549","1355212551","1355212553"],"photo_ids_order":["1355212543","1355212546","1355212549","1355212551","1355212553","1355212555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9197dffc68e86b0208d3b7cfcdfbf4d.jpg","text":"TemporaryFile(/tmp/multipartBody7200824767111353651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153212689,"filename":"image_02052025_00_36_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2cfa45f9bb1c49d4bd8608106d559e98.jpg","text":"TemporaryFile(/tmp/multipartBody8100775282399668731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153212689,"filename":"image_02052025_00_36_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/5/2/c8bbb4ef5b541f17ef3603d7db0f8654.jpg","text":"TemporaryFile(/tmp/multipartBody7123676776159666159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153212689,"filename":"image_02052025_00_37_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/5/2/0a54326cadfbfe3de874f98c3837c652.jpg","text":"TemporaryFile(/tmp/multipartBody543770131393106819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153212689,"filename":"image_02052025_00_36_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/5/2/6c3cbe205fba54ebc3ce4e97ec64c65a.jpg","text":"TemporaryFile(/tmp/multipartBody5070612078890265855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153212689,"filename":"image_02052025_00_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/5/2/d5a69e209d1d9fde70b6af6d1b71f3e4.jpg","text":"TemporaryFile(/tmp/multipartBody6795013687315835102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153212689,"filename":"image_02052025_00_37_14_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212549","file1":"1355212546","file0":"1355212543","file4":"1355212553","file5":"1355212555","file3":"1355212551"},"map_files_photo_id_array":[{"photo_id":"1355212555","filename":"file5"},{"photo_id":"1355212549","filename":"file2"},{"photo_id":"1355212553","filename":"file4"},{"photo_id":"1355212546","filename":"file1"},{"photo_id":"1355212543","filename":"file0"},{"photo_id":"1355212551","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212543":["hashtag1","hashtag2"]},{"1355212546":["hashtag1","hashtag2"]},{"1355212555":["hashtag1","hashtag2"]},{"1355212549":["hashtag1","hashtag2"]},{"1355212551":["hashtag1","hashtag2"]},{"1355212553":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212543, 1355212546, 1355212555, 1355212549, 1355212551, 1355212553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.196719884872437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:33:32.485931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/37/image_02052025_00_37_35_10486.jpg', '/home/pi/Desktop/images/02052025/00/37/image_02052025_00_37_45_9362.jpg', '/home/pi/Desktop/images/02052025/00/37/image_02052025_00_37_55_10378.jpg', '/home/pi/Desktop/images/02052025/00/37/image_02052025_00_38_04_9357.jpg', '/home/pi/Desktop/images/02052025/00/38/image_02052025_00_38_15_10388.jpg', '/home/pi/Desktop/images/02052025/00/38/image_02052025_00_38_25_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/37/image_02052025_00_37_35_10486.jpg
/home/pi/Desktop/images/02052025/00/37/image_02052025_00_37_45_9362.jpg
/home/pi/Desktop/images/02052025/00/37/image_02052025_00_37_55_10378.jpg
/home/pi/Desktop/images/02052025/00/37/image_02052025_00_38_04_9357.jpg
/home/pi/Desktop/images/02052025/00/38/image_02052025_00_38_15_10388.jpg
/home/pi/Desktop/images/02052025/00/38/image_02052025_00_38_25_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212576","1355212570","1355212573","1355212575","1355212566","1355212577"],"photo_ids_order":["1355212566","1355212570","1355212573","1355212575","1355212576","1355212577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e193cb5234a1b3594f13ccb26f12fc0.jpg","text":"TemporaryFile(/tmp/multipartBody4876098321690682366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153272961,"filename":"image_02052025_00_38_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d419b303622fda599edb65939c9726da.jpg","text":"TemporaryFile(/tmp/multipartBody6966671165575314728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153272961,"filename":"image_02052025_00_37_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/5/2/66c91efd2e055c88c9a90c8352f38eb6.jpg","text":"TemporaryFile(/tmp/multipartBody7822480540301269019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153272961,"filename":"image_02052025_00_37_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/48c775c78482f0d5a870abc5e7291b95.jpg","text":"TemporaryFile(/tmp/multipartBody7496279465683513459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153272961,"filename":"image_02052025_00_38_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/5/2/df0bd98c1631b570ab2210e66fa49f1e.jpg","text":"TemporaryFile(/tmp/multipartBody1272622048673411425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153272961,"filename":"image_02052025_00_37_35_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/557efc31cfe2ea9b7ba7e92fa0689be6.jpg","text":"TemporaryFile(/tmp/multipartBody5658602435795184948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153272961,"filename":"image_02052025_00_38_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212573","file1":"1355212570","file0":"1355212566","file4":"1355212576","file5":"1355212577","file3":"1355212575"},"map_files_photo_id_array":[{"photo_id":"1355212577","filename":"file5"},{"photo_id":"1355212573","filename":"file2"},{"photo_id":"1355212576","filename":"file4"},{"photo_id":"1355212570","filename":"file1"},{"photo_id":"1355212566","filename":"file0"},{"photo_id":"1355212575","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212576":["hashtag1","hashtag2"]},{"1355212570":["hashtag1","hashtag2"]},{"1355212573":["hashtag1","hashtag2"]},{"1355212575":["hashtag1","hashtag2"]},{"1355212566":["hashtag1","hashtag2"]},{"1355212577":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212576, 1355212570, 1355212573, 1355212575, 1355212566, 1355212577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.742834091186523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:34:32.606342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/38/image_02052025_00_38_35_9457.jpg', '/home/pi/Desktop/images/02052025/00/38/image_02052025_00_38_45_10358.jpg', '/home/pi/Desktop/images/02052025/00/38/image_02052025_00_38_54_9491.jpg', '/home/pi/Desktop/images/02052025/00/38/image_02052025_00_39_05_10360.jpg', '/home/pi/Desktop/images/02052025/00/39/image_02052025_00_39_15_10358.jpg', '/home/pi/Desktop/images/02052025/00/39/image_02052025_00_39_25_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/38/image_02052025_00_38_35_9457.jpg
/home/pi/Desktop/images/02052025/00/38/image_02052025_00_38_45_10358.jpg
/home/pi/Desktop/images/02052025/00/38/image_02052025_00_38_54_9491.jpg
/home/pi/Desktop/images/02052025/00/38/image_02052025_00_39_05_10360.jpg
/home/pi/Desktop/images/02052025/00/39/image_02052025_00_39_15_10358.jpg
/home/pi/Desktop/images/02052025/00/39/image_02052025_00_39_25_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":["1355212604","1355212591","1355212600","1355212596","1355212598","1355212602"],"photo_ids_order":["1355212591","1355212596","1355212598","1355212600","1355212602","1355212604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bfb99c893c5ec0b98b79adf22bf403ca.jpg","text":"TemporaryFile(/tmp/multipartBody1378179459779492783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153336291,"filename":"image_02052025_00_39_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/5/2/2f193492cfcb9be41fd27e913c8343fc.jpg","text":"TemporaryFile(/tmp/multipartBody6843334056733439705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153336291,"filename":"image_02052025_00_38_35_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/361bec403f2b29bfbc90b9f9eab117cb.jpg","text":"TemporaryFile(/tmp/multipartBody1874863618114305508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153336291,"filename":"image_02052025_00_39_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/5/2/31fbf6db52352f3ca852f80b43215702.jpg","text":"TemporaryFile(/tmp/multipartBody4255961740311095291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153336291,"filename":"image_02052025_00_38_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/5/2/498e8df5e9be42dec5772a14d6345126.jpg","text":"TemporaryFile(/tmp/multipartBody8746628807561670979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153336291,"filename":"image_02052025_00_38_54_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/498987e82f2cd10dd329a7ef53dc761d.jpg","text":"TemporaryFile(/tmp/multipartBody811960336998846614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153336291,"filename":"image_02052025_00_39_15_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212598","file1":"1355212596","file0":"1355212591","file4":"1355212602","file5":"1355212604","file3":"1355212600"},"map_files_photo_id_array":[{"photo_id":"1355212604","filename":"file5"},{"photo_id":"1355212598","filename":"file2"},{"photo_id":"1355212602","filename":"file4"},{"photo_id":"1355212596","filename":"file1"},{"photo_id":"1355212591","filename":"file0"},{"photo_id":"1355212600","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212604":["hashtag1","hashtag2"]},{"1355212591":["hashtag1","hashtag2"]},{"1355212600":["hashtag1","hashtag2"]},{"1355212596":["hashtag1","hashtag2"]},{"1355212598":["hashtag1","hashtag2"]},{"1355212602":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212604, 1355212591, 1355212600, 1355212596, 1355212598, 1355212602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.375248670578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:35:33.047106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/39/image_02052025_00_39_35_10368.jpg', '/home/pi/Desktop/images/02052025/00/39/image_02052025_00_39_44_9392.jpg', '/home/pi/Desktop/images/02052025/00/39/image_02052025_00_39_55_10491.jpg', '/home/pi/Desktop/images/02052025/00/39/image_02052025_00_40_05_10380.jpg', '/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_15_9423.jpg', '/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_25_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/39/image_02052025_00_39_35_10368.jpg
/home/pi/Desktop/images/02052025/00/39/image_02052025_00_39_44_9392.jpg
/home/pi/Desktop/images/02052025/00/39/image_02052025_00_39_55_10491.jpg
/home/pi/Desktop/images/02052025/00/39/image_02052025_00_40_05_10380.jpg
/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_15_9423.jpg
/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_25_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212624","1355212623","1355212617","1355212626","1355212620","1355212622"],"photo_ids_order":["1355212617","1355212620","1355212622","1355212623","1355212624","1355212626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e8534f021ca6b74474009bc79caa7f0.jpg","text":"TemporaryFile(/tmp/multipartBody9145620124239917415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153393520,"filename":"image_02052025_00_40_15_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7cb587ce3d96ddae4462d044b4b24c41.jpg","text":"TemporaryFile(/tmp/multipartBody1688853374762616210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153393520,"filename":"image_02052025_00_40_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/82eceeb1a96649f56f5ec7bc08ef4e06.jpg","text":"TemporaryFile(/tmp/multipartBody3223025475486909455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153393520,"filename":"image_02052025_00_39_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aad46209856467071571a37ec5fd8f95.jpg","text":"TemporaryFile(/tmp/multipartBody7258357989651287667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153393520,"filename":"image_02052025_00_40_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/5/2/89cf527db25e214d9c30ef8003eb5090.jpg","text":"TemporaryFile(/tmp/multipartBody3099681369023202230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153393520,"filename":"image_02052025_00_39_44_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f33f36604f0803aa8ae421ea1580f457.jpg","text":"TemporaryFile(/tmp/multipartBody2088744443940850415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153393520,"filename":"image_02052025_00_39_55_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212622","file1":"1355212620","file0":"1355212617","file4":"1355212624","file5":"1355212626","file3":"1355212623"},"map_files_photo_id_array":[{"photo_id":"1355212626","filename":"file5"},{"photo_id":"1355212622","filename":"file2"},{"photo_id":"1355212624","filename":"file4"},{"photo_id":"1355212620","filename":"file1"},{"photo_id":"1355212617","filename":"file0"},{"photo_id":"1355212623","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212624":["hashtag1","hashtag2"]},{"1355212623":["hashtag1","hashtag2"]},{"1355212617":["hashtag1","hashtag2"]},{"1355212626":["hashtag1","hashtag2"]},{"1355212620":["hashtag1","hashtag2"]},{"1355212622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212624, 1355212623, 1355212617, 1355212626, 1355212620, 1355212622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.732922554016113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:36:33.095964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_34_9377.jpg', '/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_45_10328.jpg', '/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_55_10361.jpg', '/home/pi/Desktop/images/02052025/00/40/image_02052025_00_41_05_9487.jpg', '/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_15_10347.jpg', '/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_25_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_34_9377.jpg
/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_45_10328.jpg
/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_55_10361.jpg
/home/pi/Desktop/images/02052025/00/40/image_02052025_00_41_05_9487.jpg
/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_15_10347.jpg
/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_25_10414.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3874659538269043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 04:36:43.152691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_34_9377.jpg', '/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_45_10328.jpg', '/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_55_10361.jpg', '/home/pi/Desktop/images/02052025/00/40/image_02052025_00_41_05_9487.jpg', '/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_15_10347.jpg', '/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_25_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_34_9377.jpg
/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_45_10328.jpg
/home/pi/Desktop/images/02052025/00/40/image_02052025_00_40_55_10361.jpg
/home/pi/Desktop/images/02052025/00/40/image_02052025_00_41_05_9487.jpg
/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_15_10347.jpg
/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_25_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212657","1355212651","1355212654","1355212656","1355212658","1355212649"],"photo_ids_order":["1355212649","1355212651","1355212654","1355212656","1355212657","1355212658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/843bc80aa363985bc307f1601cadf7c1.jpg","text":"TemporaryFile(/tmp/multipartBody2628352655653568172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153463621,"filename":"image_02052025_00_41_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/5/2/a65f7d6889a472c4e553fefe23b3c022.jpg","text":"TemporaryFile(/tmp/multipartBody1488475656818493350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153463621,"filename":"image_02052025_00_40_45_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/821306b12c2f54870cadb7b0106dd12d.jpg","text":"TemporaryFile(/tmp/multipartBody478721906077102590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153463621,"filename":"image_02052025_00_40_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8260ce1bd40e2cf17c9fb454b00b7c2e.jpg","text":"TemporaryFile(/tmp/multipartBody800114020325628856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153463621,"filename":"image_02052025_00_41_05_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d0654cb7f741ffc5be49abb986bfba36.jpg","text":"TemporaryFile(/tmp/multipartBody4995798997258408033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153463621,"filename":"image_02052025_00_41_25_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b4e26e2abcb73ecb2be9c0399d97e24.jpg","text":"TemporaryFile(/tmp/multipartBody1084309955167111991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153463621,"filename":"image_02052025_00_40_34_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212654","file1":"1355212651","file0":"1355212649","file4":"1355212657","file5":"1355212658","file3":"1355212656"},"map_files_photo_id_array":[{"photo_id":"1355212658","filename":"file5"},{"photo_id":"1355212654","filename":"file2"},{"photo_id":"1355212657","filename":"file4"},{"photo_id":"1355212651","filename":"file1"},{"photo_id":"1355212649","filename":"file0"},{"photo_id":"1355212656","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212657":["hashtag1","hashtag2"]},{"1355212651":["hashtag1","hashtag2"]},{"1355212654":["hashtag1","hashtag2"]},{"1355212656":["hashtag1","hashtag2"]},{"1355212658":["hashtag1","hashtag2"]},{"1355212649":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212657, 1355212651, 1355212654, 1355212656, 1355212658, 1355212649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51134467124939 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:37:32.277379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_35_9351.jpg', '/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_45_10356.jpg', '/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_54_9448.jpg', '/home/pi/Desktop/images/02052025/00/41/image_02052025_00_42_05_10354.jpg', '/home/pi/Desktop/images/02052025/00/42/image_02052025_00_42_15_10356.jpg', '/home/pi/Desktop/images/02052025/00/42/image_02052025_00_42_25_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_35_9351.jpg
/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_45_10356.jpg
/home/pi/Desktop/images/02052025/00/41/image_02052025_00_41_54_9448.jpg
/home/pi/Desktop/images/02052025/00/41/image_02052025_00_42_05_10354.jpg
/home/pi/Desktop/images/02052025/00/42/image_02052025_00_42_15_10356.jpg
/home/pi/Desktop/images/02052025/00/42/image_02052025_00_42_25_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212681","1355212675","1355212678","1355212680","1355212679","1355212673"],"photo_ids_order":["1355212673","1355212675","1355212678","1355212679","1355212680","1355212681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/38ccdddbe47e04c133e2ba68673f4c0f.jpg","text":"TemporaryFile(/tmp/multipartBody7268287151825325906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153512827,"filename":"image_02052025_00_42_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/5/2/7d74bb0bf1f8fed54c0a6746b8a04802.jpg","text":"TemporaryFile(/tmp/multipartBody8623939347713029470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153512827,"filename":"image_02052025_00_41_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/5/2/26ac9aa2ef1404aae92cea6d500c67a2.jpg","text":"TemporaryFile(/tmp/multipartBody1115807817717957613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153512827,"filename":"image_02052025_00_41_54_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4729fbe250516dd7bb948dec9c57073.jpg","text":"TemporaryFile(/tmp/multipartBody9079618329231894811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153512827,"filename":"image_02052025_00_42_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/5/2/1eb8ab0728224c047abda9bd924384ed.jpg","text":"TemporaryFile(/tmp/multipartBody2058247992303194875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153512827,"filename":"image_02052025_00_42_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/5/2/584a3a3499731170dda89e06fe15ee62.jpg","text":"TemporaryFile(/tmp/multipartBody5903316383184531216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153512827,"filename":"image_02052025_00_41_35_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212678","file1":"1355212675","file0":"1355212673","file4":"1355212680","file5":"1355212681","file3":"1355212679"},"map_files_photo_id_array":[{"photo_id":"1355212681","filename":"file5"},{"photo_id":"1355212678","filename":"file2"},{"photo_id":"1355212680","filename":"file4"},{"photo_id":"1355212675","filename":"file1"},{"photo_id":"1355212673","filename":"file0"},{"photo_id":"1355212679","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212681":["hashtag1","hashtag2"]},{"1355212675":["hashtag1","hashtag2"]},{"1355212678":["hashtag1","hashtag2"]},{"1355212680":["hashtag1","hashtag2"]},{"1355212679":["hashtag1","hashtag2"]},{"1355212673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212681, 1355212675, 1355212678, 1355212680, 1355212679, 1355212673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.969693660736084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:38:32.568242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/42/image_02052025_00_42_35_10358.jpg', '/home/pi/Desktop/images/02052025/00/42/image_02052025_00_42_44_9478.jpg', '/home/pi/Desktop/images/02052025/00/42/image_02052025_00_42_55_10448.jpg', '/home/pi/Desktop/images/02052025/00/42/image_02052025_00_43_05_10486.jpg', '/home/pi/Desktop/images/02052025/00/43/image_02052025_00_43_15_9345.jpg', '/home/pi/Desktop/images/02052025/00/43/image_02052025_00_43_25_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/42/image_02052025_00_42_35_10358.jpg
/home/pi/Desktop/images/02052025/00/42/image_02052025_00_42_44_9478.jpg
/home/pi/Desktop/images/02052025/00/42/image_02052025_00_42_55_10448.jpg
/home/pi/Desktop/images/02052025/00/42/image_02052025_00_43_05_10486.jpg
/home/pi/Desktop/images/02052025/00/43/image_02052025_00_43_15_9345.jpg
/home/pi/Desktop/images/02052025/00/43/image_02052025_00_43_25_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212693","1355212690","1355212698","1355212697","1355212701","1355212700"],"photo_ids_order":["1355212690","1355212693","1355212697","1355212698","1355212700","1355212701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9981fa8d30c6c7a20742a05dd60355e8.jpg","text":"TemporaryFile(/tmp/multipartBody2189394359480260297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153573127,"filename":"image_02052025_00_42_44_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eecd6bd8b23c012c9b8a00dcf510e7f3.jpg","text":"TemporaryFile(/tmp/multipartBody1350578876212807488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153573127,"filename":"image_02052025_00_42_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/993565c57ac4dccd9cad986fe1f43e1b.jpg","text":"TemporaryFile(/tmp/multipartBody1293769381829689871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153573127,"filename":"image_02052025_00_43_05_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e98d00e193240d8413cb4c738a6851b9.jpg","text":"TemporaryFile(/tmp/multipartBody8984792245892198202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153573127,"filename":"image_02052025_00_42_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/5/2/6b6642395c03cbee6290423332a4e18f.jpg","text":"TemporaryFile(/tmp/multipartBody6247029254959372872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153573127,"filename":"image_02052025_00_43_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/5/2/c8e6d81b15aefd3800f6b66ef44487f8.jpg","text":"TemporaryFile(/tmp/multipartBody5803873209025902353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153573127,"filename":"image_02052025_00_43_15_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212697","file1":"1355212693","file0":"1355212690","file4":"1355212700","file5":"1355212701","file3":"1355212698"},"map_files_photo_id_array":[{"photo_id":"1355212701","filename":"file5"},{"photo_id":"1355212697","filename":"file2"},{"photo_id":"1355212700","filename":"file4"},{"photo_id":"1355212693","filename":"file1"},{"photo_id":"1355212690","filename":"file0"},{"photo_id":"1355212698","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212693":["hashtag1","hashtag2"]},{"1355212690":["hashtag1","hashtag2"]},{"1355212698":["hashtag1","hashtag2"]},{"1355212697":["hashtag1","hashtag2"]},{"1355212701":["hashtag1","hashtag2"]},{"1355212700":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212693, 1355212690, 1355212698, 1355212697, 1355212701, 1355212700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.867151260375977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:39:32.708489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/43/image_02052025_00_43_34_9427.jpg', '/home/pi/Desktop/images/02052025/00/43/image_02052025_00_43_45_10351.jpg', '/home/pi/Desktop/images/02052025/00/43/image_02052025_00_43_55_10359.jpg', '/home/pi/Desktop/images/02052025/00/43/image_02052025_00_44_05_9426.jpg', '/home/pi/Desktop/images/02052025/00/44/image_02052025_00_44_15_10367.jpg', '/home/pi/Desktop/images/02052025/00/44/image_02052025_00_44_24_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/43/image_02052025_00_43_34_9427.jpg
/home/pi/Desktop/images/02052025/00/43/image_02052025_00_43_45_10351.jpg
/home/pi/Desktop/images/02052025/00/43/image_02052025_00_43_55_10359.jpg
/home/pi/Desktop/images/02052025/00/43/image_02052025_00_44_05_9426.jpg
/home/pi/Desktop/images/02052025/00/44/image_02052025_00_44_15_10367.jpg
/home/pi/Desktop/images/02052025/00/44/image_02052025_00_44_24_9396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212722","1355212716","1355212725","1355212719","1355212727","1355212712"],"photo_ids_order":["1355212712","1355212716","1355212719","1355212722","1355212725","1355212727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/61727ab157ad8e1db0e87768437e980b.jpg","text":"TemporaryFile(/tmp/multipartBody9058754588480932860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153633269,"filename":"image_02052025_00_44_05_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f3a519882eac0905efa183922e70327.jpg","text":"TemporaryFile(/tmp/multipartBody4938546127346623674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153633269,"filename":"image_02052025_00_43_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/5/2/8761d665213bd1fc2ff7bf9602c5e22d.jpg","text":"TemporaryFile(/tmp/multipartBody1761067739108330585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153633269,"filename":"image_02052025_00_44_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa15859ba2ba15707f86da24902e2d17.jpg","text":"TemporaryFile(/tmp/multipartBody2302009230348595439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153633269,"filename":"image_02052025_00_43_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/5/2/4ca0c413f043bf4b0bdc53a8ab884ca5.jpg","text":"TemporaryFile(/tmp/multipartBody7686540982020360492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153633269,"filename":"image_02052025_00_44_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/5/2/71651af884d5369d262d6859b5a7119a.jpg","text":"TemporaryFile(/tmp/multipartBody3205545194822302856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153633269,"filename":"image_02052025_00_43_34_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212719","file1":"1355212716","file0":"1355212712","file4":"1355212725","file5":"1355212727","file3":"1355212722"},"map_files_photo_id_array":[{"photo_id":"1355212727","filename":"file5"},{"photo_id":"1355212719","filename":"file2"},{"photo_id":"1355212725","filename":"file4"},{"photo_id":"1355212716","filename":"file1"},{"photo_id":"1355212712","filename":"file0"},{"photo_id":"1355212722","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212722":["hashtag1","hashtag2"]},{"1355212716":["hashtag1","hashtag2"]},{"1355212725":["hashtag1","hashtag2"]},{"1355212719":["hashtag1","hashtag2"]},{"1355212727":["hashtag1","hashtag2"]},{"1355212712":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212722, 1355212716, 1355212725, 1355212719, 1355212727, 1355212712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.739572286605835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:40:32.891437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/44/image_02052025_00_44_35_10372.jpg', '/home/pi/Desktop/images/02052025/00/44/image_02052025_00_44_45_10361.jpg', '/home/pi/Desktop/images/02052025/00/44/image_02052025_00_44_55_9475.jpg', '/home/pi/Desktop/images/02052025/00/44/image_02052025_00_45_05_10391.jpg', '/home/pi/Desktop/images/02052025/00/45/image_02052025_00_45_14_9402.jpg', '/home/pi/Desktop/images/02052025/00/45/image_02052025_00_45_25_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/44/image_02052025_00_44_35_10372.jpg
/home/pi/Desktop/images/02052025/00/44/image_02052025_00_44_45_10361.jpg
/home/pi/Desktop/images/02052025/00/44/image_02052025_00_44_55_9475.jpg
/home/pi/Desktop/images/02052025/00/44/image_02052025_00_45_05_10391.jpg
/home/pi/Desktop/images/02052025/00/45/image_02052025_00_45_14_9402.jpg
/home/pi/Desktop/images/02052025/00/45/image_02052025_00_45_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":["1355212741","1355212744","1355212753","1355212735","1355212751","1355212748"],"photo_ids_order":["1355212735","1355212741","1355212744","1355212748","1355212751","1355212753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aba67aa878ebba3459f40f7bf64ea6dd.jpg","text":"TemporaryFile(/tmp/multipartBody3666695094729399653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153693444,"filename":"image_02052025_00_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/5/2/51b600135c355789723959bb8a9d20a0.jpg","text":"TemporaryFile(/tmp/multipartBody7779070179720564688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153693444,"filename":"image_02052025_00_44_55_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c61d7c8c29f9c7fd06b66753977cdb80.jpg","text":"TemporaryFile(/tmp/multipartBody8073192798436736881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153693444,"filename":"image_02052025_00_45_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/5/2/3436c6936db63b89899fe96915ef40cc.jpg","text":"TemporaryFile(/tmp/multipartBody7208515047830532774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153693444,"filename":"image_02052025_00_44_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/5/2/dd1d0c0d4a0c4074cf593c52e9969e4a.jpg","text":"TemporaryFile(/tmp/multipartBody3010227542074581231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153693444,"filename":"image_02052025_00_45_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/5/2/d644c6b97779e9fa71e8424da5d7e821.jpg","text":"TemporaryFile(/tmp/multipartBody2991874868273715748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153693444,"filename":"image_02052025_00_45_05_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212744","file1":"1355212741","file0":"1355212735","file4":"1355212751","file5":"1355212753","file3":"1355212748"},"map_files_photo_id_array":[{"photo_id":"1355212753","filename":"file5"},{"photo_id":"1355212744","filename":"file2"},{"photo_id":"1355212751","filename":"file4"},{"photo_id":"1355212741","filename":"file1"},{"photo_id":"1355212735","filename":"file0"},{"photo_id":"1355212748","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212741":["hashtag1","hashtag2"]},{"1355212744":["hashtag1","hashtag2"]},{"1355212753":["hashtag1","hashtag2"]},{"1355212735":["hashtag1","hashtag2"]},{"1355212751":["hashtag1","hashtag2"]},{"1355212748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212741, 1355212744, 1355212753, 1355212735, 1355212751, 1355212748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04487085342407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:41:33.132132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/45/image_02052025_00_45_35_10423.jpg', '/home/pi/Desktop/images/02052025/00/45/image_02052025_00_45_45_9424.jpg', '/home/pi/Desktop/images/02052025/00/45/image_02052025_00_45_55_10362.jpg', '/home/pi/Desktop/images/02052025/00/45/image_02052025_00_46_04_9410.jpg', '/home/pi/Desktop/images/02052025/00/46/image_02052025_00_46_15_10369.jpg', '/home/pi/Desktop/images/02052025/00/46/image_02052025_00_46_25_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/45/image_02052025_00_45_35_10423.jpg
/home/pi/Desktop/images/02052025/00/45/image_02052025_00_45_45_9424.jpg
/home/pi/Desktop/images/02052025/00/45/image_02052025_00_45_55_10362.jpg
/home/pi/Desktop/images/02052025/00/45/image_02052025_00_46_04_9410.jpg
/home/pi/Desktop/images/02052025/00/46/image_02052025_00_46_15_10369.jpg
/home/pi/Desktop/images/02052025/00/46/image_02052025_00_46_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":["1355212780","1355212777","1355212779","1355212773","1355212781","1355212775"],"photo_ids_order":["1355212773","1355212775","1355212777","1355212779","1355212780","1355212781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/430fd3390b4c30d852a83393bb1b2b66.jpg","text":"TemporaryFile(/tmp/multipartBody2245345621018278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153753682,"filename":"image_02052025_00_46_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cccea94c72eeeb8cdaf9a595a76e55dd.jpg","text":"TemporaryFile(/tmp/multipartBody1801953590399429018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153753682,"filename":"image_02052025_00_45_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/5/2/e719e28f129d9cd6e246749984250d04.jpg","text":"TemporaryFile(/tmp/multipartBody1193513432019269392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153753682,"filename":"image_02052025_00_46_04_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f6c0cadf0abb0073369e07699a997b0.jpg","text":"TemporaryFile(/tmp/multipartBody8897257149329129625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153753682,"filename":"image_02052025_00_45_35_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/44b698b64b862d7475ef7a102bfe77eb.jpg","text":"TemporaryFile(/tmp/multipartBody4448512174082459431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153753682,"filename":"image_02052025_00_46_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/5/2/f647c6db87c53ac773f8b529e21b772c.jpg","text":"TemporaryFile(/tmp/multipartBody9005609343356890772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153753682,"filename":"image_02052025_00_45_45_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212777","file1":"1355212775","file0":"1355212773","file4":"1355212780","file5":"1355212781","file3":"1355212779"},"map_files_photo_id_array":[{"photo_id":"1355212781","filename":"file5"},{"photo_id":"1355212777","filename":"file2"},{"photo_id":"1355212780","filename":"file4"},{"photo_id":"1355212775","filename":"file1"},{"photo_id":"1355212773","filename":"file0"},{"photo_id":"1355212779","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212780":["hashtag1","hashtag2"]},{"1355212777":["hashtag1","hashtag2"]},{"1355212779":["hashtag1","hashtag2"]},{"1355212773":["hashtag1","hashtag2"]},{"1355212781":["hashtag1","hashtag2"]},{"1355212775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212780, 1355212777, 1355212779, 1355212773, 1355212781, 1355212775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.11356258392334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:42:32.497081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/46/image_02052025_00_46_35_9441.jpg', '/home/pi/Desktop/images/02052025/00/46/image_02052025_00_46_45_10376.jpg', '/home/pi/Desktop/images/02052025/00/46/image_02052025_00_46_54_9416.jpg', '/home/pi/Desktop/images/02052025/00/46/image_02052025_00_47_05_10412.jpg', '/home/pi/Desktop/images/02052025/00/47/image_02052025_00_47_15_10342.jpg', '/home/pi/Desktop/images/02052025/00/47/image_02052025_00_47_24_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/46/image_02052025_00_46_35_9441.jpg
/home/pi/Desktop/images/02052025/00/46/image_02052025_00_46_45_10376.jpg
/home/pi/Desktop/images/02052025/00/46/image_02052025_00_46_54_9416.jpg
/home/pi/Desktop/images/02052025/00/46/image_02052025_00_47_05_10412.jpg
/home/pi/Desktop/images/02052025/00/47/image_02052025_00_47_15_10342.jpg
/home/pi/Desktop/images/02052025/00/47/image_02052025_00_47_24_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":["1355212791","1355212785","1355212794","1355212793","1355212790","1355212787"],"photo_ids_order":["1355212785","1355212787","1355212790","1355212791","1355212793","1355212794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b6db6e0d4fd65fadc6b82ff8cbf7433.jpg","text":"TemporaryFile(/tmp/multipartBody2576796200125993090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153813053,"filename":"image_02052025_00_47_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/5/2/58fd1833407e4092c88ea46cc18fa998.jpg","text":"TemporaryFile(/tmp/multipartBody5382394478168651180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153813053,"filename":"image_02052025_00_46_35_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d94afff753f67079f6aabd0c52c74662.jpg","text":"TemporaryFile(/tmp/multipartBody6936865779183307001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153813053,"filename":"image_02052025_00_47_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/5/2/a35cf56458461fd2813631f1d65fbaf4.jpg","text":"TemporaryFile(/tmp/multipartBody6421994618144955310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153813053,"filename":"image_02052025_00_47_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/5/2/70396b9fc7ab19354d7fe741c826fecd.jpg","text":"TemporaryFile(/tmp/multipartBody4431579799910719199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153813053,"filename":"image_02052025_00_46_54_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e28921e65b16e9d021111195789e5bf.jpg","text":"TemporaryFile(/tmp/multipartBody1732417154415910683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153813053,"filename":"image_02052025_00_46_45_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212790","file1":"1355212787","file0":"1355212785","file4":"1355212793","file5":"1355212794","file3":"1355212791"},"map_files_photo_id_array":[{"photo_id":"1355212794","filename":"file5"},{"photo_id":"1355212790","filename":"file2"},{"photo_id":"1355212793","filename":"file4"},{"photo_id":"1355212787","filename":"file1"},{"photo_id":"1355212785","filename":"file0"},{"photo_id":"1355212791","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212791":["hashtag1","hashtag2"]},{"1355212785":["hashtag1","hashtag2"]},{"1355212794":["hashtag1","hashtag2"]},{"1355212793":["hashtag1","hashtag2"]},{"1355212790":["hashtag1","hashtag2"]},{"1355212787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212791, 1355212785, 1355212794, 1355212793, 1355212790, 1355212787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70487308502197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:43:32.843843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/47/image_02052025_00_47_35_10380.jpg', '/home/pi/Desktop/images/02052025/00/47/image_02052025_00_47_45_10444.jpg', '/home/pi/Desktop/images/02052025/00/47/image_02052025_00_47_55_9351.jpg', '/home/pi/Desktop/images/02052025/00/47/image_02052025_00_48_05_10355.jpg', '/home/pi/Desktop/images/02052025/00/48/image_02052025_00_48_14_9436.jpg', '/home/pi/Desktop/images/02052025/00/48/image_02052025_00_48_25_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/47/image_02052025_00_47_35_10380.jpg
/home/pi/Desktop/images/02052025/00/47/image_02052025_00_47_45_10444.jpg
/home/pi/Desktop/images/02052025/00/47/image_02052025_00_47_55_9351.jpg
/home/pi/Desktop/images/02052025/00/47/image_02052025_00_48_05_10355.jpg
/home/pi/Desktop/images/02052025/00/48/image_02052025_00_48_14_9436.jpg
/home/pi/Desktop/images/02052025/00/48/image_02052025_00_48_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":["1355212817","1355212813","1355212816","1355212815","1355212811","1355212808"],"photo_ids_order":["1355212808","1355212811","1355212813","1355212815","1355212816","1355212817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/795595ee07e78543d70cf6bea2410590.jpg","text":"TemporaryFile(/tmp/multipartBody2781210527238373926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153873404,"filename":"image_02052025_00_48_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/5/2/78310b58dd3003c2dd7ef20b28d34e93.jpg","text":"TemporaryFile(/tmp/multipartBody2600674734469409499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153873404,"filename":"image_02052025_00_47_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0242f5ed263a7a8d255afcffef87ebde.jpg","text":"TemporaryFile(/tmp/multipartBody3231542957070720807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153873404,"filename":"image_02052025_00_48_14_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b7f47feb32c04665c6a1e9e841b6007.jpg","text":"TemporaryFile(/tmp/multipartBody699963168073972940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153873404,"filename":"image_02052025_00_48_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/5/2/da6fd80e766bafc94e8888c3ca5b683a.jpg","text":"TemporaryFile(/tmp/multipartBody4138391043135363361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153873404,"filename":"image_02052025_00_47_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49c67e12f2652c5cc82041d4f805689d.jpg","text":"TemporaryFile(/tmp/multipartBody2251260024287014155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153873404,"filename":"image_02052025_00_47_35_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212813","file1":"1355212811","file0":"1355212808","file4":"1355212816","file5":"1355212817","file3":"1355212815"},"map_files_photo_id_array":[{"photo_id":"1355212817","filename":"file5"},{"photo_id":"1355212813","filename":"file2"},{"photo_id":"1355212816","filename":"file4"},{"photo_id":"1355212811","filename":"file1"},{"photo_id":"1355212808","filename":"file0"},{"photo_id":"1355212815","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212817":["hashtag1","hashtag2"]},{"1355212813":["hashtag1","hashtag2"]},{"1355212816":["hashtag1","hashtag2"]},{"1355212815":["hashtag1","hashtag2"]},{"1355212811":["hashtag1","hashtag2"]},{"1355212808":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212817, 1355212813, 1355212816, 1355212815, 1355212811, 1355212808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5186288356781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:44:32.870429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/48/image_02052025_00_48_35_10365.jpg', '/home/pi/Desktop/images/02052025/00/48/image_02052025_00_48_45_9403.jpg', '/home/pi/Desktop/images/02052025/00/48/image_02052025_00_48_55_10483.jpg', '/home/pi/Desktop/images/02052025/00/48/image_02052025_00_49_04_9367.jpg', '/home/pi/Desktop/images/02052025/00/49/image_02052025_00_49_15_10481.jpg', '/home/pi/Desktop/images/02052025/00/49/image_02052025_00_49_24_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/48/image_02052025_00_48_35_10365.jpg
/home/pi/Desktop/images/02052025/00/48/image_02052025_00_48_45_9403.jpg
/home/pi/Desktop/images/02052025/00/48/image_02052025_00_48_55_10483.jpg
/home/pi/Desktop/images/02052025/00/48/image_02052025_00_49_04_9367.jpg
/home/pi/Desktop/images/02052025/00/49/image_02052025_00_49_15_10481.jpg
/home/pi/Desktop/images/02052025/00/49/image_02052025_00_49_24_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":["1355212837","1355212839","1355212832","1355212841","1355212835","1355212829"],"photo_ids_order":["1355212829","1355212832","1355212835","1355212837","1355212839","1355212841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0bb074b3391d175843778a8a278df427.jpg","text":"TemporaryFile(/tmp/multipartBody7490083113768240997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153933427,"filename":"image_02052025_00_49_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d2c76c2ac90b7ddf3314ec47c3cc2036.jpg","text":"TemporaryFile(/tmp/multipartBody4447530522014639614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153933427,"filename":"image_02052025_00_49_15_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c79ba2778fa2491430e7ebdc5d672242.jpg","text":"TemporaryFile(/tmp/multipartBody4777385032947689155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153933427,"filename":"image_02052025_00_48_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/5/2/fa0f7f1f9eb8324dd7f526d37608b2e5.jpg","text":"TemporaryFile(/tmp/multipartBody938434554664636594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153933427,"filename":"image_02052025_00_49_24_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c650f8a39a9ac30a28f20d8006a1118.jpg","text":"TemporaryFile(/tmp/multipartBody6541317599414269075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153933427,"filename":"image_02052025_00_48_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/5/2/0eab6a76993265efaffbebc326e3b5e2.jpg","text":"TemporaryFile(/tmp/multipartBody2030575388775356376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153933427,"filename":"image_02052025_00_48_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212835","file1":"1355212832","file0":"1355212829","file4":"1355212839","file5":"1355212841","file3":"1355212837"},"map_files_photo_id_array":[{"photo_id":"1355212841","filename":"file5"},{"photo_id":"1355212835","filename":"file2"},{"photo_id":"1355212839","filename":"file4"},{"photo_id":"1355212832","filename":"file1"},{"photo_id":"1355212829","filename":"file0"},{"photo_id":"1355212837","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212837":["hashtag1","hashtag2"]},{"1355212839":["hashtag1","hashtag2"]},{"1355212832":["hashtag1","hashtag2"]},{"1355212841":["hashtag1","hashtag2"]},{"1355212835":["hashtag1","hashtag2"]},{"1355212829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212837, 1355212839, 1355212832, 1355212841, 1355212835, 1355212829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.827776193618774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:45:33.090576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/49/image_02052025_00_49_35_10403.jpg', '/home/pi/Desktop/images/02052025/00/49/image_02052025_00_49_45_10441.jpg', '/home/pi/Desktop/images/02052025/00/49/image_02052025_00_50_05_10351.jpg', '/home/pi/Desktop/images/02052025/00/50/image_02052025_00_50_15_10411.jpg', '/home/pi/Desktop/images/02052025/00/50/image_02052025_00_50_25_9350.jpg', '/home/pi/Desktop/images/02052025/00/50/image_02052025_00_50_35_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/49/image_02052025_00_49_35_10403.jpg
/home/pi/Desktop/images/02052025/00/49/image_02052025_00_49_45_10441.jpg
/home/pi/Desktop/images/02052025/00/49/image_02052025_00_50_05_10351.jpg
/home/pi/Desktop/images/02052025/00/50/image_02052025_00_50_15_10411.jpg
/home/pi/Desktop/images/02052025/00/50/image_02052025_00_50_25_9350.jpg
/home/pi/Desktop/images/02052025/00/50/image_02052025_00_50_35_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212861","1355212849","1355212860","1355212857","1355212862","1355212853"],"photo_ids_order":["1355212849","1355212853","1355212857","1355212860","1355212861","1355212862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8b040c9eb69db068f7551175a0a8147.jpg","text":"TemporaryFile(/tmp/multipartBody218114673610325002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153993652,"filename":"image_02052025_00_50_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/5/2/cc59684d771ee579db8318137ab98104.jpg","text":"TemporaryFile(/tmp/multipartBody9028068478092776859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153993652,"filename":"image_02052025_00_49_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39952cc9b0ec0304ac6282428d1b4aea.jpg","text":"TemporaryFile(/tmp/multipartBody8801678613459352599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153993652,"filename":"image_02052025_00_50_15_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd804184254f025c4dd25f91e8db7d08.jpg","text":"TemporaryFile(/tmp/multipartBody1269624864666575155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153993652,"filename":"image_02052025_00_50_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/5/2/bea5ebc6138f6ce440b93739e5b07ba5.jpg","text":"TemporaryFile(/tmp/multipartBody230684047702702930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153993652,"filename":"image_02052025_00_50_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/47c9e15938896a1090252a9c0304850b.jpg","text":"TemporaryFile(/tmp/multipartBody7701475705429814841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746153993652,"filename":"image_02052025_00_49_45_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212857","file1":"1355212853","file0":"1355212849","file4":"1355212861","file5":"1355212862","file3":"1355212860"},"map_files_photo_id_array":[{"photo_id":"1355212862","filename":"file5"},{"photo_id":"1355212857","filename":"file2"},{"photo_id":"1355212861","filename":"file4"},{"photo_id":"1355212853","filename":"file1"},{"photo_id":"1355212849","filename":"file0"},{"photo_id":"1355212860","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212861":["hashtag1","hashtag2"]},{"1355212849":["hashtag1","hashtag2"]},{"1355212860":["hashtag1","hashtag2"]},{"1355212857":["hashtag1","hashtag2"]},{"1355212862":["hashtag1","hashtag2"]},{"1355212853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212861, 1355212849, 1355212860, 1355212857, 1355212862, 1355212853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.98801016807556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:46:32.394203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/50/image_02052025_00_50_44_9462.jpg', '/home/pi/Desktop/images/02052025/00/50/image_02052025_00_50_55_10382.jpg', '/home/pi/Desktop/images/02052025/00/50/image_02052025_00_51_04_9489.jpg', '/home/pi/Desktop/images/02052025/00/51/image_02052025_00_51_15_10345.jpg', '/home/pi/Desktop/images/02052025/00/51/image_02052025_00_51_25_10364.jpg', '/home/pi/Desktop/images/02052025/00/51/image_02052025_00_51_34_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/50/image_02052025_00_50_44_9462.jpg
/home/pi/Desktop/images/02052025/00/50/image_02052025_00_50_55_10382.jpg
/home/pi/Desktop/images/02052025/00/50/image_02052025_00_51_04_9489.jpg
/home/pi/Desktop/images/02052025/00/51/image_02052025_00_51_15_10345.jpg
/home/pi/Desktop/images/02052025/00/51/image_02052025_00_51_25_10364.jpg
/home/pi/Desktop/images/02052025/00/51/image_02052025_00_51_34_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":["1355212891","1355212879","1355212876","1355212890","1355212883","1355212886"],"photo_ids_order":["1355212876","1355212879","1355212883","1355212886","1355212890","1355212891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87c550e94b972c7f4d4727a35a922c4e.jpg","text":"TemporaryFile(/tmp/multipartBody6568235760025281637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154052950,"filename":"image_02052025_00_51_34_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dfe507d86b719274d0590ab908e176ce.jpg","text":"TemporaryFile(/tmp/multipartBody3602583675168179942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154052950,"filename":"image_02052025_00_50_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/5/2/7060a5c0655e6e372f27d364cfc7a636.jpg","text":"TemporaryFile(/tmp/multipartBody7621881587213735125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154052950,"filename":"image_02052025_00_50_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/5/2/fb8f43c3ce5eadf307b7c89a48ba8540.jpg","text":"TemporaryFile(/tmp/multipartBody7351843663087649542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154052950,"filename":"image_02052025_00_51_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/5/2/fee17a47db10647dba7f4e47c940439b.jpg","text":"TemporaryFile(/tmp/multipartBody8663076801892411311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154052950,"filename":"image_02052025_00_51_04_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09c816fb62956da28790ab9420537ecc.jpg","text":"TemporaryFile(/tmp/multipartBody566379256475337913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154052950,"filename":"image_02052025_00_51_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212883","file1":"1355212879","file0":"1355212876","file4":"1355212890","file5":"1355212891","file3":"1355212886"},"map_files_photo_id_array":[{"photo_id":"1355212891","filename":"file5"},{"photo_id":"1355212883","filename":"file2"},{"photo_id":"1355212890","filename":"file4"},{"photo_id":"1355212879","filename":"file1"},{"photo_id":"1355212876","filename":"file0"},{"photo_id":"1355212886","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212891":["hashtag1","hashtag2"]},{"1355212879":["hashtag1","hashtag2"]},{"1355212876":["hashtag1","hashtag2"]},{"1355212890":["hashtag1","hashtag2"]},{"1355212883":["hashtag1","hashtag2"]},{"1355212886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212891, 1355212879, 1355212876, 1355212890, 1355212883, 1355212886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.476542472839355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:47:32.714569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/51/image_02052025_00_51_45_10361.jpg', '/home/pi/Desktop/images/02052025/00/51/image_02052025_00_51_55_10414.jpg', '/home/pi/Desktop/images/02052025/00/51/image_02052025_00_52_05_9344.jpg', '/home/pi/Desktop/images/02052025/00/52/image_02052025_00_52_15_10353.jpg', '/home/pi/Desktop/images/02052025/00/52/image_02052025_00_52_24_9461.jpg', '/home/pi/Desktop/images/02052025/00/52/image_02052025_00_52_35_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/51/image_02052025_00_51_45_10361.jpg
/home/pi/Desktop/images/02052025/00/51/image_02052025_00_51_55_10414.jpg
/home/pi/Desktop/images/02052025/00/51/image_02052025_00_52_05_9344.jpg
/home/pi/Desktop/images/02052025/00/52/image_02052025_00_52_15_10353.jpg
/home/pi/Desktop/images/02052025/00/52/image_02052025_00_52_24_9461.jpg
/home/pi/Desktop/images/02052025/00/52/image_02052025_00_52_35_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212901","1355212904","1355212909","1355212911","1355212913","1355212907"],"photo_ids_order":["1355212901","1355212904","1355212907","1355212909","1355212911","1355212913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/006a3b84fb401460705558e9ee5289cb.jpg","text":"TemporaryFile(/tmp/multipartBody5053256926338156744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154113248,"filename":"image_02052025_00_51_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/5/2/7d2fe220e258bce2d4fd287e52041e86.jpg","text":"TemporaryFile(/tmp/multipartBody7720100433885081039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154113248,"filename":"image_02052025_00_51_55_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b65401de42e615de44c55e7dd005c0c.jpg","text":"TemporaryFile(/tmp/multipartBody1203670440095097417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154113248,"filename":"image_02052025_00_52_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/5/2/8f9999e74b1387904a5d6ee04438d661.jpg","text":"TemporaryFile(/tmp/multipartBody8960736041035669423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154113248,"filename":"image_02052025_00_52_24_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/61c5be0e44e34fda8c000cd4bff571e5.jpg","text":"TemporaryFile(/tmp/multipartBody5504740260825671008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154113248,"filename":"image_02052025_00_52_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0b0a3184d190beaebb465e68f5e2771.jpg","text":"TemporaryFile(/tmp/multipartBody286014282151116913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154113248,"filename":"image_02052025_00_52_05_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212907","file1":"1355212904","file0":"1355212901","file4":"1355212911","file5":"1355212913","file3":"1355212909"},"map_files_photo_id_array":[{"photo_id":"1355212913","filename":"file5"},{"photo_id":"1355212907","filename":"file2"},{"photo_id":"1355212911","filename":"file4"},{"photo_id":"1355212904","filename":"file1"},{"photo_id":"1355212901","filename":"file0"},{"photo_id":"1355212909","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212901":["hashtag1","hashtag2"]},{"1355212904":["hashtag1","hashtag2"]},{"1355212909":["hashtag1","hashtag2"]},{"1355212911":["hashtag1","hashtag2"]},{"1355212913":["hashtag1","hashtag2"]},{"1355212907":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212901, 1355212904, 1355212909, 1355212911, 1355212913, 1355212907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.16881012916565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:48:32.776931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/52/image_02052025_00_52_45_10362.jpg', '/home/pi/Desktop/images/02052025/00/52/image_02052025_00_52_54_9360.jpg', '/home/pi/Desktop/images/02052025/00/52/image_02052025_00_53_05_10363.jpg', '/home/pi/Desktop/images/02052025/00/53/image_02052025_00_53_14_9471.jpg', '/home/pi/Desktop/images/02052025/00/53/image_02052025_00_53_25_10377.jpg', '/home/pi/Desktop/images/02052025/00/53/image_02052025_00_53_35_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/52/image_02052025_00_52_45_10362.jpg
/home/pi/Desktop/images/02052025/00/52/image_02052025_00_52_54_9360.jpg
/home/pi/Desktop/images/02052025/00/52/image_02052025_00_53_05_10363.jpg
/home/pi/Desktop/images/02052025/00/53/image_02052025_00_53_14_9471.jpg
/home/pi/Desktop/images/02052025/00/53/image_02052025_00_53_25_10377.jpg
/home/pi/Desktop/images/02052025/00/53/image_02052025_00_53_35_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212933","1355212926","1355212935","1355212929","1355212931","1355212934"],"photo_ids_order":["1355212926","1355212929","1355212931","1355212933","1355212934","1355212935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b0a99a3f474c23eb2923b72c7a5979e7.jpg","text":"TemporaryFile(/tmp/multipartBody637673813305164424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154173338,"filename":"image_02052025_00_53_14_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/939583674f0178873d38def97596d333.jpg","text":"TemporaryFile(/tmp/multipartBody5672680682216433304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154173338,"filename":"image_02052025_00_52_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ea766df8d2469e5aec7bec292f388ab.jpg","text":"TemporaryFile(/tmp/multipartBody847754452840824362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154173338,"filename":"image_02052025_00_53_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0e4e4dcddc0c48eec2c45bc1cb37ea92.jpg","text":"TemporaryFile(/tmp/multipartBody3605523984139026318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154173338,"filename":"image_02052025_00_52_54_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f87d18b6d38367e09fe1efb7bfac3322.jpg","text":"TemporaryFile(/tmp/multipartBody2493476639517150701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154173338,"filename":"image_02052025_00_53_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/5/2/cebe882580227230b088b1e929523c43.jpg","text":"TemporaryFile(/tmp/multipartBody7198621907081651971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154173338,"filename":"image_02052025_00_53_25_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212931","file1":"1355212929","file0":"1355212926","file4":"1355212934","file5":"1355212935","file3":"1355212933"},"map_files_photo_id_array":[{"photo_id":"1355212935","filename":"file5"},{"photo_id":"1355212931","filename":"file2"},{"photo_id":"1355212934","filename":"file4"},{"photo_id":"1355212929","filename":"file1"},{"photo_id":"1355212926","filename":"file0"},{"photo_id":"1355212933","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212933":["hashtag1","hashtag2"]},{"1355212926":["hashtag1","hashtag2"]},{"1355212935":["hashtag1","hashtag2"]},{"1355212929":["hashtag1","hashtag2"]},{"1355212931":["hashtag1","hashtag2"]},{"1355212934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212933, 1355212926, 1355212935, 1355212929, 1355212931, 1355212934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.13399910926819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:49:33.090817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/53/image_02052025_00_53_44_9397.jpg', '/home/pi/Desktop/images/02052025/00/53/image_02052025_00_53_55_10368.jpg', '/home/pi/Desktop/images/02052025/00/53/image_02052025_00_54_05_10403.jpg', '/home/pi/Desktop/images/02052025/00/54/image_02052025_00_54_15_9365.jpg', '/home/pi/Desktop/images/02052025/00/54/image_02052025_00_54_25_10431.jpg', '/home/pi/Desktop/images/02052025/00/54/image_02052025_00_54_34_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/53/image_02052025_00_53_44_9397.jpg
/home/pi/Desktop/images/02052025/00/53/image_02052025_00_53_55_10368.jpg
/home/pi/Desktop/images/02052025/00/53/image_02052025_00_54_05_10403.jpg
/home/pi/Desktop/images/02052025/00/54/image_02052025_00_54_15_9365.jpg
/home/pi/Desktop/images/02052025/00/54/image_02052025_00_54_25_10431.jpg
/home/pi/Desktop/images/02052025/00/54/image_02052025_00_54_34_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355212966","1355212951","1355212965","1355212956","1355212961","1355212967"],"photo_ids_order":["1355212951","1355212956","1355212961","1355212965","1355212966","1355212967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9747d0229fea9aeb7ebd96366eaf320e.jpg","text":"TemporaryFile(/tmp/multipartBody8425009024171582268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154233641,"filename":"image_02052025_00_54_25_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/924eef67c3f357eb31ce29ecc6ea0fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4690718614790430220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154233641,"filename":"image_02052025_00_53_44_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/742309abcca68f5708ff481b87641473.jpg","text":"TemporaryFile(/tmp/multipartBody5618493968725673911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154233641,"filename":"image_02052025_00_54_15_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a70eb4264d2aa14e4a8430094be55b5.jpg","text":"TemporaryFile(/tmp/multipartBody5021847743122254006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154233641,"filename":"image_02052025_00_53_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/5/2/9a72238a2ae59ebb91c17d155c50fe9e.jpg","text":"TemporaryFile(/tmp/multipartBody1445940528458114736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154233641,"filename":"image_02052025_00_54_05_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c25723c1ea39a80e5d86faa15131670f.jpg","text":"TemporaryFile(/tmp/multipartBody203825000158350337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154233641,"filename":"image_02052025_00_54_34_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212961","file1":"1355212956","file0":"1355212951","file4":"1355212966","file5":"1355212967","file3":"1355212965"},"map_files_photo_id_array":[{"photo_id":"1355212967","filename":"file5"},{"photo_id":"1355212961","filename":"file2"},{"photo_id":"1355212966","filename":"file4"},{"photo_id":"1355212956","filename":"file1"},{"photo_id":"1355212951","filename":"file0"},{"photo_id":"1355212965","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212966":["hashtag1","hashtag2"]},{"1355212951":["hashtag1","hashtag2"]},{"1355212965":["hashtag1","hashtag2"]},{"1355212956":["hashtag1","hashtag2"]},{"1355212961":["hashtag1","hashtag2"]},{"1355212967":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212966, 1355212951, 1355212965, 1355212956, 1355212961, 1355212967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.979145526885986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:50:32.343266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/54/image_02052025_00_54_45_10355.jpg', '/home/pi/Desktop/images/02052025/00/54/image_02052025_00_54_54_9481.jpg', '/home/pi/Desktop/images/02052025/00/54/image_02052025_00_55_05_10472.jpg', '/home/pi/Desktop/images/02052025/00/55/image_02052025_00_55_15_10368.jpg', '/home/pi/Desktop/images/02052025/00/55/image_02052025_00_55_44_9347.jpg', '/home/pi/Desktop/images/02052025/00/55/image_02052025_00_55_55_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/54/image_02052025_00_54_45_10355.jpg
/home/pi/Desktop/images/02052025/00/54/image_02052025_00_54_54_9481.jpg
/home/pi/Desktop/images/02052025/00/54/image_02052025_00_55_05_10472.jpg
/home/pi/Desktop/images/02052025/00/55/image_02052025_00_55_15_10368.jpg
/home/pi/Desktop/images/02052025/00/55/image_02052025_00_55_44_9347.jpg
/home/pi/Desktop/images/02052025/00/55/image_02052025_00_55_55_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":["1355212981","1355212989","1355212983","1355212992","1355212986","1355212991"],"photo_ids_order":["1355212981","1355212983","1355212986","1355212989","1355212991","1355212992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c92f9c53df12398f1de0402c2385712c.jpg","text":"TemporaryFile(/tmp/multipartBody8961019798606109857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154292894,"filename":"image_02052025_00_54_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/5/2/5f107731c6adcff5cc6a5b08efa10521.jpg","text":"TemporaryFile(/tmp/multipartBody3629275913213977365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154292894,"filename":"image_02052025_00_55_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b517e59b9cc0660ea57f7a977476a75.jpg","text":"TemporaryFile(/tmp/multipartBody8630208437468972115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154292894,"filename":"image_02052025_00_54_54_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/456456a6be724539d3e104e7df1f6418.jpg","text":"TemporaryFile(/tmp/multipartBody423515917303095536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154292894,"filename":"image_02052025_00_55_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/5/2/ad61649dd95f87ea2bd0b1ae7386e695.jpg","text":"TemporaryFile(/tmp/multipartBody1420955278741965644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154292894,"filename":"image_02052025_00_55_05_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/199df670064d0a4e8ee8f00c832674ad.jpg","text":"TemporaryFile(/tmp/multipartBody5236873078032816773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154292894,"filename":"image_02052025_00_55_44_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355212986","file1":"1355212983","file0":"1355212981","file4":"1355212991","file5":"1355212992","file3":"1355212989"},"map_files_photo_id_array":[{"photo_id":"1355212992","filename":"file5"},{"photo_id":"1355212986","filename":"file2"},{"photo_id":"1355212991","filename":"file4"},{"photo_id":"1355212983","filename":"file1"},{"photo_id":"1355212981","filename":"file0"},{"photo_id":"1355212989","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355212981":["hashtag1","hashtag2"]},{"1355212989":["hashtag1","hashtag2"]},{"1355212983":["hashtag1","hashtag2"]},{"1355212992":["hashtag1","hashtag2"]},{"1355212986":["hashtag1","hashtag2"]},{"1355212991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355212981, 1355212989, 1355212983, 1355212992, 1355212986, 1355212991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.22638201713562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:51:32.393455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/55/image_02052025_00_56_05_10356.jpg', '/home/pi/Desktop/images/02052025/00/56/image_02052025_00_56_14_9357.jpg', '/home/pi/Desktop/images/02052025/00/56/image_02052025_00_56_25_10384.jpg', '/home/pi/Desktop/images/02052025/00/56/image_02052025_00_56_34_9493.jpg', '/home/pi/Desktop/images/02052025/00/56/image_02052025_00_56_45_10349.jpg', '/home/pi/Desktop/images/02052025/00/56/image_02052025_00_56_55_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/55/image_02052025_00_56_05_10356.jpg
/home/pi/Desktop/images/02052025/00/56/image_02052025_00_56_14_9357.jpg
/home/pi/Desktop/images/02052025/00/56/image_02052025_00_56_25_10384.jpg
/home/pi/Desktop/images/02052025/00/56/image_02052025_00_56_34_9493.jpg
/home/pi/Desktop/images/02052025/00/56/image_02052025_00_56_45_10349.jpg
/home/pi/Desktop/images/02052025/00/56/image_02052025_00_56_55_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355213011","1355213014","1355213008","1355213013","1355213012","1355213006"],"photo_ids_order":["1355213006","1355213008","1355213011","1355213012","1355213013","1355213014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/74e8e2a2c2e1e49bf387574d39f0f77c.jpg","text":"TemporaryFile(/tmp/multipartBody1605782807998193120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154352940,"filename":"image_02052025_00_56_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/5/2/5e435b3de2896dbd6fa4083633d17619.jpg","text":"TemporaryFile(/tmp/multipartBody2465889101581644790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154352940,"filename":"image_02052025_00_56_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/5/2/f3c71e82af70100cbdb28ce7efc4a01a.jpg","text":"TemporaryFile(/tmp/multipartBody5105110717760721417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154352940,"filename":"image_02052025_00_56_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/31a6da0ae60f1dc4446e42ccd3fdf26b.jpg","text":"TemporaryFile(/tmp/multipartBody7030162169791481657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154352940,"filename":"image_02052025_00_56_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/5/2/57b72ac93346574394a30604bcc36795.jpg","text":"TemporaryFile(/tmp/multipartBody3431944239238815523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154352940,"filename":"image_02052025_00_56_34_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db8b2b63ee6afbc4304a406a937702bc.jpg","text":"TemporaryFile(/tmp/multipartBody8241738499394627632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154352940,"filename":"image_02052025_00_56_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355213011","file1":"1355213008","file0":"1355213006","file4":"1355213013","file5":"1355213014","file3":"1355213012"},"map_files_photo_id_array":[{"photo_id":"1355213014","filename":"file5"},{"photo_id":"1355213011","filename":"file2"},{"photo_id":"1355213013","filename":"file4"},{"photo_id":"1355213008","filename":"file1"},{"photo_id":"1355213006","filename":"file0"},{"photo_id":"1355213012","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355213011":["hashtag1","hashtag2"]},{"1355213014":["hashtag1","hashtag2"]},{"1355213008":["hashtag1","hashtag2"]},{"1355213013":["hashtag1","hashtag2"]},{"1355213012":["hashtag1","hashtag2"]},{"1355213006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355213011, 1355213014, 1355213008, 1355213013, 1355213012, 1355213006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.198177337646484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:52:32.695538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/56/image_02052025_00_57_05_9432.jpg', '/home/pi/Desktop/images/02052025/00/57/image_02052025_00_57_15_10351.jpg', '/home/pi/Desktop/images/02052025/00/57/image_02052025_00_57_24_9486.jpg', '/home/pi/Desktop/images/02052025/00/57/image_02052025_00_57_35_10375.jpg', '/home/pi/Desktop/images/02052025/00/57/image_02052025_00_57_45_10374.jpg', '/home/pi/Desktop/images/02052025/00/57/image_02052025_00_57_55_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/56/image_02052025_00_57_05_9432.jpg
/home/pi/Desktop/images/02052025/00/57/image_02052025_00_57_15_10351.jpg
/home/pi/Desktop/images/02052025/00/57/image_02052025_00_57_24_9486.jpg
/home/pi/Desktop/images/02052025/00/57/image_02052025_00_57_35_10375.jpg
/home/pi/Desktop/images/02052025/00/57/image_02052025_00_57_45_10374.jpg
/home/pi/Desktop/images/02052025/00/57/image_02052025_00_57_55_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355213029","1355213032","1355213026","1355213031","1355213024","1355213021"],"photo_ids_order":["1355213021","1355213024","1355213026","1355213029","1355213031","1355213032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8c926090d5f5db6412db1f17f524de3.jpg","text":"TemporaryFile(/tmp/multipartBody477609449108302864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154413243,"filename":"image_02052025_00_57_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/5/2/d1ab1c00a4a2437f70fc1b8d17073b0e.jpg","text":"TemporaryFile(/tmp/multipartBody3983114633942243199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154413243,"filename":"image_02052025_00_57_55_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/112ad1d464b4bfd1699b03ad8b10da47.jpg","text":"TemporaryFile(/tmp/multipartBody1350714172805295638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154413243,"filename":"image_02052025_00_57_24_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1158bfe8ac09431088fb6d3e0d91732c.jpg","text":"TemporaryFile(/tmp/multipartBody5992495236471126124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154413243,"filename":"image_02052025_00_57_45_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8ff17fd8c8dcb71cfa2548a587086b58.jpg","text":"TemporaryFile(/tmp/multipartBody4252012012227980796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154413243,"filename":"image_02052025_00_57_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b877fff5aefff0357d81034f78140340.jpg","text":"TemporaryFile(/tmp/multipartBody6507258824176197914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154413243,"filename":"image_02052025_00_57_05_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355213026","file1":"1355213024","file0":"1355213021","file4":"1355213031","file5":"1355213032","file3":"1355213029"},"map_files_photo_id_array":[{"photo_id":"1355213032","filename":"file5"},{"photo_id":"1355213026","filename":"file2"},{"photo_id":"1355213031","filename":"file4"},{"photo_id":"1355213024","filename":"file1"},{"photo_id":"1355213021","filename":"file0"},{"photo_id":"1355213029","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355213029":["hashtag1","hashtag2"]},{"1355213032":["hashtag1","hashtag2"]},{"1355213026":["hashtag1","hashtag2"]},{"1355213031":["hashtag1","hashtag2"]},{"1355213024":["hashtag1","hashtag2"]},{"1355213021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355213029, 1355213032, 1355213026, 1355213031, 1355213024, 1355213021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.945122957229614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:53:32.910659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/57/image_02052025_00_58_05_10358.jpg', '/home/pi/Desktop/images/02052025/00/58/image_02052025_00_58_14_9434.jpg', '/home/pi/Desktop/images/02052025/00/58/image_02052025_00_58_25_10368.jpg', '/home/pi/Desktop/images/02052025/00/58/image_02052025_00_58_35_10355.jpg', '/home/pi/Desktop/images/02052025/00/58/image_02052025_00_58_44_9354.jpg', '/home/pi/Desktop/images/02052025/00/58/image_02052025_00_58_55_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/57/image_02052025_00_58_05_10358.jpg
/home/pi/Desktop/images/02052025/00/58/image_02052025_00_58_14_9434.jpg
/home/pi/Desktop/images/02052025/00/58/image_02052025_00_58_25_10368.jpg
/home/pi/Desktop/images/02052025/00/58/image_02052025_00_58_35_10355.jpg
/home/pi/Desktop/images/02052025/00/58/image_02052025_00_58_44_9354.jpg
/home/pi/Desktop/images/02052025/00/58/image_02052025_00_58_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":["1355213053","1355213043","1355213052","1355213046","1355213049","1355213051"],"photo_ids_order":["1355213043","1355213046","1355213049","1355213051","1355213052","1355213053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ebb8ea9c6ffc910c7d193bce62614d5.jpg","text":"TemporaryFile(/tmp/multipartBody126342491106997481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154473446,"filename":"image_02052025_00_58_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/5/2/60bb76fdd566b2004ac77e81f1bc45d4.jpg","text":"TemporaryFile(/tmp/multipartBody5366557743271908814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154473446,"filename":"image_02052025_00_58_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8fa63648c8cd8bc17f1a2bb411bb1bd8.jpg","text":"TemporaryFile(/tmp/multipartBody8823948105879350312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154473446,"filename":"image_02052025_00_58_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/5/2/5849ad81cd707aa241ae506f5ff18737.jpg","text":"TemporaryFile(/tmp/multipartBody7006147661777340536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154473446,"filename":"image_02052025_00_58_14_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/198399ac25a1d23771cd287c6bb21a6c.jpg","text":"TemporaryFile(/tmp/multipartBody3203969721959045540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154473446,"filename":"image_02052025_00_58_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/5/2/2d99298a86ba22bfd5ca57a8190c5570.jpg","text":"TemporaryFile(/tmp/multipartBody4491132383687306057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154473446,"filename":"image_02052025_00_58_35_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355213049","file1":"1355213046","file0":"1355213043","file4":"1355213052","file5":"1355213053","file3":"1355213051"},"map_files_photo_id_array":[{"photo_id":"1355213053","filename":"file5"},{"photo_id":"1355213049","filename":"file2"},{"photo_id":"1355213052","filename":"file4"},{"photo_id":"1355213046","filename":"file1"},{"photo_id":"1355213043","filename":"file0"},{"photo_id":"1355213051","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355213053":["hashtag1","hashtag2"]},{"1355213043":["hashtag1","hashtag2"]},{"1355213052":["hashtag1","hashtag2"]},{"1355213046":["hashtag1","hashtag2"]},{"1355213049":["hashtag1","hashtag2"]},{"1355213051":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355213053, 1355213043, 1355213052, 1355213046, 1355213049, 1355213051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.24089550971985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:54:32.155447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/00/58/image_02052025_00_59_05_10412.jpg', '/home/pi/Desktop/images/02052025/00/59/image_02052025_00_59_15_9360.jpg', '/home/pi/Desktop/images/02052025/00/59/image_02052025_00_59_25_10399.jpg', '/home/pi/Desktop/images/02052025/00/59/image_02052025_00_59_34_9352.jpg', '/home/pi/Desktop/images/02052025/00/59/image_02052025_00_59_45_10440.jpg', '/home/pi/Desktop/images/02052025/00/59/image_02052025_00_59_55_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/00/58/image_02052025_00_59_05_10412.jpg
/home/pi/Desktop/images/02052025/00/59/image_02052025_00_59_15_9360.jpg
/home/pi/Desktop/images/02052025/00/59/image_02052025_00_59_25_10399.jpg
/home/pi/Desktop/images/02052025/00/59/image_02052025_00_59_34_9352.jpg
/home/pi/Desktop/images/02052025/00/59/image_02052025_00_59_45_10440.jpg
/home/pi/Desktop/images/02052025/00/59/image_02052025_00_59_55_10478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355213080","1355213076","1355213070","1355213073","1355213078","1355213066"],"photo_ids_order":["1355213066","1355213070","1355213073","1355213076","1355213078","1355213080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a42571ca15069a32b6be0fb4fccec66f.jpg","text":"TemporaryFile(/tmp/multipartBody1503297689242068125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154532702,"filename":"image_02052025_00_59_55_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad2d3b30b84bd2ee35eee17604576890.jpg","text":"TemporaryFile(/tmp/multipartBody4042763597442282380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154532702,"filename":"image_02052025_00_59_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/5/2/4b5ce95f37e066881bcbe4716cfb4c2e.jpg","text":"TemporaryFile(/tmp/multipartBody4768196444370328991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154532702,"filename":"image_02052025_00_59_15_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0fe98c04071c1d0374cc2bc08e53b125.jpg","text":"TemporaryFile(/tmp/multipartBody853116070935157076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154532702,"filename":"image_02052025_00_59_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/799b423d317280df282d1ed5289fa7a7.jpg","text":"TemporaryFile(/tmp/multipartBody5742225574491086177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154532702,"filename":"image_02052025_00_59_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8470619e283adbc84e9514e0f3924c47.jpg","text":"TemporaryFile(/tmp/multipartBody7643507508570930930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154532702,"filename":"image_02052025_00_59_05_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355213073","file1":"1355213070","file0":"1355213066","file4":"1355213078","file5":"1355213080","file3":"1355213076"},"map_files_photo_id_array":[{"photo_id":"1355213080","filename":"file5"},{"photo_id":"1355213073","filename":"file2"},{"photo_id":"1355213078","filename":"file4"},{"photo_id":"1355213070","filename":"file1"},{"photo_id":"1355213066","filename":"file0"},{"photo_id":"1355213076","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355213080":["hashtag1","hashtag2"]},{"1355213076":["hashtag1","hashtag2"]},{"1355213070":["hashtag1","hashtag2"]},{"1355213073":["hashtag1","hashtag2"]},{"1355213078":["hashtag1","hashtag2"]},{"1355213066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355213080, 1355213076, 1355213070, 1355213073, 1355213078, 1355213066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.659284591674805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:55:32.326418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/01/image_02052025_01_01_14_10076.jpg', '/home/pi/Desktop/images/02052025/01/01/image_02052025_01_01_24_10449.jpg', '/home/pi/Desktop/images/02052025/01/01/image_02052025_01_01_35_10357.jpg', '/home/pi/Desktop/images/02052025/01/01/image_02052025_01_01_44_9434.jpg', '/home/pi/Desktop/images/02052025/01/01/image_02052025_01_01_55_10437.jpg', '/home/pi/Desktop/images/02052025/01/01/image_02052025_01_02_04_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/01/image_02052025_01_01_14_10076.jpg
/home/pi/Desktop/images/02052025/01/01/image_02052025_01_01_24_10449.jpg
/home/pi/Desktop/images/02052025/01/01/image_02052025_01_01_35_10357.jpg
/home/pi/Desktop/images/02052025/01/01/image_02052025_01_01_44_9434.jpg
/home/pi/Desktop/images/02052025/01/01/image_02052025_01_01_55_10437.jpg
/home/pi/Desktop/images/02052025/01/01/image_02052025_01_02_04_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":["1355213104","1355213100","1355213103","1355213095","1355213098","1355213102"],"photo_ids_order":["1355213095","1355213098","1355213100","1355213102","1355213103","1355213104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4c9d4ec6d7e72b1236f09e24ba927592.jpg","text":"TemporaryFile(/tmp/multipartBody7572228111770399023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154592871,"filename":"image_02052025_01_02_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/5/2/a3ddde0433515de858663533249c8a17.jpg","text":"TemporaryFile(/tmp/multipartBody6418287877662643948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154592871,"filename":"image_02052025_01_01_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/5/2/514ffa0b10274fdb426d94a4bda0ec19.jpg","text":"TemporaryFile(/tmp/multipartBody1620231690408371963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154592871,"filename":"image_02052025_01_01_55_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e938a2c6b6d4b5d0e749ee84680a452f.jpg","text":"TemporaryFile(/tmp/multipartBody5542073209142854411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154592871,"filename":"image_02052025_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/5/2/11e96969bfc2863c9b29cebf54a7799a.jpg","text":"TemporaryFile(/tmp/multipartBody7238238843496328971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154592871,"filename":"image_02052025_01_01_24_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0cbb6f5132185fc4beb74c7b1e53caa4.jpg","text":"TemporaryFile(/tmp/multipartBody6873300496870822349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154592871,"filename":"image_02052025_01_01_44_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355213100","file1":"1355213098","file0":"1355213095","file4":"1355213103","file5":"1355213104","file3":"1355213102"},"map_files_photo_id_array":[{"photo_id":"1355213104","filename":"file5"},{"photo_id":"1355213100","filename":"file2"},{"photo_id":"1355213103","filename":"file4"},{"photo_id":"1355213098","filename":"file1"},{"photo_id":"1355213095","filename":"file0"},{"photo_id":"1355213102","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355213104":["hashtag1","hashtag2"]},{"1355213100":["hashtag1","hashtag2"]},{"1355213103":["hashtag1","hashtag2"]},{"1355213095":["hashtag1","hashtag2"]},{"1355213098":["hashtag1","hashtag2"]},{"1355213102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355213104, 1355213100, 1355213103, 1355213095, 1355213098, 1355213102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98819637298584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:56:32.611915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/02/image_02052025_01_02_14_10406.jpg', '/home/pi/Desktop/images/02052025/01/02/image_02052025_01_02_25_10367.jpg', '/home/pi/Desktop/images/02052025/01/02/image_02052025_01_02_34_9353.jpg', '/home/pi/Desktop/images/02052025/01/02/image_02052025_01_02_44_10451.jpg', '/home/pi/Desktop/images/02052025/01/02/image_02052025_01_02_54_9354.jpg', '/home/pi/Desktop/images/02052025/01/02/image_02052025_01_03_04_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/02/image_02052025_01_02_14_10406.jpg
/home/pi/Desktop/images/02052025/01/02/image_02052025_01_02_25_10367.jpg
/home/pi/Desktop/images/02052025/01/02/image_02052025_01_02_34_9353.jpg
/home/pi/Desktop/images/02052025/01/02/image_02052025_01_02_44_10451.jpg
/home/pi/Desktop/images/02052025/01/02/image_02052025_01_02_54_9354.jpg
/home/pi/Desktop/images/02052025/01/02/image_02052025_01_03_04_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355213128","1355213116","1355213130","1355213123","1355213126","1355213120"],"photo_ids_order":["1355213116","1355213120","1355213123","1355213126","1355213128","1355213130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1854d3755381e91a75fd018888aece99.jpg","text":"TemporaryFile(/tmp/multipartBody3626234708337756173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154653829,"filename":"image_02052025_01_02_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1fb3205acd64a7eef12aba33263ea751.jpg","text":"TemporaryFile(/tmp/multipartBody8072370766104345838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154653829,"filename":"image_02052025_01_02_14_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/82b0f52aebd09730cd89da710385adee.jpg","text":"TemporaryFile(/tmp/multipartBody982629897571346121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154653829,"filename":"image_02052025_01_03_04_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b06a3b2e95c72d3fd5f936b254ac9d68.jpg","text":"TemporaryFile(/tmp/multipartBody8391269760521111911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154653829,"filename":"image_02052025_01_02_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/5/2/780ad7e4847c50fd56f1fedca57fbefc.jpg","text":"TemporaryFile(/tmp/multipartBody53410054839937090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154653829,"filename":"image_02052025_01_02_44_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa400804d31024cd03c16eca25b9f8d2.jpg","text":"TemporaryFile(/tmp/multipartBody4507374803635752151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154653829,"filename":"image_02052025_01_02_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355213123","file1":"1355213120","file0":"1355213116","file4":"1355213128","file5":"1355213130","file3":"1355213126"},"map_files_photo_id_array":[{"photo_id":"1355213130","filename":"file5"},{"photo_id":"1355213123","filename":"file2"},{"photo_id":"1355213128","filename":"file4"},{"photo_id":"1355213120","filename":"file1"},{"photo_id":"1355213116","filename":"file0"},{"photo_id":"1355213126","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355213128":["hashtag1","hashtag2"]},{"1355213116":["hashtag1","hashtag2"]},{"1355213130":["hashtag1","hashtag2"]},{"1355213123":["hashtag1","hashtag2"]},{"1355213126":["hashtag1","hashtag2"]},{"1355213120":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355213128, 1355213116, 1355213130, 1355213123, 1355213126, 1355213120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.156644105911255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 04:57:32.760584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_15_10366.jpg', '/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_24_9357.jpg', '/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_34_10423.jpg', '/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_44_9374.jpg', '/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_54_10408.jpg', '/home/pi/Desktop/images/02052025/01/03/image_02052025_01_04_05_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_15_10366.jpg
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_24_9357.jpg
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_34_10423.jpg
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_44_9374.jpg
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_54_10408.jpg
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_04_05_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 04:59:03.841588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_15_10366.jpg', '/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_24_9357.jpg', '/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_34_10423.jpg', '/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_44_9374.jpg', '/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_54_10408.jpg', '/home/pi/Desktop/images/02052025/01/03/image_02052025_01_04_05_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_15_10366.jpg
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_24_9357.jpg
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_34_10423.jpg
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_44_9374.jpg
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_03_54_10408.jpg
/home/pi/Desktop/images/02052025/01/03/image_02052025_01_04_05_10377.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355213368","1355213496","1355213430","1355213396","1355213334","1355213461"],"photo_ids_order":["1355213334","1355213368","1355213396","1355213430","1355213461","1355213496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ffd8ba3074dc5726a5e4a9de3c2791a6.jpg","text":"TemporaryFile(/tmp/multipartBody2773947781873724976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154804839,"filename":"image_02052025_01_03_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/5/2/5cdeb6865ed37fc4299202518a3ca82f.jpg","text":"TemporaryFile(/tmp/multipartBody4233465028209300299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154804839,"filename":"image_02052025_01_04_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/5/2/f2f9888c771cdea7115437ccfc7f438f.jpg","text":"TemporaryFile(/tmp/multipartBody7107998637318247915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154804839,"filename":"image_02052025_01_03_44_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6dd6dd37cd7531ace4b738cf677fe781.jpg","text":"TemporaryFile(/tmp/multipartBody1968552167415189389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154804839,"filename":"image_02052025_01_03_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/5/2/68ae9f0730b40f36c2563252502b6249.jpg","text":"TemporaryFile(/tmp/multipartBody7780816551776104573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154804839,"filename":"image_02052025_01_03_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a5910ea5c2adedab2b2dcf47bff6c789.jpg","text":"TemporaryFile(/tmp/multipartBody3567373143236186570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154804839,"filename":"image_02052025_01_03_54_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355213396","file1":"1355213368","file0":"1355213334","file4":"1355213461","file5":"1355213496","file3":"1355213430"},"map_files_photo_id_array":[{"photo_id":"1355213496","filename":"file5"},{"photo_id":"1355213396","filename":"file2"},{"photo_id":"1355213461","filename":"file4"},{"photo_id":"1355213368","filename":"file1"},{"photo_id":"1355213334","filename":"file0"},{"photo_id":"1355213430","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355213368":["hashtag1","hashtag2"]},{"1355213496":["hashtag1","hashtag2"]},{"1355213430":["hashtag1","hashtag2"]},{"1355213396":["hashtag1","hashtag2"]},{"1355213334":["hashtag1","hashtag2"]},{"1355213461":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355213368, 1355213496, 1355213430, 1355213396, 1355213334, 1355213461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29883790016174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 04:59:42.261538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/04/image_02052025_01_04_14_9363.jpg', '/home/pi/Desktop/images/02052025/01/04/image_02052025_01_04_24_10387.jpg', '/home/pi/Desktop/images/02052025/01/04/image_02052025_01_04_34_9455.jpg', '/home/pi/Desktop/images/02052025/01/04/image_02052025_01_04_44_10466.jpg', '/home/pi/Desktop/images/02052025/01/04/image_02052025_01_04_55_10362.jpg', '/home/pi/Desktop/images/02052025/01/04/image_02052025_01_05_04_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/04/image_02052025_01_04_14_9363.jpg
/home/pi/Desktop/images/02052025/01/04/image_02052025_01_04_24_10387.jpg
/home/pi/Desktop/images/02052025/01/04/image_02052025_01_04_34_9455.jpg
/home/pi/Desktop/images/02052025/01/04/image_02052025_01_04_44_10466.jpg
/home/pi/Desktop/images/02052025/01/04/image_02052025_01_04_55_10362.jpg
/home/pi/Desktop/images/02052025/01/04/image_02052025_01_05_04_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":["1355213758","1355213722","1355213632","1355213664","1355213599","1355213692"],"photo_ids_order":["1355213599","1355213632","1355213664","1355213692","1355213722","1355213758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3fb81d189560b506ebe825da1b632ce.jpg","text":"TemporaryFile(/tmp/multipartBody5952368598564947511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154842825,"filename":"image_02052025_01_05_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/5/2/eb5b31ebc63ffebe527ade73e7cea0d0.jpg","text":"TemporaryFile(/tmp/multipartBody6372632424476544348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154842825,"filename":"image_02052025_01_04_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/5/2/c99e59169975ff3050c25e22573e51a8.jpg","text":"TemporaryFile(/tmp/multipartBody4761227636252764524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154842825,"filename":"image_02052025_01_04_24_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/276832fe099f4138ae2ccfaa0a04bfd0.jpg","text":"TemporaryFile(/tmp/multipartBody2070022631123338284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154842825,"filename":"image_02052025_01_04_34_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8bc6b33ed3f7b007af61c9b3c2e774c8.jpg","text":"TemporaryFile(/tmp/multipartBody2916331517040279191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154842825,"filename":"image_02052025_01_04_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/5/2/8f222e9dc2e7dd363dab55e1930053ea.jpg","text":"TemporaryFile(/tmp/multipartBody8139116536241177680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154842825,"filename":"image_02052025_01_04_44_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355213664","file1":"1355213632","file0":"1355213599","file4":"1355213722","file5":"1355213758","file3":"1355213692"},"map_files_photo_id_array":[{"photo_id":"1355213758","filename":"file5"},{"photo_id":"1355213664","filename":"file2"},{"photo_id":"1355213722","filename":"file4"},{"photo_id":"1355213632","filename":"file1"},{"photo_id":"1355213599","filename":"file0"},{"photo_id":"1355213692","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355213758":["hashtag1","hashtag2"]},{"1355213722":["hashtag1","hashtag2"]},{"1355213632":["hashtag1","hashtag2"]},{"1355213664":["hashtag1","hashtag2"]},{"1355213599":["hashtag1","hashtag2"]},{"1355213692":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355213758, 1355213722, 1355213632, 1355213664, 1355213599, 1355213692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.062111139297485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:00:32.364159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/05/image_02052025_01_05_14_10371.jpg', '/home/pi/Desktop/images/02052025/01/05/image_02052025_01_05_25_10367.jpg', '/home/pi/Desktop/images/02052025/01/05/image_02052025_01_05_34_9359.jpg', '/home/pi/Desktop/images/02052025/01/05/image_02052025_01_05_45_10406.jpg', '/home/pi/Desktop/images/02052025/01/05/image_02052025_01_05_54_9362.jpg', '/home/pi/Desktop/images/02052025/01/05/image_02052025_01_06_04_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/05/image_02052025_01_05_14_10371.jpg
/home/pi/Desktop/images/02052025/01/05/image_02052025_01_05_25_10367.jpg
/home/pi/Desktop/images/02052025/01/05/image_02052025_01_05_34_9359.jpg
/home/pi/Desktop/images/02052025/01/05/image_02052025_01_05_45_10406.jpg
/home/pi/Desktop/images/02052025/01/05/image_02052025_01_05_54_9362.jpg
/home/pi/Desktop/images/02052025/01/05/image_02052025_01_06_04_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":["1355214100","1355214010","1355214039","1355214071","1355213940","1355213969"],"photo_ids_order":["1355213940","1355213969","1355214010","1355214039","1355214071","1355214100"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e07ceec0e33e322991c33660bb04fb44.jpg","text":"TemporaryFile(/tmp/multipartBody6696848504590238705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154893188,"filename":"image_02052025_01_06_04_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/889bc9867deabcbcf3c33c1d2134446a.jpg","text":"TemporaryFile(/tmp/multipartBody7177898839413737500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154893188,"filename":"image_02052025_01_05_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7cd9f1a8b994f17b0f9b04bebcd41c5.jpg","text":"TemporaryFile(/tmp/multipartBody5013523849592497089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154893188,"filename":"image_02052025_01_05_45_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0879b3043c14a0e2adbf14288df110ec.jpg","text":"TemporaryFile(/tmp/multipartBody5855877273412962714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154893188,"filename":"image_02052025_01_05_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d2ec73361cd143a745043b3ac7c49a86.jpg","text":"TemporaryFile(/tmp/multipartBody3510592374001488548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154893188,"filename":"image_02052025_01_05_14_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/01bf8267f6975377648a225b1cb1f448.jpg","text":"TemporaryFile(/tmp/multipartBody1673658904596739424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154893188,"filename":"image_02052025_01_05_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355214010","file1":"1355213969","file0":"1355213940","file4":"1355214071","file5":"1355214100","file3":"1355214039"},"map_files_photo_id_array":[{"photo_id":"1355214100","filename":"file5"},{"photo_id":"1355214010","filename":"file2"},{"photo_id":"1355214071","filename":"file4"},{"photo_id":"1355213969","filename":"file1"},{"photo_id":"1355213940","filename":"file0"},{"photo_id":"1355214039","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355214100":["hashtag1","hashtag2"]},{"1355214010":["hashtag1","hashtag2"]},{"1355214039":["hashtag1","hashtag2"]},{"1355214071":["hashtag1","hashtag2"]},{"1355213940":["hashtag1","hashtag2"]},{"1355213969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355214100, 1355214010, 1355214039, 1355214071, 1355213940, 1355213969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2232985496521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:01:32.705069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/06/image_02052025_01_06_15_10362.jpg', '/home/pi/Desktop/images/02052025/01/06/image_02052025_01_06_24_9355.jpg', '/home/pi/Desktop/images/02052025/01/06/image_02052025_01_06_34_10348.jpg', '/home/pi/Desktop/images/02052025/01/06/image_02052025_01_06_45_10348.jpg', '/home/pi/Desktop/images/02052025/01/06/image_02052025_01_06_54_9353.jpg', '/home/pi/Desktop/images/02052025/01/06/image_02052025_01_07_05_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/06/image_02052025_01_06_15_10362.jpg
/home/pi/Desktop/images/02052025/01/06/image_02052025_01_06_24_9355.jpg
/home/pi/Desktop/images/02052025/01/06/image_02052025_01_06_34_10348.jpg
/home/pi/Desktop/images/02052025/01/06/image_02052025_01_06_45_10348.jpg
/home/pi/Desktop/images/02052025/01/06/image_02052025_01_06_54_9353.jpg
/home/pi/Desktop/images/02052025/01/06/image_02052025_01_07_05_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":["1355214597","1355214492","1355214354","1355214648","1355214407","1355214544"],"photo_ids_order":["1355214354","1355214407","1355214492","1355214544","1355214597","1355214648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d3d93c2fc1543890016368e97cd6991.jpg","text":"TemporaryFile(/tmp/multipartBody1313877204458727580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154953243,"filename":"image_02052025_01_06_54_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85d4acd738ccf5d9506f20cedbf85266.jpg","text":"TemporaryFile(/tmp/multipartBody5199844307217126371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154953243,"filename":"image_02052025_01_06_34_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/194c30edbf37be04fb709a27aaf57e9f.jpg","text":"TemporaryFile(/tmp/multipartBody5090021601928034526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154953243,"filename":"image_02052025_01_06_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/5/2/c372e1dd68aaad3bf5d8761a8391d6eb.jpg","text":"TemporaryFile(/tmp/multipartBody1794862659075863538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154953243,"filename":"image_02052025_01_07_05_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e882c82c3155b60b6d438951632e8399.jpg","text":"TemporaryFile(/tmp/multipartBody3362416332075411101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154953243,"filename":"image_02052025_01_06_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/92267d692c7f902516e5a96f9292379f.jpg","text":"TemporaryFile(/tmp/multipartBody8228165721127472518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746154953243,"filename":"image_02052025_01_06_45_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355214492","file1":"1355214407","file0":"1355214354","file4":"1355214597","file5":"1355214648","file3":"1355214544"},"map_files_photo_id_array":[{"photo_id":"1355214648","filename":"file5"},{"photo_id":"1355214492","filename":"file2"},{"photo_id":"1355214597","filename":"file4"},{"photo_id":"1355214407","filename":"file1"},{"photo_id":"1355214354","filename":"file0"},{"photo_id":"1355214544","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355214597":["hashtag1","hashtag2"]},{"1355214492":["hashtag1","hashtag2"]},{"1355214354":["hashtag1","hashtag2"]},{"1355214648":["hashtag1","hashtag2"]},{"1355214407":["hashtag1","hashtag2"]},{"1355214544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355214597, 1355214492, 1355214354, 1355214648, 1355214407, 1355214544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19871163368225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:02:33.078058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/07/image_02052025_01_07_14_9384.jpg', '/home/pi/Desktop/images/02052025/01/07/image_02052025_01_07_24_10466.jpg', '/home/pi/Desktop/images/02052025/01/07/image_02052025_01_07_35_10425.jpg', '/home/pi/Desktop/images/02052025/01/07/image_02052025_01_07_55_10361.jpg', '/home/pi/Desktop/images/02052025/01/07/image_02052025_01_08_04_9341.jpg', '/home/pi/Desktop/images/02052025/01/08/image_02052025_01_08_14_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/07/image_02052025_01_07_14_9384.jpg
/home/pi/Desktop/images/02052025/01/07/image_02052025_01_07_24_10466.jpg
/home/pi/Desktop/images/02052025/01/07/image_02052025_01_07_35_10425.jpg
/home/pi/Desktop/images/02052025/01/07/image_02052025_01_07_55_10361.jpg
/home/pi/Desktop/images/02052025/01/07/image_02052025_01_08_04_9341.jpg
/home/pi/Desktop/images/02052025/01/08/image_02052025_01_08_14_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355214990","1355215023","1355214963","1355215049","1355215108","1355215077"],"photo_ids_order":["1355214963","1355214990","1355215023","1355215049","1355215077","1355215108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/20ec48309b0e794e60ea5a184966c088.jpg","text":"TemporaryFile(/tmp/multipartBody1867416502467839073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155013622,"filename":"image_02052025_01_07_24_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58f59190ea412b9c9f278d33ff560457.jpg","text":"TemporaryFile(/tmp/multipartBody6490744947757973867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155013622,"filename":"image_02052025_01_07_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fbddf40c38b56efe28eb702a5db2ae50.jpg","text":"TemporaryFile(/tmp/multipartBody7464716776236128919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155013622,"filename":"image_02052025_01_07_14_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e3fecb39fbc923825b4a1de53472723.jpg","text":"TemporaryFile(/tmp/multipartBody667838050273746371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155013622,"filename":"image_02052025_01_07_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/5/2/48ea0b06c6e68193f1de1b41d2cd1d88.jpg","text":"TemporaryFile(/tmp/multipartBody8115633309168275748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155013622,"filename":"image_02052025_01_08_14_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a15db2f55aa8e1bf7cd77fbf4a8e4ef0.jpg","text":"TemporaryFile(/tmp/multipartBody6351306002899704700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155013622,"filename":"image_02052025_01_08_04_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355215023","file1":"1355214990","file0":"1355214963","file4":"1355215077","file5":"1355215108","file3":"1355215049"},"map_files_photo_id_array":[{"photo_id":"1355215108","filename":"file5"},{"photo_id":"1355215023","filename":"file2"},{"photo_id":"1355215077","filename":"file4"},{"photo_id":"1355214990","filename":"file1"},{"photo_id":"1355214963","filename":"file0"},{"photo_id":"1355215049","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355214990":["hashtag1","hashtag2"]},{"1355215023":["hashtag1","hashtag2"]},{"1355214963":["hashtag1","hashtag2"]},{"1355215049":["hashtag1","hashtag2"]},{"1355215108":["hashtag1","hashtag2"]},{"1355215077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355214990, 1355215023, 1355214963, 1355215049, 1355215108, 1355215077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34958577156067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:03:33.083093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/08/image_02052025_01_08_25_10362.jpg', '/home/pi/Desktop/images/02052025/01/08/image_02052025_01_08_34_9349.jpg', '/home/pi/Desktop/images/02052025/01/08/image_02052025_01_08_44_10453.jpg', '/home/pi/Desktop/images/02052025/01/08/image_02052025_01_08_54_9369.jpg', '/home/pi/Desktop/images/02052025/01/08/image_02052025_01_09_04_10434.jpg', '/home/pi/Desktop/images/02052025/01/09/image_02052025_01_09_15_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/08/image_02052025_01_08_25_10362.jpg
/home/pi/Desktop/images/02052025/01/08/image_02052025_01_08_34_9349.jpg
/home/pi/Desktop/images/02052025/01/08/image_02052025_01_08_44_10453.jpg
/home/pi/Desktop/images/02052025/01/08/image_02052025_01_08_54_9369.jpg
/home/pi/Desktop/images/02052025/01/08/image_02052025_01_09_04_10434.jpg
/home/pi/Desktop/images/02052025/01/09/image_02052025_01_09_15_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":["1355215212","1355215203","1355215206","1355215211","1355215208","1355215210"],"photo_ids_order":["1355215203","1355215206","1355215208","1355215210","1355215211","1355215212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a0f02adf6430fcbebaf1953e58e8335.jpg","text":"TemporaryFile(/tmp/multipartBody7754675903791459860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155073645,"filename":"image_02052025_01_09_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/5/2/ec99287785fa0ad39cc4d157f07f7943.jpg","text":"TemporaryFile(/tmp/multipartBody9010556241416415060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155073645,"filename":"image_02052025_01_08_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/46fbf2f3372222f416551b17d89cfa4a.jpg","text":"TemporaryFile(/tmp/multipartBody8834815885650392006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155073645,"filename":"image_02052025_01_08_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d54f562201a5076ac9bac8d67a77d18.jpg","text":"TemporaryFile(/tmp/multipartBody5851115889213821713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155073645,"filename":"image_02052025_01_09_04_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0be9038a22fc441b3ed9ca8f34d8676c.jpg","text":"TemporaryFile(/tmp/multipartBody1617111735151606589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155073645,"filename":"image_02052025_01_08_44_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6a926e553decbff85d0c089f8800054.jpg","text":"TemporaryFile(/tmp/multipartBody551643730410492561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155073645,"filename":"image_02052025_01_08_54_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355215208","file1":"1355215206","file0":"1355215203","file4":"1355215211","file5":"1355215212","file3":"1355215210"},"map_files_photo_id_array":[{"photo_id":"1355215212","filename":"file5"},{"photo_id":"1355215208","filename":"file2"},{"photo_id":"1355215211","filename":"file4"},{"photo_id":"1355215206","filename":"file1"},{"photo_id":"1355215203","filename":"file0"},{"photo_id":"1355215210","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355215212":["hashtag1","hashtag2"]},{"1355215203":["hashtag1","hashtag2"]},{"1355215206":["hashtag1","hashtag2"]},{"1355215211":["hashtag1","hashtag2"]},{"1355215208":["hashtag1","hashtag2"]},{"1355215210":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355215212, 1355215203, 1355215206, 1355215211, 1355215208, 1355215210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.645277976989746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:04:32.425801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/09/image_02052025_01_09_24_9366.jpg', '/home/pi/Desktop/images/02052025/01/09/image_02052025_01_09_35_10445.jpg', '/home/pi/Desktop/images/02052025/01/09/image_02052025_01_09_44_9381.jpg', '/home/pi/Desktop/images/02052025/01/09/image_02052025_01_09_54_10493.jpg', '/home/pi/Desktop/images/02052025/01/09/image_02052025_01_10_04_9424.jpg', '/home/pi/Desktop/images/02052025/01/10/image_02052025_01_10_14_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/09/image_02052025_01_09_24_9366.jpg
/home/pi/Desktop/images/02052025/01/09/image_02052025_01_09_35_10445.jpg
/home/pi/Desktop/images/02052025/01/09/image_02052025_01_09_44_9381.jpg
/home/pi/Desktop/images/02052025/01/09/image_02052025_01_09_54_10493.jpg
/home/pi/Desktop/images/02052025/01/09/image_02052025_01_10_04_9424.jpg
/home/pi/Desktop/images/02052025/01/10/image_02052025_01_10_14_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":["1355215425","1355215265","1355215238","1355215226","1355215291","1355215398"],"photo_ids_order":["1355215226","1355215238","1355215265","1355215291","1355215398","1355215425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ef046ce2e931c6127662ef0358c2131.jpg","text":"TemporaryFile(/tmp/multipartBody3036339434753649515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155132993,"filename":"image_02052025_01_10_14_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c47d7e6d81355d68b52c5329c85f26eb.jpg","text":"TemporaryFile(/tmp/multipartBody6469886825405661930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155132993,"filename":"image_02052025_01_09_44_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4c5b77f0a612b312a94aebbd12d8f3b4.jpg","text":"TemporaryFile(/tmp/multipartBody4694737518303975286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155132993,"filename":"image_02052025_01_09_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4238ce5007522b0d359552258d6b9596.jpg","text":"TemporaryFile(/tmp/multipartBody2406111093785239651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155132993,"filename":"image_02052025_01_09_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc7b43f5bada57bb94c278c661a50c9d.jpg","text":"TemporaryFile(/tmp/multipartBody2177667465510608227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155132993,"filename":"image_02052025_01_09_54_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/71c154d2d98df88cd7e878b344a0172d.jpg","text":"TemporaryFile(/tmp/multipartBody4323271126536497487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155132993,"filename":"image_02052025_01_10_04_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355215265","file1":"1355215238","file0":"1355215226","file4":"1355215398","file5":"1355215425","file3":"1355215291"},"map_files_photo_id_array":[{"photo_id":"1355215425","filename":"file5"},{"photo_id":"1355215265","filename":"file2"},{"photo_id":"1355215398","filename":"file4"},{"photo_id":"1355215238","filename":"file1"},{"photo_id":"1355215226","filename":"file0"},{"photo_id":"1355215291","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355215425":["hashtag1","hashtag2"]},{"1355215265":["hashtag1","hashtag2"]},{"1355215238":["hashtag1","hashtag2"]},{"1355215226":["hashtag1","hashtag2"]},{"1355215291":["hashtag1","hashtag2"]},{"1355215398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355215425, 1355215265, 1355215238, 1355215226, 1355215291, 1355215398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.54528880119324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:05:32.732868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/10/image_02052025_01_10_25_10355.jpg', '/home/pi/Desktop/images/02052025/01/10/image_02052025_01_10_34_9372.jpg', '/home/pi/Desktop/images/02052025/01/10/image_02052025_01_10_55_10388.jpg', '/home/pi/Desktop/images/02052025/01/10/image_02052025_01_11_04_9356.jpg', '/home/pi/Desktop/images/02052025/01/11/image_02052025_01_11_24_9353.jpg', '/home/pi/Desktop/images/02052025/01/11/image_02052025_01_11_34_10514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/10/image_02052025_01_10_25_10355.jpg
/home/pi/Desktop/images/02052025/01/10/image_02052025_01_10_34_9372.jpg
/home/pi/Desktop/images/02052025/01/10/image_02052025_01_10_55_10388.jpg
/home/pi/Desktop/images/02052025/01/10/image_02052025_01_11_04_9356.jpg
/home/pi/Desktop/images/02052025/01/11/image_02052025_01_11_24_9353.jpg
/home/pi/Desktop/images/02052025/01/11/image_02052025_01_11_34_10514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355215719","1355215625","1355216023","1355216107","1355215918","1355215810"],"photo_ids_order":["1355215625","1355215719","1355215810","1355215918","1355216023","1355216107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1035f74f67aa3d852761355b943497e8.jpg","text":"TemporaryFile(/tmp/multipartBody53314977415610218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155193288,"filename":"image_02052025_01_10_34_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96b37edb5022a856bc7d2b5d4e8db463.jpg","text":"TemporaryFile(/tmp/multipartBody6748170508788054424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155193288,"filename":"image_02052025_01_10_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/5/2/fe24961cd0a0926e7e2b889f0aec8a02.jpg","text":"TemporaryFile(/tmp/multipartBody3724422879617318996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155193288,"filename":"image_02052025_01_11_24_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/60a41373977f322e635c46594ee1dd97.jpg","text":"TemporaryFile(/tmp/multipartBody3486813483819548368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155193288,"filename":"image_02052025_01_11_34_10514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d59cd92631cf04377dccf86268b75c22.jpg","text":"TemporaryFile(/tmp/multipartBody8891629785096498937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155193288,"filename":"image_02052025_01_11_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/403fb2db70adfca3f054a7e16af7efff.jpg","text":"TemporaryFile(/tmp/multipartBody4791442038030518586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155193288,"filename":"image_02052025_01_10_55_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355215810","file1":"1355215719","file0":"1355215625","file4":"1355216023","file5":"1355216107","file3":"1355215918"},"map_files_photo_id_array":[{"photo_id":"1355216107","filename":"file5"},{"photo_id":"1355215810","filename":"file2"},{"photo_id":"1355216023","filename":"file4"},{"photo_id":"1355215719","filename":"file1"},{"photo_id":"1355215625","filename":"file0"},{"photo_id":"1355215918","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355215719":["hashtag1","hashtag2"]},{"1355215625":["hashtag1","hashtag2"]},{"1355216023":["hashtag1","hashtag2"]},{"1355216107":["hashtag1","hashtag2"]},{"1355215918":["hashtag1","hashtag2"]},{"1355215810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355215719, 1355215625, 1355216023, 1355216107, 1355215918, 1355215810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.245091676712036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:06:33.008977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/11/image_02052025_01_11_45_10364.jpg', '/home/pi/Desktop/images/02052025/01/11/image_02052025_01_11_54_9470.jpg', '/home/pi/Desktop/images/02052025/01/11/image_02052025_01_12_05_10368.jpg', '/home/pi/Desktop/images/02052025/01/12/image_02052025_01_12_35_10353.jpg', '/home/pi/Desktop/images/02052025/01/12/image_02052025_01_12_44_9447.jpg', '/home/pi/Desktop/images/02052025/01/12/image_02052025_01_12_55_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/11/image_02052025_01_11_45_10364.jpg
/home/pi/Desktop/images/02052025/01/11/image_02052025_01_11_54_9470.jpg
/home/pi/Desktop/images/02052025/01/11/image_02052025_01_12_05_10368.jpg
/home/pi/Desktop/images/02052025/01/12/image_02052025_01_12_35_10353.jpg
/home/pi/Desktop/images/02052025/01/12/image_02052025_01_12_44_9447.jpg
/home/pi/Desktop/images/02052025/01/12/image_02052025_01_12_55_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355216672","1355216683","1355216686","1355216676","1355216685","1355216679"],"photo_ids_order":["1355216672","1355216676","1355216679","1355216683","1355216685","1355216686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1775def33862264338029da323dbc50.jpg","text":"TemporaryFile(/tmp/multipartBody3392168137375028719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155253545,"filename":"image_02052025_01_11_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/5/2/b2975d5330269d28231cbde4ffc4e656.jpg","text":"TemporaryFile(/tmp/multipartBody7784993187300053664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155253545,"filename":"image_02052025_01_12_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/5/2/c76cf993d58d975dfd675a03eae20faa.jpg","text":"TemporaryFile(/tmp/multipartBody1518510607483088992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155253545,"filename":"image_02052025_01_12_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/5/2/a423c284cfeff9f1068370beb91d961a.jpg","text":"TemporaryFile(/tmp/multipartBody5718978714243860555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155253545,"filename":"image_02052025_01_11_54_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bcd82c8f1df6d95d93115fd14f85738e.jpg","text":"TemporaryFile(/tmp/multipartBody2793936610974525935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155253545,"filename":"image_02052025_01_12_44_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f91d66c573174c72b1d4bfa8736f5ff.jpg","text":"TemporaryFile(/tmp/multipartBody77162875227817562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155253545,"filename":"image_02052025_01_12_05_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355216679","file1":"1355216676","file0":"1355216672","file4":"1355216685","file5":"1355216686","file3":"1355216683"},"map_files_photo_id_array":[{"photo_id":"1355216686","filename":"file5"},{"photo_id":"1355216679","filename":"file2"},{"photo_id":"1355216685","filename":"file4"},{"photo_id":"1355216676","filename":"file1"},{"photo_id":"1355216672","filename":"file0"},{"photo_id":"1355216683","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355216672":["hashtag1","hashtag2"]},{"1355216683":["hashtag1","hashtag2"]},{"1355216686":["hashtag1","hashtag2"]},{"1355216676":["hashtag1","hashtag2"]},{"1355216685":["hashtag1","hashtag2"]},{"1355216679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355216672, 1355216683, 1355216686, 1355216676, 1355216685, 1355216679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.01453161239624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:07:33.236541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/12/image_02052025_01_13_04_9363.jpg', '/home/pi/Desktop/images/02052025/01/13/image_02052025_01_13_14_10383.jpg', '/home/pi/Desktop/images/02052025/01/13/image_02052025_01_13_25_10358.jpg', '/home/pi/Desktop/images/02052025/01/13/image_02052025_01_13_34_9347.jpg', '/home/pi/Desktop/images/02052025/01/13/image_02052025_01_13_45_10463.jpg', '/home/pi/Desktop/images/02052025/01/13/image_02052025_01_13_54_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/12/image_02052025_01_13_04_9363.jpg
/home/pi/Desktop/images/02052025/01/13/image_02052025_01_13_14_10383.jpg
/home/pi/Desktop/images/02052025/01/13/image_02052025_01_13_25_10358.jpg
/home/pi/Desktop/images/02052025/01/13/image_02052025_01_13_34_9347.jpg
/home/pi/Desktop/images/02052025/01/13/image_02052025_01_13_45_10463.jpg
/home/pi/Desktop/images/02052025/01/13/image_02052025_01_13_54_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":["1355216705","1355216701","1355216704","1355216707","1355216706","1355216699"],"photo_ids_order":["1355216699","1355216701","1355216704","1355216705","1355216706","1355216707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ac8370d7d2d99029ad263d7f3331c3a7.jpg","text":"TemporaryFile(/tmp/multipartBody6625975294304139250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155313796,"filename":"image_02052025_01_13_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/5/2/f5da70375203d4fa1da1867205d29e9f.jpg","text":"TemporaryFile(/tmp/multipartBody6982696587439352338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155313796,"filename":"image_02052025_01_13_14_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6a79228f84b532fe9a63b1247c184035.jpg","text":"TemporaryFile(/tmp/multipartBody4520176384593808355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155313796,"filename":"image_02052025_01_13_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/5/2/91c6165f3bf4055fbf6e42ae7e8aad4c.jpg","text":"TemporaryFile(/tmp/multipartBody2366138172750736890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155313796,"filename":"image_02052025_01_13_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c561eb801bac070547b02b5238ca8087.jpg","text":"TemporaryFile(/tmp/multipartBody1852930827637661373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155313796,"filename":"image_02052025_01_13_45_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb07ed2df358c8b1c4deae095cce2e7c.jpg","text":"TemporaryFile(/tmp/multipartBody1865746273524128562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155313796,"filename":"image_02052025_01_13_04_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355216704","file1":"1355216701","file0":"1355216699","file4":"1355216706","file5":"1355216707","file3":"1355216705"},"map_files_photo_id_array":[{"photo_id":"1355216707","filename":"file5"},{"photo_id":"1355216704","filename":"file2"},{"photo_id":"1355216706","filename":"file4"},{"photo_id":"1355216701","filename":"file1"},{"photo_id":"1355216699","filename":"file0"},{"photo_id":"1355216705","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355216705":["hashtag1","hashtag2"]},{"1355216701":["hashtag1","hashtag2"]},{"1355216704":["hashtag1","hashtag2"]},{"1355216707":["hashtag1","hashtag2"]},{"1355216706":["hashtag1","hashtag2"]},{"1355216699":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355216705, 1355216701, 1355216704, 1355216707, 1355216706, 1355216699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27449917793274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:08:32.405364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/13/image_02052025_01_14_04_10402.jpg', '/home/pi/Desktop/images/02052025/01/14/image_02052025_01_14_15_10366.jpg', '/home/pi/Desktop/images/02052025/01/14/image_02052025_01_14_24_9353.jpg', '/home/pi/Desktop/images/02052025/01/14/image_02052025_01_14_34_10431.jpg', '/home/pi/Desktop/images/02052025/01/14/image_02052025_01_14_44_9364.jpg', '/home/pi/Desktop/images/02052025/01/14/image_02052025_01_14_54_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/13/image_02052025_01_14_04_10402.jpg
/home/pi/Desktop/images/02052025/01/14/image_02052025_01_14_15_10366.jpg
/home/pi/Desktop/images/02052025/01/14/image_02052025_01_14_24_9353.jpg
/home/pi/Desktop/images/02052025/01/14/image_02052025_01_14_34_10431.jpg
/home/pi/Desktop/images/02052025/01/14/image_02052025_01_14_44_9364.jpg
/home/pi/Desktop/images/02052025/01/14/image_02052025_01_14_54_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":["1355217128","1355217200","1355217122","1355217130","1355217124","1355217126"],"photo_ids_order":["1355217122","1355217124","1355217126","1355217128","1355217130","1355217200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d6f3fdaa44e02f74d23514333d3dce64.jpg","text":"TemporaryFile(/tmp/multipartBody1824560969801271477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155373345,"filename":"image_02052025_01_14_34_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1ff77c9575552911b3adf789b1e5b543.jpg","text":"TemporaryFile(/tmp/multipartBody4460709683507186512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155373345,"filename":"image_02052025_01_14_54_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/98ece671d3b43fd50ed998a6300158d1.jpg","text":"TemporaryFile(/tmp/multipartBody5377305709216895627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155373345,"filename":"image_02052025_01_14_04_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/99a36178699cc1b0fcba204655a1e51b.jpg","text":"TemporaryFile(/tmp/multipartBody3075004939936736120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155373345,"filename":"image_02052025_01_14_44_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1ca56c16b3f7b47d4fedeb30d1f8fce.jpg","text":"TemporaryFile(/tmp/multipartBody3163836809837289772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155373345,"filename":"image_02052025_01_14_15_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf12214c44ff43cc499f6867156568cb.jpg","text":"TemporaryFile(/tmp/multipartBody3029528165639179052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155373345,"filename":"image_02052025_01_14_24_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217126","file1":"1355217124","file0":"1355217122","file4":"1355217130","file5":"1355217200","file3":"1355217128"},"map_files_photo_id_array":[{"photo_id":"1355217200","filename":"file5"},{"photo_id":"1355217126","filename":"file2"},{"photo_id":"1355217130","filename":"file4"},{"photo_id":"1355217124","filename":"file1"},{"photo_id":"1355217122","filename":"file0"},{"photo_id":"1355217128","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217128":["hashtag1","hashtag2"]},{"1355217200":["hashtag1","hashtag2"]},{"1355217122":["hashtag1","hashtag2"]},{"1355217130":["hashtag1","hashtag2"]},{"1355217124":["hashtag1","hashtag2"]},{"1355217126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217128, 1355217200, 1355217122, 1355217130, 1355217124, 1355217126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66780400276184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:09:32.630680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/14/image_02052025_01_15_05_10393.jpg', '/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_14_9365.jpg', '/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_24_10466.jpg', '/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_35_10343.jpg', '/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_44_9416.jpg', '/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_55_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/14/image_02052025_01_15_05_10393.jpg
/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_14_9365.jpg
/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_24_10466.jpg
/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_35_10343.jpg
/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_44_9416.jpg
/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_55_10392.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48072147369384766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 05:09:42.724614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/14/image_02052025_01_15_05_10393.jpg', '/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_14_9365.jpg', '/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_24_10466.jpg', '/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_35_10343.jpg', '/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_44_9416.jpg', '/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_55_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/14/image_02052025_01_15_05_10393.jpg
/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_14_9365.jpg
/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_24_10466.jpg
/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_35_10343.jpg
/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_44_9416.jpg
/home/pi/Desktop/images/02052025/01/15/image_02052025_01_15_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":["1355217254","1355217259","1355217252","1355217246","1355217255","1355217249"],"photo_ids_order":["1355217246","1355217249","1355217252","1355217254","1355217255","1355217259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d0e0c15d7cd578f44653897613d2ff0.jpg","text":"TemporaryFile(/tmp/multipartBody990107822893881227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155443219,"filename":"image_02052025_01_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/5/2/24e1f33fd94bca46b12baf23516df19a.jpg","text":"TemporaryFile(/tmp/multipartBody9202959089503631215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155443219,"filename":"image_02052025_01_15_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/5/2/7f496f81198a5f767400fdcd4c471d2b.jpg","text":"TemporaryFile(/tmp/multipartBody6834237039978154569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155443219,"filename":"image_02052025_01_15_24_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f469797c6ea3eb059f49fc7d143a8f53.jpg","text":"TemporaryFile(/tmp/multipartBody3158773999771933378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155443219,"filename":"image_02052025_01_15_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/5/2/d60a2a60f81540cd4ad8e9a86aee10d3.jpg","text":"TemporaryFile(/tmp/multipartBody274688715623604152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155443219,"filename":"image_02052025_01_15_44_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db4b88ce7bf78d59d1c1d66f10775321.jpg","text":"TemporaryFile(/tmp/multipartBody8394114247369366478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155443219,"filename":"image_02052025_01_15_14_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217252","file1":"1355217249","file0":"1355217246","file4":"1355217255","file5":"1355217259","file3":"1355217254"},"map_files_photo_id_array":[{"photo_id":"1355217259","filename":"file5"},{"photo_id":"1355217252","filename":"file2"},{"photo_id":"1355217255","filename":"file4"},{"photo_id":"1355217249","filename":"file1"},{"photo_id":"1355217246","filename":"file0"},{"photo_id":"1355217254","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217254":["hashtag1","hashtag2"]},{"1355217259":["hashtag1","hashtag2"]},{"1355217252":["hashtag1","hashtag2"]},{"1355217246":["hashtag1","hashtag2"]},{"1355217255":["hashtag1","hashtag2"]},{"1355217249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217254, 1355217259, 1355217252, 1355217246, 1355217255, 1355217249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71285891532898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:10:32.819526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/15/image_02052025_01_16_04_9349.jpg', '/home/pi/Desktop/images/02052025/01/16/image_02052025_01_16_14_10397.jpg', '/home/pi/Desktop/images/02052025/01/16/image_02052025_01_16_25_10364.jpg', '/home/pi/Desktop/images/02052025/01/16/image_02052025_01_16_34_9348.jpg', '/home/pi/Desktop/images/02052025/01/16/image_02052025_01_16_44_10443.jpg', '/home/pi/Desktop/images/02052025/01/16/image_02052025_01_16_54_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/15/image_02052025_01_16_04_9349.jpg
/home/pi/Desktop/images/02052025/01/16/image_02052025_01_16_14_10397.jpg
/home/pi/Desktop/images/02052025/01/16/image_02052025_01_16_25_10364.jpg
/home/pi/Desktop/images/02052025/01/16/image_02052025_01_16_34_9348.jpg
/home/pi/Desktop/images/02052025/01/16/image_02052025_01_16_44_10443.jpg
/home/pi/Desktop/images/02052025/01/16/image_02052025_01_16_54_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":["1355217271","1355217280","1355217274","1355217268","1355217277","1355217282"],"photo_ids_order":["1355217268","1355217271","1355217274","1355217277","1355217280","1355217282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/359f0cf883ff03c385ed9a71a8aefe9e.jpg","text":"TemporaryFile(/tmp/multipartBody2544661195024831397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155493374,"filename":"image_02052025_01_16_14_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d708839b4b2c3cbdde27b492056ef394.jpg","text":"TemporaryFile(/tmp/multipartBody2913439221017062176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155493374,"filename":"image_02052025_01_16_44_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/edf6a7bf40ced27275de60f261dc216d.jpg","text":"TemporaryFile(/tmp/multipartBody8495553723649321877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155493374,"filename":"image_02052025_01_16_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/5/2/cb225f93f0727549b2b3f0da81b84d53.jpg","text":"TemporaryFile(/tmp/multipartBody1540437258875526868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155493374,"filename":"image_02052025_01_16_04_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2c923aef82b8d219e6efeb685b175ea.jpg","text":"TemporaryFile(/tmp/multipartBody386320486058953670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155493374,"filename":"image_02052025_01_16_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7ea26cbf3ee8983f59baf31a0049205.jpg","text":"TemporaryFile(/tmp/multipartBody6094588680922173343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155493374,"filename":"image_02052025_01_16_54_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217274","file1":"1355217271","file0":"1355217268","file4":"1355217280","file5":"1355217282","file3":"1355217277"},"map_files_photo_id_array":[{"photo_id":"1355217282","filename":"file5"},{"photo_id":"1355217274","filename":"file2"},{"photo_id":"1355217280","filename":"file4"},{"photo_id":"1355217271","filename":"file1"},{"photo_id":"1355217268","filename":"file0"},{"photo_id":"1355217277","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217271":["hashtag1","hashtag2"]},{"1355217280":["hashtag1","hashtag2"]},{"1355217274":["hashtag1","hashtag2"]},{"1355217268":["hashtag1","hashtag2"]},{"1355217277":["hashtag1","hashtag2"]},{"1355217282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217271, 1355217280, 1355217274, 1355217268, 1355217277, 1355217282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05130577087402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:11:33.022285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/16/image_02052025_01_17_04_10413.jpg', '/home/pi/Desktop/images/02052025/01/17/image_02052025_01_17_15_10363.jpg', '/home/pi/Desktop/images/02052025/01/17/image_02052025_01_17_24_9354.jpg', '/home/pi/Desktop/images/02052025/01/17/image_02052025_01_17_34_10355.jpg', '/home/pi/Desktop/images/02052025/01/17/image_02052025_01_17_45_10361.jpg', '/home/pi/Desktop/images/02052025/01/17/image_02052025_01_17_54_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/16/image_02052025_01_17_04_10413.jpg
/home/pi/Desktop/images/02052025/01/17/image_02052025_01_17_15_10363.jpg
/home/pi/Desktop/images/02052025/01/17/image_02052025_01_17_24_9354.jpg
/home/pi/Desktop/images/02052025/01/17/image_02052025_01_17_34_10355.jpg
/home/pi/Desktop/images/02052025/01/17/image_02052025_01_17_45_10361.jpg
/home/pi/Desktop/images/02052025/01/17/image_02052025_01_17_54_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":["1355217302","1355217304","1355217294","1355217297","1355217303","1355217306"],"photo_ids_order":["1355217294","1355217297","1355217302","1355217303","1355217304","1355217306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6655f80384a131cf685419fdf02e8a69.jpg","text":"TemporaryFile(/tmp/multipartBody1395470773372784684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155553569,"filename":"image_02052025_01_17_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/5/2/8efd84ffa063c5a2e27922abd6264108.jpg","text":"TemporaryFile(/tmp/multipartBody6823499429341551612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155553569,"filename":"image_02052025_01_17_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/5/2/703559893d5a3f5f6ed3030d4a2d0186.jpg","text":"TemporaryFile(/tmp/multipartBody373686612059499320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155553569,"filename":"image_02052025_01_17_04_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/66bee61da0e6623cd492a88b162ca5f7.jpg","text":"TemporaryFile(/tmp/multipartBody5949747440539915212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155553569,"filename":"image_02052025_01_17_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/5/2/90fcb36bc24e9c7aabc8671bbb28a20e.jpg","text":"TemporaryFile(/tmp/multipartBody1554435697723328187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155553569,"filename":"image_02052025_01_17_34_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/24fbefb3f2193c3f033809fd4dc66be6.jpg","text":"TemporaryFile(/tmp/multipartBody5253891936003858664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155553569,"filename":"image_02052025_01_17_54_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217302","file1":"1355217297","file0":"1355217294","file4":"1355217304","file5":"1355217306","file3":"1355217303"},"map_files_photo_id_array":[{"photo_id":"1355217306","filename":"file5"},{"photo_id":"1355217302","filename":"file2"},{"photo_id":"1355217304","filename":"file4"},{"photo_id":"1355217297","filename":"file1"},{"photo_id":"1355217294","filename":"file0"},{"photo_id":"1355217303","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217302":["hashtag1","hashtag2"]},{"1355217304":["hashtag1","hashtag2"]},{"1355217294":["hashtag1","hashtag2"]},{"1355217297":["hashtag1","hashtag2"]},{"1355217303":["hashtag1","hashtag2"]},{"1355217306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217302, 1355217304, 1355217294, 1355217297, 1355217303, 1355217306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.374597787857056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:12:32.299234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/17/image_02052025_01_18_05_10533.jpg', '/home/pi/Desktop/images/02052025/01/18/image_02052025_01_18_14_9357.jpg', '/home/pi/Desktop/images/02052025/01/18/image_02052025_01_18_24_10485.jpg', '/home/pi/Desktop/images/02052025/01/18/image_02052025_01_18_34_9357.jpg', '/home/pi/Desktop/images/02052025/01/18/image_02052025_01_18_44_10351.jpg', '/home/pi/Desktop/images/02052025/01/18/image_02052025_01_18_55_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/17/image_02052025_01_18_05_10533.jpg
/home/pi/Desktop/images/02052025/01/18/image_02052025_01_18_14_9357.jpg
/home/pi/Desktop/images/02052025/01/18/image_02052025_01_18_24_10485.jpg
/home/pi/Desktop/images/02052025/01/18/image_02052025_01_18_34_9357.jpg
/home/pi/Desktop/images/02052025/01/18/image_02052025_01_18_44_10351.jpg
/home/pi/Desktop/images/02052025/01/18/image_02052025_01_18_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":["1355217323","1355217320","1355217317","1355217322","1355217321","1355217324"],"photo_ids_order":["1355217317","1355217320","1355217321","1355217322","1355217323","1355217324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a3d2178b6bbe21a97b8b6b6f3ffe139a.jpg","text":"TemporaryFile(/tmp/multipartBody1409873909663848805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155612928,"filename":"image_02052025_01_18_44_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc0bd16a656b6c02660bd30a065713ae.jpg","text":"TemporaryFile(/tmp/multipartBody8017684063887083297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155612928,"filename":"image_02052025_01_18_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f29962cc1ff8e35e3e29420348fce4d5.jpg","text":"TemporaryFile(/tmp/multipartBody330879747508258781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155612928,"filename":"image_02052025_01_18_05_10533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c21aa70555e3cb3171c8819e7f557e3.jpg","text":"TemporaryFile(/tmp/multipartBody5168672436752747555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155612928,"filename":"image_02052025_01_18_34_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cd1fa8eec90197dfe2af7580f0ff5073.jpg","text":"TemporaryFile(/tmp/multipartBody2014276982348706101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155612928,"filename":"image_02052025_01_18_24_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c24c9b51f315eb12cd7378e4dc8ac4bc.jpg","text":"TemporaryFile(/tmp/multipartBody2350462103393416086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155612928,"filename":"image_02052025_01_18_55_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217321","file1":"1355217320","file0":"1355217317","file4":"1355217323","file5":"1355217324","file3":"1355217322"},"map_files_photo_id_array":[{"photo_id":"1355217324","filename":"file5"},{"photo_id":"1355217321","filename":"file2"},{"photo_id":"1355217323","filename":"file4"},{"photo_id":"1355217320","filename":"file1"},{"photo_id":"1355217317","filename":"file0"},{"photo_id":"1355217322","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217323":["hashtag1","hashtag2"]},{"1355217320":["hashtag1","hashtag2"]},{"1355217317":["hashtag1","hashtag2"]},{"1355217322":["hashtag1","hashtag2"]},{"1355217321":["hashtag1","hashtag2"]},{"1355217324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217323, 1355217320, 1355217317, 1355217322, 1355217321, 1355217324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.011019229888916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:13:32.470831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/18/image_02052025_01_19_04_9351.jpg', '/home/pi/Desktop/images/02052025/01/19/image_02052025_01_19_14_10487.jpg', '/home/pi/Desktop/images/02052025/01/19/image_02052025_01_19_24_9358.jpg', '/home/pi/Desktop/images/02052025/01/19/image_02052025_01_19_34_10355.jpg', '/home/pi/Desktop/images/02052025/01/19/image_02052025_01_19_45_10452.jpg', '/home/pi/Desktop/images/02052025/01/19/image_02052025_01_19_54_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/18/image_02052025_01_19_04_9351.jpg
/home/pi/Desktop/images/02052025/01/19/image_02052025_01_19_14_10487.jpg
/home/pi/Desktop/images/02052025/01/19/image_02052025_01_19_24_9358.jpg
/home/pi/Desktop/images/02052025/01/19/image_02052025_01_19_34_10355.jpg
/home/pi/Desktop/images/02052025/01/19/image_02052025_01_19_45_10452.jpg
/home/pi/Desktop/images/02052025/01/19/image_02052025_01_19_54_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":["1355217347","1355217340","1355217346","1355217345","1355217348","1355217342"],"photo_ids_order":["1355217340","1355217342","1355217345","1355217346","1355217347","1355217348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c50c3a295f41cc39f226f9a40a1ba9e9.jpg","text":"TemporaryFile(/tmp/multipartBody4970697426249408264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155673001,"filename":"image_02052025_01_19_45_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dfebae830b7da4731536170598414070.jpg","text":"TemporaryFile(/tmp/multipartBody7539900164253161833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155673001,"filename":"image_02052025_01_19_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/5/2/6c95c43412760516fa4598f254fdd8c7.jpg","text":"TemporaryFile(/tmp/multipartBody2623445027393985332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155673001,"filename":"image_02052025_01_19_34_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9643e3742043b23474013b2955931a3.jpg","text":"TemporaryFile(/tmp/multipartBody3812862430912177825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155673001,"filename":"image_02052025_01_19_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b989008b414be0141a4c6186f7efe7e.jpg","text":"TemporaryFile(/tmp/multipartBody1570714180438715427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155673001,"filename":"image_02052025_01_19_54_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db181356b2a7dec4fff76c6a39f4fc50.jpg","text":"TemporaryFile(/tmp/multipartBody1599340644321448506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155673001,"filename":"image_02052025_01_19_14_10487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217345","file1":"1355217342","file0":"1355217340","file4":"1355217347","file5":"1355217348","file3":"1355217346"},"map_files_photo_id_array":[{"photo_id":"1355217348","filename":"file5"},{"photo_id":"1355217345","filename":"file2"},{"photo_id":"1355217347","filename":"file4"},{"photo_id":"1355217342","filename":"file1"},{"photo_id":"1355217340","filename":"file0"},{"photo_id":"1355217346","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217347":["hashtag1","hashtag2"]},{"1355217340":["hashtag1","hashtag2"]},{"1355217346":["hashtag1","hashtag2"]},{"1355217345":["hashtag1","hashtag2"]},{"1355217348":["hashtag1","hashtag2"]},{"1355217342":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217347, 1355217340, 1355217346, 1355217345, 1355217348, 1355217342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.615054607391357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:14:32.659105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/19/image_02052025_01_20_04_10432.jpg', '/home/pi/Desktop/images/02052025/01/20/image_02052025_01_20_15_10375.jpg', '/home/pi/Desktop/images/02052025/01/20/image_02052025_01_20_24_9360.jpg', '/home/pi/Desktop/images/02052025/01/20/image_02052025_01_20_34_10351.jpg', '/home/pi/Desktop/images/02052025/01/20/image_02052025_01_20_44_9347.jpg', '/home/pi/Desktop/images/02052025/01/20/image_02052025_01_20_54_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/19/image_02052025_01_20_04_10432.jpg
/home/pi/Desktop/images/02052025/01/20/image_02052025_01_20_15_10375.jpg
/home/pi/Desktop/images/02052025/01/20/image_02052025_01_20_24_9360.jpg
/home/pi/Desktop/images/02052025/01/20/image_02052025_01_20_34_10351.jpg
/home/pi/Desktop/images/02052025/01/20/image_02052025_01_20_44_9347.jpg
/home/pi/Desktop/images/02052025/01/20/image_02052025_01_20_54_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":["1355217367","1355217376","1355217364","1355217375","1355217369","1355217374"],"photo_ids_order":["1355217364","1355217367","1355217369","1355217374","1355217375","1355217376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9fac2b5f6127656f36ffbc0e210d7dcc.jpg","text":"TemporaryFile(/tmp/multipartBody4546263615909499934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155733208,"filename":"image_02052025_01_20_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/5/2/cf4db541a8278e23d1f66ca33b4ed89d.jpg","text":"TemporaryFile(/tmp/multipartBody5140057303336972149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155733208,"filename":"image_02052025_01_20_54_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/62a8832281ee5c3c9833b917608d8cfa.jpg","text":"TemporaryFile(/tmp/multipartBody2142238568476675128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155733208,"filename":"image_02052025_01_20_04_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/29325d5d57e566a6f75d21e280a3a3b0.jpg","text":"TemporaryFile(/tmp/multipartBody113416496278172744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155733208,"filename":"image_02052025_01_20_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2884688556858c8aaed65aa977a5c3f8.jpg","text":"TemporaryFile(/tmp/multipartBody9067345605966580416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155733208,"filename":"image_02052025_01_20_24_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c6b32674cfdcbef4825d2d8fcc874c9.jpg","text":"TemporaryFile(/tmp/multipartBody6696025885448286302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155733208,"filename":"image_02052025_01_20_34_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217369","file1":"1355217367","file0":"1355217364","file4":"1355217375","file5":"1355217376","file3":"1355217374"},"map_files_photo_id_array":[{"photo_id":"1355217376","filename":"file5"},{"photo_id":"1355217369","filename":"file2"},{"photo_id":"1355217375","filename":"file4"},{"photo_id":"1355217367","filename":"file1"},{"photo_id":"1355217364","filename":"file0"},{"photo_id":"1355217374","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217367":["hashtag1","hashtag2"]},{"1355217376":["hashtag1","hashtag2"]},{"1355217364":["hashtag1","hashtag2"]},{"1355217375":["hashtag1","hashtag2"]},{"1355217369":["hashtag1","hashtag2"]},{"1355217374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217367, 1355217376, 1355217364, 1355217375, 1355217369, 1355217374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79978632926941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:15:32.878295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/20/image_02052025_01_21_05_10416.jpg', '/home/pi/Desktop/images/02052025/01/21/image_02052025_01_21_14_9334.jpg', '/home/pi/Desktop/images/02052025/01/21/image_02052025_01_21_24_10388.jpg', '/home/pi/Desktop/images/02052025/01/21/image_02052025_01_21_35_10356.jpg', '/home/pi/Desktop/images/02052025/01/21/image_02052025_01_21_44_9385.jpg', '/home/pi/Desktop/images/02052025/01/21/image_02052025_01_21_54_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/20/image_02052025_01_21_05_10416.jpg
/home/pi/Desktop/images/02052025/01/21/image_02052025_01_21_14_9334.jpg
/home/pi/Desktop/images/02052025/01/21/image_02052025_01_21_24_10388.jpg
/home/pi/Desktop/images/02052025/01/21/image_02052025_01_21_35_10356.jpg
/home/pi/Desktop/images/02052025/01/21/image_02052025_01_21_44_9385.jpg
/home/pi/Desktop/images/02052025/01/21/image_02052025_01_21_54_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355217401","1355217403","1355217412","1355217406","1355217409","1355217405"],"photo_ids_order":["1355217401","1355217403","1355217405","1355217406","1355217409","1355217412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bfc80bed1071da1c6f95f1ca4766952d.jpg","text":"TemporaryFile(/tmp/multipartBody4655866330870421371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155793442,"filename":"image_02052025_01_21_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/5/2/744783de0c1b76a4aad0911400288914.jpg","text":"TemporaryFile(/tmp/multipartBody4845214700533039261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155793442,"filename":"image_02052025_01_21_14_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4c19fc0bc5ea6c7fbf7970d1922b8870.jpg","text":"TemporaryFile(/tmp/multipartBody5491809580069657102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155793442,"filename":"image_02052025_01_21_54_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3ca0c814e0506f92601c661463dce37.jpg","text":"TemporaryFile(/tmp/multipartBody7698332199336964513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155793442,"filename":"image_02052025_01_21_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/5/2/b34c58671eee29aec21a49aaedbb04bd.jpg","text":"TemporaryFile(/tmp/multipartBody8966074702970601990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155793442,"filename":"image_02052025_01_21_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/5/2/06c4bbc046d2de17fbf9558bd41ee459.jpg","text":"TemporaryFile(/tmp/multipartBody4961731574275974741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155793442,"filename":"image_02052025_01_21_24_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217405","file1":"1355217403","file0":"1355217401","file4":"1355217409","file5":"1355217412","file3":"1355217406"},"map_files_photo_id_array":[{"photo_id":"1355217412","filename":"file5"},{"photo_id":"1355217405","filename":"file2"},{"photo_id":"1355217409","filename":"file4"},{"photo_id":"1355217403","filename":"file1"},{"photo_id":"1355217401","filename":"file0"},{"photo_id":"1355217406","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217401":["hashtag1","hashtag2"]},{"1355217403":["hashtag1","hashtag2"]},{"1355217412":["hashtag1","hashtag2"]},{"1355217406":["hashtag1","hashtag2"]},{"1355217409":["hashtag1","hashtag2"]},{"1355217405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217401, 1355217403, 1355217412, 1355217406, 1355217409, 1355217405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.694480895996094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:16:33.205144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/21/image_02052025_01_22_04_9379.jpg', '/home/pi/Desktop/images/02052025/01/22/image_02052025_01_22_14_10447.jpg', '/home/pi/Desktop/images/02052025/01/22/image_02052025_01_22_25_10392.jpg', '/home/pi/Desktop/images/02052025/01/22/image_02052025_01_22_34_9356.jpg', '/home/pi/Desktop/images/02052025/01/22/image_02052025_01_22_44_10375.jpg', '/home/pi/Desktop/images/02052025/01/22/image_02052025_01_22_54_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/21/image_02052025_01_22_04_9379.jpg
/home/pi/Desktop/images/02052025/01/22/image_02052025_01_22_14_10447.jpg
/home/pi/Desktop/images/02052025/01/22/image_02052025_01_22_25_10392.jpg
/home/pi/Desktop/images/02052025/01/22/image_02052025_01_22_34_9356.jpg
/home/pi/Desktop/images/02052025/01/22/image_02052025_01_22_44_10375.jpg
/home/pi/Desktop/images/02052025/01/22/image_02052025_01_22_54_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355217443","1355217431","1355217428","1355217433","1355217436","1355217440"],"photo_ids_order":["1355217428","1355217431","1355217433","1355217436","1355217440","1355217443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5168f2341865f163d336e7b76280af78.jpg","text":"TemporaryFile(/tmp/multipartBody4859401545302300680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155853754,"filename":"image_02052025_01_22_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b049e635c288705efadc519a3f4066b.jpg","text":"TemporaryFile(/tmp/multipartBody5752442291666128997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155853754,"filename":"image_02052025_01_22_14_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11732a3e71193f40e48d1420fde3bd8e.jpg","text":"TemporaryFile(/tmp/multipartBody7370489104906418140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155853754,"filename":"image_02052025_01_22_04_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d459eab4e78cf008aa414325ca76bf70.jpg","text":"TemporaryFile(/tmp/multipartBody891467620612715086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155853754,"filename":"image_02052025_01_22_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1061ff8d25058b7831208a851929ed6.jpg","text":"TemporaryFile(/tmp/multipartBody1114774239229286633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155853754,"filename":"image_02052025_01_22_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0783d19a7f1356e637cf59fa06258c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8079506914095029069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155853754,"filename":"image_02052025_01_22_44_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217433","file1":"1355217431","file0":"1355217428","file4":"1355217440","file5":"1355217443","file3":"1355217436"},"map_files_photo_id_array":[{"photo_id":"1355217443","filename":"file5"},{"photo_id":"1355217433","filename":"file2"},{"photo_id":"1355217440","filename":"file4"},{"photo_id":"1355217431","filename":"file1"},{"photo_id":"1355217428","filename":"file0"},{"photo_id":"1355217436","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217443":["hashtag1","hashtag2"]},{"1355217431":["hashtag1","hashtag2"]},{"1355217428":["hashtag1","hashtag2"]},{"1355217433":["hashtag1","hashtag2"]},{"1355217436":["hashtag1","hashtag2"]},{"1355217440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217443, 1355217431, 1355217428, 1355217433, 1355217436, 1355217440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01913404464722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:17:32.447294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/22/image_02052025_01_23_04_10433.jpg', '/home/pi/Desktop/images/02052025/01/23/image_02052025_01_23_15_10351.jpg', '/home/pi/Desktop/images/02052025/01/23/image_02052025_01_23_24_9360.jpg', '/home/pi/Desktop/images/02052025/01/23/image_02052025_01_23_34_10417.jpg', '/home/pi/Desktop/images/02052025/01/23/image_02052025_01_23_45_10356.jpg', '/home/pi/Desktop/images/02052025/01/23/image_02052025_01_23_54_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/22/image_02052025_01_23_04_10433.jpg
/home/pi/Desktop/images/02052025/01/23/image_02052025_01_23_15_10351.jpg
/home/pi/Desktop/images/02052025/01/23/image_02052025_01_23_24_9360.jpg
/home/pi/Desktop/images/02052025/01/23/image_02052025_01_23_34_10417.jpg
/home/pi/Desktop/images/02052025/01/23/image_02052025_01_23_45_10356.jpg
/home/pi/Desktop/images/02052025/01/23/image_02052025_01_23_54_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355217470","1355217475","1355217462","1355217465","1355217473","1355217467"],"photo_ids_order":["1355217462","1355217465","1355217467","1355217470","1355217473","1355217475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f675d1ada49d81e7e0719f1327b4d40a.jpg","text":"TemporaryFile(/tmp/multipartBody7592437587284546205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155912994,"filename":"image_02052025_01_23_34_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/60c5c7656a37bb9a94928c3cd3f83734.jpg","text":"TemporaryFile(/tmp/multipartBody7711342785668691690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155912994,"filename":"image_02052025_01_23_54_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a87854c0a5d18ad2caf0d7f023ecb43a.jpg","text":"TemporaryFile(/tmp/multipartBody7354780429971551866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155912994,"filename":"image_02052025_01_23_04_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f19401f3214b1934f66c36040d8ca11.jpg","text":"TemporaryFile(/tmp/multipartBody5367274992316360857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155912994,"filename":"image_02052025_01_23_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/5/2/806f3ca9d6302387489d68f95dc3454d.jpg","text":"TemporaryFile(/tmp/multipartBody8318972367820483614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155912994,"filename":"image_02052025_01_23_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/5/2/ee9760136e957ee42ab399dfaeaa9b37.jpg","text":"TemporaryFile(/tmp/multipartBody2703539910679458610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155912994,"filename":"image_02052025_01_23_24_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217467","file1":"1355217465","file0":"1355217462","file4":"1355217473","file5":"1355217475","file3":"1355217470"},"map_files_photo_id_array":[{"photo_id":"1355217475","filename":"file5"},{"photo_id":"1355217467","filename":"file2"},{"photo_id":"1355217473","filename":"file4"},{"photo_id":"1355217465","filename":"file1"},{"photo_id":"1355217462","filename":"file0"},{"photo_id":"1355217470","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217470":["hashtag1","hashtag2"]},{"1355217475":["hashtag1","hashtag2"]},{"1355217462":["hashtag1","hashtag2"]},{"1355217465":["hashtag1","hashtag2"]},{"1355217473":["hashtag1","hashtag2"]},{"1355217467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217470, 1355217475, 1355217462, 1355217465, 1355217473, 1355217467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.25849747657776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:18:32.640512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/23/image_02052025_01_24_05_10451.jpg', '/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_14_9350.jpg', '/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_24_10415.jpg', '/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_35_10352.jpg', '/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_44_9401.jpg', '/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_55_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/23/image_02052025_01_24_05_10451.jpg
/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_14_9350.jpg
/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_24_10415.jpg
/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_35_10352.jpg
/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_44_9401.jpg
/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_55_10456.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46865367889404297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 05:18:42.669362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/23/image_02052025_01_24_05_10451.jpg', '/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_14_9350.jpg', '/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_24_10415.jpg', '/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_35_10352.jpg', '/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_44_9401.jpg', '/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_55_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/23/image_02052025_01_24_05_10451.jpg
/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_14_9350.jpg
/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_24_10415.jpg
/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_35_10352.jpg
/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_44_9401.jpg
/home/pi/Desktop/images/02052025/01/24/image_02052025_01_24_55_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355217518","1355217498","1355217525","1355217510","1355217507","1355217522"],"photo_ids_order":["1355217498","1355217507","1355217510","1355217518","1355217522","1355217525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f22c6a776e75aebf66f9c98b101af68d.jpg","text":"TemporaryFile(/tmp/multipartBody2258410947514590822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155983140,"filename":"image_02052025_01_24_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/5/2/ce7dbe7427d73e9cd6421304f11c5a0c.jpg","text":"TemporaryFile(/tmp/multipartBody690274605946411913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155983140,"filename":"image_02052025_01_24_05_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09ce5752f89ff5b72411b04f30d9c512.jpg","text":"TemporaryFile(/tmp/multipartBody7055719922382358517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155983140,"filename":"image_02052025_01_24_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec968c0f3e1d9d55d7224995a98de62d.jpg","text":"TemporaryFile(/tmp/multipartBody1326357847060346150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155983140,"filename":"image_02052025_01_24_24_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90c865b8d68d0e7caaa7ab15c39907eb.jpg","text":"TemporaryFile(/tmp/multipartBody5725817835246126335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155983140,"filename":"image_02052025_01_24_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/24051d74de05ba542f6960ac047f0910.jpg","text":"TemporaryFile(/tmp/multipartBody1507519980592073258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746155983140,"filename":"image_02052025_01_24_44_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217510","file1":"1355217507","file0":"1355217498","file4":"1355217522","file5":"1355217525","file3":"1355217518"},"map_files_photo_id_array":[{"photo_id":"1355217525","filename":"file5"},{"photo_id":"1355217510","filename":"file2"},{"photo_id":"1355217522","filename":"file4"},{"photo_id":"1355217507","filename":"file1"},{"photo_id":"1355217498","filename":"file0"},{"photo_id":"1355217518","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217518":["hashtag1","hashtag2"]},{"1355217498":["hashtag1","hashtag2"]},{"1355217525":["hashtag1","hashtag2"]},{"1355217510":["hashtag1","hashtag2"]},{"1355217507":["hashtag1","hashtag2"]},{"1355217522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217518, 1355217498, 1355217525, 1355217510, 1355217507, 1355217522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.464489459991455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:19:33.149538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/24/image_02052025_01_25_04_9367.jpg', '/home/pi/Desktop/images/02052025/01/25/image_02052025_01_25_14_10531.jpg', '/home/pi/Desktop/images/02052025/01/25/image_02052025_01_25_24_9367.jpg', '/home/pi/Desktop/images/02052025/01/25/image_02052025_01_25_34_10361.jpg', '/home/pi/Desktop/images/02052025/01/25/image_02052025_01_25_45_10420.jpg', '/home/pi/Desktop/images/02052025/01/25/image_02052025_01_25_54_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/24/image_02052025_01_25_04_9367.jpg
/home/pi/Desktop/images/02052025/01/25/image_02052025_01_25_14_10531.jpg
/home/pi/Desktop/images/02052025/01/25/image_02052025_01_25_24_9367.jpg
/home/pi/Desktop/images/02052025/01/25/image_02052025_01_25_34_10361.jpg
/home/pi/Desktop/images/02052025/01/25/image_02052025_01_25_45_10420.jpg
/home/pi/Desktop/images/02052025/01/25/image_02052025_01_25_54_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":["1355217562","1355217544","1355217556","1355217541","1355217561","1355217548"],"photo_ids_order":["1355217541","1355217544","1355217548","1355217556","1355217561","1355217562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b266e0941b36156d7884daea268da099.jpg","text":"TemporaryFile(/tmp/multipartBody8490701997320470973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156033695,"filename":"image_02052025_01_25_54_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b08fb1775d1903ad2f723712adcb0a58.jpg","text":"TemporaryFile(/tmp/multipartBody7506474298817958012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156033695,"filename":"image_02052025_01_25_14_10531.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f8b1a16f1a2f65739c8944c75a6c194.jpg","text":"TemporaryFile(/tmp/multipartBody315967511568881477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156033695,"filename":"image_02052025_01_25_34_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e376881292278b678a663696c0321b4e.jpg","text":"TemporaryFile(/tmp/multipartBody6427214775894043297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156033695,"filename":"image_02052025_01_25_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a0c3c2fb2ef77601ad819134ddd8daf.jpg","text":"TemporaryFile(/tmp/multipartBody8977962659950714054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156033695,"filename":"image_02052025_01_25_45_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e8ac59118fab7b14a51101be31d36e4.jpg","text":"TemporaryFile(/tmp/multipartBody3745171786635562299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156033695,"filename":"image_02052025_01_25_24_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217548","file1":"1355217544","file0":"1355217541","file4":"1355217561","file5":"1355217562","file3":"1355217556"},"map_files_photo_id_array":[{"photo_id":"1355217562","filename":"file5"},{"photo_id":"1355217548","filename":"file2"},{"photo_id":"1355217561","filename":"file4"},{"photo_id":"1355217544","filename":"file1"},{"photo_id":"1355217541","filename":"file0"},{"photo_id":"1355217556","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217562":["hashtag1","hashtag2"]},{"1355217544":["hashtag1","hashtag2"]},{"1355217556":["hashtag1","hashtag2"]},{"1355217541":["hashtag1","hashtag2"]},{"1355217561":["hashtag1","hashtag2"]},{"1355217548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217562, 1355217544, 1355217556, 1355217541, 1355217561, 1355217548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73529887199402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:20:32.232537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/25/image_02052025_01_26_04_10348.jpg', '/home/pi/Desktop/images/02052025/01/26/image_02052025_01_26_15_10341.jpg', '/home/pi/Desktop/images/02052025/01/26/image_02052025_01_26_24_9480.jpg', '/home/pi/Desktop/images/02052025/01/26/image_02052025_01_26_35_10348.jpg', '/home/pi/Desktop/images/02052025/01/26/image_02052025_01_26_44_9339.jpg', '/home/pi/Desktop/images/02052025/01/26/image_02052025_01_26_54_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/25/image_02052025_01_26_04_10348.jpg
/home/pi/Desktop/images/02052025/01/26/image_02052025_01_26_15_10341.jpg
/home/pi/Desktop/images/02052025/01/26/image_02052025_01_26_24_9480.jpg
/home/pi/Desktop/images/02052025/01/26/image_02052025_01_26_35_10348.jpg
/home/pi/Desktop/images/02052025/01/26/image_02052025_01_26_44_9339.jpg
/home/pi/Desktop/images/02052025/01/26/image_02052025_01_26_54_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":["1355217589","1355217586","1355217591","1355217590","1355217578","1355217581"],"photo_ids_order":["1355217578","1355217581","1355217586","1355217589","1355217590","1355217591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c84335218ab2559f1b7cb4f70b9724c.jpg","text":"TemporaryFile(/tmp/multipartBody4006671492120354325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156092905,"filename":"image_02052025_01_26_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/5/2/c51091be558aca3295ca47ffd6824097.jpg","text":"TemporaryFile(/tmp/multipartBody4602850711367440940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156092905,"filename":"image_02052025_01_26_24_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b93f6efdef946e9929f374fd5c393231.jpg","text":"TemporaryFile(/tmp/multipartBody8740270790578481856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156092905,"filename":"image_02052025_01_26_54_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f8d937cecefa80926517268f6d787d83.jpg","text":"TemporaryFile(/tmp/multipartBody375564140750020905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156092905,"filename":"image_02052025_01_26_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/5/2/9fe762b8c615c1eafec2408d6654cd9d.jpg","text":"TemporaryFile(/tmp/multipartBody1851813092409012497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156092905,"filename":"image_02052025_01_26_04_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1902195990aca55cd0d4469f31f8f350.jpg","text":"TemporaryFile(/tmp/multipartBody6829754247783747462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156092905,"filename":"image_02052025_01_26_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217586","file1":"1355217581","file0":"1355217578","file4":"1355217590","file5":"1355217591","file3":"1355217589"},"map_files_photo_id_array":[{"photo_id":"1355217591","filename":"file5"},{"photo_id":"1355217586","filename":"file2"},{"photo_id":"1355217590","filename":"file4"},{"photo_id":"1355217581","filename":"file1"},{"photo_id":"1355217578","filename":"file0"},{"photo_id":"1355217589","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217589":["hashtag1","hashtag2"]},{"1355217586":["hashtag1","hashtag2"]},{"1355217591":["hashtag1","hashtag2"]},{"1355217590":["hashtag1","hashtag2"]},{"1355217578":["hashtag1","hashtag2"]},{"1355217581":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217589, 1355217586, 1355217591, 1355217590, 1355217578, 1355217581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72381067276001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:21:32.456921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/26/image_02052025_01_27_05_10379.jpg', '/home/pi/Desktop/images/02052025/01/27/image_02052025_01_27_24_10452.jpg', '/home/pi/Desktop/images/02052025/01/27/image_02052025_01_27_34_9345.jpg', '/home/pi/Desktop/images/02052025/01/27/image_02052025_01_27_44_10458.jpg', '/home/pi/Desktop/images/02052025/01/27/image_02052025_01_27_55_10397.jpg', '/home/pi/Desktop/images/02052025/01/27/image_02052025_01_28_04_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/26/image_02052025_01_27_05_10379.jpg
/home/pi/Desktop/images/02052025/01/27/image_02052025_01_27_24_10452.jpg
/home/pi/Desktop/images/02052025/01/27/image_02052025_01_27_34_9345.jpg
/home/pi/Desktop/images/02052025/01/27/image_02052025_01_27_44_10458.jpg
/home/pi/Desktop/images/02052025/01/27/image_02052025_01_27_55_10397.jpg
/home/pi/Desktop/images/02052025/01/27/image_02052025_01_28_04_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":["1355217629","1355217620","1355217605","1355217614","1355217610","1355217630"],"photo_ids_order":["1355217605","1355217610","1355217614","1355217620","1355217629","1355217630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b37de67f3f950f7d39a16547701bd7a.jpg","text":"TemporaryFile(/tmp/multipartBody3657453173042471634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156153021,"filename":"image_02052025_01_27_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8bec42575eaa118a4b67cc1b788a4e28.jpg","text":"TemporaryFile(/tmp/multipartBody8066412853104912850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156153021,"filename":"image_02052025_01_27_44_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba6341ab6944cc6269b6340f0f270d22.jpg","text":"TemporaryFile(/tmp/multipartBody8061548602689432709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156153021,"filename":"image_02052025_01_27_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/5/2/f664c39ac76ecdb7679204b9fe0991ea.jpg","text":"TemporaryFile(/tmp/multipartBody9008996421009431603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156153021,"filename":"image_02052025_01_27_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ae00599b5c297b11ad52572a75fae36.jpg","text":"TemporaryFile(/tmp/multipartBody6342500003232059285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156153021,"filename":"image_02052025_01_27_24_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f097338ecc14887fa62246e5bcdd2d26.jpg","text":"TemporaryFile(/tmp/multipartBody7066722583697776394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156153021,"filename":"image_02052025_01_28_04_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217614","file1":"1355217610","file0":"1355217605","file4":"1355217629","file5":"1355217630","file3":"1355217620"},"map_files_photo_id_array":[{"photo_id":"1355217630","filename":"file5"},{"photo_id":"1355217614","filename":"file2"},{"photo_id":"1355217629","filename":"file4"},{"photo_id":"1355217610","filename":"file1"},{"photo_id":"1355217605","filename":"file0"},{"photo_id":"1355217620","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217629":["hashtag1","hashtag2"]},{"1355217620":["hashtag1","hashtag2"]},{"1355217605":["hashtag1","hashtag2"]},{"1355217614":["hashtag1","hashtag2"]},{"1355217610":["hashtag1","hashtag2"]},{"1355217630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217629, 1355217620, 1355217605, 1355217614, 1355217610, 1355217630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.681482076644897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:22:32.689991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/28/image_02052025_01_28_14_10450.jpg', '/home/pi/Desktop/images/02052025/01/28/image_02052025_01_28_24_9358.jpg', '/home/pi/Desktop/images/02052025/01/28/image_02052025_01_28_34_10412.jpg', '/home/pi/Desktop/images/02052025/01/28/image_02052025_01_28_45_10355.jpg', '/home/pi/Desktop/images/02052025/01/28/image_02052025_01_28_54_9368.jpg', '/home/pi/Desktop/images/02052025/01/28/image_02052025_01_29_04_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/28/image_02052025_01_28_14_10450.jpg
/home/pi/Desktop/images/02052025/01/28/image_02052025_01_28_24_9358.jpg
/home/pi/Desktop/images/02052025/01/28/image_02052025_01_28_34_10412.jpg
/home/pi/Desktop/images/02052025/01/28/image_02052025_01_28_45_10355.jpg
/home/pi/Desktop/images/02052025/01/28/image_02052025_01_28_54_9368.jpg
/home/pi/Desktop/images/02052025/01/28/image_02052025_01_29_04_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355217644","1355217649","1355217651","1355217645","1355217648","1355217647"],"photo_ids_order":["1355217644","1355217645","1355217647","1355217648","1355217649","1355217651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/45683d1dc1fbf7dd3537e401eff793d7.jpg","text":"TemporaryFile(/tmp/multipartBody5824111849245806149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156213235,"filename":"image_02052025_01_28_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/5/2/b2b81fa6dee4c3f80742d962a1ed554d.jpg","text":"TemporaryFile(/tmp/multipartBody5943211265016769273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156213235,"filename":"image_02052025_01_28_54_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a8034b655d7dd7fb45fe0fb0fddeb682.jpg","text":"TemporaryFile(/tmp/multipartBody3484144197444800104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156213235,"filename":"image_02052025_01_29_04_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f68af5bc3fd80d9ee17af39f05de203b.jpg","text":"TemporaryFile(/tmp/multipartBody4061433522650816588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156213235,"filename":"image_02052025_01_28_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b4d78abed9f41c0202001bd9e78944d7.jpg","text":"TemporaryFile(/tmp/multipartBody2159277726141383233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156213235,"filename":"image_02052025_01_28_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/5/2/6db9eca7c4c9a24ef08c0478c3500e6c.jpg","text":"TemporaryFile(/tmp/multipartBody7008869622741990099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156213235,"filename":"image_02052025_01_28_34_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217647","file1":"1355217645","file0":"1355217644","file4":"1355217649","file5":"1355217651","file3":"1355217648"},"map_files_photo_id_array":[{"photo_id":"1355217651","filename":"file5"},{"photo_id":"1355217647","filename":"file2"},{"photo_id":"1355217649","filename":"file4"},{"photo_id":"1355217645","filename":"file1"},{"photo_id":"1355217644","filename":"file0"},{"photo_id":"1355217648","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217644":["hashtag1","hashtag2"]},{"1355217649":["hashtag1","hashtag2"]},{"1355217651":["hashtag1","hashtag2"]},{"1355217645":["hashtag1","hashtag2"]},{"1355217648":["hashtag1","hashtag2"]},{"1355217647":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217644, 1355217649, 1355217651, 1355217645, 1355217648, 1355217647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.19425630569458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:23:32.871285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/29/image_02052025_01_29_15_10362.jpg', '/home/pi/Desktop/images/02052025/01/29/image_02052025_01_29_24_9352.jpg', '/home/pi/Desktop/images/02052025/01/29/image_02052025_01_29_35_10409.jpg', '/home/pi/Desktop/images/02052025/01/29/image_02052025_01_29_44_9327.jpg', '/home/pi/Desktop/images/02052025/01/29/image_02052025_01_29_54_10532.jpg', '/home/pi/Desktop/images/02052025/01/29/image_02052025_01_30_04_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/29/image_02052025_01_29_15_10362.jpg
/home/pi/Desktop/images/02052025/01/29/image_02052025_01_29_24_9352.jpg
/home/pi/Desktop/images/02052025/01/29/image_02052025_01_29_35_10409.jpg
/home/pi/Desktop/images/02052025/01/29/image_02052025_01_29_44_9327.jpg
/home/pi/Desktop/images/02052025/01/29/image_02052025_01_29_54_10532.jpg
/home/pi/Desktop/images/02052025/01/29/image_02052025_01_30_04_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":["1355217679","1355217673","1355217675","1355217669","1355217678","1355217665"],"photo_ids_order":["1355217665","1355217669","1355217673","1355217675","1355217678","1355217679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/008c4a88d76ee4a3a253ea4e5a16ebad.jpg","text":"TemporaryFile(/tmp/multipartBody5169272965097699057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156273406,"filename":"image_02052025_01_30_04_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8352a36e8b3e17347922b75f0f6663fa.jpg","text":"TemporaryFile(/tmp/multipartBody7652147396847800664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156273406,"filename":"image_02052025_01_29_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ed5930e8064eef09dba8aed54d958bc.jpg","text":"TemporaryFile(/tmp/multipartBody5106353873958340889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156273406,"filename":"image_02052025_01_29_44_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e05f8984e71e92258dfc9197332ba4f.jpg","text":"TemporaryFile(/tmp/multipartBody910221420766992147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156273406,"filename":"image_02052025_01_29_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6da60712147272576bfd8c5dfc1b2032.jpg","text":"TemporaryFile(/tmp/multipartBody2815249080591068556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156273406,"filename":"image_02052025_01_29_54_10532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a39de459665393a3acf5f099e8ba2f12.jpg","text":"TemporaryFile(/tmp/multipartBody8967919206943854637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156273406,"filename":"image_02052025_01_29_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217673","file1":"1355217669","file0":"1355217665","file4":"1355217678","file5":"1355217679","file3":"1355217675"},"map_files_photo_id_array":[{"photo_id":"1355217679","filename":"file5"},{"photo_id":"1355217673","filename":"file2"},{"photo_id":"1355217678","filename":"file4"},{"photo_id":"1355217669","filename":"file1"},{"photo_id":"1355217665","filename":"file0"},{"photo_id":"1355217675","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217679":["hashtag1","hashtag2"]},{"1355217673":["hashtag1","hashtag2"]},{"1355217675":["hashtag1","hashtag2"]},{"1355217669":["hashtag1","hashtag2"]},{"1355217678":["hashtag1","hashtag2"]},{"1355217665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217679, 1355217673, 1355217675, 1355217669, 1355217678, 1355217665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.035037994384766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:24:33.090695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/30/image_02052025_01_30_14_10452.jpg', '/home/pi/Desktop/images/02052025/01/30/image_02052025_01_30_25_10387.jpg', '/home/pi/Desktop/images/02052025/01/30/image_02052025_01_30_34_9358.jpg', '/home/pi/Desktop/images/02052025/01/30/image_02052025_01_30_44_10418.jpg', '/home/pi/Desktop/images/02052025/01/30/image_02052025_01_30_54_9360.jpg', '/home/pi/Desktop/images/02052025/01/30/image_02052025_01_31_04_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/30/image_02052025_01_30_14_10452.jpg
/home/pi/Desktop/images/02052025/01/30/image_02052025_01_30_25_10387.jpg
/home/pi/Desktop/images/02052025/01/30/image_02052025_01_30_34_9358.jpg
/home/pi/Desktop/images/02052025/01/30/image_02052025_01_30_44_10418.jpg
/home/pi/Desktop/images/02052025/01/30/image_02052025_01_30_54_9360.jpg
/home/pi/Desktop/images/02052025/01/30/image_02052025_01_31_04_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":["1355217716","1355217715","1355217709","1355217700","1355217703","1355217698"],"photo_ids_order":["1355217698","1355217700","1355217703","1355217709","1355217715","1355217716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f79b1e66a3b3a121d2cd16814d038042.jpg","text":"TemporaryFile(/tmp/multipartBody2404658397462373646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156333569,"filename":"image_02052025_01_31_04_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5dbc67dd73e4d7cb0a3299b887d13a03.jpg","text":"TemporaryFile(/tmp/multipartBody6662642017977198676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156333569,"filename":"image_02052025_01_30_54_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d64eaefd84aeac2439d42c44b4d046d2.jpg","text":"TemporaryFile(/tmp/multipartBody8863274532796933209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156333569,"filename":"image_02052025_01_30_44_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d6531c9933a63fbebab0bc70b68a528.jpg","text":"TemporaryFile(/tmp/multipartBody4045334985861175585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156333569,"filename":"image_02052025_01_30_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6926998cee05c8bbb90d8f30cfe052df.jpg","text":"TemporaryFile(/tmp/multipartBody3556047263032315781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156333569,"filename":"image_02052025_01_30_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dda93d597acc4d8115368ba3ff3f7c19.jpg","text":"TemporaryFile(/tmp/multipartBody8885509408160881553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156333569,"filename":"image_02052025_01_30_14_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217703","file1":"1355217700","file0":"1355217698","file4":"1355217715","file5":"1355217716","file3":"1355217709"},"map_files_photo_id_array":[{"photo_id":"1355217716","filename":"file5"},{"photo_id":"1355217703","filename":"file2"},{"photo_id":"1355217715","filename":"file4"},{"photo_id":"1355217700","filename":"file1"},{"photo_id":"1355217698","filename":"file0"},{"photo_id":"1355217709","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217716":["hashtag1","hashtag2"]},{"1355217715":["hashtag1","hashtag2"]},{"1355217709":["hashtag1","hashtag2"]},{"1355217700":["hashtag1","hashtag2"]},{"1355217703":["hashtag1","hashtag2"]},{"1355217698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217716, 1355217715, 1355217709, 1355217700, 1355217703, 1355217698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.22335696220398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:25:32.448560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/31/image_02052025_01_31_15_10383.jpg', '/home/pi/Desktop/images/02052025/01/31/image_02052025_01_31_24_9353.jpg', '/home/pi/Desktop/images/02052025/01/31/image_02052025_01_31_34_10091.jpg', '/home/pi/Desktop/images/02052025/01/31/image_02052025_01_31_45_10394.jpg', '/home/pi/Desktop/images/02052025/01/31/image_02052025_01_31_54_9368.jpg', '/home/pi/Desktop/images/02052025/01/31/image_02052025_01_32_04_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/31/image_02052025_01_31_15_10383.jpg
/home/pi/Desktop/images/02052025/01/31/image_02052025_01_31_24_9353.jpg
/home/pi/Desktop/images/02052025/01/31/image_02052025_01_31_34_10091.jpg
/home/pi/Desktop/images/02052025/01/31/image_02052025_01_31_45_10394.jpg
/home/pi/Desktop/images/02052025/01/31/image_02052025_01_31_54_9368.jpg
/home/pi/Desktop/images/02052025/01/31/image_02052025_01_32_04_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355217757","1355217751","1355217768","1355217753","1355217762","1355217747"],"photo_ids_order":["1355217747","1355217751","1355217753","1355217757","1355217762","1355217768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e26f4be207274e7667c3a849f2866222.jpg","text":"TemporaryFile(/tmp/multipartBody5887004179503278370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156392921,"filename":"image_02052025_01_31_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21d49f77588ece3a3698358d43c9fd0c.jpg","text":"TemporaryFile(/tmp/multipartBody5442046796681031894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156392921,"filename":"image_02052025_01_31_24_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3db5d28ba68cd9c2919a660e2d7ae3a3.jpg","text":"TemporaryFile(/tmp/multipartBody6691404305296956395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156392921,"filename":"image_02052025_01_32_04_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c14d4958022fcf98d077e7139d3bcd8a.jpg","text":"TemporaryFile(/tmp/multipartBody2949723684634181527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156392921,"filename":"image_02052025_01_31_34_10091.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a0d716b783a73b52b4a2ae7971e1323.jpg","text":"TemporaryFile(/tmp/multipartBody4475472385306217797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156392921,"filename":"image_02052025_01_31_54_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05bd058900fcb11450873794770524da.jpg","text":"TemporaryFile(/tmp/multipartBody4670928396448892879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156392921,"filename":"image_02052025_01_31_15_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217753","file1":"1355217751","file0":"1355217747","file4":"1355217762","file5":"1355217768","file3":"1355217757"},"map_files_photo_id_array":[{"photo_id":"1355217768","filename":"file5"},{"photo_id":"1355217753","filename":"file2"},{"photo_id":"1355217762","filename":"file4"},{"photo_id":"1355217751","filename":"file1"},{"photo_id":"1355217747","filename":"file0"},{"photo_id":"1355217757","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217757":["hashtag1","hashtag2"]},{"1355217751":["hashtag1","hashtag2"]},{"1355217768":["hashtag1","hashtag2"]},{"1355217753":["hashtag1","hashtag2"]},{"1355217762":["hashtag1","hashtag2"]},{"1355217747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217757, 1355217751, 1355217768, 1355217753, 1355217762, 1355217747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.596731185913086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:26:32.545510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/32/image_02052025_01_32_15_10367.jpg', '/home/pi/Desktop/images/02052025/01/32/image_02052025_01_32_24_9359.jpg', '/home/pi/Desktop/images/02052025/01/32/image_02052025_01_32_35_10423.jpg', '/home/pi/Desktop/images/02052025/01/32/image_02052025_01_32_44_9351.jpg', '/home/pi/Desktop/images/02052025/01/32/image_02052025_01_32_54_10426.jpg', '/home/pi/Desktop/images/02052025/01/32/image_02052025_01_33_05_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/32/image_02052025_01_32_15_10367.jpg
/home/pi/Desktop/images/02052025/01/32/image_02052025_01_32_24_9359.jpg
/home/pi/Desktop/images/02052025/01/32/image_02052025_01_32_35_10423.jpg
/home/pi/Desktop/images/02052025/01/32/image_02052025_01_32_44_9351.jpg
/home/pi/Desktop/images/02052025/01/32/image_02052025_01_32_54_10426.jpg
/home/pi/Desktop/images/02052025/01/32/image_02052025_01_33_05_10465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355217793","1355217781","1355217792","1355217786","1355217795","1355217794"],"photo_ids_order":["1355217781","1355217786","1355217792","1355217793","1355217794","1355217795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a493a16a90c6a187c636bf3356442a1.jpg","text":"TemporaryFile(/tmp/multipartBody2425976111188531684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156453015,"filename":"image_02052025_01_32_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/618db7f1939a56e9a9780a3e5ac65f44.jpg","text":"TemporaryFile(/tmp/multipartBody43533632633655330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156453015,"filename":"image_02052025_01_32_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/563ef7e0678bf0a21015d1a44d0c321e.jpg","text":"TemporaryFile(/tmp/multipartBody818121696564752916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156453015,"filename":"image_02052025_01_32_35_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2bb48c628a492ae90391d6f1f925a840.jpg","text":"TemporaryFile(/tmp/multipartBody6430765902806750342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156453015,"filename":"image_02052025_01_32_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4920b5f5b2dd2e8ff44b0045b2869fbf.jpg","text":"TemporaryFile(/tmp/multipartBody3510675935964007207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156453015,"filename":"image_02052025_01_33_05_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b0a80573dade67a2fd2cb8dcfff31ca6.jpg","text":"TemporaryFile(/tmp/multipartBody9173213174249537110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156453015,"filename":"image_02052025_01_32_54_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217792","file1":"1355217786","file0":"1355217781","file4":"1355217794","file5":"1355217795","file3":"1355217793"},"map_files_photo_id_array":[{"photo_id":"1355217795","filename":"file5"},{"photo_id":"1355217792","filename":"file2"},{"photo_id":"1355217794","filename":"file4"},{"photo_id":"1355217786","filename":"file1"},{"photo_id":"1355217781","filename":"file0"},{"photo_id":"1355217793","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217793":["hashtag1","hashtag2"]},{"1355217781":["hashtag1","hashtag2"]},{"1355217792":["hashtag1","hashtag2"]},{"1355217786":["hashtag1","hashtag2"]},{"1355217795":["hashtag1","hashtag2"]},{"1355217794":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217793, 1355217781, 1355217792, 1355217786, 1355217795, 1355217794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.337559938430786 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:27:32.724468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/33/image_02052025_01_33_14_9378.jpg', '/home/pi/Desktop/images/02052025/01/33/image_02052025_01_33_25_10464.jpg', '/home/pi/Desktop/images/02052025/01/33/image_02052025_01_33_34_9361.jpg', '/home/pi/Desktop/images/02052025/01/33/image_02052025_01_33_44_10374.jpg', '/home/pi/Desktop/images/02052025/01/33/image_02052025_01_33_55_10365.jpg', '/home/pi/Desktop/images/02052025/01/33/image_02052025_01_34_04_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/33/image_02052025_01_33_14_9378.jpg
/home/pi/Desktop/images/02052025/01/33/image_02052025_01_33_25_10464.jpg
/home/pi/Desktop/images/02052025/01/33/image_02052025_01_33_34_9361.jpg
/home/pi/Desktop/images/02052025/01/33/image_02052025_01_33_44_10374.jpg
/home/pi/Desktop/images/02052025/01/33/image_02052025_01_33_55_10365.jpg
/home/pi/Desktop/images/02052025/01/33/image_02052025_01_34_04_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":["1355217836","1355217838","1355217832","1355217835","1355217829","1355217837"],"photo_ids_order":["1355217829","1355217832","1355217835","1355217836","1355217837","1355217838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8f15e9cb20db2ef914100f0c59ec2850.jpg","text":"TemporaryFile(/tmp/multipartBody8333660244907573236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156513196,"filename":"image_02052025_01_33_44_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba250836bd2843a5e547e57d8dd85268.jpg","text":"TemporaryFile(/tmp/multipartBody2747786225347450825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156513196,"filename":"image_02052025_01_34_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/07495afe19ae90be4025d008ed580537.jpg","text":"TemporaryFile(/tmp/multipartBody5291470093969689362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156513196,"filename":"image_02052025_01_33_25_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5e6f2ae8c589bc8b37fe9fd77ad41bde.jpg","text":"TemporaryFile(/tmp/multipartBody8500798925109101196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156513196,"filename":"image_02052025_01_33_34_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e42c331463936b3f9bcee21b6cb23909.jpg","text":"TemporaryFile(/tmp/multipartBody8438787333141247971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156513196,"filename":"image_02052025_01_33_14_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a24f4ca114b05390feb165cf6fc9227.jpg","text":"TemporaryFile(/tmp/multipartBody7691331899381991212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156513196,"filename":"image_02052025_01_33_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217835","file1":"1355217832","file0":"1355217829","file4":"1355217837","file5":"1355217838","file3":"1355217836"},"map_files_photo_id_array":[{"photo_id":"1355217838","filename":"file5"},{"photo_id":"1355217835","filename":"file2"},{"photo_id":"1355217837","filename":"file4"},{"photo_id":"1355217832","filename":"file1"},{"photo_id":"1355217829","filename":"file0"},{"photo_id":"1355217836","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217836":["hashtag1","hashtag2"]},{"1355217838":["hashtag1","hashtag2"]},{"1355217832":["hashtag1","hashtag2"]},{"1355217835":["hashtag1","hashtag2"]},{"1355217829":["hashtag1","hashtag2"]},{"1355217837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217836, 1355217838, 1355217832, 1355217835, 1355217829, 1355217837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71032667160034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:28:33.000123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/34/image_02052025_01_34_14_10403.jpg', '/home/pi/Desktop/images/02052025/01/34/image_02052025_01_34_24_9362.jpg', '/home/pi/Desktop/images/02052025/01/34/image_02052025_01_34_34_10346.jpg', '/home/pi/Desktop/images/02052025/01/34/image_02052025_01_34_45_10451.jpg', '/home/pi/Desktop/images/02052025/01/34/image_02052025_01_34_54_9351.jpg', '/home/pi/Desktop/images/02052025/01/34/image_02052025_01_35_04_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/34/image_02052025_01_34_14_10403.jpg
/home/pi/Desktop/images/02052025/01/34/image_02052025_01_34_24_9362.jpg
/home/pi/Desktop/images/02052025/01/34/image_02052025_01_34_34_10346.jpg
/home/pi/Desktop/images/02052025/01/34/image_02052025_01_34_45_10451.jpg
/home/pi/Desktop/images/02052025/01/34/image_02052025_01_34_54_9351.jpg
/home/pi/Desktop/images/02052025/01/34/image_02052025_01_35_04_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":["1355217859","1355217870","1355217867","1355217876","1355217863","1355217857"],"photo_ids_order":["1355217857","1355217859","1355217863","1355217867","1355217870","1355217876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ac84bcfe58558c4328f12328eb95380.jpg","text":"TemporaryFile(/tmp/multipartBody6244682944755694137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156573482,"filename":"image_02052025_01_34_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/5/2/8e0ef73b49c122c0dc7fb75242e845ea.jpg","text":"TemporaryFile(/tmp/multipartBody5348645148541240018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156573482,"filename":"image_02052025_01_34_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/5/2/ebc26f7536a30510174937c20eb3b10c.jpg","text":"TemporaryFile(/tmp/multipartBody960272737473679490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156573482,"filename":"image_02052025_01_34_45_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4fb04680e9c9f42192900a45675170a6.jpg","text":"TemporaryFile(/tmp/multipartBody5469627248999747759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156573482,"filename":"image_02052025_01_35_04_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a7dcc600b9973165702a44085311d644.jpg","text":"TemporaryFile(/tmp/multipartBody3706795724010533749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156573482,"filename":"image_02052025_01_34_34_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/37f6fedfa9180b0e1e0911f32daeeab9.jpg","text":"TemporaryFile(/tmp/multipartBody7447879214395616173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156573482,"filename":"image_02052025_01_34_14_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217863","file1":"1355217859","file0":"1355217857","file4":"1355217870","file5":"1355217876","file3":"1355217867"},"map_files_photo_id_array":[{"photo_id":"1355217876","filename":"file5"},{"photo_id":"1355217863","filename":"file2"},{"photo_id":"1355217870","filename":"file4"},{"photo_id":"1355217859","filename":"file1"},{"photo_id":"1355217857","filename":"file0"},{"photo_id":"1355217867","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217859":["hashtag1","hashtag2"]},{"1355217870":["hashtag1","hashtag2"]},{"1355217867":["hashtag1","hashtag2"]},{"1355217876":["hashtag1","hashtag2"]},{"1355217863":["hashtag1","hashtag2"]},{"1355217857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217859, 1355217870, 1355217867, 1355217876, 1355217863, 1355217857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.083386182785034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:29:33.153289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/35/image_02052025_01_35_15_10371.jpg', '/home/pi/Desktop/images/02052025/01/35/image_02052025_01_35_35_10451.jpg', '/home/pi/Desktop/images/02052025/01/35/image_02052025_01_35_44_9339.jpg', '/home/pi/Desktop/images/02052025/01/35/image_02052025_01_35_54_10451.jpg', '/home/pi/Desktop/images/02052025/01/35/image_02052025_01_36_05_10369.jpg', '/home/pi/Desktop/images/02052025/01/36/image_02052025_01_36_14_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/35/image_02052025_01_35_15_10371.jpg
/home/pi/Desktop/images/02052025/01/35/image_02052025_01_35_35_10451.jpg
/home/pi/Desktop/images/02052025/01/35/image_02052025_01_35_44_9339.jpg
/home/pi/Desktop/images/02052025/01/35/image_02052025_01_35_54_10451.jpg
/home/pi/Desktop/images/02052025/01/35/image_02052025_01_36_05_10369.jpg
/home/pi/Desktop/images/02052025/01/36/image_02052025_01_36_14_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355217905","1355217907","1355217909","1355217903","1355217896","1355217900"],"photo_ids_order":["1355217896","1355217900","1355217903","1355217905","1355217907","1355217909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e032fab999c82222d947d3f7b36a53c.jpg","text":"TemporaryFile(/tmp/multipartBody2207590696406036812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156633625,"filename":"image_02052025_01_35_54_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e32f47738e3cec30a637d0710ed15ea6.jpg","text":"TemporaryFile(/tmp/multipartBody4656902455745689040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156633625,"filename":"image_02052025_01_36_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7522cc37b80d1e0a942c0e7e1e42d8d.jpg","text":"TemporaryFile(/tmp/multipartBody7777218332600266684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156633625,"filename":"image_02052025_01_36_14_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0e5ad10672506324374a7f8e8fcfba15.jpg","text":"TemporaryFile(/tmp/multipartBody2762475677925356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156633625,"filename":"image_02052025_01_35_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/5/2/3177804880fec3a247808ca9286e7fcf.jpg","text":"TemporaryFile(/tmp/multipartBody6956320729454596452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156633625,"filename":"image_02052025_01_35_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/5/2/901dd0c151a69891c1efae5e727a94d1.jpg","text":"TemporaryFile(/tmp/multipartBody4578924724181635454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156633625,"filename":"image_02052025_01_35_35_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217903","file1":"1355217900","file0":"1355217896","file4":"1355217907","file5":"1355217909","file3":"1355217905"},"map_files_photo_id_array":[{"photo_id":"1355217909","filename":"file5"},{"photo_id":"1355217903","filename":"file2"},{"photo_id":"1355217907","filename":"file4"},{"photo_id":"1355217900","filename":"file1"},{"photo_id":"1355217896","filename":"file0"},{"photo_id":"1355217905","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217905":["hashtag1","hashtag2"]},{"1355217907":["hashtag1","hashtag2"]},{"1355217909":["hashtag1","hashtag2"]},{"1355217903":["hashtag1","hashtag2"]},{"1355217896":["hashtag1","hashtag2"]},{"1355217900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217905, 1355217907, 1355217909, 1355217903, 1355217896, 1355217900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.446874380111694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:30:32.386656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/36/image_02052025_01_36_24_10490.jpg', '/home/pi/Desktop/images/02052025/01/36/image_02052025_01_36_34_9371.jpg', '/home/pi/Desktop/images/02052025/01/36/image_02052025_01_36_44_10431.jpg', '/home/pi/Desktop/images/02052025/01/36/image_02052025_01_36_55_10366.jpg', '/home/pi/Desktop/images/02052025/01/36/image_02052025_01_37_04_9412.jpg', '/home/pi/Desktop/images/02052025/01/37/image_02052025_01_37_14_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/36/image_02052025_01_36_24_10490.jpg
/home/pi/Desktop/images/02052025/01/36/image_02052025_01_36_34_9371.jpg
/home/pi/Desktop/images/02052025/01/36/image_02052025_01_36_44_10431.jpg
/home/pi/Desktop/images/02052025/01/36/image_02052025_01_36_55_10366.jpg
/home/pi/Desktop/images/02052025/01/36/image_02052025_01_37_04_9412.jpg
/home/pi/Desktop/images/02052025/01/37/image_02052025_01_37_14_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":["1355217928","1355217913","1355217916","1355217921","1355217930","1355217924"],"photo_ids_order":["1355217913","1355217916","1355217921","1355217924","1355217928","1355217930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0bda9e9b531286e2222e336725302b27.jpg","text":"TemporaryFile(/tmp/multipartBody6762765884124856027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156692852,"filename":"image_02052025_01_37_04_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f68fa26a5e87ae3f4639ae8904e752f0.jpg","text":"TemporaryFile(/tmp/multipartBody6532988662264847476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156692852,"filename":"image_02052025_01_36_24_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b756e8d5f7802bf73d6525fb14de998.jpg","text":"TemporaryFile(/tmp/multipartBody6564959753315175362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156692852,"filename":"image_02052025_01_36_34_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b03972d04e3d3a0ea850e7d30c25a14.jpg","text":"TemporaryFile(/tmp/multipartBody823091676697415869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156692852,"filename":"image_02052025_01_36_44_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/52b567df851c5565d50b05a8cc137db5.jpg","text":"TemporaryFile(/tmp/multipartBody6055622545788168722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156692852,"filename":"image_02052025_01_37_14_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a8c0273b6a85ae8e481801e92bfee820.jpg","text":"TemporaryFile(/tmp/multipartBody119562098153101660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156692852,"filename":"image_02052025_01_36_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217921","file1":"1355217916","file0":"1355217913","file4":"1355217928","file5":"1355217930","file3":"1355217924"},"map_files_photo_id_array":[{"photo_id":"1355217930","filename":"file5"},{"photo_id":"1355217921","filename":"file2"},{"photo_id":"1355217928","filename":"file4"},{"photo_id":"1355217916","filename":"file1"},{"photo_id":"1355217913","filename":"file0"},{"photo_id":"1355217924","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217928":["hashtag1","hashtag2"]},{"1355217913":["hashtag1","hashtag2"]},{"1355217916":["hashtag1","hashtag2"]},{"1355217921":["hashtag1","hashtag2"]},{"1355217930":["hashtag1","hashtag2"]},{"1355217924":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217928, 1355217913, 1355217916, 1355217921, 1355217930, 1355217924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.909111499786377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:31:32.600110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/37/image_02052025_01_37_24_9368.jpg', '/home/pi/Desktop/images/02052025/01/37/image_02052025_01_37_34_10463.jpg', '/home/pi/Desktop/images/02052025/01/37/image_02052025_01_37_45_10367.jpg', '/home/pi/Desktop/images/02052025/01/37/image_02052025_01_37_54_9449.jpg', '/home/pi/Desktop/images/02052025/01/37/image_02052025_01_38_04_10362.jpg', '/home/pi/Desktop/images/02052025/01/38/image_02052025_01_38_24_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/37/image_02052025_01_37_24_9368.jpg
/home/pi/Desktop/images/02052025/01/37/image_02052025_01_37_34_10463.jpg
/home/pi/Desktop/images/02052025/01/37/image_02052025_01_37_45_10367.jpg
/home/pi/Desktop/images/02052025/01/37/image_02052025_01_37_54_9449.jpg
/home/pi/Desktop/images/02052025/01/37/image_02052025_01_38_04_10362.jpg
/home/pi/Desktop/images/02052025/01/38/image_02052025_01_38_24_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355217945","1355217954","1355217948","1355217957","1355217956","1355217950"],"photo_ids_order":["1355217945","1355217948","1355217950","1355217954","1355217956","1355217957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3636857bcb4deadaef09045f479562e.jpg","text":"TemporaryFile(/tmp/multipartBody2670420511549586941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156753062,"filename":"image_02052025_01_37_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/5/2/3f52a21c9150577ee74d1d83fe4da5a2.jpg","text":"TemporaryFile(/tmp/multipartBody8682891484608648718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156753062,"filename":"image_02052025_01_37_54_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4e5d6db2767d21389124f32646375f5.jpg","text":"TemporaryFile(/tmp/multipartBody6627212423576498458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156753062,"filename":"image_02052025_01_37_34_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9151efc1ebe21b1ed866159286ffe2bd.jpg","text":"TemporaryFile(/tmp/multipartBody9023725703069218020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156753062,"filename":"image_02052025_01_38_24_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/662af03c4ca2016f7aa9382f618663b2.jpg","text":"TemporaryFile(/tmp/multipartBody438785027338220278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156753062,"filename":"image_02052025_01_38_04_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/69a57931b9654e5cfc1d6b0ec33da6ee.jpg","text":"TemporaryFile(/tmp/multipartBody8716930136583063147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156753062,"filename":"image_02052025_01_37_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217950","file1":"1355217948","file0":"1355217945","file4":"1355217956","file5":"1355217957","file3":"1355217954"},"map_files_photo_id_array":[{"photo_id":"1355217957","filename":"file5"},{"photo_id":"1355217950","filename":"file2"},{"photo_id":"1355217956","filename":"file4"},{"photo_id":"1355217948","filename":"file1"},{"photo_id":"1355217945","filename":"file0"},{"photo_id":"1355217954","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217945":["hashtag1","hashtag2"]},{"1355217954":["hashtag1","hashtag2"]},{"1355217948":["hashtag1","hashtag2"]},{"1355217957":["hashtag1","hashtag2"]},{"1355217956":["hashtag1","hashtag2"]},{"1355217950":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217945, 1355217954, 1355217948, 1355217957, 1355217956, 1355217950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.299859285354614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:32:32.899494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/38/image_02052025_01_38_35_10455.jpg', '/home/pi/Desktop/images/02052025/01/38/image_02052025_01_38_44_9349.jpg', '/home/pi/Desktop/images/02052025/01/38/image_02052025_01_38_54_10421.jpg', '/home/pi/Desktop/images/02052025/01/38/image_02052025_01_39_05_10341.jpg', '/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_14_9343.jpg', '/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_24_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/38/image_02052025_01_38_35_10455.jpg
/home/pi/Desktop/images/02052025/01/38/image_02052025_01_38_44_9349.jpg
/home/pi/Desktop/images/02052025/01/38/image_02052025_01_38_54_10421.jpg
/home/pi/Desktop/images/02052025/01/38/image_02052025_01_39_05_10341.jpg
/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_14_9343.jpg
/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_24_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355217973","1355217976","1355217970","1355217972","1355217975","1355217977"],"photo_ids_order":["1355217970","1355217972","1355217973","1355217975","1355217976","1355217977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/45f809fc073ad7196e6f59580951690d.jpg","text":"TemporaryFile(/tmp/multipartBody646229879602045006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156813370,"filename":"image_02052025_01_38_54_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fb24ea91584198e2fb988e90df62210d.jpg","text":"TemporaryFile(/tmp/multipartBody6411025486455261411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156813370,"filename":"image_02052025_01_39_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/5/2/f42a03d8e97412ef4fad19490b644cf5.jpg","text":"TemporaryFile(/tmp/multipartBody867516080196535517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156813370,"filename":"image_02052025_01_38_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/5/2/c6197b2bc25a519b7b84b849aaa29102.jpg","text":"TemporaryFile(/tmp/multipartBody1677507047750809177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156813370,"filename":"image_02052025_01_38_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/5/2/6ddb0639ff23bbbed72ec0510a905fd2.jpg","text":"TemporaryFile(/tmp/multipartBody1653255713283949345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156813370,"filename":"image_02052025_01_39_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/5/2/8c143629d1599c92d41893e6aa20f02c.jpg","text":"TemporaryFile(/tmp/multipartBody677123064647486305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156813370,"filename":"image_02052025_01_39_24_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355217973","file1":"1355217972","file0":"1355217970","file4":"1355217976","file5":"1355217977","file3":"1355217975"},"map_files_photo_id_array":[{"photo_id":"1355217977","filename":"file5"},{"photo_id":"1355217973","filename":"file2"},{"photo_id":"1355217976","filename":"file4"},{"photo_id":"1355217972","filename":"file1"},{"photo_id":"1355217970","filename":"file0"},{"photo_id":"1355217975","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355217973":["hashtag1","hashtag2"]},{"1355217976":["hashtag1","hashtag2"]},{"1355217970":["hashtag1","hashtag2"]},{"1355217972":["hashtag1","hashtag2"]},{"1355217975":["hashtag1","hashtag2"]},{"1355217977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355217973, 1355217976, 1355217970, 1355217972, 1355217975, 1355217977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.430883407592773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:33:33.156359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_34_9432.jpg', '/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_44_10501.jpg', '/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_55_10364.jpg', '/home/pi/Desktop/images/02052025/01/39/image_02052025_01_40_04_9370.jpg', '/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_15_10388.jpg', '/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_24_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_34_9432.jpg
/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_44_10501.jpg
/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_55_10364.jpg
/home/pi/Desktop/images/02052025/01/39/image_02052025_01_40_04_9370.jpg
/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_15_10388.jpg
/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_24_9367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38568115234375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 05:33:43.191649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_34_9432.jpg', '/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_44_10501.jpg', '/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_55_10364.jpg', '/home/pi/Desktop/images/02052025/01/39/image_02052025_01_40_04_9370.jpg', '/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_15_10388.jpg', '/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_24_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_34_9432.jpg
/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_44_10501.jpg
/home/pi/Desktop/images/02052025/01/39/image_02052025_01_39_55_10364.jpg
/home/pi/Desktop/images/02052025/01/39/image_02052025_01_40_04_9370.jpg
/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_15_10388.jpg
/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_24_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355218004","1355218006","1355218000","1355218008","1355218011","1355218005"],"photo_ids_order":["1355218000","1355218004","1355218005","1355218006","1355218008","1355218011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0c48a411449d3e7e3b37ee2fbbea74ca.jpg","text":"TemporaryFile(/tmp/multipartBody6355100498238552166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156883661,"filename":"image_02052025_01_39_44_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/469294537409990bf83cf9c7e93ddd2f.jpg","text":"TemporaryFile(/tmp/multipartBody3710263957830110201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156883661,"filename":"image_02052025_01_40_04_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc0c923e5eb4888e9232bcee98a108ca.jpg","text":"TemporaryFile(/tmp/multipartBody8085391436689299684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156883661,"filename":"image_02052025_01_39_34_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb091e77f9757d66483cc01adf6506d8.jpg","text":"TemporaryFile(/tmp/multipartBody7278015908490428891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156883661,"filename":"image_02052025_01_40_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7911a55db8fb3a3590dc9837d01aae1b.jpg","text":"TemporaryFile(/tmp/multipartBody7601457675815755965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156883661,"filename":"image_02052025_01_40_24_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee96ee557c23484ede20e935df951b08.jpg","text":"TemporaryFile(/tmp/multipartBody1710374538920820379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156883661,"filename":"image_02052025_01_39_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218005","file1":"1355218004","file0":"1355218000","file4":"1355218008","file5":"1355218011","file3":"1355218006"},"map_files_photo_id_array":[{"photo_id":"1355218011","filename":"file5"},{"photo_id":"1355218005","filename":"file2"},{"photo_id":"1355218008","filename":"file4"},{"photo_id":"1355218004","filename":"file1"},{"photo_id":"1355218000","filename":"file0"},{"photo_id":"1355218006","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218004":["hashtag1","hashtag2"]},{"1355218006":["hashtag1","hashtag2"]},{"1355218000":["hashtag1","hashtag2"]},{"1355218008":["hashtag1","hashtag2"]},{"1355218011":["hashtag1","hashtag2"]},{"1355218005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218004, 1355218006, 1355218000, 1355218008, 1355218011, 1355218005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9291353225708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:34:32.445310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_34_10435.jpg', '/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_45_10358.jpg', '/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_54_9460.jpg', '/home/pi/Desktop/images/02052025/01/40/image_02052025_01_41_05_10397.jpg', '/home/pi/Desktop/images/02052025/01/41/image_02052025_01_41_14_9339.jpg', '/home/pi/Desktop/images/02052025/01/41/image_02052025_01_41_24_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_34_10435.jpg
/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_45_10358.jpg
/home/pi/Desktop/images/02052025/01/40/image_02052025_01_40_54_9460.jpg
/home/pi/Desktop/images/02052025/01/40/image_02052025_01_41_05_10397.jpg
/home/pi/Desktop/images/02052025/01/41/image_02052025_01_41_14_9339.jpg
/home/pi/Desktop/images/02052025/01/41/image_02052025_01_41_24_10485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355218036","1355218032","1355218035","1355218038","1355218037","1355218034"],"photo_ids_order":["1355218032","1355218034","1355218035","1355218036","1355218037","1355218038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2cf8fadfcdc83a67d912929eee2f1086.jpg","text":"TemporaryFile(/tmp/multipartBody3780395273580330089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156932990,"filename":"image_02052025_01_41_05_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a4a64661e8f12146ce3c3e8fb4bebbe.jpg","text":"TemporaryFile(/tmp/multipartBody8127301760499907539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156932990,"filename":"image_02052025_01_40_34_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53d4296ca0a1fdbe0ea1b7d54a5d1a26.jpg","text":"TemporaryFile(/tmp/multipartBody3737946768788331888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156932990,"filename":"image_02052025_01_40_54_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/252d890d13a5467a197b9ceb3e65ece7.jpg","text":"TemporaryFile(/tmp/multipartBody7026426716031335902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156932990,"filename":"image_02052025_01_41_24_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6c3dc4721f9d4030cd5097869f5e0c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1574965481434223624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156932990,"filename":"image_02052025_01_41_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/5/2/a34e2239ed6bf9012bc8e1d3ccec77aa.jpg","text":"TemporaryFile(/tmp/multipartBody6963593171698079984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156932990,"filename":"image_02052025_01_40_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218035","file1":"1355218034","file0":"1355218032","file4":"1355218037","file5":"1355218038","file3":"1355218036"},"map_files_photo_id_array":[{"photo_id":"1355218038","filename":"file5"},{"photo_id":"1355218035","filename":"file2"},{"photo_id":"1355218037","filename":"file4"},{"photo_id":"1355218034","filename":"file1"},{"photo_id":"1355218032","filename":"file0"},{"photo_id":"1355218036","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218036":["hashtag1","hashtag2"]},{"1355218032":["hashtag1","hashtag2"]},{"1355218035":["hashtag1","hashtag2"]},{"1355218038":["hashtag1","hashtag2"]},{"1355218037":["hashtag1","hashtag2"]},{"1355218034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218036, 1355218032, 1355218035, 1355218038, 1355218037, 1355218034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.042317152023315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:35:32.616290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/41/image_02052025_01_41_44_9363.jpg', '/home/pi/Desktop/images/02052025/01/41/image_02052025_01_41_54_10362.jpg', '/home/pi/Desktop/images/02052025/01/41/image_02052025_01_42_04_9388.jpg', '/home/pi/Desktop/images/02052025/01/42/image_02052025_01_42_14_10377.jpg', '/home/pi/Desktop/images/02052025/01/42/image_02052025_01_42_34_9366.jpg', '/home/pi/Desktop/images/02052025/01/42/image_02052025_01_42_44_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/41/image_02052025_01_41_44_9363.jpg
/home/pi/Desktop/images/02052025/01/41/image_02052025_01_41_54_10362.jpg
/home/pi/Desktop/images/02052025/01/41/image_02052025_01_42_04_9388.jpg
/home/pi/Desktop/images/02052025/01/42/image_02052025_01_42_14_10377.jpg
/home/pi/Desktop/images/02052025/01/42/image_02052025_01_42_34_9366.jpg
/home/pi/Desktop/images/02052025/01/42/image_02052025_01_42_44_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":["1355218060","1355218063","1355218062","1355218053","1355218056","1355218058"],"photo_ids_order":["1355218053","1355218056","1355218058","1355218060","1355218062","1355218063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cd942ddbd6c14146b728057275af986e.jpg","text":"TemporaryFile(/tmp/multipartBody3496514156140059509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156993166,"filename":"image_02052025_01_42_14_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fed66dd326a973d7ac7514ddc23cab05.jpg","text":"TemporaryFile(/tmp/multipartBody4545219099044839914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156993166,"filename":"image_02052025_01_42_44_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0eae9dfd16e167af226e82eccf1ea388.jpg","text":"TemporaryFile(/tmp/multipartBody5075371450990404539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156993166,"filename":"image_02052025_01_42_34_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/997a9cb7fe177ecb713b6ddfef11300e.jpg","text":"TemporaryFile(/tmp/multipartBody3885390741497502739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156993166,"filename":"image_02052025_01_41_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d6ce6ee96bb90b4213fea71bc072ae20.jpg","text":"TemporaryFile(/tmp/multipartBody8187395091699395462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156993166,"filename":"image_02052025_01_41_54_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d6e123e24145d78803357bab46ae5b8a.jpg","text":"TemporaryFile(/tmp/multipartBody2629341456958336176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746156993166,"filename":"image_02052025_01_42_04_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218058","file1":"1355218056","file0":"1355218053","file4":"1355218062","file5":"1355218063","file3":"1355218060"},"map_files_photo_id_array":[{"photo_id":"1355218063","filename":"file5"},{"photo_id":"1355218058","filename":"file2"},{"photo_id":"1355218062","filename":"file4"},{"photo_id":"1355218056","filename":"file1"},{"photo_id":"1355218053","filename":"file0"},{"photo_id":"1355218060","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218060":["hashtag1","hashtag2"]},{"1355218063":["hashtag1","hashtag2"]},{"1355218062":["hashtag1","hashtag2"]},{"1355218053":["hashtag1","hashtag2"]},{"1355218056":["hashtag1","hashtag2"]},{"1355218058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218060, 1355218063, 1355218062, 1355218053, 1355218056, 1355218058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.599212169647217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:36:32.866531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/42/image_02052025_01_42_55_10376.jpg', '/home/pi/Desktop/images/02052025/01/43/image_02052025_01_43_15_10442.jpg', '/home/pi/Desktop/images/02052025/01/43/image_02052025_01_43_24_9431.jpg', '/home/pi/Desktop/images/02052025/01/43/image_02052025_01_43_45_10353.jpg', '/home/pi/Desktop/images/02052025/01/43/image_02052025_01_43_54_9360.jpg', '/home/pi/Desktop/images/02052025/01/43/image_02052025_01_44_04_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/42/image_02052025_01_42_55_10376.jpg
/home/pi/Desktop/images/02052025/01/43/image_02052025_01_43_15_10442.jpg
/home/pi/Desktop/images/02052025/01/43/image_02052025_01_43_24_9431.jpg
/home/pi/Desktop/images/02052025/01/43/image_02052025_01_43_45_10353.jpg
/home/pi/Desktop/images/02052025/01/43/image_02052025_01_43_54_9360.jpg
/home/pi/Desktop/images/02052025/01/43/image_02052025_01_44_04_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":["1355218093","1355218089","1355218086","1355218088","1355218082","1355218079"],"photo_ids_order":["1355218079","1355218082","1355218086","1355218088","1355218089","1355218093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/225f2769ccf2b5e0777707bc6d7910aa.jpg","text":"TemporaryFile(/tmp/multipartBody7923241067428691738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157053438,"filename":"image_02052025_01_44_04_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95571683f3079a6cc88fb1d2f697c4d5.jpg","text":"TemporaryFile(/tmp/multipartBody8333616591898545186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157053438,"filename":"image_02052025_01_43_54_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/42c521f5e41de46090bd3f45ba9e9b64.jpg","text":"TemporaryFile(/tmp/multipartBody7352839975457506296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157053438,"filename":"image_02052025_01_43_24_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cf71ad2e5008f08f89a4e32b23c2f676.jpg","text":"TemporaryFile(/tmp/multipartBody2657059448156088794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157053438,"filename":"image_02052025_01_43_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/5/2/82b56892b84cd7943acaecdfb7b7cd6c.jpg","text":"TemporaryFile(/tmp/multipartBody1970683078665895780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157053438,"filename":"image_02052025_01_43_15_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7432993f02b8cd694ab9acc9148685f6.jpg","text":"TemporaryFile(/tmp/multipartBody5527052922348955537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157053438,"filename":"image_02052025_01_42_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218086","file1":"1355218082","file0":"1355218079","file4":"1355218089","file5":"1355218093","file3":"1355218088"},"map_files_photo_id_array":[{"photo_id":"1355218093","filename":"file5"},{"photo_id":"1355218086","filename":"file2"},{"photo_id":"1355218089","filename":"file4"},{"photo_id":"1355218082","filename":"file1"},{"photo_id":"1355218079","filename":"file0"},{"photo_id":"1355218088","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218093":["hashtag1","hashtag2"]},{"1355218089":["hashtag1","hashtag2"]},{"1355218086":["hashtag1","hashtag2"]},{"1355218088":["hashtag1","hashtag2"]},{"1355218082":["hashtag1","hashtag2"]},{"1355218079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218093, 1355218089, 1355218086, 1355218088, 1355218082, 1355218079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.997995853424072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:37:33.109025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/44/image_02052025_01_44_15_10342.jpg', '/home/pi/Desktop/images/02052025/01/44/image_02052025_01_44_24_9372.jpg', '/home/pi/Desktop/images/02052025/01/44/image_02052025_01_44_44_9420.jpg', '/home/pi/Desktop/images/02052025/01/44/image_02052025_01_44_54_10435.jpg', '/home/pi/Desktop/images/02052025/01/45/image_02052025_01_45_14_10470.jpg', '/home/pi/Desktop/images/02052025/01/45/image_02052025_01_45_25_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/44/image_02052025_01_44_15_10342.jpg
/home/pi/Desktop/images/02052025/01/44/image_02052025_01_44_24_9372.jpg
/home/pi/Desktop/images/02052025/01/44/image_02052025_01_44_44_9420.jpg
/home/pi/Desktop/images/02052025/01/44/image_02052025_01_44_54_10435.jpg
/home/pi/Desktop/images/02052025/01/45/image_02052025_01_45_14_10470.jpg
/home/pi/Desktop/images/02052025/01/45/image_02052025_01_45_25_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355218135","1355218138","1355218132","1355218126","1355218128","1355218137"],"photo_ids_order":["1355218126","1355218128","1355218132","1355218135","1355218137","1355218138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/165671c60fceab5a0b8cf60e742a3d67.jpg","text":"TemporaryFile(/tmp/multipartBody1847692797883505610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157113645,"filename":"image_02052025_01_44_54_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f69509911d9eafd5f430034ac8f451da.jpg","text":"TemporaryFile(/tmp/multipartBody7726446962767762194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157113645,"filename":"image_02052025_01_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/5/2/31075133a44df2ac4c0d70bcf2efadb7.jpg","text":"TemporaryFile(/tmp/multipartBody6466122365321584469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157113645,"filename":"image_02052025_01_44_44_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e062ae18b5f24768ee4b3020c0209ac8.jpg","text":"TemporaryFile(/tmp/multipartBody7449120642166862836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157113645,"filename":"image_02052025_01_44_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/022364dc71dc3d5978ea2c7dd66e0f2d.jpg","text":"TemporaryFile(/tmp/multipartBody5194228612684704507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157113645,"filename":"image_02052025_01_44_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/5/2/e56733eae250c24cb7bd936abf030125.jpg","text":"TemporaryFile(/tmp/multipartBody2212878666793673748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157113645,"filename":"image_02052025_01_45_14_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218132","file1":"1355218128","file0":"1355218126","file4":"1355218137","file5":"1355218138","file3":"1355218135"},"map_files_photo_id_array":[{"photo_id":"1355218138","filename":"file5"},{"photo_id":"1355218132","filename":"file2"},{"photo_id":"1355218137","filename":"file4"},{"photo_id":"1355218128","filename":"file1"},{"photo_id":"1355218126","filename":"file0"},{"photo_id":"1355218135","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218135":["hashtag1","hashtag2"]},{"1355218138":["hashtag1","hashtag2"]},{"1355218132":["hashtag1","hashtag2"]},{"1355218126":["hashtag1","hashtag2"]},{"1355218128":["hashtag1","hashtag2"]},{"1355218137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218135, 1355218138, 1355218132, 1355218126, 1355218128, 1355218137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.318134784698486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:38:32.305223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/45/image_02052025_01_45_34_9343.jpg', '/home/pi/Desktop/images/02052025/01/45/image_02052025_01_45_44_10451.jpg', '/home/pi/Desktop/images/02052025/01/45/image_02052025_01_45_54_9357.jpg', '/home/pi/Desktop/images/02052025/01/45/image_02052025_01_46_04_10457.jpg', '/home/pi/Desktop/images/02052025/01/46/image_02052025_01_46_15_10461.jpg', '/home/pi/Desktop/images/02052025/01/46/image_02052025_01_46_24_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/45/image_02052025_01_45_34_9343.jpg
/home/pi/Desktop/images/02052025/01/45/image_02052025_01_45_44_10451.jpg
/home/pi/Desktop/images/02052025/01/45/image_02052025_01_45_54_9357.jpg
/home/pi/Desktop/images/02052025/01/45/image_02052025_01_46_04_10457.jpg
/home/pi/Desktop/images/02052025/01/46/image_02052025_01_46_15_10461.jpg
/home/pi/Desktop/images/02052025/01/46/image_02052025_01_46_24_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":["1355218168","1355218170","1355218167","1355218169","1355218160","1355218157"],"photo_ids_order":["1355218157","1355218160","1355218167","1355218168","1355218169","1355218170"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3231842b668a925e878d72dd81a752f3.jpg","text":"TemporaryFile(/tmp/multipartBody3676249175138742785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157172773,"filename":"image_02052025_01_46_04_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4f54a8cc8cba5751c7016bdbfd5d2d2.jpg","text":"TemporaryFile(/tmp/multipartBody7872778262417006281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157172773,"filename":"image_02052025_01_46_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3b578486072f87554309d8b24867798c.jpg","text":"TemporaryFile(/tmp/multipartBody4158174023041212653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157172773,"filename":"image_02052025_01_45_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b38b3aaff803c1a9e08fbf1b8b507893.jpg","text":"TemporaryFile(/tmp/multipartBody6657226833499645203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157172773,"filename":"image_02052025_01_46_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/5/2/35107ce97d0652c3de35863cf823989a.jpg","text":"TemporaryFile(/tmp/multipartBody8215048182269282173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157172773,"filename":"image_02052025_01_45_44_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6b930f99a2f367081a3736c4a75a572.jpg","text":"TemporaryFile(/tmp/multipartBody391135130720867735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157172773,"filename":"image_02052025_01_45_34_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218167","file1":"1355218160","file0":"1355218157","file4":"1355218169","file5":"1355218170","file3":"1355218168"},"map_files_photo_id_array":[{"photo_id":"1355218170","filename":"file5"},{"photo_id":"1355218167","filename":"file2"},{"photo_id":"1355218169","filename":"file4"},{"photo_id":"1355218160","filename":"file1"},{"photo_id":"1355218157","filename":"file0"},{"photo_id":"1355218168","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218168":["hashtag1","hashtag2"]},{"1355218170":["hashtag1","hashtag2"]},{"1355218167":["hashtag1","hashtag2"]},{"1355218169":["hashtag1","hashtag2"]},{"1355218160":["hashtag1","hashtag2"]},{"1355218157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218168, 1355218170, 1355218167, 1355218169, 1355218160, 1355218157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.024879693984985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:39:33.766368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/46/image_02052025_01_46_34_10342.jpg', '/home/pi/Desktop/images/02052025/01/46/image_02052025_01_46_44_9362.jpg', '/home/pi/Desktop/images/02052025/01/46/image_02052025_01_46_54_10363.jpg', '/home/pi/Desktop/images/02052025/01/46/image_02052025_01_47_05_10358.jpg', '/home/pi/Desktop/images/02052025/01/47/image_02052025_01_47_14_9356.jpg', '/home/pi/Desktop/images/02052025/01/47/image_02052025_01_47_44_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/46/image_02052025_01_46_34_10342.jpg
/home/pi/Desktop/images/02052025/01/46/image_02052025_01_46_44_9362.jpg
/home/pi/Desktop/images/02052025/01/46/image_02052025_01_46_54_10363.jpg
/home/pi/Desktop/images/02052025/01/46/image_02052025_01_47_05_10358.jpg
/home/pi/Desktop/images/02052025/01/47/image_02052025_01_47_14_9356.jpg
/home/pi/Desktop/images/02052025/01/47/image_02052025_01_47_44_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355218186","1355218201","1355218194","1355218197","1355218199","1355218190"],"photo_ids_order":["1355218186","1355218190","1355218194","1355218197","1355218199","1355218201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa0faa0c2b5bd68ce540051aab3139ce.jpg","text":"TemporaryFile(/tmp/multipartBody7606349914839291253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157234772,"filename":"image_02052025_01_46_34_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a4a811dc3b8682724b32d9f806f18b7.jpg","text":"TemporaryFile(/tmp/multipartBody3217561098792007660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157234772,"filename":"image_02052025_01_47_44_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/80863eba4c7bc6825a311272e33ff6b0.jpg","text":"TemporaryFile(/tmp/multipartBody1389606212292321672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157234772,"filename":"image_02052025_01_46_54_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d562db862570f92a60d31cb8f791b0b.jpg","text":"TemporaryFile(/tmp/multipartBody6688988640480921799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157234772,"filename":"image_02052025_01_47_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/5/2/56dd23fe60178f27982f88012720dd21.jpg","text":"TemporaryFile(/tmp/multipartBody5081689287608441397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157234772,"filename":"image_02052025_01_47_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7bd5522e45b7fa514ea91ba26cc7b54.jpg","text":"TemporaryFile(/tmp/multipartBody4770678833595295750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157234772,"filename":"image_02052025_01_46_44_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218194","file1":"1355218190","file0":"1355218186","file4":"1355218199","file5":"1355218201","file3":"1355218197"},"map_files_photo_id_array":[{"photo_id":"1355218201","filename":"file5"},{"photo_id":"1355218194","filename":"file2"},{"photo_id":"1355218199","filename":"file4"},{"photo_id":"1355218190","filename":"file1"},{"photo_id":"1355218186","filename":"file0"},{"photo_id":"1355218197","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218186":["hashtag1","hashtag2"]},{"1355218201":["hashtag1","hashtag2"]},{"1355218194":["hashtag1","hashtag2"]},{"1355218197":["hashtag1","hashtag2"]},{"1355218199":["hashtag1","hashtag2"]},{"1355218190":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218186, 1355218201, 1355218194, 1355218197, 1355218199, 1355218190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.56480312347412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:40:32.811911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/47/image_02052025_01_47_55_10402.jpg', '/home/pi/Desktop/images/02052025/01/47/image_02052025_01_48_04_9362.jpg', '/home/pi/Desktop/images/02052025/01/48/image_02052025_01_48_14_10478.jpg', '/home/pi/Desktop/images/02052025/01/48/image_02052025_01_48_24_9389.jpg', '/home/pi/Desktop/images/02052025/01/48/image_02052025_01_48_34_10359.jpg', '/home/pi/Desktop/images/02052025/01/48/image_02052025_01_48_45_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/47/image_02052025_01_47_55_10402.jpg
/home/pi/Desktop/images/02052025/01/47/image_02052025_01_48_04_9362.jpg
/home/pi/Desktop/images/02052025/01/48/image_02052025_01_48_14_10478.jpg
/home/pi/Desktop/images/02052025/01/48/image_02052025_01_48_24_9389.jpg
/home/pi/Desktop/images/02052025/01/48/image_02052025_01_48_34_10359.jpg
/home/pi/Desktop/images/02052025/01/48/image_02052025_01_48_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":["1355218214","1355218237","1355218222","1355218219","1355218230","1355218227"],"photo_ids_order":["1355218214","1355218219","1355218222","1355218227","1355218230","1355218237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a32e9a34dc12377d4e9758a9f71b6d8.jpg","text":"TemporaryFile(/tmp/multipartBody7807781415365006591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157293293,"filename":"image_02052025_01_47_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/5/2/05da980da3d47ed3862008718a691836.jpg","text":"TemporaryFile(/tmp/multipartBody4975473720691961681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157293293,"filename":"image_02052025_01_48_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/5/2/f13cd39ad2b186a9dba310304f4fcf2d.jpg","text":"TemporaryFile(/tmp/multipartBody7803824102066617296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157293293,"filename":"image_02052025_01_48_14_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/748145a1ce37e9bd6603bc1f574eebd5.jpg","text":"TemporaryFile(/tmp/multipartBody1261111951461127393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157293293,"filename":"image_02052025_01_48_04_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dcfc582ecc1cc55e86d2e87874c8542a.jpg","text":"TemporaryFile(/tmp/multipartBody3427333012362996122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157293293,"filename":"image_02052025_01_48_34_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c421c1ea7b40e8a7602cabbd24ccf724.jpg","text":"TemporaryFile(/tmp/multipartBody6730605111436946873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157293293,"filename":"image_02052025_01_48_24_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218222","file1":"1355218219","file0":"1355218214","file4":"1355218230","file5":"1355218237","file3":"1355218227"},"map_files_photo_id_array":[{"photo_id":"1355218237","filename":"file5"},{"photo_id":"1355218222","filename":"file2"},{"photo_id":"1355218230","filename":"file4"},{"photo_id":"1355218219","filename":"file1"},{"photo_id":"1355218214","filename":"file0"},{"photo_id":"1355218227","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218214":["hashtag1","hashtag2"]},{"1355218237":["hashtag1","hashtag2"]},{"1355218222":["hashtag1","hashtag2"]},{"1355218219":["hashtag1","hashtag2"]},{"1355218230":["hashtag1","hashtag2"]},{"1355218227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218214, 1355218237, 1355218222, 1355218219, 1355218230, 1355218227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.590248107910156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:41:33.032716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/48/image_02052025_01_48_54_9387.jpg', '/home/pi/Desktop/images/02052025/01/48/image_02052025_01_49_04_10422.jpg', '/home/pi/Desktop/images/02052025/01/49/image_02052025_01_49_15_10347.jpg', '/home/pi/Desktop/images/02052025/01/49/image_02052025_01_49_24_9370.jpg', '/home/pi/Desktop/images/02052025/01/49/image_02052025_01_49_34_10456.jpg', '/home/pi/Desktop/images/02052025/01/49/image_02052025_01_49_44_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/48/image_02052025_01_48_54_9387.jpg
/home/pi/Desktop/images/02052025/01/48/image_02052025_01_49_04_10422.jpg
/home/pi/Desktop/images/02052025/01/49/image_02052025_01_49_15_10347.jpg
/home/pi/Desktop/images/02052025/01/49/image_02052025_01_49_24_9370.jpg
/home/pi/Desktop/images/02052025/01/49/image_02052025_01_49_34_10456.jpg
/home/pi/Desktop/images/02052025/01/49/image_02052025_01_49_44_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":["1355218264","1355218258","1355218261","1355218278","1355218263","1355218271"],"photo_ids_order":["1355218258","1355218261","1355218263","1355218264","1355218271","1355218278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2f7f3b64a98fefb9194e173fd47d29cb.jpg","text":"TemporaryFile(/tmp/multipartBody3377768174253770275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157353503,"filename":"image_02052025_01_49_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/5/2/cca8e551efa9e10750ca5cf9ca8dde72.jpg","text":"TemporaryFile(/tmp/multipartBody3542244419920676008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157353503,"filename":"image_02052025_01_48_54_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/beeaf477dc1d579eda05d73767525f7a.jpg","text":"TemporaryFile(/tmp/multipartBody8738342885495425265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157353503,"filename":"image_02052025_01_49_04_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65136ce309eb04e25a62240e294eb37c.jpg","text":"TemporaryFile(/tmp/multipartBody5867900082465975592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157353503,"filename":"image_02052025_01_49_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c70a0a7dcbac6103a753889a0e23da7f.jpg","text":"TemporaryFile(/tmp/multipartBody9131805484489164946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157353503,"filename":"image_02052025_01_49_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/5/2/95a07945063365c972800acc84e4bf2c.jpg","text":"TemporaryFile(/tmp/multipartBody2995720383524544106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157353503,"filename":"image_02052025_01_49_34_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218263","file1":"1355218261","file0":"1355218258","file4":"1355218271","file5":"1355218278","file3":"1355218264"},"map_files_photo_id_array":[{"photo_id":"1355218278","filename":"file5"},{"photo_id":"1355218263","filename":"file2"},{"photo_id":"1355218271","filename":"file4"},{"photo_id":"1355218261","filename":"file1"},{"photo_id":"1355218258","filename":"file0"},{"photo_id":"1355218264","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218264":["hashtag1","hashtag2"]},{"1355218258":["hashtag1","hashtag2"]},{"1355218261":["hashtag1","hashtag2"]},{"1355218278":["hashtag1","hashtag2"]},{"1355218263":["hashtag1","hashtag2"]},{"1355218271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218264, 1355218258, 1355218261, 1355218278, 1355218263, 1355218271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0228636264801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:42:32.262132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/49/image_02052025_01_49_54_10455.jpg', '/home/pi/Desktop/images/02052025/01/49/image_02052025_01_50_05_10359.jpg', '/home/pi/Desktop/images/02052025/01/50/image_02052025_01_50_14_9356.jpg', '/home/pi/Desktop/images/02052025/01/50/image_02052025_01_50_24_10448.jpg', '/home/pi/Desktop/images/02052025/01/50/image_02052025_01_51_04_9337.jpg', '/home/pi/Desktop/images/02052025/01/51/image_02052025_01_51_14_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/49/image_02052025_01_49_54_10455.jpg
/home/pi/Desktop/images/02052025/01/49/image_02052025_01_50_05_10359.jpg
/home/pi/Desktop/images/02052025/01/50/image_02052025_01_50_14_9356.jpg
/home/pi/Desktop/images/02052025/01/50/image_02052025_01_50_24_10448.jpg
/home/pi/Desktop/images/02052025/01/50/image_02052025_01_51_04_9337.jpg
/home/pi/Desktop/images/02052025/01/51/image_02052025_01_51_14_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355218309","1355218300","1355218296","1355218290","1355218298","1355218292"],"photo_ids_order":["1355218290","1355218292","1355218296","1355218298","1355218300","1355218309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/533beb38021149eb205c259d339e25cb.jpg","text":"TemporaryFile(/tmp/multipartBody7707574975810099002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157412730,"filename":"image_02052025_01_51_14_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97412f7d0fb5ab4fdd618b0c58126ad0.jpg","text":"TemporaryFile(/tmp/multipartBody7181958974358311075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157412730,"filename":"image_02052025_01_51_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39e726cc4027ba9703dc2296e3599a21.jpg","text":"TemporaryFile(/tmp/multipartBody317627950214197150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157412730,"filename":"image_02052025_01_50_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/703696384d0ffd75dcd4ecf31801a956.jpg","text":"TemporaryFile(/tmp/multipartBody4351875904263575275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157412730,"filename":"image_02052025_01_49_54_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/744fc65a785ca770e9fff52dacafc595.jpg","text":"TemporaryFile(/tmp/multipartBody1167477885569029521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157412730,"filename":"image_02052025_01_50_24_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc3f12b80e9e9a9661ed408ccb518ce3.jpg","text":"TemporaryFile(/tmp/multipartBody368494676075260611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157412730,"filename":"image_02052025_01_50_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218296","file1":"1355218292","file0":"1355218290","file4":"1355218300","file5":"1355218309","file3":"1355218298"},"map_files_photo_id_array":[{"photo_id":"1355218309","filename":"file5"},{"photo_id":"1355218296","filename":"file2"},{"photo_id":"1355218300","filename":"file4"},{"photo_id":"1355218292","filename":"file1"},{"photo_id":"1355218290","filename":"file0"},{"photo_id":"1355218298","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218309":["hashtag1","hashtag2"]},{"1355218300":["hashtag1","hashtag2"]},{"1355218296":["hashtag1","hashtag2"]},{"1355218290":["hashtag1","hashtag2"]},{"1355218298":["hashtag1","hashtag2"]},{"1355218292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218309, 1355218300, 1355218296, 1355218290, 1355218298, 1355218292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74048590660095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:43:32.483518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/51/image_02052025_01_51_25_10372.jpg', '/home/pi/Desktop/images/02052025/01/51/image_02052025_01_51_34_9339.jpg', '/home/pi/Desktop/images/02052025/01/51/image_02052025_01_51_44_10434.jpg', '/home/pi/Desktop/images/02052025/01/51/image_02052025_01_51_54_9355.jpg', '/home/pi/Desktop/images/02052025/01/51/image_02052025_01_52_04_10368.jpg', '/home/pi/Desktop/images/02052025/01/52/image_02052025_01_52_15_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/51/image_02052025_01_51_25_10372.jpg
/home/pi/Desktop/images/02052025/01/51/image_02052025_01_51_34_9339.jpg
/home/pi/Desktop/images/02052025/01/51/image_02052025_01_51_44_10434.jpg
/home/pi/Desktop/images/02052025/01/51/image_02052025_01_51_54_9355.jpg
/home/pi/Desktop/images/02052025/01/51/image_02052025_01_52_04_10368.jpg
/home/pi/Desktop/images/02052025/01/52/image_02052025_01_52_15_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355218333","1355218321","1355218335","1355218329","1355218331","1355218325"],"photo_ids_order":["1355218321","1355218325","1355218329","1355218331","1355218333","1355218335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b25acd14bfd4b69b41f2949d5d93d165.jpg","text":"TemporaryFile(/tmp/multipartBody4377122668253994120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157472963,"filename":"image_02052025_01_52_04_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/848d4fe28808f125a0a429bb118a2171.jpg","text":"TemporaryFile(/tmp/multipartBody1645329983779590760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157472963,"filename":"image_02052025_01_51_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/5/2/a2c2d6443c74836d617db1af8637a3f4.jpg","text":"TemporaryFile(/tmp/multipartBody2476967089564322695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157472963,"filename":"image_02052025_01_52_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/08f21773b037482327a394fddbf3c993.jpg","text":"TemporaryFile(/tmp/multipartBody7116632000939865926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157472963,"filename":"image_02052025_01_51_44_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53925b2802b812fa95a1e7d11368d22d.jpg","text":"TemporaryFile(/tmp/multipartBody6711738424086591550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157472963,"filename":"image_02052025_01_51_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/df36a9d0101f57be1ba36a674f05400b.jpg","text":"TemporaryFile(/tmp/multipartBody9210367922304776664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157472963,"filename":"image_02052025_01_51_34_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218329","file1":"1355218325","file0":"1355218321","file4":"1355218333","file5":"1355218335","file3":"1355218331"},"map_files_photo_id_array":[{"photo_id":"1355218335","filename":"file5"},{"photo_id":"1355218329","filename":"file2"},{"photo_id":"1355218333","filename":"file4"},{"photo_id":"1355218325","filename":"file1"},{"photo_id":"1355218321","filename":"file0"},{"photo_id":"1355218331","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218333":["hashtag1","hashtag2"]},{"1355218321":["hashtag1","hashtag2"]},{"1355218335":["hashtag1","hashtag2"]},{"1355218329":["hashtag1","hashtag2"]},{"1355218331":["hashtag1","hashtag2"]},{"1355218325":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218333, 1355218321, 1355218335, 1355218329, 1355218331, 1355218325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.948673486709595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:44:32.655940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/52/image_02052025_01_52_24_9368.jpg', '/home/pi/Desktop/images/02052025/01/52/image_02052025_01_52_34_10404.jpg', '/home/pi/Desktop/images/02052025/01/52/image_02052025_01_52_45_10360.jpg', '/home/pi/Desktop/images/02052025/01/52/image_02052025_01_52_54_9355.jpg', '/home/pi/Desktop/images/02052025/01/52/image_02052025_01_53_04_10455.jpg', '/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_14_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/52/image_02052025_01_52_24_9368.jpg
/home/pi/Desktop/images/02052025/01/52/image_02052025_01_52_34_10404.jpg
/home/pi/Desktop/images/02052025/01/52/image_02052025_01_52_45_10360.jpg
/home/pi/Desktop/images/02052025/01/52/image_02052025_01_52_54_9355.jpg
/home/pi/Desktop/images/02052025/01/52/image_02052025_01_53_04_10455.jpg
/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_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":["1355218348","1355218365","1355218359","1355218350","1355218353","1355218352"],"photo_ids_order":["1355218348","1355218350","1355218352","1355218353","1355218359","1355218365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0756427ca3facf920fb680cafc20ecae.jpg","text":"TemporaryFile(/tmp/multipartBody4271102697579920706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157533119,"filename":"image_02052025_01_52_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/5/2/d5ab7022e3f3cabe730adfa61b3ad419.jpg","text":"TemporaryFile(/tmp/multipartBody3351719526830593756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157533119,"filename":"image_02052025_01_53_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/5/2/c7736741491d6ee01b663a35a27aade0.jpg","text":"TemporaryFile(/tmp/multipartBody5805019042369224690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157533119,"filename":"image_02052025_01_53_04_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2ace13fdcf411e00e31b253ecec16c8.jpg","text":"TemporaryFile(/tmp/multipartBody9152369945276102451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157533119,"filename":"image_02052025_01_52_34_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f3aee14a774ca07e1cc3d5727697403c.jpg","text":"TemporaryFile(/tmp/multipartBody1904695069773140031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157533119,"filename":"image_02052025_01_52_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d9e947f7b541ffcaea23316eafa0faa4.jpg","text":"TemporaryFile(/tmp/multipartBody3659480519072352871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157533119,"filename":"image_02052025_01_52_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218352","file1":"1355218350","file0":"1355218348","file4":"1355218359","file5":"1355218365","file3":"1355218353"},"map_files_photo_id_array":[{"photo_id":"1355218365","filename":"file5"},{"photo_id":"1355218352","filename":"file2"},{"photo_id":"1355218359","filename":"file4"},{"photo_id":"1355218350","filename":"file1"},{"photo_id":"1355218348","filename":"file0"},{"photo_id":"1355218353","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218348":["hashtag1","hashtag2"]},{"1355218365":["hashtag1","hashtag2"]},{"1355218359":["hashtag1","hashtag2"]},{"1355218350":["hashtag1","hashtag2"]},{"1355218353":["hashtag1","hashtag2"]},{"1355218352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218348, 1355218365, 1355218359, 1355218350, 1355218353, 1355218352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.183560132980347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:45:33.124388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_24_10454.jpg', '/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_35_10338.jpg', '/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_44_9339.jpg', '/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_54_10461.jpg', '/home/pi/Desktop/images/02052025/01/53/image_02052025_01_54_04_9380.jpg', '/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_14_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_24_10454.jpg
/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_35_10338.jpg
/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_44_9339.jpg
/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_54_10461.jpg
/home/pi/Desktop/images/02052025/01/53/image_02052025_01_54_04_9380.jpg
/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_14_10350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39913344383239746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 05:45:43.101051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_24_10454.jpg', '/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_35_10338.jpg', '/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_44_9339.jpg', '/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_54_10461.jpg', '/home/pi/Desktop/images/02052025/01/53/image_02052025_01_54_04_9380.jpg', '/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_14_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_24_10454.jpg
/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_35_10338.jpg
/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_44_9339.jpg
/home/pi/Desktop/images/02052025/01/53/image_02052025_01_53_54_10461.jpg
/home/pi/Desktop/images/02052025/01/53/image_02052025_01_54_04_9380.jpg
/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_14_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":["1355218396","1355218411","1355218402","1355218404","1355218407","1355218403"],"photo_ids_order":["1355218396","1355218402","1355218403","1355218404","1355218407","1355218411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/51558e6e79bf7312a1ef898439ac0749.jpg","text":"TemporaryFile(/tmp/multipartBody3192411055276030438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157603574,"filename":"image_02052025_01_53_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/5/2/bbfae93f491ec7f7d567a6f133b2649f.jpg","text":"TemporaryFile(/tmp/multipartBody445566897114524530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157603574,"filename":"image_02052025_01_54_14_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cc8fcc84fd05ae2a8f80ebd8a9768946.jpg","text":"TemporaryFile(/tmp/multipartBody2855618483135284637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157603574,"filename":"image_02052025_01_53_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/5/2/ca10805b04bdaa15d09e0e712c590158.jpg","text":"TemporaryFile(/tmp/multipartBody7830800276523340700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157603574,"filename":"image_02052025_01_53_54_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28c769414874f8be7401f9420cb25629.jpg","text":"TemporaryFile(/tmp/multipartBody56031518929957436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157603574,"filename":"image_02052025_01_54_04_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce3a2c64ca884ff4c8b8939b24da54ff.jpg","text":"TemporaryFile(/tmp/multipartBody5539184413899773915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157603574,"filename":"image_02052025_01_53_44_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218403","file1":"1355218402","file0":"1355218396","file4":"1355218407","file5":"1355218411","file3":"1355218404"},"map_files_photo_id_array":[{"photo_id":"1355218411","filename":"file5"},{"photo_id":"1355218403","filename":"file2"},{"photo_id":"1355218407","filename":"file4"},{"photo_id":"1355218402","filename":"file1"},{"photo_id":"1355218396","filename":"file0"},{"photo_id":"1355218404","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218396":["hashtag1","hashtag2"]},{"1355218411":["hashtag1","hashtag2"]},{"1355218402":["hashtag1","hashtag2"]},{"1355218404":["hashtag1","hashtag2"]},{"1355218407":["hashtag1","hashtag2"]},{"1355218403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218396, 1355218411, 1355218402, 1355218404, 1355218407, 1355218403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67018532752991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:46:32.276358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_25_10399.jpg', '/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_34_9350.jpg', '/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_44_10408.jpg', '/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_55_10379.jpg', '/home/pi/Desktop/images/02052025/01/54/image_02052025_01_55_04_9348.jpg', '/home/pi/Desktop/images/02052025/01/55/image_02052025_01_55_15_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_25_10399.jpg
/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_34_9350.jpg
/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_44_10408.jpg
/home/pi/Desktop/images/02052025/01/54/image_02052025_01_54_55_10379.jpg
/home/pi/Desktop/images/02052025/01/54/image_02052025_01_55_04_9348.jpg
/home/pi/Desktop/images/02052025/01/55/image_02052025_01_55_15_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":["1355218429","1355218443","1355218425","1355218427","1355218442","1355218430"],"photo_ids_order":["1355218425","1355218427","1355218429","1355218430","1355218442","1355218443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/df21262b49e0fb416406c25a65c19ea2.jpg","text":"TemporaryFile(/tmp/multipartBody7539846188999692445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157652751,"filename":"image_02052025_01_54_44_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/46f754089c97586523991c8fdc9bc6c9.jpg","text":"TemporaryFile(/tmp/multipartBody8907268579198547785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157652751,"filename":"image_02052025_01_55_15_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/88838676d242fc6d1f90c79703768b6e.jpg","text":"TemporaryFile(/tmp/multipartBody4136942351415417952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157652751,"filename":"image_02052025_01_54_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a1d4475856be72ddc63342ace61d502.jpg","text":"TemporaryFile(/tmp/multipartBody3692190696216984879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157652751,"filename":"image_02052025_01_54_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/5/2/100f58ccbe5cab03f372f6d2f21aca03.jpg","text":"TemporaryFile(/tmp/multipartBody894584574026757713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157652751,"filename":"image_02052025_01_55_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/5/2/348ad9435495b0c6ce18d2adf1abfc59.jpg","text":"TemporaryFile(/tmp/multipartBody2914691606236577109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157652751,"filename":"image_02052025_01_54_55_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218429","file1":"1355218427","file0":"1355218425","file4":"1355218442","file5":"1355218443","file3":"1355218430"},"map_files_photo_id_array":[{"photo_id":"1355218443","filename":"file5"},{"photo_id":"1355218429","filename":"file2"},{"photo_id":"1355218442","filename":"file4"},{"photo_id":"1355218427","filename":"file1"},{"photo_id":"1355218425","filename":"file0"},{"photo_id":"1355218430","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218429":["hashtag1","hashtag2"]},{"1355218443":["hashtag1","hashtag2"]},{"1355218425":["hashtag1","hashtag2"]},{"1355218427":["hashtag1","hashtag2"]},{"1355218442":["hashtag1","hashtag2"]},{"1355218430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218429, 1355218443, 1355218425, 1355218427, 1355218442, 1355218430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.417670249938965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:47:32.487349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/55/image_02052025_01_55_24_9346.jpg', '/home/pi/Desktop/images/02052025/01/55/image_02052025_01_55_34_10438.jpg', '/home/pi/Desktop/images/02052025/01/55/image_02052025_01_55_45_10369.jpg', '/home/pi/Desktop/images/02052025/01/55/image_02052025_01_55_54_9375.jpg', '/home/pi/Desktop/images/02052025/01/55/image_02052025_01_56_04_10446.jpg', '/home/pi/Desktop/images/02052025/01/56/image_02052025_01_56_14_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/55/image_02052025_01_55_24_9346.jpg
/home/pi/Desktop/images/02052025/01/55/image_02052025_01_55_34_10438.jpg
/home/pi/Desktop/images/02052025/01/55/image_02052025_01_55_45_10369.jpg
/home/pi/Desktop/images/02052025/01/55/image_02052025_01_55_54_9375.jpg
/home/pi/Desktop/images/02052025/01/55/image_02052025_01_56_04_10446.jpg
/home/pi/Desktop/images/02052025/01/56/image_02052025_01_56_14_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":["1355218459","1355218473","1355218476","1355218464","1355218475","1355218469"],"photo_ids_order":["1355218459","1355218464","1355218469","1355218473","1355218475","1355218476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce2a6f2723d8b1561a5073c4b4b939f0.jpg","text":"TemporaryFile(/tmp/multipartBody9116440069880766269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157712974,"filename":"image_02052025_01_55_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/5/2/9cc6d209f28b3e6ed24e9cfd908e2b4b.jpg","text":"TemporaryFile(/tmp/multipartBody7496870348616845538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157712974,"filename":"image_02052025_01_55_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa540fa753a79587a2681dd31e0dad08.jpg","text":"TemporaryFile(/tmp/multipartBody6249805732058398269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157712974,"filename":"image_02052025_01_56_14_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee45d5612945c10cb8a6e984cacde0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2549415990901517008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157712974,"filename":"image_02052025_01_55_34_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d21313b18722612050eaca4a4095e81.jpg","text":"TemporaryFile(/tmp/multipartBody6044656720743415222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157712974,"filename":"image_02052025_01_56_04_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/816f2c8b66670cedeffbe50de865a052.jpg","text":"TemporaryFile(/tmp/multipartBody7086396642232318031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157712974,"filename":"image_02052025_01_55_45_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218469","file1":"1355218464","file0":"1355218459","file4":"1355218475","file5":"1355218476","file3":"1355218473"},"map_files_photo_id_array":[{"photo_id":"1355218476","filename":"file5"},{"photo_id":"1355218469","filename":"file2"},{"photo_id":"1355218475","filename":"file4"},{"photo_id":"1355218464","filename":"file1"},{"photo_id":"1355218459","filename":"file0"},{"photo_id":"1355218473","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218459":["hashtag1","hashtag2"]},{"1355218473":["hashtag1","hashtag2"]},{"1355218476":["hashtag1","hashtag2"]},{"1355218464":["hashtag1","hashtag2"]},{"1355218475":["hashtag1","hashtag2"]},{"1355218469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218459, 1355218473, 1355218476, 1355218464, 1355218475, 1355218469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52358841896057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:48:32.956310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/56/image_02052025_01_56_54_10427.jpg', '/home/pi/Desktop/images/02052025/01/56/image_02052025_01_57_04_9366.jpg', '/home/pi/Desktop/images/02052025/01/57/image_02052025_01_57_44_10510.jpg', '/home/pi/Desktop/images/02052025/01/57/image_02052025_01_58_04_9344.jpg', '/home/pi/Desktop/images/02052025/01/58/image_02052025_01_58_15_10420.jpg', '/home/pi/Desktop/images/02052025/01/58/image_02052025_01_58_24_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/56/image_02052025_01_56_54_10427.jpg
/home/pi/Desktop/images/02052025/01/56/image_02052025_01_57_04_9366.jpg
/home/pi/Desktop/images/02052025/01/57/image_02052025_01_57_44_10510.jpg
/home/pi/Desktop/images/02052025/01/57/image_02052025_01_58_04_9344.jpg
/home/pi/Desktop/images/02052025/01/58/image_02052025_01_58_15_10420.jpg
/home/pi/Desktop/images/02052025/01/58/image_02052025_01_58_24_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355218495","1355218503","1355218496","1355218499","1355218490","1355218493"],"photo_ids_order":["1355218490","1355218493","1355218495","1355218496","1355218499","1355218503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0a90003f46557bb05bf46f113d5b587.jpg","text":"TemporaryFile(/tmp/multipartBody3353626576933443901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157773428,"filename":"image_02052025_01_57_44_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d3591c3e50b0a30bc132537164ff9eb.jpg","text":"TemporaryFile(/tmp/multipartBody1924178090965662043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157773428,"filename":"image_02052025_01_58_24_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/19c8867b2b6ed72740aadbba8a3e6ba5.jpg","text":"TemporaryFile(/tmp/multipartBody3118386188132006915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157773428,"filename":"image_02052025_01_58_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/5/2/1bf37e0a67c400544d2c78bd76258c7b.jpg","text":"TemporaryFile(/tmp/multipartBody265275118279681390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157773428,"filename":"image_02052025_01_58_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/5/2/637a27756188f30e222e323fd43cadff.jpg","text":"TemporaryFile(/tmp/multipartBody6565236184301199803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157773428,"filename":"image_02052025_01_56_54_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d44dd9fa8d84ee2bb82f437242c1ea18.jpg","text":"TemporaryFile(/tmp/multipartBody4434653913156382410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157773428,"filename":"image_02052025_01_57_04_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218495","file1":"1355218493","file0":"1355218490","file4":"1355218499","file5":"1355218503","file3":"1355218496"},"map_files_photo_id_array":[{"photo_id":"1355218503","filename":"file5"},{"photo_id":"1355218495","filename":"file2"},{"photo_id":"1355218499","filename":"file4"},{"photo_id":"1355218493","filename":"file1"},{"photo_id":"1355218490","filename":"file0"},{"photo_id":"1355218496","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218495":["hashtag1","hashtag2"]},{"1355218503":["hashtag1","hashtag2"]},{"1355218496":["hashtag1","hashtag2"]},{"1355218499":["hashtag1","hashtag2"]},{"1355218490":["hashtag1","hashtag2"]},{"1355218493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218495, 1355218503, 1355218496, 1355218499, 1355218490, 1355218493)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 30.101203441619873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:49:33.009727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/58/image_02052025_01_58_34_10511.jpg', '/home/pi/Desktop/images/02052025/01/58/image_02052025_01_58_45_10351.jpg', '/home/pi/Desktop/images/02052025/01/58/image_02052025_01_58_54_9358.jpg', '/home/pi/Desktop/images/02052025/01/58/image_02052025_01_59_04_10377.jpg', '/home/pi/Desktop/images/02052025/01/59/image_02052025_01_59_14_9345.jpg', '/home/pi/Desktop/images/02052025/01/59/image_02052025_01_59_24_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/58/image_02052025_01_58_34_10511.jpg
/home/pi/Desktop/images/02052025/01/58/image_02052025_01_58_45_10351.jpg
/home/pi/Desktop/images/02052025/01/58/image_02052025_01_58_54_9358.jpg
/home/pi/Desktop/images/02052025/01/58/image_02052025_01_59_04_10377.jpg
/home/pi/Desktop/images/02052025/01/59/image_02052025_01_59_14_9345.jpg
/home/pi/Desktop/images/02052025/01/59/image_02052025_01_59_24_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355218546","1355218542","1355218544","1355218541","1355218535","1355218538"],"photo_ids_order":["1355218535","1355218538","1355218541","1355218542","1355218544","1355218546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d5527e634c48723e866af49fea408e6.jpg","text":"TemporaryFile(/tmp/multipartBody3984754406865632194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157833473,"filename":"image_02052025_01_59_24_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6875d01d648c2b7addec4194869f2a37.jpg","text":"TemporaryFile(/tmp/multipartBody1292272013890620994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157833473,"filename":"image_02052025_01_59_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/5/2/c6925dcb10faad649cc001f1a18d19e2.jpg","text":"TemporaryFile(/tmp/multipartBody1991112131443318172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157833473,"filename":"image_02052025_01_59_14_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/69fc0bf4d1c727e2135388f82e8af974.jpg","text":"TemporaryFile(/tmp/multipartBody2928672952820504741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157833473,"filename":"image_02052025_01_58_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f4d99f2fef865517a7740c439aef488c.jpg","text":"TemporaryFile(/tmp/multipartBody4741804667669162215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157833473,"filename":"image_02052025_01_58_34_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/332fa546ca61e097082df862b2e8405d.jpg","text":"TemporaryFile(/tmp/multipartBody9036954824328614485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157833473,"filename":"image_02052025_01_58_45_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218541","file1":"1355218538","file0":"1355218535","file4":"1355218544","file5":"1355218546","file3":"1355218542"},"map_files_photo_id_array":[{"photo_id":"1355218546","filename":"file5"},{"photo_id":"1355218541","filename":"file2"},{"photo_id":"1355218544","filename":"file4"},{"photo_id":"1355218538","filename":"file1"},{"photo_id":"1355218535","filename":"file0"},{"photo_id":"1355218542","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218546":["hashtag1","hashtag2"]},{"1355218542":["hashtag1","hashtag2"]},{"1355218544":["hashtag1","hashtag2"]},{"1355218541":["hashtag1","hashtag2"]},{"1355218535":["hashtag1","hashtag2"]},{"1355218538":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218546, 1355218542, 1355218544, 1355218541, 1355218535, 1355218538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.67338752746582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:50:32.204295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/01/59/image_02052025_01_59_44_9367.jpg', '/home/pi/Desktop/images/02052025/01/59/image_02052025_01_59_55_10465.jpg', '/home/pi/Desktop/images/02052025/02/01/image_02052025_02_01_14_10077.jpg', '/home/pi/Desktop/images/02052025/02/01/image_02052025_02_01_25_10429.jpg', '/home/pi/Desktop/images/02052025/02/01/image_02052025_02_01_35_10375.jpg', '/home/pi/Desktop/images/02052025/02/01/image_02052025_02_01_44_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/01/59/image_02052025_01_59_44_9367.jpg
/home/pi/Desktop/images/02052025/01/59/image_02052025_01_59_55_10465.jpg
/home/pi/Desktop/images/02052025/02/01/image_02052025_02_01_14_10077.jpg
/home/pi/Desktop/images/02052025/02/01/image_02052025_02_01_25_10429.jpg
/home/pi/Desktop/images/02052025/02/01/image_02052025_02_01_35_10375.jpg
/home/pi/Desktop/images/02052025/02/01/image_02052025_02_01_44_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355218588","1355218578","1355218566","1355218560","1355218586","1355218568"],"photo_ids_order":["1355218560","1355218566","1355218568","1355218578","1355218586","1355218588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec9a4cc9df8775325172ef2b5ce8db29.jpg","text":"TemporaryFile(/tmp/multipartBody8074948556551696881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157892686,"filename":"image_02052025_02_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/5/2/b833c681f5c12215fc4484d459a7fd6a.jpg","text":"TemporaryFile(/tmp/multipartBody5057007538109583439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157892686,"filename":"image_02052025_02_01_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/5/2/3e439aa1b8d42d228259052a3352dbc4.jpg","text":"TemporaryFile(/tmp/multipartBody5861938328225749959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157892686,"filename":"image_02052025_01_59_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/5/2/474ccb72c542851525081bacafc7f482.jpg","text":"TemporaryFile(/tmp/multipartBody3706831428695754938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157892686,"filename":"image_02052025_01_59_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/5/2/cb2c7f4e22d57bad56b25ea19f828030.jpg","text":"TemporaryFile(/tmp/multipartBody7512644902809766684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157892686,"filename":"image_02052025_02_01_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/5/2/9041511aa3bbd4e9c990ce78fd882bf1.jpg","text":"TemporaryFile(/tmp/multipartBody4408636087409574040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157892686,"filename":"image_02052025_02_01_14_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218568","file1":"1355218566","file0":"1355218560","file4":"1355218586","file5":"1355218588","file3":"1355218578"},"map_files_photo_id_array":[{"photo_id":"1355218588","filename":"file5"},{"photo_id":"1355218568","filename":"file2"},{"photo_id":"1355218586","filename":"file4"},{"photo_id":"1355218566","filename":"file1"},{"photo_id":"1355218560","filename":"file0"},{"photo_id":"1355218578","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218588":["hashtag1","hashtag2"]},{"1355218578":["hashtag1","hashtag2"]},{"1355218566":["hashtag1","hashtag2"]},{"1355218560":["hashtag1","hashtag2"]},{"1355218586":["hashtag1","hashtag2"]},{"1355218568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218588, 1355218578, 1355218566, 1355218560, 1355218586, 1355218568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.298978090286255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:51:32.411700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/01/image_02052025_02_01_55_10369.jpg', '/home/pi/Desktop/images/02052025/02/01/image_02052025_02_02_04_9476.jpg', '/home/pi/Desktop/images/02052025/02/02/image_02052025_02_02_15_10368.jpg', '/home/pi/Desktop/images/02052025/02/02/image_02052025_02_02_25_10400.jpg', '/home/pi/Desktop/images/02052025/02/02/image_02052025_02_02_45_10358.jpg', '/home/pi/Desktop/images/02052025/02/02/image_02052025_02_03_05_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/01/image_02052025_02_01_55_10369.jpg
/home/pi/Desktop/images/02052025/02/01/image_02052025_02_02_04_9476.jpg
/home/pi/Desktop/images/02052025/02/02/image_02052025_02_02_15_10368.jpg
/home/pi/Desktop/images/02052025/02/02/image_02052025_02_02_25_10400.jpg
/home/pi/Desktop/images/02052025/02/02/image_02052025_02_02_45_10358.jpg
/home/pi/Desktop/images/02052025/02/02/image_02052025_02_03_05_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":["1355218610","1355218612","1355218615","1355218626","1355218608","1355218625"],"photo_ids_order":["1355218608","1355218610","1355218612","1355218615","1355218625","1355218626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/740cbabf032f4f870c8cd2230b00ebb9.jpg","text":"TemporaryFile(/tmp/multipartBody7084310487820097974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157952885,"filename":"image_02052025_02_02_04_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cfb77d1509f1b34ffe33ba5a1ac43b87.jpg","text":"TemporaryFile(/tmp/multipartBody442386934863381240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157952885,"filename":"image_02052025_02_02_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f491aa8839dc74c30728b97f9099e036.jpg","text":"TemporaryFile(/tmp/multipartBody4749615032291458538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157952885,"filename":"image_02052025_02_02_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5189783a86aa43e3738b91af904d8942.jpg","text":"TemporaryFile(/tmp/multipartBody4629310046244601024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157952885,"filename":"image_02052025_02_03_05_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/29b21758b2273d7089c2b8b6bcd9237f.jpg","text":"TemporaryFile(/tmp/multipartBody1385556912171380595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157952885,"filename":"image_02052025_02_01_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f460ed40870a277c1a7837ee839f154f.jpg","text":"TemporaryFile(/tmp/multipartBody357323094762688055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746157952885,"filename":"image_02052025_02_02_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218612","file1":"1355218610","file0":"1355218608","file4":"1355218625","file5":"1355218626","file3":"1355218615"},"map_files_photo_id_array":[{"photo_id":"1355218626","filename":"file5"},{"photo_id":"1355218612","filename":"file2"},{"photo_id":"1355218625","filename":"file4"},{"photo_id":"1355218610","filename":"file1"},{"photo_id":"1355218608","filename":"file0"},{"photo_id":"1355218615","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218610":["hashtag1","hashtag2"]},{"1355218612":["hashtag1","hashtag2"]},{"1355218615":["hashtag1","hashtag2"]},{"1355218626":["hashtag1","hashtag2"]},{"1355218608":["hashtag1","hashtag2"]},{"1355218625":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218610, 1355218612, 1355218615, 1355218626, 1355218608, 1355218625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.413002252578735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:52:32.576194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/03/image_02052025_02_03_15_10342.jpg', '/home/pi/Desktop/images/02052025/02/03/image_02052025_02_03_24_9413.jpg', '/home/pi/Desktop/images/02052025/02/03/image_02052025_02_03_35_10349.jpg', '/home/pi/Desktop/images/02052025/02/03/image_02052025_02_03_54_9439.jpg', '/home/pi/Desktop/images/02052025/02/03/image_02052025_02_04_05_10362.jpg', '/home/pi/Desktop/images/02052025/02/04/image_02052025_02_04_14_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/03/image_02052025_02_03_15_10342.jpg
/home/pi/Desktop/images/02052025/02/03/image_02052025_02_03_24_9413.jpg
/home/pi/Desktop/images/02052025/02/03/image_02052025_02_03_35_10349.jpg
/home/pi/Desktop/images/02052025/02/03/image_02052025_02_03_54_9439.jpg
/home/pi/Desktop/images/02052025/02/03/image_02052025_02_04_05_10362.jpg
/home/pi/Desktop/images/02052025/02/04/image_02052025_02_04_14_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355218651","1355218645","1355218650","1355218647","1355218641","1355218649"],"photo_ids_order":["1355218641","1355218645","1355218647","1355218649","1355218650","1355218651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/12aac27c0cd5344803c8297d12ae5a44.jpg","text":"TemporaryFile(/tmp/multipartBody3834071556952282250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158013048,"filename":"image_02052025_02_04_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/5/2/b4623a2704befbb2daf15947e4bc9945.jpg","text":"TemporaryFile(/tmp/multipartBody3525374655435770967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158013048,"filename":"image_02052025_02_03_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/5/2/57cc3ea3e5a47dbebe51a9257be64128.jpg","text":"TemporaryFile(/tmp/multipartBody6176733037944936184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158013048,"filename":"image_02052025_02_04_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/5/2/ffb01250ad9357c27a5f055a22a44fbb.jpg","text":"TemporaryFile(/tmp/multipartBody3097542857308728042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158013048,"filename":"image_02052025_02_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/5/2/d089b0b9b354b824e1d7510dd958f425.jpg","text":"TemporaryFile(/tmp/multipartBody8432536404506990149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158013048,"filename":"image_02052025_02_03_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/5/2/defec03f005d5b9f17e36930f4abfb75.jpg","text":"TemporaryFile(/tmp/multipartBody2798699783418932664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158013048,"filename":"image_02052025_02_03_54_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218647","file1":"1355218645","file0":"1355218641","file4":"1355218650","file5":"1355218651","file3":"1355218649"},"map_files_photo_id_array":[{"photo_id":"1355218651","filename":"file5"},{"photo_id":"1355218647","filename":"file2"},{"photo_id":"1355218650","filename":"file4"},{"photo_id":"1355218645","filename":"file1"},{"photo_id":"1355218641","filename":"file0"},{"photo_id":"1355218649","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218651":["hashtag1","hashtag2"]},{"1355218645":["hashtag1","hashtag2"]},{"1355218650":["hashtag1","hashtag2"]},{"1355218647":["hashtag1","hashtag2"]},{"1355218641":["hashtag1","hashtag2"]},{"1355218649":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218651, 1355218645, 1355218650, 1355218647, 1355218641, 1355218649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90476083755493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:53:32.793386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/04/image_02052025_02_04_25_10404.jpg', '/home/pi/Desktop/images/02052025/02/04/image_02052025_02_04_35_10357.jpg', '/home/pi/Desktop/images/02052025/02/04/image_02052025_02_04_45_9458.jpg', '/home/pi/Desktop/images/02052025/02/04/image_02052025_02_04_55_10368.jpg', '/home/pi/Desktop/images/02052025/02/04/image_02052025_02_05_04_9396.jpg', '/home/pi/Desktop/images/02052025/02/05/image_02052025_02_05_15_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/04/image_02052025_02_04_25_10404.jpg
/home/pi/Desktop/images/02052025/02/04/image_02052025_02_04_35_10357.jpg
/home/pi/Desktop/images/02052025/02/04/image_02052025_02_04_45_9458.jpg
/home/pi/Desktop/images/02052025/02/04/image_02052025_02_04_55_10368.jpg
/home/pi/Desktop/images/02052025/02/04/image_02052025_02_05_04_9396.jpg
/home/pi/Desktop/images/02052025/02/05/image_02052025_02_05_15_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":["1355218678","1355218677","1355218668","1355218676","1355218670","1355218673"],"photo_ids_order":["1355218668","1355218670","1355218673","1355218676","1355218677","1355218678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/584c9f24d231f0624707a998cbf081ff.jpg","text":"TemporaryFile(/tmp/multipartBody3327467542102598365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158073262,"filename":"image_02052025_02_05_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/5/2/ad6b1accc3a8f2e7bbea963b78e87573.jpg","text":"TemporaryFile(/tmp/multipartBody5842781593924342105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158073262,"filename":"image_02052025_02_05_04_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05c5cf714e5209797686509a382419f3.jpg","text":"TemporaryFile(/tmp/multipartBody1207854542404365185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158073262,"filename":"image_02052025_02_04_25_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/61594411f7e2f77f8597cc2a9421a06d.jpg","text":"TemporaryFile(/tmp/multipartBody4880476487857052983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158073262,"filename":"image_02052025_02_04_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/5/2/4327f7c9de62d3b31ea3b8e688138730.jpg","text":"TemporaryFile(/tmp/multipartBody749930364962932209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158073262,"filename":"image_02052025_02_04_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/5/2/839d3395716bd2bed9908dbec254c211.jpg","text":"TemporaryFile(/tmp/multipartBody5019964948004829946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158073262,"filename":"image_02052025_02_04_45_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218673","file1":"1355218670","file0":"1355218668","file4":"1355218677","file5":"1355218678","file3":"1355218676"},"map_files_photo_id_array":[{"photo_id":"1355218678","filename":"file5"},{"photo_id":"1355218673","filename":"file2"},{"photo_id":"1355218677","filename":"file4"},{"photo_id":"1355218670","filename":"file1"},{"photo_id":"1355218668","filename":"file0"},{"photo_id":"1355218676","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218678":["hashtag1","hashtag2"]},{"1355218677":["hashtag1","hashtag2"]},{"1355218668":["hashtag1","hashtag2"]},{"1355218676":["hashtag1","hashtag2"]},{"1355218670":["hashtag1","hashtag2"]},{"1355218673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218678, 1355218677, 1355218668, 1355218676, 1355218670, 1355218673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29986834526062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:54:33.008430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/05/image_02052025_02_05_25_10360.jpg', '/home/pi/Desktop/images/02052025/02/05/image_02052025_02_05_35_9461.jpg', '/home/pi/Desktop/images/02052025/02/05/image_02052025_02_05_45_10365.jpg', '/home/pi/Desktop/images/02052025/02/05/image_02052025_02_05_54_9429.jpg', '/home/pi/Desktop/images/02052025/02/05/image_02052025_02_06_05_10367.jpg', '/home/pi/Desktop/images/02052025/02/06/image_02052025_02_06_15_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/05/image_02052025_02_05_25_10360.jpg
/home/pi/Desktop/images/02052025/02/05/image_02052025_02_05_35_9461.jpg
/home/pi/Desktop/images/02052025/02/05/image_02052025_02_05_45_10365.jpg
/home/pi/Desktop/images/02052025/02/05/image_02052025_02_05_54_9429.jpg
/home/pi/Desktop/images/02052025/02/05/image_02052025_02_06_05_10367.jpg
/home/pi/Desktop/images/02052025/02/06/image_02052025_02_06_15_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":["1355218705","1355218708","1355218702","1355218707","1355218697","1355218709"],"photo_ids_order":["1355218697","1355218702","1355218705","1355218707","1355218708","1355218709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b35aa737b8eb59630aa27844e72a724c.jpg","text":"TemporaryFile(/tmp/multipartBody8174810239767724509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158133488,"filename":"image_02052025_02_05_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d51d17061feaddb8c4208be6bf6639e.jpg","text":"TemporaryFile(/tmp/multipartBody1916804156536541151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158133488,"filename":"image_02052025_02_06_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/5/2/84c3e475b779c0b77e00e25e2f8ffc7a.jpg","text":"TemporaryFile(/tmp/multipartBody1289110732997367187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158133488,"filename":"image_02052025_02_05_35_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a09195b225cc0e7a2efae48806674cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1938843406793449235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158133488,"filename":"image_02052025_02_05_54_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b0e2189de28abc1dbf34569b72dc9bc.jpg","text":"TemporaryFile(/tmp/multipartBody4945497043841062471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158133488,"filename":"image_02052025_02_05_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/5/2/3dc1ea364d33fc9dc77408d06bdf1e11.jpg","text":"TemporaryFile(/tmp/multipartBody8718751841118129378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158133488,"filename":"image_02052025_02_06_15_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218705","file1":"1355218702","file0":"1355218697","file4":"1355218708","file5":"1355218709","file3":"1355218707"},"map_files_photo_id_array":[{"photo_id":"1355218709","filename":"file5"},{"photo_id":"1355218705","filename":"file2"},{"photo_id":"1355218708","filename":"file4"},{"photo_id":"1355218702","filename":"file1"},{"photo_id":"1355218697","filename":"file0"},{"photo_id":"1355218707","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218705":["hashtag1","hashtag2"]},{"1355218708":["hashtag1","hashtag2"]},{"1355218702":["hashtag1","hashtag2"]},{"1355218707":["hashtag1","hashtag2"]},{"1355218697":["hashtag1","hashtag2"]},{"1355218709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218705, 1355218708, 1355218702, 1355218707, 1355218697, 1355218709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74357604980469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:55:33.330075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/06/image_02052025_02_06_25_9438.jpg', '/home/pi/Desktop/images/02052025/02/06/image_02052025_02_06_35_10475.jpg', '/home/pi/Desktop/images/02052025/02/06/image_02052025_02_06_44_9374.jpg', '/home/pi/Desktop/images/02052025/02/06/image_02052025_02_06_55_10366.jpg', '/home/pi/Desktop/images/02052025/02/06/image_02052025_02_07_05_10354.jpg', '/home/pi/Desktop/images/02052025/02/07/image_02052025_02_07_15_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/06/image_02052025_02_06_25_9438.jpg
/home/pi/Desktop/images/02052025/02/06/image_02052025_02_06_35_10475.jpg
/home/pi/Desktop/images/02052025/02/06/image_02052025_02_06_44_9374.jpg
/home/pi/Desktop/images/02052025/02/06/image_02052025_02_06_55_10366.jpg
/home/pi/Desktop/images/02052025/02/06/image_02052025_02_07_05_10354.jpg
/home/pi/Desktop/images/02052025/02/07/image_02052025_02_07_15_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":["1355218732","1355218734","1355218728","1355218730","1355218724","1355218733"],"photo_ids_order":["1355218724","1355218728","1355218730","1355218732","1355218733","1355218734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa5dbc272c40662ed31f662416b57e0c.jpg","text":"TemporaryFile(/tmp/multipartBody7970675598138132280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158193829,"filename":"image_02052025_02_06_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d491f58e1f1e1731899337e477c70ef.jpg","text":"TemporaryFile(/tmp/multipartBody2661886691532940381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158193829,"filename":"image_02052025_02_07_15_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/70295780454319dc930f26a617858be1.jpg","text":"TemporaryFile(/tmp/multipartBody1606379966673689077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158193829,"filename":"image_02052025_02_06_35_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11cf279c4315d646fd19da7681aefd54.jpg","text":"TemporaryFile(/tmp/multipartBody832951047081768810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158193829,"filename":"image_02052025_02_06_44_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7fea50de3a9b2c984d508ad23b280bb3.jpg","text":"TemporaryFile(/tmp/multipartBody7752616582578335241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158193829,"filename":"image_02052025_02_06_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/5/2/832185b6727922d6b5af5ac787c75501.jpg","text":"TemporaryFile(/tmp/multipartBody2835207347385453561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158193829,"filename":"image_02052025_02_07_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218730","file1":"1355218728","file0":"1355218724","file4":"1355218733","file5":"1355218734","file3":"1355218732"},"map_files_photo_id_array":[{"photo_id":"1355218734","filename":"file5"},{"photo_id":"1355218730","filename":"file2"},{"photo_id":"1355218733","filename":"file4"},{"photo_id":"1355218728","filename":"file1"},{"photo_id":"1355218724","filename":"file0"},{"photo_id":"1355218732","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218732":["hashtag1","hashtag2"]},{"1355218734":["hashtag1","hashtag2"]},{"1355218728":["hashtag1","hashtag2"]},{"1355218730":["hashtag1","hashtag2"]},{"1355218724":["hashtag1","hashtag2"]},{"1355218733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218732, 1355218734, 1355218728, 1355218730, 1355218724, 1355218733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.06027388572693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:56:32.374810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/07/image_02052025_02_07_25_10345.jpg', '/home/pi/Desktop/images/02052025/02/07/image_02052025_02_07_34_9457.jpg', '/home/pi/Desktop/images/02052025/02/07/image_02052025_02_07_45_10361.jpg', '/home/pi/Desktop/images/02052025/02/07/image_02052025_02_07_55_10354.jpg', '/home/pi/Desktop/images/02052025/02/07/image_02052025_02_08_04_9412.jpg', '/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_15_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/07/image_02052025_02_07_25_10345.jpg
/home/pi/Desktop/images/02052025/02/07/image_02052025_02_07_34_9457.jpg
/home/pi/Desktop/images/02052025/02/07/image_02052025_02_07_45_10361.jpg
/home/pi/Desktop/images/02052025/02/07/image_02052025_02_07_55_10354.jpg
/home/pi/Desktop/images/02052025/02/07/image_02052025_02_08_04_9412.jpg
/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355218747","1355218762","1355218764","1355218758","1355218755","1355218760"],"photo_ids_order":["1355218747","1355218755","1355218758","1355218760","1355218762","1355218764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/031f66214131730832ae3dd4702fda3d.jpg","text":"TemporaryFile(/tmp/multipartBody2289013920602730095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158252848,"filename":"image_02052025_02_07_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/5/2/cc9865c8b6556b50115d2c963cc1088a.jpg","text":"TemporaryFile(/tmp/multipartBody3589813908882723155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158252848,"filename":"image_02052025_02_08_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/5/2/9a401d8ac019092df770e96bdc027bc9.jpg","text":"TemporaryFile(/tmp/multipartBody6599282537754420540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158252848,"filename":"image_02052025_02_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/5/2/e0b8cc374667b2df3b6386c083d58e6d.jpg","text":"TemporaryFile(/tmp/multipartBody5331875144039187711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158252848,"filename":"image_02052025_02_07_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/5/2/95f5e6e44b3e381ed72887039ecb569f.jpg","text":"TemporaryFile(/tmp/multipartBody7467364737266513766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158252848,"filename":"image_02052025_02_07_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/5/2/3e48a797d184dd8457738da42899fe47.jpg","text":"TemporaryFile(/tmp/multipartBody8502008267306017461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158252848,"filename":"image_02052025_02_07_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355218758","file1":"1355218755","file0":"1355218747","file4":"1355218762","file5":"1355218764","file3":"1355218760"},"map_files_photo_id_array":[{"photo_id":"1355218764","filename":"file5"},{"photo_id":"1355218758","filename":"file2"},{"photo_id":"1355218762","filename":"file4"},{"photo_id":"1355218755","filename":"file1"},{"photo_id":"1355218747","filename":"file0"},{"photo_id":"1355218760","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355218747":["hashtag1","hashtag2"]},{"1355218762":["hashtag1","hashtag2"]},{"1355218764":["hashtag1","hashtag2"]},{"1355218758":["hashtag1","hashtag2"]},{"1355218755":["hashtag1","hashtag2"]},{"1355218760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355218747, 1355218762, 1355218764, 1355218758, 1355218755, 1355218760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.718955516815186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 05:57:32.619183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_24_9428.jpg', '/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_35_10341.jpg', '/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_45_10441.jpg', '/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_55_9471.jpg', '/home/pi/Desktop/images/02052025/02/08/image_02052025_02_09_05_10422.jpg', '/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_14_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_24_9428.jpg
/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_35_10341.jpg
/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_45_10441.jpg
/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_55_9471.jpg
/home/pi/Desktop/images/02052025/02/08/image_02052025_02_09_05_10422.jpg
/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_14_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 05:59:03.288856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_24_9428.jpg', '/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_35_10341.jpg', '/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_45_10441.jpg', '/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_55_9471.jpg', '/home/pi/Desktop/images/02052025/02/08/image_02052025_02_09_05_10422.jpg', '/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_14_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_24_9428.jpg
/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_35_10341.jpg
/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_45_10441.jpg
/home/pi/Desktop/images/02052025/02/08/image_02052025_02_08_55_9471.jpg
/home/pi/Desktop/images/02052025/02/08/image_02052025_02_09_05_10422.jpg
/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_14_9461.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355219772","1355219719","1355219604","1355219489","1355219549","1355219663"],"photo_ids_order":["1355219489","1355219549","1355219604","1355219663","1355219719","1355219772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa678e18d2fae9ff178e2121cd98b094.jpg","text":"TemporaryFile(/tmp/multipartBody1689852712063603488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158403916,"filename":"image_02052025_02_09_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/5/2/160a4f0dc3da48a828fb08349202d0b6.jpg","text":"TemporaryFile(/tmp/multipartBody2424303163255123394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158403916,"filename":"image_02052025_02_09_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/17cd3159ce75d35883845318c493e125.jpg","text":"TemporaryFile(/tmp/multipartBody7601273345288146622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158403916,"filename":"image_02052025_02_08_45_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a81de1835dcf51751edbd0268adcf020.jpg","text":"TemporaryFile(/tmp/multipartBody7524597468244109802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158403916,"filename":"image_02052025_02_08_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/5/2/2ae445eb5d245e24f9ab1fe015cbb2d6.jpg","text":"TemporaryFile(/tmp/multipartBody7804944455317237755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158403916,"filename":"image_02052025_02_08_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/5/2/267a0b0499aa3da66a52f9179dd60ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6529138336927442091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158403916,"filename":"image_02052025_02_08_55_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355219604","file1":"1355219549","file0":"1355219489","file4":"1355219719","file5":"1355219772","file3":"1355219663"},"map_files_photo_id_array":[{"photo_id":"1355219772","filename":"file5"},{"photo_id":"1355219604","filename":"file2"},{"photo_id":"1355219719","filename":"file4"},{"photo_id":"1355219549","filename":"file1"},{"photo_id":"1355219489","filename":"file0"},{"photo_id":"1355219663","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355219772":["hashtag1","hashtag2"]},{"1355219719":["hashtag1","hashtag2"]},{"1355219604":["hashtag1","hashtag2"]},{"1355219489":["hashtag1","hashtag2"]},{"1355219549":["hashtag1","hashtag2"]},{"1355219663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355219772, 1355219719, 1355219604, 1355219489, 1355219549, 1355219663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.664026975631714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 05:59:42.300544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_25_10376.jpg', '/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_34_9336.jpg', '/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_45_10411.jpg', '/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_55_10386.jpg', '/home/pi/Desktop/images/02052025/02/09/image_02052025_02_10_04_9406.jpg', '/home/pi/Desktop/images/02052025/02/10/image_02052025_02_10_15_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_25_10376.jpg
/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_34_9336.jpg
/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_45_10411.jpg
/home/pi/Desktop/images/02052025/02/09/image_02052025_02_09_55_10386.jpg
/home/pi/Desktop/images/02052025/02/09/image_02052025_02_10_04_9406.jpg
/home/pi/Desktop/images/02052025/02/10/image_02052025_02_10_15_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355220079","1355220139","1355220106","1355220153","1355220051","1355220018"],"photo_ids_order":["1355220018","1355220051","1355220079","1355220106","1355220139","1355220153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0da304e7f937df2e1dae8740cb1ac11.jpg","text":"TemporaryFile(/tmp/multipartBody5495987251544918543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158442773,"filename":"image_02052025_02_09_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/5/2/e66cabb5f244f1b4333973b3dc6467f3.jpg","text":"TemporaryFile(/tmp/multipartBody1124096117538094489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158442773,"filename":"image_02052025_02_10_04_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fb9ee1019be336a36e325a96660dbaa2.jpg","text":"TemporaryFile(/tmp/multipartBody8967957900211739509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158442773,"filename":"image_02052025_02_09_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/5/2/76022082a9df1147b53947056b9e8988.jpg","text":"TemporaryFile(/tmp/multipartBody6698529602845246743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158442773,"filename":"image_02052025_02_10_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/5/2/fdf67c43bfe89c099b33a848fc3c79a2.jpg","text":"TemporaryFile(/tmp/multipartBody5466714897581581053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158442773,"filename":"image_02052025_02_09_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/5/2/60b151550df61f51f0dab32b851b907a.jpg","text":"TemporaryFile(/tmp/multipartBody5933114719343770832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158442773,"filename":"image_02052025_02_09_25_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220079","file1":"1355220051","file0":"1355220018","file4":"1355220139","file5":"1355220153","file3":"1355220106"},"map_files_photo_id_array":[{"photo_id":"1355220153","filename":"file5"},{"photo_id":"1355220079","filename":"file2"},{"photo_id":"1355220139","filename":"file4"},{"photo_id":"1355220051","filename":"file1"},{"photo_id":"1355220018","filename":"file0"},{"photo_id":"1355220106","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220079":["hashtag1","hashtag2"]},{"1355220139":["hashtag1","hashtag2"]},{"1355220106":["hashtag1","hashtag2"]},{"1355220153":["hashtag1","hashtag2"]},{"1355220051":["hashtag1","hashtag2"]},{"1355220018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220079, 1355220139, 1355220106, 1355220153, 1355220051, 1355220018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49247980117798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:00:32.610666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/10/image_02052025_02_10_25_10356.jpg', '/home/pi/Desktop/images/02052025/02/10/image_02052025_02_10_35_9447.jpg', '/home/pi/Desktop/images/02052025/02/10/image_02052025_02_10_45_10342.jpg', '/home/pi/Desktop/images/02052025/02/10/image_02052025_02_10_54_9434.jpg', '/home/pi/Desktop/images/02052025/02/10/image_02052025_02_11_05_10357.jpg', '/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_15_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/10/image_02052025_02_10_25_10356.jpg
/home/pi/Desktop/images/02052025/02/10/image_02052025_02_10_35_9447.jpg
/home/pi/Desktop/images/02052025/02/10/image_02052025_02_10_45_10342.jpg
/home/pi/Desktop/images/02052025/02/10/image_02052025_02_10_54_9434.jpg
/home/pi/Desktop/images/02052025/02/10/image_02052025_02_11_05_10357.jpg
/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_15_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":["1355220327","1355220258","1355220287","1355220323","1355220320","1355220314"],"photo_ids_order":["1355220258","1355220287","1355220314","1355220320","1355220323","1355220327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ce6b35a075ae744b85bdfac9bedbe06.jpg","text":"TemporaryFile(/tmp/multipartBody835286826873482013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158493078,"filename":"image_02052025_02_11_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/5/2/31873d9463c5fd7ce1ccb259c3ff1e58.jpg","text":"TemporaryFile(/tmp/multipartBody7823414598555196302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158493078,"filename":"image_02052025_02_10_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/5/2/eddfdb148425de6cf376fbbac60aaa80.jpg","text":"TemporaryFile(/tmp/multipartBody6739322604989127686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158493078,"filename":"image_02052025_02_10_35_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49c79e1355878ef8c9c51992394f711a.jpg","text":"TemporaryFile(/tmp/multipartBody3173132509613013357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158493078,"filename":"image_02052025_02_11_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1eba7adca1cb195472c57bae6ec2c18.jpg","text":"TemporaryFile(/tmp/multipartBody2915462128022023380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158493078,"filename":"image_02052025_02_10_54_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bfa89cd2c09abff4301fc9afb200ba9f.jpg","text":"TemporaryFile(/tmp/multipartBody6611934774430241802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158493078,"filename":"image_02052025_02_10_45_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220314","file1":"1355220287","file0":"1355220258","file4":"1355220323","file5":"1355220327","file3":"1355220320"},"map_files_photo_id_array":[{"photo_id":"1355220327","filename":"file5"},{"photo_id":"1355220314","filename":"file2"},{"photo_id":"1355220323","filename":"file4"},{"photo_id":"1355220287","filename":"file1"},{"photo_id":"1355220258","filename":"file0"},{"photo_id":"1355220320","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220327":["hashtag1","hashtag2"]},{"1355220258":["hashtag1","hashtag2"]},{"1355220287":["hashtag1","hashtag2"]},{"1355220323":["hashtag1","hashtag2"]},{"1355220320":["hashtag1","hashtag2"]},{"1355220314":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220327, 1355220258, 1355220287, 1355220323, 1355220320, 1355220314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79017448425293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:01:32.766707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_25_9461.jpg', '/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_35_10352.jpg', '/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_44_9424.jpg', '/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_55_10365.jpg', '/home/pi/Desktop/images/02052025/02/11/image_02052025_02_12_05_10354.jpg', '/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_14_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_25_9461.jpg
/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_35_10352.jpg
/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_44_9424.jpg
/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_55_10365.jpg
/home/pi/Desktop/images/02052025/02/11/image_02052025_02_12_05_10354.jpg
/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_14_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3813462257385254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 06:01:42.859064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_25_9461.jpg', '/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_35_10352.jpg', '/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_44_9424.jpg', '/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_55_10365.jpg', '/home/pi/Desktop/images/02052025/02/11/image_02052025_02_12_05_10354.jpg', '/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_14_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_25_9461.jpg
/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_35_10352.jpg
/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_44_9424.jpg
/home/pi/Desktop/images/02052025/02/11/image_02052025_02_11_55_10365.jpg
/home/pi/Desktop/images/02052025/02/11/image_02052025_02_12_05_10354.jpg
/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_14_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":["1355220509","1355220565","1355220616","1355220591","1355220642","1355220539"],"photo_ids_order":["1355220509","1355220539","1355220565","1355220591","1355220616","1355220642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a144c2f4ba1fd65b43da256fe59b0f66.jpg","text":"TemporaryFile(/tmp/multipartBody7205719341165496855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158563331,"filename":"image_02052025_02_11_25_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9aa99302ecd09560ed62ec14d6f9ef1f.jpg","text":"TemporaryFile(/tmp/multipartBody154675256522036869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158563331,"filename":"image_02052025_02_11_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/5/2/628d8d107f2159ea6efefd932a10a449.jpg","text":"TemporaryFile(/tmp/multipartBody1308113559263193072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158563331,"filename":"image_02052025_02_12_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/5/2/143e26b3f67cf676f3d51b3ecbb5569e.jpg","text":"TemporaryFile(/tmp/multipartBody6030101443797883228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158563331,"filename":"image_02052025_02_11_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/5/2/b802ddf953044c7bc5c40707daa9122a.jpg","text":"TemporaryFile(/tmp/multipartBody588684975534854457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158563331,"filename":"image_02052025_02_12_14_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/48f72c7dd697b7aca02e0c4da2093326.jpg","text":"TemporaryFile(/tmp/multipartBody3433064661841972493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158563331,"filename":"image_02052025_02_11_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220565","file1":"1355220539","file0":"1355220509","file4":"1355220616","file5":"1355220642","file3":"1355220591"},"map_files_photo_id_array":[{"photo_id":"1355220642","filename":"file5"},{"photo_id":"1355220565","filename":"file2"},{"photo_id":"1355220616","filename":"file4"},{"photo_id":"1355220539","filename":"file1"},{"photo_id":"1355220509","filename":"file0"},{"photo_id":"1355220591","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220509":["hashtag1","hashtag2"]},{"1355220565":["hashtag1","hashtag2"]},{"1355220616":["hashtag1","hashtag2"]},{"1355220591":["hashtag1","hashtag2"]},{"1355220642":["hashtag1","hashtag2"]},{"1355220539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220509, 1355220565, 1355220616, 1355220591, 1355220642, 1355220539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.071357488632202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:02:32.960432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_25_10359.jpg', '/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_35_10363.jpg', '/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_44_9350.jpg', '/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_55_10364.jpg', '/home/pi/Desktop/images/02052025/02/12/image_02052025_02_13_04_9344.jpg', '/home/pi/Desktop/images/02052025/02/13/image_02052025_02_13_15_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_25_10359.jpg
/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_35_10363.jpg
/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_44_9350.jpg
/home/pi/Desktop/images/02052025/02/12/image_02052025_02_12_55_10364.jpg
/home/pi/Desktop/images/02052025/02/12/image_02052025_02_13_04_9344.jpg
/home/pi/Desktop/images/02052025/02/13/image_02052025_02_13_15_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355220760","1355220754","1355220735","1355220759","1355220758","1355220731"],"photo_ids_order":["1355220731","1355220735","1355220754","1355220758","1355220759","1355220760"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/df8bb86ef9f2a97326972e11233805a0.jpg","text":"TemporaryFile(/tmp/multipartBody251409963367889729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158613433,"filename":"image_02052025_02_13_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd2cbaf8a10ed799a5ef098793fcc1bc.jpg","text":"TemporaryFile(/tmp/multipartBody9151610722484762960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158613433,"filename":"image_02052025_02_12_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/535b46d12d6813401f3d9af7f3527ee9.jpg","text":"TemporaryFile(/tmp/multipartBody584725963882039545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158613433,"filename":"image_02052025_02_12_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/5/2/03adcd85a524bb1df42b81fce7618fa5.jpg","text":"TemporaryFile(/tmp/multipartBody7572933393385132071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158613433,"filename":"image_02052025_02_13_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/5/2/fadac909e98eb5b26b1b8f913d594dee.jpg","text":"TemporaryFile(/tmp/multipartBody5739709818482764624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158613433,"filename":"image_02052025_02_12_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/5/2/6c9e4721e1d3b77645c96b56f4a080e1.jpg","text":"TemporaryFile(/tmp/multipartBody7442542331423654889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158613433,"filename":"image_02052025_02_12_25_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220754","file1":"1355220735","file0":"1355220731","file4":"1355220759","file5":"1355220760","file3":"1355220758"},"map_files_photo_id_array":[{"photo_id":"1355220760","filename":"file5"},{"photo_id":"1355220754","filename":"file2"},{"photo_id":"1355220759","filename":"file4"},{"photo_id":"1355220735","filename":"file1"},{"photo_id":"1355220731","filename":"file0"},{"photo_id":"1355220758","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220760":["hashtag1","hashtag2"]},{"1355220754":["hashtag1","hashtag2"]},{"1355220735":["hashtag1","hashtag2"]},{"1355220759":["hashtag1","hashtag2"]},{"1355220758":["hashtag1","hashtag2"]},{"1355220731":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220760, 1355220754, 1355220735, 1355220759, 1355220758, 1355220731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64542317390442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:03:32.213522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/13/image_02052025_02_13_25_10359.jpg', '/home/pi/Desktop/images/02052025/02/13/image_02052025_02_13_34_9562.jpg', '/home/pi/Desktop/images/02052025/02/13/image_02052025_02_13_45_10351.jpg', '/home/pi/Desktop/images/02052025/02/13/image_02052025_02_13_54_9351.jpg', '/home/pi/Desktop/images/02052025/02/13/image_02052025_02_14_05_10415.jpg', '/home/pi/Desktop/images/02052025/02/14/image_02052025_02_14_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/13/image_02052025_02_13_25_10359.jpg
/home/pi/Desktop/images/02052025/02/13/image_02052025_02_13_34_9562.jpg
/home/pi/Desktop/images/02052025/02/13/image_02052025_02_13_45_10351.jpg
/home/pi/Desktop/images/02052025/02/13/image_02052025_02_13_54_9351.jpg
/home/pi/Desktop/images/02052025/02/13/image_02052025_02_14_05_10415.jpg
/home/pi/Desktop/images/02052025/02/14/image_02052025_02_14_15_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355220781","1355220778","1355220786","1355220783","1355220776","1355220785"],"photo_ids_order":["1355220776","1355220778","1355220781","1355220783","1355220785","1355220786"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5e91baf2a390eec753c646c5cf2e35da.jpg","text":"TemporaryFile(/tmp/multipartBody76030064564721396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158672687,"filename":"image_02052025_02_13_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/5/2/5eb6271c471461fa0ce032b5f364d2f5.jpg","text":"TemporaryFile(/tmp/multipartBody1070838172819398706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158672687,"filename":"image_02052025_02_13_34_9562.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ff45ec9c7bcc043a8fea86b4f754ffd.jpg","text":"TemporaryFile(/tmp/multipartBody5880844827423153060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158672687,"filename":"image_02052025_02_14_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/5/2/e6a1c2a76b6b15c2d7f302d3a9dcf059.jpg","text":"TemporaryFile(/tmp/multipartBody1107580145745870342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158672687,"filename":"image_02052025_02_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/5/2/40ecac63cef6ec7f50099ae0bd538f1f.jpg","text":"TemporaryFile(/tmp/multipartBody5961781128829603721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158672687,"filename":"image_02052025_02_13_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/5/2/b1856bb5488ace5fdaf80caeb9a46c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8882944774435067170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158672687,"filename":"image_02052025_02_14_05_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220781","file1":"1355220778","file0":"1355220776","file4":"1355220785","file5":"1355220786","file3":"1355220783"},"map_files_photo_id_array":[{"photo_id":"1355220786","filename":"file5"},{"photo_id":"1355220781","filename":"file2"},{"photo_id":"1355220785","filename":"file4"},{"photo_id":"1355220778","filename":"file1"},{"photo_id":"1355220776","filename":"file0"},{"photo_id":"1355220783","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220781":["hashtag1","hashtag2"]},{"1355220778":["hashtag1","hashtag2"]},{"1355220786":["hashtag1","hashtag2"]},{"1355220783":["hashtag1","hashtag2"]},{"1355220776":["hashtag1","hashtag2"]},{"1355220785":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220781, 1355220778, 1355220786, 1355220783, 1355220776, 1355220785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.94484782218933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:04:32.488635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/14/image_02052025_02_14_24_9508.jpg', '/home/pi/Desktop/images/02052025/02/14/image_02052025_02_14_35_10365.jpg', '/home/pi/Desktop/images/02052025/02/14/image_02052025_02_14_44_9355.jpg', '/home/pi/Desktop/images/02052025/02/14/image_02052025_02_14_55_10455.jpg', '/home/pi/Desktop/images/02052025/02/14/image_02052025_02_15_05_10351.jpg', '/home/pi/Desktop/images/02052025/02/15/image_02052025_02_15_14_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/14/image_02052025_02_14_24_9508.jpg
/home/pi/Desktop/images/02052025/02/14/image_02052025_02_14_35_10365.jpg
/home/pi/Desktop/images/02052025/02/14/image_02052025_02_14_44_9355.jpg
/home/pi/Desktop/images/02052025/02/14/image_02052025_02_14_55_10455.jpg
/home/pi/Desktop/images/02052025/02/14/image_02052025_02_15_05_10351.jpg
/home/pi/Desktop/images/02052025/02/15/image_02052025_02_15_14_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355220811","1355220798","1355220810","1355220807","1355220809","1355220803"],"photo_ids_order":["1355220798","1355220803","1355220807","1355220809","1355220810","1355220811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b02be51bb5739ed33f7916599d3292e.jpg","text":"TemporaryFile(/tmp/multipartBody7499193362335156668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158732972,"filename":"image_02052025_02_15_14_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/446c1687302780f0fdf8ceaaf6f28935.jpg","text":"TemporaryFile(/tmp/multipartBody1363637192977394893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158732972,"filename":"image_02052025_02_14_24_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f7c66e9647d5fc8fe1af1dca3e33b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8282960642616512867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158732972,"filename":"image_02052025_02_15_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/5/2/00e5b4370bcff5be9f999d7c00de0033.jpg","text":"TemporaryFile(/tmp/multipartBody3647666675086031021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158732972,"filename":"image_02052025_02_14_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3dbe3119e9f9c63107ddc5507f8512ab.jpg","text":"TemporaryFile(/tmp/multipartBody6662492987320795913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158732972,"filename":"image_02052025_02_14_55_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3b2d5f7ee975a8d4f1d6928c692699c.jpg","text":"TemporaryFile(/tmp/multipartBody5604900064268956884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158732972,"filename":"image_02052025_02_14_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220807","file1":"1355220803","file0":"1355220798","file4":"1355220810","file5":"1355220811","file3":"1355220809"},"map_files_photo_id_array":[{"photo_id":"1355220811","filename":"file5"},{"photo_id":"1355220807","filename":"file2"},{"photo_id":"1355220810","filename":"file4"},{"photo_id":"1355220803","filename":"file1"},{"photo_id":"1355220798","filename":"file0"},{"photo_id":"1355220809","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220811":["hashtag1","hashtag2"]},{"1355220798":["hashtag1","hashtag2"]},{"1355220810":["hashtag1","hashtag2"]},{"1355220807":["hashtag1","hashtag2"]},{"1355220809":["hashtag1","hashtag2"]},{"1355220803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220811, 1355220798, 1355220810, 1355220807, 1355220809, 1355220803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.713141679763794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:05:32.679076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/15/image_02052025_02_15_25_10369.jpg', '/home/pi/Desktop/images/02052025/02/15/image_02052025_02_15_34_9378.jpg', '/home/pi/Desktop/images/02052025/02/15/image_02052025_02_15_44_10361.jpg', '/home/pi/Desktop/images/02052025/02/15/image_02052025_02_15_55_10375.jpg', '/home/pi/Desktop/images/02052025/02/15/image_02052025_02_16_04_9460.jpg', '/home/pi/Desktop/images/02052025/02/16/image_02052025_02_16_15_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/15/image_02052025_02_15_25_10369.jpg
/home/pi/Desktop/images/02052025/02/15/image_02052025_02_15_34_9378.jpg
/home/pi/Desktop/images/02052025/02/15/image_02052025_02_15_44_10361.jpg
/home/pi/Desktop/images/02052025/02/15/image_02052025_02_15_55_10375.jpg
/home/pi/Desktop/images/02052025/02/15/image_02052025_02_16_04_9460.jpg
/home/pi/Desktop/images/02052025/02/16/image_02052025_02_16_15_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355220838","1355220831","1355220825","1355220828","1355220833","1355220836"],"photo_ids_order":["1355220825","1355220828","1355220831","1355220833","1355220836","1355220838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/48f6f3f113d671307bc85d4efc7c33a6.jpg","text":"TemporaryFile(/tmp/multipartBody5259061968319382847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158793156,"filename":"image_02052025_02_16_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc4407c3b71a894a6880f84a37194e99.jpg","text":"TemporaryFile(/tmp/multipartBody1622832290516861531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158793156,"filename":"image_02052025_02_15_44_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89b0c368ad922eb497d8e045d4ee0d53.jpg","text":"TemporaryFile(/tmp/multipartBody6204506298382228733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158793156,"filename":"image_02052025_02_15_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b9787af8f0f423a6984a465c29bdf9f.jpg","text":"TemporaryFile(/tmp/multipartBody6327093610016445709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158793156,"filename":"image_02052025_02_15_34_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b350b20891f23538299690383a3359c.jpg","text":"TemporaryFile(/tmp/multipartBody3931902355370775820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158793156,"filename":"image_02052025_02_15_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/813b9c426e13f120a7b66c7a2ad0cfb2.jpg","text":"TemporaryFile(/tmp/multipartBody8858263201407473303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158793156,"filename":"image_02052025_02_16_04_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220831","file1":"1355220828","file0":"1355220825","file4":"1355220836","file5":"1355220838","file3":"1355220833"},"map_files_photo_id_array":[{"photo_id":"1355220838","filename":"file5"},{"photo_id":"1355220831","filename":"file2"},{"photo_id":"1355220836","filename":"file4"},{"photo_id":"1355220828","filename":"file1"},{"photo_id":"1355220825","filename":"file0"},{"photo_id":"1355220833","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220838":["hashtag1","hashtag2"]},{"1355220831":["hashtag1","hashtag2"]},{"1355220825":["hashtag1","hashtag2"]},{"1355220828":["hashtag1","hashtag2"]},{"1355220833":["hashtag1","hashtag2"]},{"1355220836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220838, 1355220831, 1355220825, 1355220828, 1355220833, 1355220836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.44731569290161 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:06:33.019662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/16/image_02052025_02_16_25_10359.jpg', '/home/pi/Desktop/images/02052025/02/16/image_02052025_02_16_34_9337.jpg', '/home/pi/Desktop/images/02052025/02/16/image_02052025_02_16_45_10410.jpg', '/home/pi/Desktop/images/02052025/02/16/image_02052025_02_17_05_10404.jpg', '/home/pi/Desktop/images/02052025/02/17/image_02052025_02_17_15_10362.jpg', '/home/pi/Desktop/images/02052025/02/17/image_02052025_02_17_24_9503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/16/image_02052025_02_16_25_10359.jpg
/home/pi/Desktop/images/02052025/02/16/image_02052025_02_16_34_9337.jpg
/home/pi/Desktop/images/02052025/02/16/image_02052025_02_16_45_10410.jpg
/home/pi/Desktop/images/02052025/02/16/image_02052025_02_17_05_10404.jpg
/home/pi/Desktop/images/02052025/02/17/image_02052025_02_17_15_10362.jpg
/home/pi/Desktop/images/02052025/02/17/image_02052025_02_17_24_9503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355220862","1355220856","1355220853","1355220858","1355220863","1355220860"],"photo_ids_order":["1355220853","1355220856","1355220858","1355220860","1355220862","1355220863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11b5d0ed3e5b1f1fe99c5290b08ddf19.jpg","text":"TemporaryFile(/tmp/multipartBody1560403371762107335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158853486,"filename":"image_02052025_02_17_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/5/2/8c39eda4b40d8ea9fa366293a4cbf9b9.jpg","text":"TemporaryFile(/tmp/multipartBody9190303311430290263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158853486,"filename":"image_02052025_02_16_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/5/2/435e0aca03f084a28b23fa8689e834e7.jpg","text":"TemporaryFile(/tmp/multipartBody1924430618433092893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158853486,"filename":"image_02052025_02_16_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d2d1b5040e2e3a081ba5bbba3c30cf1.jpg","text":"TemporaryFile(/tmp/multipartBody3187820276324553218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158853486,"filename":"image_02052025_02_16_45_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0bcfae5e19d08f0dfb9360bea547b0ca.jpg","text":"TemporaryFile(/tmp/multipartBody3548288036614106665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158853486,"filename":"image_02052025_02_17_24_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d4ccd4608af54a7482a2bdc12d52e22.jpg","text":"TemporaryFile(/tmp/multipartBody4923342179228129612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158853486,"filename":"image_02052025_02_17_05_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220858","file1":"1355220856","file0":"1355220853","file4":"1355220862","file5":"1355220863","file3":"1355220860"},"map_files_photo_id_array":[{"photo_id":"1355220863","filename":"file5"},{"photo_id":"1355220858","filename":"file2"},{"photo_id":"1355220862","filename":"file4"},{"photo_id":"1355220856","filename":"file1"},{"photo_id":"1355220853","filename":"file0"},{"photo_id":"1355220860","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220862":["hashtag1","hashtag2"]},{"1355220856":["hashtag1","hashtag2"]},{"1355220853":["hashtag1","hashtag2"]},{"1355220858":["hashtag1","hashtag2"]},{"1355220863":["hashtag1","hashtag2"]},{"1355220860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220862, 1355220856, 1355220853, 1355220858, 1355220863, 1355220860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.388013124465942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:07:32.385590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/17/image_02052025_02_17_35_10359.jpg', '/home/pi/Desktop/images/02052025/02/17/image_02052025_02_17_45_10344.jpg', '/home/pi/Desktop/images/02052025/02/17/image_02052025_02_17_55_9451.jpg', '/home/pi/Desktop/images/02052025/02/17/image_02052025_02_18_05_10357.jpg', '/home/pi/Desktop/images/02052025/02/18/image_02052025_02_18_14_9491.jpg', '/home/pi/Desktop/images/02052025/02/18/image_02052025_02_18_25_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/17/image_02052025_02_17_35_10359.jpg
/home/pi/Desktop/images/02052025/02/17/image_02052025_02_17_45_10344.jpg
/home/pi/Desktop/images/02052025/02/17/image_02052025_02_17_55_9451.jpg
/home/pi/Desktop/images/02052025/02/17/image_02052025_02_18_05_10357.jpg
/home/pi/Desktop/images/02052025/02/18/image_02052025_02_18_14_9491.jpg
/home/pi/Desktop/images/02052025/02/18/image_02052025_02_18_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":["1355220877","1355220888","1355220873","1355220881","1355220884","1355220887"],"photo_ids_order":["1355220873","1355220877","1355220881","1355220884","1355220887","1355220888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e5334829095fc66712e2ce3014180bb.jpg","text":"TemporaryFile(/tmp/multipartBody5677049829795597822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158912871,"filename":"image_02052025_02_17_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/5/2/bdf7c0dc531d787e77796af89ebf0200.jpg","text":"TemporaryFile(/tmp/multipartBody7441939427306591593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158912871,"filename":"image_02052025_02_18_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/5/2/ca36340a92f15922375abaaa51e433ad.jpg","text":"TemporaryFile(/tmp/multipartBody828289697604776161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158912871,"filename":"image_02052025_02_17_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e0b35859786cd6e6ff67c5be08fdde5.jpg","text":"TemporaryFile(/tmp/multipartBody6075832392721860556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158912871,"filename":"image_02052025_02_17_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/5/2/0222cbe1cd73b6e312949777978e6409.jpg","text":"TemporaryFile(/tmp/multipartBody556390239010320236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158912871,"filename":"image_02052025_02_18_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/5/2/96f3984d42f4dd2407dce127a2742ce4.jpg","text":"TemporaryFile(/tmp/multipartBody1224619544534744779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158912871,"filename":"image_02052025_02_18_14_9491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220881","file1":"1355220877","file0":"1355220873","file4":"1355220887","file5":"1355220888","file3":"1355220884"},"map_files_photo_id_array":[{"photo_id":"1355220888","filename":"file5"},{"photo_id":"1355220881","filename":"file2"},{"photo_id":"1355220887","filename":"file4"},{"photo_id":"1355220877","filename":"file1"},{"photo_id":"1355220873","filename":"file0"},{"photo_id":"1355220884","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220877":["hashtag1","hashtag2"]},{"1355220888":["hashtag1","hashtag2"]},{"1355220873":["hashtag1","hashtag2"]},{"1355220881":["hashtag1","hashtag2"]},{"1355220884":["hashtag1","hashtag2"]},{"1355220887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220877, 1355220888, 1355220873, 1355220881, 1355220884, 1355220887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.811487913131714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:08:32.528493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/18/image_02052025_02_18_34_9349.jpg', '/home/pi/Desktop/images/02052025/02/18/image_02052025_02_18_45_10417.jpg', '/home/pi/Desktop/images/02052025/02/18/image_02052025_02_18_55_10368.jpg', '/home/pi/Desktop/images/02052025/02/18/image_02052025_02_19_04_9481.jpg', '/home/pi/Desktop/images/02052025/02/19/image_02052025_02_19_15_10339.jpg', '/home/pi/Desktop/images/02052025/02/19/image_02052025_02_19_25_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/18/image_02052025_02_18_34_9349.jpg
/home/pi/Desktop/images/02052025/02/18/image_02052025_02_18_45_10417.jpg
/home/pi/Desktop/images/02052025/02/18/image_02052025_02_18_55_10368.jpg
/home/pi/Desktop/images/02052025/02/18/image_02052025_02_19_04_9481.jpg
/home/pi/Desktop/images/02052025/02/19/image_02052025_02_19_15_10339.jpg
/home/pi/Desktop/images/02052025/02/19/image_02052025_02_19_25_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355220910","1355220913","1355220909","1355220903","1355220912","1355220906"],"photo_ids_order":["1355220903","1355220906","1355220909","1355220910","1355220912","1355220913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a89f7ac6234aa8b78783cbaf79e3af4.jpg","text":"TemporaryFile(/tmp/multipartBody3863163468249673853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158972998,"filename":"image_02052025_02_19_04_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0ac69296eb959cc7913944036f76a5f5.jpg","text":"TemporaryFile(/tmp/multipartBody3497769028828170674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158972998,"filename":"image_02052025_02_19_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/5/2/077ca7c801ea0f1608ae360699bf14b3.jpg","text":"TemporaryFile(/tmp/multipartBody2854644280963018742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158972998,"filename":"image_02052025_02_18_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/5/2/6451c8395dde3ae22d518cec5c7d60a6.jpg","text":"TemporaryFile(/tmp/multipartBody4303053896420705008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158972998,"filename":"image_02052025_02_18_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6bd971fe4b413d0c2c4907b047185040.jpg","text":"TemporaryFile(/tmp/multipartBody8399980626010605539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158972998,"filename":"image_02052025_02_19_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/254fbfdb788d02a0d6683c98d835d387.jpg","text":"TemporaryFile(/tmp/multipartBody2534903971057107604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746158972998,"filename":"image_02052025_02_18_45_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220909","file1":"1355220906","file0":"1355220903","file4":"1355220912","file5":"1355220913","file3":"1355220910"},"map_files_photo_id_array":[{"photo_id":"1355220913","filename":"file5"},{"photo_id":"1355220909","filename":"file2"},{"photo_id":"1355220912","filename":"file4"},{"photo_id":"1355220906","filename":"file1"},{"photo_id":"1355220903","filename":"file0"},{"photo_id":"1355220910","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220910":["hashtag1","hashtag2"]},{"1355220913":["hashtag1","hashtag2"]},{"1355220909":["hashtag1","hashtag2"]},{"1355220903":["hashtag1","hashtag2"]},{"1355220912":["hashtag1","hashtag2"]},{"1355220906":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220910, 1355220913, 1355220909, 1355220903, 1355220912, 1355220906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.544689655303955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:09:32.817160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/19/image_02052025_02_19_35_9589.jpg', '/home/pi/Desktop/images/02052025/02/19/image_02052025_02_19_45_10356.jpg', '/home/pi/Desktop/images/02052025/02/19/image_02052025_02_19_55_9468.jpg', '/home/pi/Desktop/images/02052025/02/19/image_02052025_02_20_05_10271.jpg', '/home/pi/Desktop/images/02052025/02/20/image_02052025_02_20_14_9362.jpg', '/home/pi/Desktop/images/02052025/02/20/image_02052025_02_20_25_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/19/image_02052025_02_19_35_9589.jpg
/home/pi/Desktop/images/02052025/02/19/image_02052025_02_19_45_10356.jpg
/home/pi/Desktop/images/02052025/02/19/image_02052025_02_19_55_9468.jpg
/home/pi/Desktop/images/02052025/02/19/image_02052025_02_20_05_10271.jpg
/home/pi/Desktop/images/02052025/02/20/image_02052025_02_20_14_9362.jpg
/home/pi/Desktop/images/02052025/02/20/image_02052025_02_20_25_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355220931","1355220934","1355220933","1355220927","1355220932","1355220929"],"photo_ids_order":["1355220927","1355220929","1355220931","1355220932","1355220933","1355220934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e59770ba6f4f3df454bc4b99071ab57e.jpg","text":"TemporaryFile(/tmp/multipartBody6068164784922061118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159033309,"filename":"image_02052025_02_19_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/5/2/60c0335b3506b147a45d196ad8ce5de7.jpg","text":"TemporaryFile(/tmp/multipartBody2544531504977362877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159033309,"filename":"image_02052025_02_20_25_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/45068e25422288d4a431b75653babf37.jpg","text":"TemporaryFile(/tmp/multipartBody8919461543010514343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159033309,"filename":"image_02052025_02_20_14_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5397fa5196f1a38bab03389728080f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7314346526475340000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159033309,"filename":"image_02052025_02_19_35_9589.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c7176dda00483d22f9b3cd78b051f92.jpg","text":"TemporaryFile(/tmp/multipartBody1126699924543808269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159033309,"filename":"image_02052025_02_20_05_10271.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b089612d715457043aab5c3b7cdf88e9.jpg","text":"TemporaryFile(/tmp/multipartBody5433706855705077562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159033309,"filename":"image_02052025_02_19_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220931","file1":"1355220929","file0":"1355220927","file4":"1355220933","file5":"1355220934","file3":"1355220932"},"map_files_photo_id_array":[{"photo_id":"1355220934","filename":"file5"},{"photo_id":"1355220931","filename":"file2"},{"photo_id":"1355220933","filename":"file4"},{"photo_id":"1355220929","filename":"file1"},{"photo_id":"1355220927","filename":"file0"},{"photo_id":"1355220932","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220931":["hashtag1","hashtag2"]},{"1355220934":["hashtag1","hashtag2"]},{"1355220933":["hashtag1","hashtag2"]},{"1355220927":["hashtag1","hashtag2"]},{"1355220932":["hashtag1","hashtag2"]},{"1355220929":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220931, 1355220934, 1355220933, 1355220927, 1355220932, 1355220929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.48648476600647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:10:33.001667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/20/image_02052025_02_20_35_10357.jpg', '/home/pi/Desktop/images/02052025/02/20/image_02052025_02_20_44_9410.jpg', '/home/pi/Desktop/images/02052025/02/20/image_02052025_02_20_55_10365.jpg', '/home/pi/Desktop/images/02052025/02/20/image_02052025_02_21_05_10360.jpg', '/home/pi/Desktop/images/02052025/02/21/image_02052025_02_21_14_9346.jpg', '/home/pi/Desktop/images/02052025/02/21/image_02052025_02_21_25_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/20/image_02052025_02_20_35_10357.jpg
/home/pi/Desktop/images/02052025/02/20/image_02052025_02_20_44_9410.jpg
/home/pi/Desktop/images/02052025/02/20/image_02052025_02_20_55_10365.jpg
/home/pi/Desktop/images/02052025/02/20/image_02052025_02_21_05_10360.jpg
/home/pi/Desktop/images/02052025/02/21/image_02052025_02_21_14_9346.jpg
/home/pi/Desktop/images/02052025/02/21/image_02052025_02_21_25_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355220961","1355220958","1355220960","1355220956","1355220950","1355220953"],"photo_ids_order":["1355220950","1355220953","1355220956","1355220958","1355220960","1355220961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e4bb61ca1d134a08f4410ad3ed55b87f.jpg","text":"TemporaryFile(/tmp/multipartBody4647283088775213830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159093472,"filename":"image_02052025_02_21_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/5/2/e6729e2b7cf94b9cef18b3237dcbd3b7.jpg","text":"TemporaryFile(/tmp/multipartBody4158589852473187207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159093472,"filename":"image_02052025_02_21_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/5/2/1a5408d8865ba00f3d6a73e3b2f4d6aa.jpg","text":"TemporaryFile(/tmp/multipartBody8928256161318837875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159093472,"filename":"image_02052025_02_21_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/898575b4cbb78d7095a723e55c52c6c2.jpg","text":"TemporaryFile(/tmp/multipartBody7668281155171128865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159093472,"filename":"image_02052025_02_20_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/5/2/587bf26dd79377958130a4d0ace56614.jpg","text":"TemporaryFile(/tmp/multipartBody4745643982380890044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159093472,"filename":"image_02052025_02_20_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/5/2/cc7c5ffc00c3c2ed3c5316922ed4dede.jpg","text":"TemporaryFile(/tmp/multipartBody492062941905380779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159093472,"filename":"image_02052025_02_20_44_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220956","file1":"1355220953","file0":"1355220950","file4":"1355220960","file5":"1355220961","file3":"1355220958"},"map_files_photo_id_array":[{"photo_id":"1355220961","filename":"file5"},{"photo_id":"1355220956","filename":"file2"},{"photo_id":"1355220960","filename":"file4"},{"photo_id":"1355220953","filename":"file1"},{"photo_id":"1355220950","filename":"file0"},{"photo_id":"1355220958","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220961":["hashtag1","hashtag2"]},{"1355220958":["hashtag1","hashtag2"]},{"1355220960":["hashtag1","hashtag2"]},{"1355220956":["hashtag1","hashtag2"]},{"1355220950":["hashtag1","hashtag2"]},{"1355220953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220961, 1355220958, 1355220960, 1355220956, 1355220950, 1355220953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.114927530288696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:11:32.267188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/21/image_02052025_02_21_34_9399.jpg', '/home/pi/Desktop/images/02052025/02/21/image_02052025_02_21_45_10417.jpg', '/home/pi/Desktop/images/02052025/02/21/image_02052025_02_21_55_10377.jpg', '/home/pi/Desktop/images/02052025/02/21/image_02052025_02_22_05_9454.jpg', '/home/pi/Desktop/images/02052025/02/22/image_02052025_02_22_15_10355.jpg', '/home/pi/Desktop/images/02052025/02/22/image_02052025_02_22_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/21/image_02052025_02_21_34_9399.jpg
/home/pi/Desktop/images/02052025/02/21/image_02052025_02_21_45_10417.jpg
/home/pi/Desktop/images/02052025/02/21/image_02052025_02_21_55_10377.jpg
/home/pi/Desktop/images/02052025/02/21/image_02052025_02_22_05_9454.jpg
/home/pi/Desktop/images/02052025/02/22/image_02052025_02_22_15_10355.jpg
/home/pi/Desktop/images/02052025/02/22/image_02052025_02_22_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":["1355220988","1355220982","1355220981","1355220978","1355220974","1355220985"],"photo_ids_order":["1355220974","1355220978","1355220981","1355220982","1355220985","1355220988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d410c4b4c2efba6c6313144e885e2d2.jpg","text":"TemporaryFile(/tmp/multipartBody3910175258048240743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159152737,"filename":"image_02052025_02_22_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/5/2/68889a4ff93d6768d42c11aab91db736.jpg","text":"TemporaryFile(/tmp/multipartBody1374839069151866201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159152737,"filename":"image_02052025_02_22_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/5/2/68ae395aae7a335f15da50e02a47fe9a.jpg","text":"TemporaryFile(/tmp/multipartBody9051990041012543959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159152737,"filename":"image_02052025_02_21_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/742ea6c1490497cc7b50db0cc760c5fa.jpg","text":"TemporaryFile(/tmp/multipartBody7090794859740715973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159152737,"filename":"image_02052025_02_21_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/5/2/31d7ffeb8e1fc2d368141ba3127a66f6.jpg","text":"TemporaryFile(/tmp/multipartBody3123650292847172199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159152737,"filename":"image_02052025_02_21_34_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a74b02440bcb841528a4047bb44103b6.jpg","text":"TemporaryFile(/tmp/multipartBody3985483745799582662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159152737,"filename":"image_02052025_02_22_15_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220981","file1":"1355220978","file0":"1355220974","file4":"1355220985","file5":"1355220988","file3":"1355220982"},"map_files_photo_id_array":[{"photo_id":"1355220988","filename":"file5"},{"photo_id":"1355220981","filename":"file2"},{"photo_id":"1355220985","filename":"file4"},{"photo_id":"1355220978","filename":"file1"},{"photo_id":"1355220974","filename":"file0"},{"photo_id":"1355220982","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220988":["hashtag1","hashtag2"]},{"1355220982":["hashtag1","hashtag2"]},{"1355220981":["hashtag1","hashtag2"]},{"1355220978":["hashtag1","hashtag2"]},{"1355220974":["hashtag1","hashtag2"]},{"1355220985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220988, 1355220982, 1355220981, 1355220978, 1355220974, 1355220985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.37939810752869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:12:32.606266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/22/image_02052025_02_22_45_10345.jpg', '/home/pi/Desktop/images/02052025/02/22/image_02052025_02_22_54_9355.jpg', '/home/pi/Desktop/images/02052025/02/22/image_02052025_02_23_05_10364.jpg', '/home/pi/Desktop/images/02052025/02/23/image_02052025_02_23_14_9415.jpg', '/home/pi/Desktop/images/02052025/02/23/image_02052025_02_23_25_10443.jpg', '/home/pi/Desktop/images/02052025/02/23/image_02052025_02_23_35_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/22/image_02052025_02_22_45_10345.jpg
/home/pi/Desktop/images/02052025/02/22/image_02052025_02_22_54_9355.jpg
/home/pi/Desktop/images/02052025/02/22/image_02052025_02_23_05_10364.jpg
/home/pi/Desktop/images/02052025/02/23/image_02052025_02_23_14_9415.jpg
/home/pi/Desktop/images/02052025/02/23/image_02052025_02_23_25_10443.jpg
/home/pi/Desktop/images/02052025/02/23/image_02052025_02_23_35_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355220994","1355220997","1355221000","1355221002","1355220992","1355221001"],"photo_ids_order":["1355220992","1355220994","1355220997","1355221000","1355221001","1355221002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b3a2a902170edf7fe41af4e6949fdbf.jpg","text":"TemporaryFile(/tmp/multipartBody4552642781395531967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159213071,"filename":"image_02052025_02_22_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7cad3c12763cb54dc37e3225448c6bbd.jpg","text":"TemporaryFile(/tmp/multipartBody2067740209584648436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159213071,"filename":"image_02052025_02_23_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/5/2/67f10ea947daad6bc6d3da96a893cedd.jpg","text":"TemporaryFile(/tmp/multipartBody6891930431557117229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159213071,"filename":"image_02052025_02_23_14_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/99c0f201ebeb1972e3565c33d0ba2822.jpg","text":"TemporaryFile(/tmp/multipartBody7165374482448177421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159213071,"filename":"image_02052025_02_23_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/5/2/82071efc2ba403312e11a501829c7fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3838301207850577693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159213071,"filename":"image_02052025_02_22_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/5/2/4483612df229bf9374307d0c6f655446.jpg","text":"TemporaryFile(/tmp/multipartBody46990498075776934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159213071,"filename":"image_02052025_02_23_25_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355220997","file1":"1355220994","file0":"1355220992","file4":"1355221001","file5":"1355221002","file3":"1355221000"},"map_files_photo_id_array":[{"photo_id":"1355221002","filename":"file5"},{"photo_id":"1355220997","filename":"file2"},{"photo_id":"1355221001","filename":"file4"},{"photo_id":"1355220994","filename":"file1"},{"photo_id":"1355220992","filename":"file0"},{"photo_id":"1355221000","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355220994":["hashtag1","hashtag2"]},{"1355220997":["hashtag1","hashtag2"]},{"1355221000":["hashtag1","hashtag2"]},{"1355221002":["hashtag1","hashtag2"]},{"1355220992":["hashtag1","hashtag2"]},{"1355221001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355220994, 1355220997, 1355221000, 1355221002, 1355220992, 1355221001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.986793518066406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:13:32.696122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/23/image_02052025_02_23_44_9444.jpg', '/home/pi/Desktop/images/02052025/02/23/image_02052025_02_23_55_10372.jpg', '/home/pi/Desktop/images/02052025/02/23/image_02052025_02_24_05_10358.jpg', '/home/pi/Desktop/images/02052025/02/24/image_02052025_02_24_14_9344.jpg', '/home/pi/Desktop/images/02052025/02/24/image_02052025_02_24_25_10372.jpg', '/home/pi/Desktop/images/02052025/02/24/image_02052025_02_24_34_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/23/image_02052025_02_23_44_9444.jpg
/home/pi/Desktop/images/02052025/02/23/image_02052025_02_23_55_10372.jpg
/home/pi/Desktop/images/02052025/02/23/image_02052025_02_24_05_10358.jpg
/home/pi/Desktop/images/02052025/02/24/image_02052025_02_24_14_9344.jpg
/home/pi/Desktop/images/02052025/02/24/image_02052025_02_24_25_10372.jpg
/home/pi/Desktop/images/02052025/02/24/image_02052025_02_24_34_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":["1355221024","1355221018","1355221027","1355221026","1355221025","1355221022"],"photo_ids_order":["1355221018","1355221022","1355221024","1355221025","1355221026","1355221027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f7c2ae3e99c3095110702d495676007.jpg","text":"TemporaryFile(/tmp/multipartBody2314272521134053338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159273166,"filename":"image_02052025_02_24_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a794f5368f642b1234f46726beeef8fa.jpg","text":"TemporaryFile(/tmp/multipartBody8589474827649574697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159273166,"filename":"image_02052025_02_23_44_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d8d30d69a3a15148e9ee22e1a74b4197.jpg","text":"TemporaryFile(/tmp/multipartBody5972159343176771013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159273166,"filename":"image_02052025_02_24_34_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d4e4a9d9fb323abe47b6015a8794b23.jpg","text":"TemporaryFile(/tmp/multipartBody4480872451525101189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159273166,"filename":"image_02052025_02_24_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d227cd6b1cc94d7e21f70dcfe77375b4.jpg","text":"TemporaryFile(/tmp/multipartBody2976370675258951429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159273166,"filename":"image_02052025_02_24_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/723dd63ea9fb24b159b2fabdca0ab201.jpg","text":"TemporaryFile(/tmp/multipartBody2258457839612063148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159273166,"filename":"image_02052025_02_23_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221024","file1":"1355221022","file0":"1355221018","file4":"1355221026","file5":"1355221027","file3":"1355221025"},"map_files_photo_id_array":[{"photo_id":"1355221027","filename":"file5"},{"photo_id":"1355221024","filename":"file2"},{"photo_id":"1355221026","filename":"file4"},{"photo_id":"1355221022","filename":"file1"},{"photo_id":"1355221018","filename":"file0"},{"photo_id":"1355221025","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221024":["hashtag1","hashtag2"]},{"1355221018":["hashtag1","hashtag2"]},{"1355221027":["hashtag1","hashtag2"]},{"1355221026":["hashtag1","hashtag2"]},{"1355221025":["hashtag1","hashtag2"]},{"1355221022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221024, 1355221018, 1355221027, 1355221026, 1355221025, 1355221022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.736576318740845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:14:32.903945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/24/image_02052025_02_24_45_10350.jpg', '/home/pi/Desktop/images/02052025/02/24/image_02052025_02_24_55_10398.jpg', '/home/pi/Desktop/images/02052025/02/24/image_02052025_02_25_04_9425.jpg', '/home/pi/Desktop/images/02052025/02/25/image_02052025_02_25_15_10375.jpg', '/home/pi/Desktop/images/02052025/02/25/image_02052025_02_25_24_9513.jpg', '/home/pi/Desktop/images/02052025/02/25/image_02052025_02_25_35_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/24/image_02052025_02_24_45_10350.jpg
/home/pi/Desktop/images/02052025/02/24/image_02052025_02_24_55_10398.jpg
/home/pi/Desktop/images/02052025/02/24/image_02052025_02_25_04_9425.jpg
/home/pi/Desktop/images/02052025/02/25/image_02052025_02_25_15_10375.jpg
/home/pi/Desktop/images/02052025/02/25/image_02052025_02_25_24_9513.jpg
/home/pi/Desktop/images/02052025/02/25/image_02052025_02_25_35_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":["1355221059","1355221050","1355221056","1355221041","1355221052","1355221046"],"photo_ids_order":["1355221041","1355221046","1355221050","1355221052","1355221056","1355221059"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/672c6364762d6f2cfc45de1c3cdb3eed.jpg","text":"TemporaryFile(/tmp/multipartBody7408716479917440255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159333378,"filename":"image_02052025_02_25_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/5/2/de9a3d747c45c6fc018c97dc73365e66.jpg","text":"TemporaryFile(/tmp/multipartBody4310029770023546392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159333378,"filename":"image_02052025_02_25_04_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de29586db8750856b6574a3ab00c0fc1.jpg","text":"TemporaryFile(/tmp/multipartBody9021094385677812349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159333378,"filename":"image_02052025_02_25_24_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7d2668ca49136bd626aebca53dbb865.jpg","text":"TemporaryFile(/tmp/multipartBody5192745268164722038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159333378,"filename":"image_02052025_02_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/5/2/126b7e15a4d670ebf36e3b82a069cb49.jpg","text":"TemporaryFile(/tmp/multipartBody3810279875040872988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159333378,"filename":"image_02052025_02_25_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/5/2/a7291ac1e360c2123a847ff665e615a8.jpg","text":"TemporaryFile(/tmp/multipartBody4951948984112908213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159333378,"filename":"image_02052025_02_24_55_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221050","file1":"1355221046","file0":"1355221041","file4":"1355221056","file5":"1355221059","file3":"1355221052"},"map_files_photo_id_array":[{"photo_id":"1355221059","filename":"file5"},{"photo_id":"1355221050","filename":"file2"},{"photo_id":"1355221056","filename":"file4"},{"photo_id":"1355221046","filename":"file1"},{"photo_id":"1355221041","filename":"file0"},{"photo_id":"1355221052","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221059":["hashtag1","hashtag2"]},{"1355221050":["hashtag1","hashtag2"]},{"1355221056":["hashtag1","hashtag2"]},{"1355221041":["hashtag1","hashtag2"]},{"1355221052":["hashtag1","hashtag2"]},{"1355221046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221059, 1355221050, 1355221056, 1355221041, 1355221052, 1355221046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.478437900543213 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:15:33.173156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/25/image_02052025_02_25_45_10339.jpg', '/home/pi/Desktop/images/02052025/02/25/image_02052025_02_25_54_9429.jpg', '/home/pi/Desktop/images/02052025/02/25/image_02052025_02_26_05_10352.jpg', '/home/pi/Desktop/images/02052025/02/26/image_02052025_02_26_14_9404.jpg', '/home/pi/Desktop/images/02052025/02/26/image_02052025_02_26_25_10373.jpg', '/home/pi/Desktop/images/02052025/02/26/image_02052025_02_26_55_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/25/image_02052025_02_25_45_10339.jpg
/home/pi/Desktop/images/02052025/02/25/image_02052025_02_25_54_9429.jpg
/home/pi/Desktop/images/02052025/02/25/image_02052025_02_26_05_10352.jpg
/home/pi/Desktop/images/02052025/02/26/image_02052025_02_26_14_9404.jpg
/home/pi/Desktop/images/02052025/02/26/image_02052025_02_26_25_10373.jpg
/home/pi/Desktop/images/02052025/02/26/image_02052025_02_26_55_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":["1355221078","1355221074","1355221082","1355221090","1355221084","1355221087"],"photo_ids_order":["1355221074","1355221078","1355221082","1355221084","1355221087","1355221090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bcbfd5fa53e533faaad7f47cad82bfd8.jpg","text":"TemporaryFile(/tmp/multipartBody1735968989366945202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159393654,"filename":"image_02052025_02_25_54_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a0ff1f1d949ee1d54a74930e71ec7e7a.jpg","text":"TemporaryFile(/tmp/multipartBody8597392835725411987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159393654,"filename":"image_02052025_02_25_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c18a67b9ee401e1d91479bbecaa464c8.jpg","text":"TemporaryFile(/tmp/multipartBody8202632721473488126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159393654,"filename":"image_02052025_02_26_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/5/2/5db92a4d5bd67ebde25debdafe177c4a.jpg","text":"TemporaryFile(/tmp/multipartBody8007035951065156213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159393654,"filename":"image_02052025_02_26_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/5/2/681ca9ed544d310ccb83d9461fc13ac1.jpg","text":"TemporaryFile(/tmp/multipartBody1764063369244911377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159393654,"filename":"image_02052025_02_26_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/5/2/7514a042b5c5a55cc5827717abc6d90f.jpg","text":"TemporaryFile(/tmp/multipartBody3846225476596825561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159393654,"filename":"image_02052025_02_26_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221082","file1":"1355221078","file0":"1355221074","file4":"1355221087","file5":"1355221090","file3":"1355221084"},"map_files_photo_id_array":[{"photo_id":"1355221090","filename":"file5"},{"photo_id":"1355221082","filename":"file2"},{"photo_id":"1355221087","filename":"file4"},{"photo_id":"1355221078","filename":"file1"},{"photo_id":"1355221074","filename":"file0"},{"photo_id":"1355221084","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221078":["hashtag1","hashtag2"]},{"1355221074":["hashtag1","hashtag2"]},{"1355221082":["hashtag1","hashtag2"]},{"1355221090":["hashtag1","hashtag2"]},{"1355221084":["hashtag1","hashtag2"]},{"1355221087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221078, 1355221074, 1355221082, 1355221090, 1355221084, 1355221087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28500294685364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:16:32.492202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/26/image_02052025_02_27_05_10068.jpg', '/home/pi/Desktop/images/02052025/02/27/image_02052025_02_27_14_9426.jpg', '/home/pi/Desktop/images/02052025/02/27/image_02052025_02_27_25_10464.jpg', '/home/pi/Desktop/images/02052025/02/27/image_02052025_02_27_35_10347.jpg', '/home/pi/Desktop/images/02052025/02/27/image_02052025_02_27_45_9459.jpg', '/home/pi/Desktop/images/02052025/02/27/image_02052025_02_27_55_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/26/image_02052025_02_27_05_10068.jpg
/home/pi/Desktop/images/02052025/02/27/image_02052025_02_27_14_9426.jpg
/home/pi/Desktop/images/02052025/02/27/image_02052025_02_27_25_10464.jpg
/home/pi/Desktop/images/02052025/02/27/image_02052025_02_27_35_10347.jpg
/home/pi/Desktop/images/02052025/02/27/image_02052025_02_27_45_9459.jpg
/home/pi/Desktop/images/02052025/02/27/image_02052025_02_27_55_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":["1355221102","1355221111","1355221108","1355221104","1355221106","1355221109"],"photo_ids_order":["1355221102","1355221104","1355221106","1355221108","1355221109","1355221111"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b90b002fe559cd7363c37762ac4dab1.jpg","text":"TemporaryFile(/tmp/multipartBody7950979738521665616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159453089,"filename":"image_02052025_02_27_05_10068.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49125f6752ac906270a019ba2af0931b.jpg","text":"TemporaryFile(/tmp/multipartBody4460426223287987778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159453089,"filename":"image_02052025_02_27_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/5/2/6549763af859ae07d55ef1305c53f789.jpg","text":"TemporaryFile(/tmp/multipartBody2617461602603689124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159453089,"filename":"image_02052025_02_27_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/5/2/83c6416e5c0c39190544e80049e4acad.jpg","text":"TemporaryFile(/tmp/multipartBody6896979732461448437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159453089,"filename":"image_02052025_02_27_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/5/2/f16e87e922fd9b9f521d1317a1f6f2f6.jpg","text":"TemporaryFile(/tmp/multipartBody2489559845951337484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159453089,"filename":"image_02052025_02_27_25_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b7595db6bbe65405d5bcbcfacf63699.jpg","text":"TemporaryFile(/tmp/multipartBody1702160063668262342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159453089,"filename":"image_02052025_02_27_45_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221106","file1":"1355221104","file0":"1355221102","file4":"1355221109","file5":"1355221111","file3":"1355221108"},"map_files_photo_id_array":[{"photo_id":"1355221111","filename":"file5"},{"photo_id":"1355221106","filename":"file2"},{"photo_id":"1355221109","filename":"file4"},{"photo_id":"1355221104","filename":"file1"},{"photo_id":"1355221102","filename":"file0"},{"photo_id":"1355221108","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221102":["hashtag1","hashtag2"]},{"1355221111":["hashtag1","hashtag2"]},{"1355221108":["hashtag1","hashtag2"]},{"1355221104":["hashtag1","hashtag2"]},{"1355221106":["hashtag1","hashtag2"]},{"1355221109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221102, 1355221111, 1355221108, 1355221104, 1355221106, 1355221109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.380751371383667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:17:32.917070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/27/image_02052025_02_28_04_9411.jpg', '/home/pi/Desktop/images/02052025/02/28/image_02052025_02_28_15_10360.jpg', '/home/pi/Desktop/images/02052025/02/28/image_02052025_02_28_25_10372.jpg', '/home/pi/Desktop/images/02052025/02/28/image_02052025_02_28_35_9458.jpg', '/home/pi/Desktop/images/02052025/02/28/image_02052025_02_28_45_10416.jpg', '/home/pi/Desktop/images/02052025/02/28/image_02052025_02_28_54_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/27/image_02052025_02_28_04_9411.jpg
/home/pi/Desktop/images/02052025/02/28/image_02052025_02_28_15_10360.jpg
/home/pi/Desktop/images/02052025/02/28/image_02052025_02_28_25_10372.jpg
/home/pi/Desktop/images/02052025/02/28/image_02052025_02_28_35_9458.jpg
/home/pi/Desktop/images/02052025/02/28/image_02052025_02_28_45_10416.jpg
/home/pi/Desktop/images/02052025/02/28/image_02052025_02_28_54_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355221129","1355221132","1355221126","1355221122","1355221133","1355221127"],"photo_ids_order":["1355221122","1355221126","1355221127","1355221129","1355221132","1355221133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed50914c0614b2c20491e619adb37fb5.jpg","text":"TemporaryFile(/tmp/multipartBody7176045419166195931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159513387,"filename":"image_02052025_02_28_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/5/2/1ea4b3886c83338f9e9aa1a6e289c140.jpg","text":"TemporaryFile(/tmp/multipartBody8986301300643763913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159513387,"filename":"image_02052025_02_28_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5cdbd115b5c37fc05d85909180c3dacc.jpg","text":"TemporaryFile(/tmp/multipartBody1353722960731251241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159513387,"filename":"image_02052025_02_28_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/5/2/52bc6c19f5198b8e1ea6a301221fe830.jpg","text":"TemporaryFile(/tmp/multipartBody4195446617740584525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159513387,"filename":"image_02052025_02_28_04_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6495668ad8fe70a3da1c77ed05da27e9.jpg","text":"TemporaryFile(/tmp/multipartBody2602924997344754807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159513387,"filename":"image_02052025_02_28_54_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f629140ea2c7dcadd7a22ec7a4f4511.jpg","text":"TemporaryFile(/tmp/multipartBody8843120450005826573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159513387,"filename":"image_02052025_02_28_25_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221127","file1":"1355221126","file0":"1355221122","file4":"1355221132","file5":"1355221133","file3":"1355221129"},"map_files_photo_id_array":[{"photo_id":"1355221133","filename":"file5"},{"photo_id":"1355221127","filename":"file2"},{"photo_id":"1355221132","filename":"file4"},{"photo_id":"1355221126","filename":"file1"},{"photo_id":"1355221122","filename":"file0"},{"photo_id":"1355221129","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221129":["hashtag1","hashtag2"]},{"1355221132":["hashtag1","hashtag2"]},{"1355221126":["hashtag1","hashtag2"]},{"1355221122":["hashtag1","hashtag2"]},{"1355221133":["hashtag1","hashtag2"]},{"1355221127":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221129, 1355221132, 1355221126, 1355221122, 1355221133, 1355221127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0577278137207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:18:32.339863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/28/image_02052025_02_29_05_10393.jpg', '/home/pi/Desktop/images/02052025/02/29/image_02052025_02_29_14_9349.jpg', '/home/pi/Desktop/images/02052025/02/29/image_02052025_02_29_25_10378.jpg', '/home/pi/Desktop/images/02052025/02/29/image_02052025_02_29_35_10356.jpg', '/home/pi/Desktop/images/02052025/02/29/image_02052025_02_29_44_9415.jpg', '/home/pi/Desktop/images/02052025/02/29/image_02052025_02_29_55_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/28/image_02052025_02_29_05_10393.jpg
/home/pi/Desktop/images/02052025/02/29/image_02052025_02_29_14_9349.jpg
/home/pi/Desktop/images/02052025/02/29/image_02052025_02_29_25_10378.jpg
/home/pi/Desktop/images/02052025/02/29/image_02052025_02_29_35_10356.jpg
/home/pi/Desktop/images/02052025/02/29/image_02052025_02_29_44_9415.jpg
/home/pi/Desktop/images/02052025/02/29/image_02052025_02_29_55_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355221158","1355221152","1355221155","1355221157","1355221148","1355221159"],"photo_ids_order":["1355221148","1355221152","1355221155","1355221157","1355221158","1355221159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9cfb1fe3979335341d62b1cfcace6fda.jpg","text":"TemporaryFile(/tmp/multipartBody7058042527774280966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159572810,"filename":"image_02052025_02_29_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/5/2/4bf6cc88fd92a128c4c1d60f5cb94f31.jpg","text":"TemporaryFile(/tmp/multipartBody6951017626420060882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159572810,"filename":"image_02052025_02_29_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e867926d6ca1f7f05653f449db1e67c4.jpg","text":"TemporaryFile(/tmp/multipartBody4193897994721845310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159572810,"filename":"image_02052025_02_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/5/2/c197b621f1bbde21843135f1aa3fc34a.jpg","text":"TemporaryFile(/tmp/multipartBody2089971790840518177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159572810,"filename":"image_02052025_02_29_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/5/2/8b0aa4d40242b4277b6cf2fb95221963.jpg","text":"TemporaryFile(/tmp/multipartBody633515862331143312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159572810,"filename":"image_02052025_02_29_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/5/2/44d22892fbb631f01824689dd9860c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3769731428752084711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159572810,"filename":"image_02052025_02_29_55_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221155","file1":"1355221152","file0":"1355221148","file4":"1355221158","file5":"1355221159","file3":"1355221157"},"map_files_photo_id_array":[{"photo_id":"1355221159","filename":"file5"},{"photo_id":"1355221155","filename":"file2"},{"photo_id":"1355221158","filename":"file4"},{"photo_id":"1355221152","filename":"file1"},{"photo_id":"1355221148","filename":"file0"},{"photo_id":"1355221157","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221158":["hashtag1","hashtag2"]},{"1355221152":["hashtag1","hashtag2"]},{"1355221155":["hashtag1","hashtag2"]},{"1355221157":["hashtag1","hashtag2"]},{"1355221148":["hashtag1","hashtag2"]},{"1355221159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221158, 1355221152, 1355221155, 1355221157, 1355221148, 1355221159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.194313526153564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:19:32.578979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/29/image_02052025_02_30_05_10391.jpg', '/home/pi/Desktop/images/02052025/02/30/image_02052025_02_30_14_9425.jpg', '/home/pi/Desktop/images/02052025/02/30/image_02052025_02_30_25_10357.jpg', '/home/pi/Desktop/images/02052025/02/30/image_02052025_02_30_34_9417.jpg', '/home/pi/Desktop/images/02052025/02/30/image_02052025_02_30_45_10356.jpg', '/home/pi/Desktop/images/02052025/02/30/image_02052025_02_30_55_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/29/image_02052025_02_30_05_10391.jpg
/home/pi/Desktop/images/02052025/02/30/image_02052025_02_30_14_9425.jpg
/home/pi/Desktop/images/02052025/02/30/image_02052025_02_30_25_10357.jpg
/home/pi/Desktop/images/02052025/02/30/image_02052025_02_30_34_9417.jpg
/home/pi/Desktop/images/02052025/02/30/image_02052025_02_30_45_10356.jpg
/home/pi/Desktop/images/02052025/02/30/image_02052025_02_30_55_10383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355221188","1355221182","1355221187","1355221184","1355221178","1355221174"],"photo_ids_order":["1355221174","1355221178","1355221182","1355221184","1355221187","1355221188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a08edcc7b4434616d17bfe5bb7de2d5.jpg","text":"TemporaryFile(/tmp/multipartBody3489476122163419163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159633052,"filename":"image_02052025_02_30_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/79ecce78f357fa7c8bfbf8fc634e84c7.jpg","text":"TemporaryFile(/tmp/multipartBody3978748772558712563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159633052,"filename":"image_02052025_02_30_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/5/2/1ac0f5fac9f97f28c0572b9d5347c303.jpg","text":"TemporaryFile(/tmp/multipartBody7234809571903278347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159633052,"filename":"image_02052025_02_30_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/5/2/20f4310681bb76ceb06d80d2b2441dbd.jpg","text":"TemporaryFile(/tmp/multipartBody4079584868200793971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159633052,"filename":"image_02052025_02_30_34_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/59304420b5b9fddf3c4b79011e9095a4.jpg","text":"TemporaryFile(/tmp/multipartBody167724081931289583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159633052,"filename":"image_02052025_02_30_14_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/988cbc8967901944d3d16a7d5f016e52.jpg","text":"TemporaryFile(/tmp/multipartBody1613962771083719691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159633052,"filename":"image_02052025_02_30_05_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221182","file1":"1355221178","file0":"1355221174","file4":"1355221187","file5":"1355221188","file3":"1355221184"},"map_files_photo_id_array":[{"photo_id":"1355221188","filename":"file5"},{"photo_id":"1355221182","filename":"file2"},{"photo_id":"1355221187","filename":"file4"},{"photo_id":"1355221178","filename":"file1"},{"photo_id":"1355221174","filename":"file0"},{"photo_id":"1355221184","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221188":["hashtag1","hashtag2"]},{"1355221182":["hashtag1","hashtag2"]},{"1355221187":["hashtag1","hashtag2"]},{"1355221184":["hashtag1","hashtag2"]},{"1355221178":["hashtag1","hashtag2"]},{"1355221174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221188, 1355221182, 1355221187, 1355221184, 1355221178, 1355221174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.637145042419434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:20:32.896033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/30/image_02052025_02_31_04_9421.jpg', '/home/pi/Desktop/images/02052025/02/31/image_02052025_02_31_15_10359.jpg', '/home/pi/Desktop/images/02052025/02/31/image_02052025_02_31_24_9542.jpg', '/home/pi/Desktop/images/02052025/02/31/image_02052025_02_31_35_10374.jpg', '/home/pi/Desktop/images/02052025/02/31/image_02052025_02_31_45_10373.jpg', '/home/pi/Desktop/images/02052025/02/31/image_02052025_02_31_54_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/30/image_02052025_02_31_04_9421.jpg
/home/pi/Desktop/images/02052025/02/31/image_02052025_02_31_15_10359.jpg
/home/pi/Desktop/images/02052025/02/31/image_02052025_02_31_24_9542.jpg
/home/pi/Desktop/images/02052025/02/31/image_02052025_02_31_35_10374.jpg
/home/pi/Desktop/images/02052025/02/31/image_02052025_02_31_45_10373.jpg
/home/pi/Desktop/images/02052025/02/31/image_02052025_02_31_54_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":["1355221201","1355221213","1355221207","1355221212","1355221209","1355221205"],"photo_ids_order":["1355221201","1355221205","1355221207","1355221209","1355221212","1355221213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4dbfc08e6ce2192806eef451ab65dffe.jpg","text":"TemporaryFile(/tmp/multipartBody4075349931549853627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159693365,"filename":"image_02052025_02_31_04_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/342b2d096ac462904d9c83c1931040dd.jpg","text":"TemporaryFile(/tmp/multipartBody4621889625980778480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159693365,"filename":"image_02052025_02_31_54_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/23c9486beaf11235c4665ee9a8df2e35.jpg","text":"TemporaryFile(/tmp/multipartBody7699385575768612498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159693365,"filename":"image_02052025_02_31_24_9542.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc2f52da9c4f86a0d97509bc28d4df4e.jpg","text":"TemporaryFile(/tmp/multipartBody8081830629642900436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159693365,"filename":"image_02052025_02_31_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/5/2/1397b3b7b549121ec44bcb550419e3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1642662197428806525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159693365,"filename":"image_02052025_02_31_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/5/2/17811c1a3ccf522d5baa15b916a99602.jpg","text":"TemporaryFile(/tmp/multipartBody1387879393598871797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159693365,"filename":"image_02052025_02_31_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221207","file1":"1355221205","file0":"1355221201","file4":"1355221212","file5":"1355221213","file3":"1355221209"},"map_files_photo_id_array":[{"photo_id":"1355221213","filename":"file5"},{"photo_id":"1355221207","filename":"file2"},{"photo_id":"1355221212","filename":"file4"},{"photo_id":"1355221205","filename":"file1"},{"photo_id":"1355221201","filename":"file0"},{"photo_id":"1355221209","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221201":["hashtag1","hashtag2"]},{"1355221213":["hashtag1","hashtag2"]},{"1355221207":["hashtag1","hashtag2"]},{"1355221212":["hashtag1","hashtag2"]},{"1355221209":["hashtag1","hashtag2"]},{"1355221205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221201, 1355221213, 1355221207, 1355221212, 1355221209, 1355221205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.313530445098877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:21:33.284009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/31/image_02052025_02_32_05_10351.jpg', '/home/pi/Desktop/images/02052025/02/32/image_02052025_02_32_14_9361.jpg', '/home/pi/Desktop/images/02052025/02/32/image_02052025_02_32_25_10401.jpg', '/home/pi/Desktop/images/02052025/02/32/image_02052025_02_32_35_10358.jpg', '/home/pi/Desktop/images/02052025/02/32/image_02052025_02_32_44_9445.jpg', '/home/pi/Desktop/images/02052025/02/32/image_02052025_02_32_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/31/image_02052025_02_32_05_10351.jpg
/home/pi/Desktop/images/02052025/02/32/image_02052025_02_32_14_9361.jpg
/home/pi/Desktop/images/02052025/02/32/image_02052025_02_32_25_10401.jpg
/home/pi/Desktop/images/02052025/02/32/image_02052025_02_32_35_10358.jpg
/home/pi/Desktop/images/02052025/02/32/image_02052025_02_32_44_9445.jpg
/home/pi/Desktop/images/02052025/02/32/image_02052025_02_32_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":["1355221234","1355221228","1355221231","1355221239","1355221236","1355221238"],"photo_ids_order":["1355221228","1355221231","1355221234","1355221236","1355221238","1355221239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cc3dd9347bd965834118b9c6641020be.jpg","text":"TemporaryFile(/tmp/multipartBody5930629437268237020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159753829,"filename":"image_02052025_02_32_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/5/2/ddf454293cde873196fdcf190b783b2e.jpg","text":"TemporaryFile(/tmp/multipartBody2275000347119875702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159753829,"filename":"image_02052025_02_32_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/5/2/9e3bba2b487b1620871a9b5fa62acf42.jpg","text":"TemporaryFile(/tmp/multipartBody2157193118169147737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159753829,"filename":"image_02052025_02_32_14_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/919857d2ae8818197a0bb7e6a43fa381.jpg","text":"TemporaryFile(/tmp/multipartBody3673688065223405547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159753829,"filename":"image_02052025_02_32_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dcc3bf0e42c60bd9886f94bf7dc207e9.jpg","text":"TemporaryFile(/tmp/multipartBody1732465512541847973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159753829,"filename":"image_02052025_02_32_35_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec07bdae63b1e111a06e60cd8bbc2bba.jpg","text":"TemporaryFile(/tmp/multipartBody3390553539664900839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159753829,"filename":"image_02052025_02_32_44_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221234","file1":"1355221231","file0":"1355221228","file4":"1355221238","file5":"1355221239","file3":"1355221236"},"map_files_photo_id_array":[{"photo_id":"1355221239","filename":"file5"},{"photo_id":"1355221234","filename":"file2"},{"photo_id":"1355221238","filename":"file4"},{"photo_id":"1355221231","filename":"file1"},{"photo_id":"1355221228","filename":"file0"},{"photo_id":"1355221236","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221234":["hashtag1","hashtag2"]},{"1355221228":["hashtag1","hashtag2"]},{"1355221231":["hashtag1","hashtag2"]},{"1355221239":["hashtag1","hashtag2"]},{"1355221236":["hashtag1","hashtag2"]},{"1355221238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221234, 1355221228, 1355221231, 1355221239, 1355221236, 1355221238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.966190338134766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:22:32.367746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/32/image_02052025_02_33_05_10330.jpg', '/home/pi/Desktop/images/02052025/02/33/image_02052025_02_33_14_9398.jpg', '/home/pi/Desktop/images/02052025/02/33/image_02052025_02_33_25_10428.jpg', '/home/pi/Desktop/images/02052025/02/33/image_02052025_02_33_34_9409.jpg', '/home/pi/Desktop/images/02052025/02/33/image_02052025_02_33_45_10431.jpg', '/home/pi/Desktop/images/02052025/02/33/image_02052025_02_33_54_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/32/image_02052025_02_33_05_10330.jpg
/home/pi/Desktop/images/02052025/02/33/image_02052025_02_33_14_9398.jpg
/home/pi/Desktop/images/02052025/02/33/image_02052025_02_33_25_10428.jpg
/home/pi/Desktop/images/02052025/02/33/image_02052025_02_33_34_9409.jpg
/home/pi/Desktop/images/02052025/02/33/image_02052025_02_33_45_10431.jpg
/home/pi/Desktop/images/02052025/02/33/image_02052025_02_33_54_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":["1355221261","1355221260","1355221253","1355221262","1355221256","1355221258"],"photo_ids_order":["1355221253","1355221256","1355221258","1355221260","1355221261","1355221262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ede83dd84b520287c77f3b31a9f8da79.jpg","text":"TemporaryFile(/tmp/multipartBody2175348132582978976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159812839,"filename":"image_02052025_02_33_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/5/2/a825812b46e78a03df1d50c06284da78.jpg","text":"TemporaryFile(/tmp/multipartBody8142524505347918777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159812839,"filename":"image_02052025_02_33_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/5/2/b137d14ec86a7b8a7e2ebf5c502632ef.jpg","text":"TemporaryFile(/tmp/multipartBody6721670956502262375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159812839,"filename":"image_02052025_02_33_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/5/2/88c6157070e80e6f05aaa6bcc91b6834.jpg","text":"TemporaryFile(/tmp/multipartBody2143783520413998372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159812839,"filename":"image_02052025_02_33_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/5/2/8ac4479255ede7e2b65c3aaba6be7df2.jpg","text":"TemporaryFile(/tmp/multipartBody825619147927623465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159812839,"filename":"image_02052025_02_33_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/5/2/bbb2ff5a443a4a4006e41ff2cdc159c5.jpg","text":"TemporaryFile(/tmp/multipartBody7821475426227105311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159812839,"filename":"image_02052025_02_33_25_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221258","file1":"1355221256","file0":"1355221253","file4":"1355221261","file5":"1355221262","file3":"1355221260"},"map_files_photo_id_array":[{"photo_id":"1355221262","filename":"file5"},{"photo_id":"1355221258","filename":"file2"},{"photo_id":"1355221261","filename":"file4"},{"photo_id":"1355221256","filename":"file1"},{"photo_id":"1355221253","filename":"file0"},{"photo_id":"1355221260","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221261":["hashtag1","hashtag2"]},{"1355221260":["hashtag1","hashtag2"]},{"1355221253":["hashtag1","hashtag2"]},{"1355221262":["hashtag1","hashtag2"]},{"1355221256":["hashtag1","hashtag2"]},{"1355221258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221261, 1355221260, 1355221253, 1355221262, 1355221256, 1355221258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4231014251709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:23:32.567736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/33/image_02052025_02_34_05_10356.jpg', '/home/pi/Desktop/images/02052025/02/34/image_02052025_02_34_15_10363.jpg', '/home/pi/Desktop/images/02052025/02/34/image_02052025_02_34_24_9484.jpg', '/home/pi/Desktop/images/02052025/02/34/image_02052025_02_34_35_10352.jpg', '/home/pi/Desktop/images/02052025/02/34/image_02052025_02_34_44_9417.jpg', '/home/pi/Desktop/images/02052025/02/34/image_02052025_02_34_54_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/33/image_02052025_02_34_05_10356.jpg
/home/pi/Desktop/images/02052025/02/34/image_02052025_02_34_15_10363.jpg
/home/pi/Desktop/images/02052025/02/34/image_02052025_02_34_24_9484.jpg
/home/pi/Desktop/images/02052025/02/34/image_02052025_02_34_35_10352.jpg
/home/pi/Desktop/images/02052025/02/34/image_02052025_02_34_44_9417.jpg
/home/pi/Desktop/images/02052025/02/34/image_02052025_02_34_54_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":["1355221281","1355221284","1355221278","1355221286","1355221289","1355221288"],"photo_ids_order":["1355221278","1355221281","1355221284","1355221286","1355221288","1355221289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21b6bc001bc80de78a2da69e788b0b62.jpg","text":"TemporaryFile(/tmp/multipartBody1901151548522043980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159873036,"filename":"image_02052025_02_34_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/5/2/c91d87ccd22815667aa84210187eba89.jpg","text":"TemporaryFile(/tmp/multipartBody2439872620417832478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159873036,"filename":"image_02052025_02_34_24_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d72f0679f31fd9ceb063fc4d3366787.jpg","text":"TemporaryFile(/tmp/multipartBody501003291633941825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159873036,"filename":"image_02052025_02_34_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/5/2/17c6edfdc852137ec6507177a66aae24.jpg","text":"TemporaryFile(/tmp/multipartBody1020698093232561989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159873036,"filename":"image_02052025_02_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/5/2/c632c42dc410a8dff658424bec190893.jpg","text":"TemporaryFile(/tmp/multipartBody2081867942334255435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159873036,"filename":"image_02052025_02_34_54_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/03cb6dab3b623fd04dcae46f688e7425.jpg","text":"TemporaryFile(/tmp/multipartBody471101713908806477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159873036,"filename":"image_02052025_02_34_44_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221284","file1":"1355221281","file0":"1355221278","file4":"1355221288","file5":"1355221289","file3":"1355221286"},"map_files_photo_id_array":[{"photo_id":"1355221289","filename":"file5"},{"photo_id":"1355221284","filename":"file2"},{"photo_id":"1355221288","filename":"file4"},{"photo_id":"1355221281","filename":"file1"},{"photo_id":"1355221278","filename":"file0"},{"photo_id":"1355221286","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221281":["hashtag1","hashtag2"]},{"1355221284":["hashtag1","hashtag2"]},{"1355221278":["hashtag1","hashtag2"]},{"1355221286":["hashtag1","hashtag2"]},{"1355221289":["hashtag1","hashtag2"]},{"1355221288":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221281, 1355221284, 1355221278, 1355221286, 1355221289, 1355221288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.759207248687744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:24:32.787998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/34/image_02052025_02_35_05_10381.jpg', '/home/pi/Desktop/images/02052025/02/35/image_02052025_02_35_14_9556.jpg', '/home/pi/Desktop/images/02052025/02/35/image_02052025_02_35_25_10370.jpg', '/home/pi/Desktop/images/02052025/02/35/image_02052025_02_35_34_9347.jpg', '/home/pi/Desktop/images/02052025/02/35/image_02052025_02_35_45_10417.jpg', '/home/pi/Desktop/images/02052025/02/35/image_02052025_02_35_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/34/image_02052025_02_35_05_10381.jpg
/home/pi/Desktop/images/02052025/02/35/image_02052025_02_35_14_9556.jpg
/home/pi/Desktop/images/02052025/02/35/image_02052025_02_35_25_10370.jpg
/home/pi/Desktop/images/02052025/02/35/image_02052025_02_35_34_9347.jpg
/home/pi/Desktop/images/02052025/02/35/image_02052025_02_35_45_10417.jpg
/home/pi/Desktop/images/02052025/02/35/image_02052025_02_35_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355221315","1355221318","1355221317","1355221319","1355221313","1355221307"],"photo_ids_order":["1355221307","1355221313","1355221315","1355221317","1355221318","1355221319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/051ced9f8e281f808292a8c5ab4d505a.jpg","text":"TemporaryFile(/tmp/multipartBody8084959322343046360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159933257,"filename":"image_02052025_02_35_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/5/2/27b4bae7e0f93d0d0be367c3868d6dce.jpg","text":"TemporaryFile(/tmp/multipartBody528522706227801568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159933257,"filename":"image_02052025_02_35_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/5/2/3ede7157f5177e0b5dc52984f28d2664.jpg","text":"TemporaryFile(/tmp/multipartBody4888237524185593236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159933257,"filename":"image_02052025_02_35_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/5/2/33bafa1510487c8ddd2b184540937f62.jpg","text":"TemporaryFile(/tmp/multipartBody3470182031764820837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159933257,"filename":"image_02052025_02_35_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/5/2/49a55c895ea5fdcde4ca54fd1428328b.jpg","text":"TemporaryFile(/tmp/multipartBody6878032951259444293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159933257,"filename":"image_02052025_02_35_14_9556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd1a3b95d6675b1eebfb541e85c8510c.jpg","text":"TemporaryFile(/tmp/multipartBody2924198613408199448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159933257,"filename":"image_02052025_02_35_05_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221315","file1":"1355221313","file0":"1355221307","file4":"1355221318","file5":"1355221319","file3":"1355221317"},"map_files_photo_id_array":[{"photo_id":"1355221319","filename":"file5"},{"photo_id":"1355221315","filename":"file2"},{"photo_id":"1355221318","filename":"file4"},{"photo_id":"1355221313","filename":"file1"},{"photo_id":"1355221307","filename":"file0"},{"photo_id":"1355221317","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221315":["hashtag1","hashtag2"]},{"1355221318":["hashtag1","hashtag2"]},{"1355221317":["hashtag1","hashtag2"]},{"1355221319":["hashtag1","hashtag2"]},{"1355221313":["hashtag1","hashtag2"]},{"1355221307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221315, 1355221318, 1355221317, 1355221319, 1355221313, 1355221307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1882107257843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:25:32.981397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/35/image_02052025_02_36_04_9498.jpg', '/home/pi/Desktop/images/02052025/02/36/image_02052025_02_36_15_10351.jpg', '/home/pi/Desktop/images/02052025/02/36/image_02052025_02_36_24_9405.jpg', '/home/pi/Desktop/images/02052025/02/36/image_02052025_02_36_35_10380.jpg', '/home/pi/Desktop/images/02052025/02/36/image_02052025_02_36_45_10356.jpg', '/home/pi/Desktop/images/02052025/02/36/image_02052025_02_36_54_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/35/image_02052025_02_36_04_9498.jpg
/home/pi/Desktop/images/02052025/02/36/image_02052025_02_36_15_10351.jpg
/home/pi/Desktop/images/02052025/02/36/image_02052025_02_36_24_9405.jpg
/home/pi/Desktop/images/02052025/02/36/image_02052025_02_36_35_10380.jpg
/home/pi/Desktop/images/02052025/02/36/image_02052025_02_36_45_10356.jpg
/home/pi/Desktop/images/02052025/02/36/image_02052025_02_36_54_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":["1355221341","1355221338","1355221335","1355221343","1355221346","1355221345"],"photo_ids_order":["1355221335","1355221338","1355221341","1355221343","1355221345","1355221346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2294e0b6aadb14afc5552c5571a975dd.jpg","text":"TemporaryFile(/tmp/multipartBody1695604849608813988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159993531,"filename":"image_02052025_02_36_24_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f003423580783ba8a03f7d87ee59fbc.jpg","text":"TemporaryFile(/tmp/multipartBody8951349748443445927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159993531,"filename":"image_02052025_02_36_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/5/2/1efaa3eabfee4c3a1250c29e901a4a72.jpg","text":"TemporaryFile(/tmp/multipartBody8642933463079207005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159993531,"filename":"image_02052025_02_36_04_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/88110f74a056deb622df73173422a109.jpg","text":"TemporaryFile(/tmp/multipartBody754813209155153631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159993531,"filename":"image_02052025_02_36_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/5/2/ea032f1333a156cac48835039a6e7415.jpg","text":"TemporaryFile(/tmp/multipartBody8657033045803589205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159993531,"filename":"image_02052025_02_36_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/5/2/3771002df7d5780b1021a2f53de0c218.jpg","text":"TemporaryFile(/tmp/multipartBody4866792987565182838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746159993531,"filename":"image_02052025_02_36_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221341","file1":"1355221338","file0":"1355221335","file4":"1355221345","file5":"1355221346","file3":"1355221343"},"map_files_photo_id_array":[{"photo_id":"1355221346","filename":"file5"},{"photo_id":"1355221341","filename":"file2"},{"photo_id":"1355221345","filename":"file4"},{"photo_id":"1355221338","filename":"file1"},{"photo_id":"1355221335","filename":"file0"},{"photo_id":"1355221343","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221341":["hashtag1","hashtag2"]},{"1355221338":["hashtag1","hashtag2"]},{"1355221335":["hashtag1","hashtag2"]},{"1355221343":["hashtag1","hashtag2"]},{"1355221346":["hashtag1","hashtag2"]},{"1355221345":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221341, 1355221338, 1355221335, 1355221343, 1355221346, 1355221345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.569116592407227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:26:32.238196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/36/image_02052025_02_37_05_10429.jpg', '/home/pi/Desktop/images/02052025/02/37/image_02052025_02_37_15_10359.jpg', '/home/pi/Desktop/images/02052025/02/37/image_02052025_02_37_25_9403.jpg', '/home/pi/Desktop/images/02052025/02/37/image_02052025_02_37_35_10385.jpg', '/home/pi/Desktop/images/02052025/02/37/image_02052025_02_37_44_9455.jpg', '/home/pi/Desktop/images/02052025/02/37/image_02052025_02_37_55_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/36/image_02052025_02_37_05_10429.jpg
/home/pi/Desktop/images/02052025/02/37/image_02052025_02_37_15_10359.jpg
/home/pi/Desktop/images/02052025/02/37/image_02052025_02_37_25_9403.jpg
/home/pi/Desktop/images/02052025/02/37/image_02052025_02_37_35_10385.jpg
/home/pi/Desktop/images/02052025/02/37/image_02052025_02_37_44_9455.jpg
/home/pi/Desktop/images/02052025/02/37/image_02052025_02_37_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":["1355221380","1355221368","1355221382","1355221376","1355221364","1355221384"],"photo_ids_order":["1355221364","1355221368","1355221376","1355221380","1355221382","1355221384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4fb08e627adf0e302363b358c0a1d7bb.jpg","text":"TemporaryFile(/tmp/multipartBody4523786750796513973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160052813,"filename":"image_02052025_02_37_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f110ff1287c1e16ed4454bb13048743.jpg","text":"TemporaryFile(/tmp/multipartBody3829449994688236115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160052813,"filename":"image_02052025_02_37_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/5/2/2e463ce5cc0c25aeba77483c13e5ce3f.jpg","text":"TemporaryFile(/tmp/multipartBody7465254550332133589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160052813,"filename":"image_02052025_02_37_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/5/2/b1e63148567ae06e293264f1353d4a23.jpg","text":"TemporaryFile(/tmp/multipartBody7544160153673747262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160052813,"filename":"image_02052025_02_37_25_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0be4deaddacd4391088ec1565ff5a956.jpg","text":"TemporaryFile(/tmp/multipartBody4734043243453905011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160052813,"filename":"image_02052025_02_37_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/5/2/aba40a54671d893e65e8e885c9e54bda.jpg","text":"TemporaryFile(/tmp/multipartBody5874263614227668892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160052813,"filename":"image_02052025_02_37_55_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221376","file1":"1355221368","file0":"1355221364","file4":"1355221382","file5":"1355221384","file3":"1355221380"},"map_files_photo_id_array":[{"photo_id":"1355221384","filename":"file5"},{"photo_id":"1355221376","filename":"file2"},{"photo_id":"1355221382","filename":"file4"},{"photo_id":"1355221368","filename":"file1"},{"photo_id":"1355221364","filename":"file0"},{"photo_id":"1355221380","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221380":["hashtag1","hashtag2"]},{"1355221368":["hashtag1","hashtag2"]},{"1355221382":["hashtag1","hashtag2"]},{"1355221376":["hashtag1","hashtag2"]},{"1355221364":["hashtag1","hashtag2"]},{"1355221384":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221380, 1355221368, 1355221382, 1355221376, 1355221364, 1355221384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.30129313468933 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:27:32.594154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/37/image_02052025_02_38_04_9345.jpg', '/home/pi/Desktop/images/02052025/02/38/image_02052025_02_38_15_10420.jpg', '/home/pi/Desktop/images/02052025/02/38/image_02052025_02_38_25_10359.jpg', '/home/pi/Desktop/images/02052025/02/38/image_02052025_02_38_34_9455.jpg', '/home/pi/Desktop/images/02052025/02/38/image_02052025_02_38_45_10358.jpg', '/home/pi/Desktop/images/02052025/02/38/image_02052025_02_39_04_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/37/image_02052025_02_38_04_9345.jpg
/home/pi/Desktop/images/02052025/02/38/image_02052025_02_38_15_10420.jpg
/home/pi/Desktop/images/02052025/02/38/image_02052025_02_38_25_10359.jpg
/home/pi/Desktop/images/02052025/02/38/image_02052025_02_38_34_9455.jpg
/home/pi/Desktop/images/02052025/02/38/image_02052025_02_38_45_10358.jpg
/home/pi/Desktop/images/02052025/02/38/image_02052025_02_39_04_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":["1355221411","1355221402","1355221413","1355221397","1355221409","1355221406"],"photo_ids_order":["1355221397","1355221402","1355221406","1355221409","1355221411","1355221413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/699ca6b64525a6339651d61b80d156f6.jpg","text":"TemporaryFile(/tmp/multipartBody415095716609462972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160113104,"filename":"image_02052025_02_38_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/5/2/5be1a5616d7335c274247be17db9dd20.jpg","text":"TemporaryFile(/tmp/multipartBody6112991326840688074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160113104,"filename":"image_02052025_02_38_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/5/2/eb7f854010309c28484581ce2da07d99.jpg","text":"TemporaryFile(/tmp/multipartBody3974950932333418955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160113104,"filename":"image_02052025_02_39_04_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7335279e2e186ab65071d5fadccd7e39.jpg","text":"TemporaryFile(/tmp/multipartBody7451287148801178713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160113104,"filename":"image_02052025_02_38_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b56e8b4c96fa857c88a8dc7711f10c51.jpg","text":"TemporaryFile(/tmp/multipartBody2731709744981368653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160113104,"filename":"image_02052025_02_38_34_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f07354eba129891b861c58fd7c6510c2.jpg","text":"TemporaryFile(/tmp/multipartBody30526120617092996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160113104,"filename":"image_02052025_02_38_25_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221406","file1":"1355221402","file0":"1355221397","file4":"1355221411","file5":"1355221413","file3":"1355221409"},"map_files_photo_id_array":[{"photo_id":"1355221413","filename":"file5"},{"photo_id":"1355221406","filename":"file2"},{"photo_id":"1355221411","filename":"file4"},{"photo_id":"1355221402","filename":"file1"},{"photo_id":"1355221397","filename":"file0"},{"photo_id":"1355221409","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221411":["hashtag1","hashtag2"]},{"1355221402":["hashtag1","hashtag2"]},{"1355221413":["hashtag1","hashtag2"]},{"1355221397":["hashtag1","hashtag2"]},{"1355221409":["hashtag1","hashtag2"]},{"1355221406":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221411, 1355221402, 1355221413, 1355221397, 1355221409, 1355221406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.767290115356445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:28:32.781147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/39/image_02052025_02_39_24_9404.jpg', '/home/pi/Desktop/images/02052025/02/39/image_02052025_02_39_35_10349.jpg', '/home/pi/Desktop/images/02052025/02/39/image_02052025_02_39_45_10368.jpg', '/home/pi/Desktop/images/02052025/02/39/image_02052025_02_39_55_9457.jpg', '/home/pi/Desktop/images/02052025/02/39/image_02052025_02_40_05_10442.jpg', '/home/pi/Desktop/images/02052025/02/40/image_02052025_02_40_14_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/39/image_02052025_02_39_24_9404.jpg
/home/pi/Desktop/images/02052025/02/39/image_02052025_02_39_35_10349.jpg
/home/pi/Desktop/images/02052025/02/39/image_02052025_02_39_45_10368.jpg
/home/pi/Desktop/images/02052025/02/39/image_02052025_02_39_55_9457.jpg
/home/pi/Desktop/images/02052025/02/39/image_02052025_02_40_05_10442.jpg
/home/pi/Desktop/images/02052025/02/40/image_02052025_02_40_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":["1355221440","1355221446","1355221434","1355221428","1355221424","1355221444"],"photo_ids_order":["1355221424","1355221428","1355221434","1355221440","1355221444","1355221446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c03ff179bab7e6e6862ec54daccda008.jpg","text":"TemporaryFile(/tmp/multipartBody6313511920618406128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160173253,"filename":"image_02052025_02_39_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/5/2/2df2d8a8c1d4baed6ac25ef4008df168.jpg","text":"TemporaryFile(/tmp/multipartBody4741531489660109685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160173253,"filename":"image_02052025_02_40_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/5/2/50ec65c46fb71f8370725e9b7dfe341f.jpg","text":"TemporaryFile(/tmp/multipartBody8766537731882409500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160173253,"filename":"image_02052025_02_39_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/5/2/e6ec85ebb5ab5ee506b4d10842dc225c.jpg","text":"TemporaryFile(/tmp/multipartBody2413567889862906047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160173253,"filename":"image_02052025_02_39_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/5/2/a5d9badf8e0d4131d7d743dd00a5e39c.jpg","text":"TemporaryFile(/tmp/multipartBody5929604790655065946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160173253,"filename":"image_02052025_02_39_24_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9d823ad53b4383daae38edbf29990c4.jpg","text":"TemporaryFile(/tmp/multipartBody4242016594331088545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160173253,"filename":"image_02052025_02_40_05_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221434","file1":"1355221428","file0":"1355221424","file4":"1355221444","file5":"1355221446","file3":"1355221440"},"map_files_photo_id_array":[{"photo_id":"1355221446","filename":"file5"},{"photo_id":"1355221434","filename":"file2"},{"photo_id":"1355221444","filename":"file4"},{"photo_id":"1355221428","filename":"file1"},{"photo_id":"1355221424","filename":"file0"},{"photo_id":"1355221440","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221440":["hashtag1","hashtag2"]},{"1355221446":["hashtag1","hashtag2"]},{"1355221434":["hashtag1","hashtag2"]},{"1355221428":["hashtag1","hashtag2"]},{"1355221424":["hashtag1","hashtag2"]},{"1355221444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221440, 1355221446, 1355221434, 1355221428, 1355221424, 1355221444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.171707153320312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:29:33.040299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/40/image_02052025_02_40_25_10363.jpg', '/home/pi/Desktop/images/02052025/02/40/image_02052025_02_40_35_10356.jpg', '/home/pi/Desktop/images/02052025/02/40/image_02052025_02_40_44_9369.jpg', '/home/pi/Desktop/images/02052025/02/40/image_02052025_02_40_55_10380.jpg', '/home/pi/Desktop/images/02052025/02/40/image_02052025_02_41_04_9434.jpg', '/home/pi/Desktop/images/02052025/02/41/image_02052025_02_41_15_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/40/image_02052025_02_40_25_10363.jpg
/home/pi/Desktop/images/02052025/02/40/image_02052025_02_40_35_10356.jpg
/home/pi/Desktop/images/02052025/02/40/image_02052025_02_40_44_9369.jpg
/home/pi/Desktop/images/02052025/02/40/image_02052025_02_40_55_10380.jpg
/home/pi/Desktop/images/02052025/02/40/image_02052025_02_41_04_9434.jpg
/home/pi/Desktop/images/02052025/02/41/image_02052025_02_41_15_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355221468","1355221470","1355221460","1355221474","1355221462","1355221465"],"photo_ids_order":["1355221460","1355221462","1355221465","1355221468","1355221470","1355221474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c3d372fdf26100b25601767cafc3934.jpg","text":"TemporaryFile(/tmp/multipartBody2900855493359337189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160233512,"filename":"image_02052025_02_40_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/5/2/f46559e1c182d586823a2090fec53874.jpg","text":"TemporaryFile(/tmp/multipartBody5913718746039938004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160233512,"filename":"image_02052025_02_41_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/5/2/5d8a66c0870610fedb44d2a50740a5a5.jpg","text":"TemporaryFile(/tmp/multipartBody8108579134311948518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160233512,"filename":"image_02052025_02_40_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/5/2/3db31dfb84aa9d29e3b09dd2006080c7.jpg","text":"TemporaryFile(/tmp/multipartBody2738900761129570525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160233512,"filename":"image_02052025_02_41_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/5/2/9977232ecb1d3422e2de11a90be0be42.jpg","text":"TemporaryFile(/tmp/multipartBody4496892695992566657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160233512,"filename":"image_02052025_02_40_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/5/2/1834ff8082db16ff23ac63ca24e9ceeb.jpg","text":"TemporaryFile(/tmp/multipartBody3020598902236425763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160233512,"filename":"image_02052025_02_40_44_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221465","file1":"1355221462","file0":"1355221460","file4":"1355221470","file5":"1355221474","file3":"1355221468"},"map_files_photo_id_array":[{"photo_id":"1355221474","filename":"file5"},{"photo_id":"1355221465","filename":"file2"},{"photo_id":"1355221470","filename":"file4"},{"photo_id":"1355221462","filename":"file1"},{"photo_id":"1355221460","filename":"file0"},{"photo_id":"1355221468","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221468":["hashtag1","hashtag2"]},{"1355221470":["hashtag1","hashtag2"]},{"1355221460":["hashtag1","hashtag2"]},{"1355221474":["hashtag1","hashtag2"]},{"1355221462":["hashtag1","hashtag2"]},{"1355221465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221468, 1355221470, 1355221460, 1355221474, 1355221462, 1355221465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.435457468032837 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:30:32.262443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/41/image_02052025_02_41_25_10359.jpg', '/home/pi/Desktop/images/02052025/02/41/image_02052025_02_41_34_9341.jpg', '/home/pi/Desktop/images/02052025/02/41/image_02052025_02_41_45_10349.jpg', '/home/pi/Desktop/images/02052025/02/41/image_02052025_02_41_55_10366.jpg', '/home/pi/Desktop/images/02052025/02/41/image_02052025_02_42_05_9456.jpg', '/home/pi/Desktop/images/02052025/02/42/image_02052025_02_42_15_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/41/image_02052025_02_41_25_10359.jpg
/home/pi/Desktop/images/02052025/02/41/image_02052025_02_41_34_9341.jpg
/home/pi/Desktop/images/02052025/02/41/image_02052025_02_41_45_10349.jpg
/home/pi/Desktop/images/02052025/02/41/image_02052025_02_41_55_10366.jpg
/home/pi/Desktop/images/02052025/02/41/image_02052025_02_42_05_9456.jpg
/home/pi/Desktop/images/02052025/02/42/image_02052025_02_42_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":["1355221497","1355221501","1355221491","1355221494","1355221499","1355221502"],"photo_ids_order":["1355221491","1355221494","1355221497","1355221499","1355221501","1355221502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3cf3170b4c85e9f6ffe38fe6b9c23415.jpg","text":"TemporaryFile(/tmp/multipartBody3934200322422299290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160292753,"filename":"image_02052025_02_41_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/5/2/e1a11a491a8afc36e14bd18e1f6b9f70.jpg","text":"TemporaryFile(/tmp/multipartBody1806026148397124212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160292753,"filename":"image_02052025_02_42_05_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a3001413a1a82bc6a06c05b509c42dc3.jpg","text":"TemporaryFile(/tmp/multipartBody4881091778655914265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160292753,"filename":"image_02052025_02_41_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/5/2/0524751f826f689814d3bfc541e205a7.jpg","text":"TemporaryFile(/tmp/multipartBody4874752113836656474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160292753,"filename":"image_02052025_02_41_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/274dcbadfed0219486184a8d0a3d3ded.jpg","text":"TemporaryFile(/tmp/multipartBody3497461096148427714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160292753,"filename":"image_02052025_02_41_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/5/2/80eb89b79e640a19fe085b3a98a44559.jpg","text":"TemporaryFile(/tmp/multipartBody1586599952971110528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160292753,"filename":"image_02052025_02_42_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221497","file1":"1355221494","file0":"1355221491","file4":"1355221501","file5":"1355221502","file3":"1355221499"},"map_files_photo_id_array":[{"photo_id":"1355221502","filename":"file5"},{"photo_id":"1355221497","filename":"file2"},{"photo_id":"1355221501","filename":"file4"},{"photo_id":"1355221494","filename":"file1"},{"photo_id":"1355221491","filename":"file0"},{"photo_id":"1355221499","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221497":["hashtag1","hashtag2"]},{"1355221501":["hashtag1","hashtag2"]},{"1355221491":["hashtag1","hashtag2"]},{"1355221494":["hashtag1","hashtag2"]},{"1355221499":["hashtag1","hashtag2"]},{"1355221502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221497, 1355221501, 1355221491, 1355221494, 1355221499, 1355221502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.306411504745483 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:31:32.476269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/42/image_02052025_02_42_24_9508.jpg', '/home/pi/Desktop/images/02052025/02/42/image_02052025_02_42_35_10445.jpg', '/home/pi/Desktop/images/02052025/02/42/image_02052025_02_42_44_9328.jpg', '/home/pi/Desktop/images/02052025/02/42/image_02052025_02_42_55_10360.jpg', '/home/pi/Desktop/images/02052025/02/42/image_02052025_02_43_05_10353.jpg', '/home/pi/Desktop/images/02052025/02/43/image_02052025_02_43_14_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/42/image_02052025_02_42_24_9508.jpg
/home/pi/Desktop/images/02052025/02/42/image_02052025_02_42_35_10445.jpg
/home/pi/Desktop/images/02052025/02/42/image_02052025_02_42_44_9328.jpg
/home/pi/Desktop/images/02052025/02/42/image_02052025_02_42_55_10360.jpg
/home/pi/Desktop/images/02052025/02/42/image_02052025_02_43_05_10353.jpg
/home/pi/Desktop/images/02052025/02/43/image_02052025_02_43_14_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":["1355221525","1355221540","1355221539","1355221533","1355221527","1355221537"],"photo_ids_order":["1355221525","1355221527","1355221533","1355221537","1355221539","1355221540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9ecce67bccd53ec920e6c06d793453e.jpg","text":"TemporaryFile(/tmp/multipartBody819692896934511872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160352942,"filename":"image_02052025_02_42_24_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58d9b4a0845ee6f778a5851ed9141039.jpg","text":"TemporaryFile(/tmp/multipartBody1259931679804281025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160352942,"filename":"image_02052025_02_43_14_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3d637b87d8ca632ffbb2519e079ebdb.jpg","text":"TemporaryFile(/tmp/multipartBody4284571876959713863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160352942,"filename":"image_02052025_02_43_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/5/2/ece209c62d8a79c00d9b648fd3bbd689.jpg","text":"TemporaryFile(/tmp/multipartBody4847858263814280019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160352942,"filename":"image_02052025_02_42_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/5/2/91dfcad211d759fa1d47aaa826ffba0d.jpg","text":"TemporaryFile(/tmp/multipartBody7454346300883457295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160352942,"filename":"image_02052025_02_42_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f158adff7494c24664f3bf78e3bf048d.jpg","text":"TemporaryFile(/tmp/multipartBody841953629040497095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160352942,"filename":"image_02052025_02_42_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221533","file1":"1355221527","file0":"1355221525","file4":"1355221539","file5":"1355221540","file3":"1355221537"},"map_files_photo_id_array":[{"photo_id":"1355221540","filename":"file5"},{"photo_id":"1355221533","filename":"file2"},{"photo_id":"1355221539","filename":"file4"},{"photo_id":"1355221527","filename":"file1"},{"photo_id":"1355221525","filename":"file0"},{"photo_id":"1355221537","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221525":["hashtag1","hashtag2"]},{"1355221540":["hashtag1","hashtag2"]},{"1355221539":["hashtag1","hashtag2"]},{"1355221533":["hashtag1","hashtag2"]},{"1355221527":["hashtag1","hashtag2"]},{"1355221537":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221525, 1355221540, 1355221539, 1355221533, 1355221527, 1355221537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.375097513198853 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:32:32.730107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/43/image_02052025_02_43_25_10375.jpg', '/home/pi/Desktop/images/02052025/02/43/image_02052025_02_43_35_10350.jpg', '/home/pi/Desktop/images/02052025/02/43/image_02052025_02_43_44_9361.jpg', '/home/pi/Desktop/images/02052025/02/43/image_02052025_02_43_55_10391.jpg', '/home/pi/Desktop/images/02052025/02/43/image_02052025_02_44_04_9347.jpg', '/home/pi/Desktop/images/02052025/02/44/image_02052025_02_44_15_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/43/image_02052025_02_43_25_10375.jpg
/home/pi/Desktop/images/02052025/02/43/image_02052025_02_43_35_10350.jpg
/home/pi/Desktop/images/02052025/02/43/image_02052025_02_43_44_9361.jpg
/home/pi/Desktop/images/02052025/02/43/image_02052025_02_43_55_10391.jpg
/home/pi/Desktop/images/02052025/02/43/image_02052025_02_44_04_9347.jpg
/home/pi/Desktop/images/02052025/02/44/image_02052025_02_44_15_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355221554","1355221563","1355221557","1355221562","1355221559","1355221561"],"photo_ids_order":["1355221554","1355221557","1355221559","1355221561","1355221562","1355221563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/235d98b84315fac831a27995813b2d0b.jpg","text":"TemporaryFile(/tmp/multipartBody5789472956097571365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160413271,"filename":"image_02052025_02_43_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/19751a9157ff212a6d833519b58a36f0.jpg","text":"TemporaryFile(/tmp/multipartBody57137929331717188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160413271,"filename":"image_02052025_02_44_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28242bdbff3982acea94082453423afc.jpg","text":"TemporaryFile(/tmp/multipartBody8436720202786160637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160413271,"filename":"image_02052025_02_43_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f81770df44fd432514ca8c8391d11872.jpg","text":"TemporaryFile(/tmp/multipartBody5463562789099064054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160413271,"filename":"image_02052025_02_44_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/03a676105e1905ddf2b7b8fec9d8b154.jpg","text":"TemporaryFile(/tmp/multipartBody2030762528858515283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160413271,"filename":"image_02052025_02_43_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/943838a99509150d4db2df8018a12efa.jpg","text":"TemporaryFile(/tmp/multipartBody4281457609340528212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160413271,"filename":"image_02052025_02_43_55_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221559","file1":"1355221557","file0":"1355221554","file4":"1355221562","file5":"1355221563","file3":"1355221561"},"map_files_photo_id_array":[{"photo_id":"1355221563","filename":"file5"},{"photo_id":"1355221559","filename":"file2"},{"photo_id":"1355221562","filename":"file4"},{"photo_id":"1355221557","filename":"file1"},{"photo_id":"1355221554","filename":"file0"},{"photo_id":"1355221561","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221554":["hashtag1","hashtag2"]},{"1355221563":["hashtag1","hashtag2"]},{"1355221557":["hashtag1","hashtag2"]},{"1355221562":["hashtag1","hashtag2"]},{"1355221559":["hashtag1","hashtag2"]},{"1355221561":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221554, 1355221563, 1355221557, 1355221562, 1355221559, 1355221561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28880596160889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:33:32.970441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/44/image_02052025_02_44_25_10454.jpg', '/home/pi/Desktop/images/02052025/02/44/image_02052025_02_44_34_9380.jpg', '/home/pi/Desktop/images/02052025/02/44/image_02052025_02_44_45_10349.jpg', '/home/pi/Desktop/images/02052025/02/44/image_02052025_02_44_54_9359.jpg', '/home/pi/Desktop/images/02052025/02/44/image_02052025_02_45_05_10412.jpg', '/home/pi/Desktop/images/02052025/02/45/image_02052025_02_45_15_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/44/image_02052025_02_44_25_10454.jpg
/home/pi/Desktop/images/02052025/02/44/image_02052025_02_44_34_9380.jpg
/home/pi/Desktop/images/02052025/02/44/image_02052025_02_44_45_10349.jpg
/home/pi/Desktop/images/02052025/02/44/image_02052025_02_44_54_9359.jpg
/home/pi/Desktop/images/02052025/02/44/image_02052025_02_45_05_10412.jpg
/home/pi/Desktop/images/02052025/02/45/image_02052025_02_45_15_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355221593","1355221589","1355221583","1355221592","1355221586","1355221591"],"photo_ids_order":["1355221583","1355221586","1355221589","1355221591","1355221592","1355221593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9557f7565b8bbadd9a046517275f9463.jpg","text":"TemporaryFile(/tmp/multipartBody2552353721354509545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160473445,"filename":"image_02052025_02_45_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b22c673a0628e4d917084dd0183d5259.jpg","text":"TemporaryFile(/tmp/multipartBody3567840252178666888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160473445,"filename":"image_02052025_02_44_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/5/2/b610c84a942f39882ebaf286dc0b191e.jpg","text":"TemporaryFile(/tmp/multipartBody7992428641396967198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160473445,"filename":"image_02052025_02_44_25_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f74f9ad08e03f779cba2db162be97e92.jpg","text":"TemporaryFile(/tmp/multipartBody7715860507494004853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160473445,"filename":"image_02052025_02_45_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/5/2/51f458f7650d828f24244cf25f628ece.jpg","text":"TemporaryFile(/tmp/multipartBody2761704080392395849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160473445,"filename":"image_02052025_02_44_34_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a51a069e4040be0dcdfd2764c77375f3.jpg","text":"TemporaryFile(/tmp/multipartBody1288593620627431765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160473445,"filename":"image_02052025_02_44_54_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221589","file1":"1355221586","file0":"1355221583","file4":"1355221592","file5":"1355221593","file3":"1355221591"},"map_files_photo_id_array":[{"photo_id":"1355221593","filename":"file5"},{"photo_id":"1355221589","filename":"file2"},{"photo_id":"1355221592","filename":"file4"},{"photo_id":"1355221586","filename":"file1"},{"photo_id":"1355221583","filename":"file0"},{"photo_id":"1355221591","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221593":["hashtag1","hashtag2"]},{"1355221589":["hashtag1","hashtag2"]},{"1355221583":["hashtag1","hashtag2"]},{"1355221592":["hashtag1","hashtag2"]},{"1355221586":["hashtag1","hashtag2"]},{"1355221591":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221593, 1355221589, 1355221583, 1355221592, 1355221586, 1355221591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10594129562378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:34:33.011184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/45/image_02052025_02_45_24_9399.jpg', '/home/pi/Desktop/images/02052025/02/45/image_02052025_02_45_35_10355.jpg', '/home/pi/Desktop/images/02052025/02/45/image_02052025_02_45_45_10374.jpg', '/home/pi/Desktop/images/02052025/02/45/image_02052025_02_45_54_9368.jpg', '/home/pi/Desktop/images/02052025/02/45/image_02052025_02_46_05_10353.jpg', '/home/pi/Desktop/images/02052025/02/46/image_02052025_02_46_15_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/45/image_02052025_02_45_24_9399.jpg
/home/pi/Desktop/images/02052025/02/45/image_02052025_02_45_35_10355.jpg
/home/pi/Desktop/images/02052025/02/45/image_02052025_02_45_45_10374.jpg
/home/pi/Desktop/images/02052025/02/45/image_02052025_02_45_54_9368.jpg
/home/pi/Desktop/images/02052025/02/45/image_02052025_02_46_05_10353.jpg
/home/pi/Desktop/images/02052025/02/46/image_02052025_02_46_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":["1355221618","1355221606","1355221614","1355221616","1355221619","1355221610"],"photo_ids_order":["1355221606","1355221610","1355221614","1355221616","1355221618","1355221619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/afa0022f7e00a38c16cb9e960a48daf7.jpg","text":"TemporaryFile(/tmp/multipartBody8881402279162668903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160533475,"filename":"image_02052025_02_46_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b4ca1eb1207b1cd12b37b12db807d843.jpg","text":"TemporaryFile(/tmp/multipartBody1834139699748428978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160533475,"filename":"image_02052025_02_45_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/5/2/f66bb775e9d0a40317be52ea2ba51130.jpg","text":"TemporaryFile(/tmp/multipartBody6426089048710545907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160533475,"filename":"image_02052025_02_45_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/5/2/2b5eb7d4c2880c74cfbce0afacd11c21.jpg","text":"TemporaryFile(/tmp/multipartBody604290845402537791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160533475,"filename":"image_02052025_02_45_54_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f247721f656da9e61a0963d94b81849b.jpg","text":"TemporaryFile(/tmp/multipartBody2340816352057184926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160533475,"filename":"image_02052025_02_46_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/5/2/e0efb1d1e86b4a54cd19479788d924a0.jpg","text":"TemporaryFile(/tmp/multipartBody1019327936727035729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160533475,"filename":"image_02052025_02_45_35_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221614","file1":"1355221610","file0":"1355221606","file4":"1355221618","file5":"1355221619","file3":"1355221616"},"map_files_photo_id_array":[{"photo_id":"1355221619","filename":"file5"},{"photo_id":"1355221614","filename":"file2"},{"photo_id":"1355221618","filename":"file4"},{"photo_id":"1355221610","filename":"file1"},{"photo_id":"1355221606","filename":"file0"},{"photo_id":"1355221616","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221618":["hashtag1","hashtag2"]},{"1355221606":["hashtag1","hashtag2"]},{"1355221614":["hashtag1","hashtag2"]},{"1355221616":["hashtag1","hashtag2"]},{"1355221619":["hashtag1","hashtag2"]},{"1355221610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221618, 1355221606, 1355221614, 1355221616, 1355221619, 1355221610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.131550073623657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:35:32.402140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/46/image_02052025_02_46_25_9452.jpg', '/home/pi/Desktop/images/02052025/02/46/image_02052025_02_46_35_10363.jpg', '/home/pi/Desktop/images/02052025/02/46/image_02052025_02_46_44_9436.jpg', '/home/pi/Desktop/images/02052025/02/46/image_02052025_02_46_55_10439.jpg', '/home/pi/Desktop/images/02052025/02/46/image_02052025_02_47_04_9347.jpg', '/home/pi/Desktop/images/02052025/02/47/image_02052025_02_47_15_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/46/image_02052025_02_46_25_9452.jpg
/home/pi/Desktop/images/02052025/02/46/image_02052025_02_46_35_10363.jpg
/home/pi/Desktop/images/02052025/02/46/image_02052025_02_46_44_9436.jpg
/home/pi/Desktop/images/02052025/02/46/image_02052025_02_46_55_10439.jpg
/home/pi/Desktop/images/02052025/02/46/image_02052025_02_47_04_9347.jpg
/home/pi/Desktop/images/02052025/02/47/image_02052025_02_47_15_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":["1355221645","1355221647","1355221641","1355221635","1355221638","1355221643"],"photo_ids_order":["1355221635","1355221638","1355221641","1355221643","1355221645","1355221647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed6a44c0214355ff13e33922f1d9eb24.jpg","text":"TemporaryFile(/tmp/multipartBody3903902865694467186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160592867,"filename":"image_02052025_02_47_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/29bc7dda8dc0220189c56dd1f90f6069.jpg","text":"TemporaryFile(/tmp/multipartBody1025789939671434635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160592867,"filename":"image_02052025_02_47_15_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/837d563194352ae09c65c9c89ca46a82.jpg","text":"TemporaryFile(/tmp/multipartBody2944039879916234312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160592867,"filename":"image_02052025_02_46_44_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d21f2f40f2f49a30ea1ee94287884a15.jpg","text":"TemporaryFile(/tmp/multipartBody2911851897268745624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160592867,"filename":"image_02052025_02_46_25_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f3fa77f3abe8d2fff2b786e81dc7936.jpg","text":"TemporaryFile(/tmp/multipartBody3382193881689180741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160592867,"filename":"image_02052025_02_46_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/5/2/4b6486f1beef502080d1c5ac8691aef6.jpg","text":"TemporaryFile(/tmp/multipartBody3049013137823206093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160592867,"filename":"image_02052025_02_46_55_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221641","file1":"1355221638","file0":"1355221635","file4":"1355221645","file5":"1355221647","file3":"1355221643"},"map_files_photo_id_array":[{"photo_id":"1355221647","filename":"file5"},{"photo_id":"1355221641","filename":"file2"},{"photo_id":"1355221645","filename":"file4"},{"photo_id":"1355221638","filename":"file1"},{"photo_id":"1355221635","filename":"file0"},{"photo_id":"1355221643","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221645":["hashtag1","hashtag2"]},{"1355221647":["hashtag1","hashtag2"]},{"1355221641":["hashtag1","hashtag2"]},{"1355221635":["hashtag1","hashtag2"]},{"1355221638":["hashtag1","hashtag2"]},{"1355221643":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221645, 1355221647, 1355221641, 1355221635, 1355221638, 1355221643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.085700273513794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:36:32.708214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/47/image_02052025_02_47_25_10363.jpg', '/home/pi/Desktop/images/02052025/02/47/image_02052025_02_47_34_9426.jpg', '/home/pi/Desktop/images/02052025/02/47/image_02052025_02_47_45_10356.jpg', '/home/pi/Desktop/images/02052025/02/47/image_02052025_02_47_55_10379.jpg', '/home/pi/Desktop/images/02052025/02/47/image_02052025_02_48_05_9421.jpg', '/home/pi/Desktop/images/02052025/02/48/image_02052025_02_48_15_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/47/image_02052025_02_47_25_10363.jpg
/home/pi/Desktop/images/02052025/02/47/image_02052025_02_47_34_9426.jpg
/home/pi/Desktop/images/02052025/02/47/image_02052025_02_47_45_10356.jpg
/home/pi/Desktop/images/02052025/02/47/image_02052025_02_47_55_10379.jpg
/home/pi/Desktop/images/02052025/02/47/image_02052025_02_48_05_9421.jpg
/home/pi/Desktop/images/02052025/02/48/image_02052025_02_48_15_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355221683","1355221686","1355221680","1355221673","1355221667","1355221690"],"photo_ids_order":["1355221667","1355221673","1355221680","1355221683","1355221686","1355221690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/500a1bf3eb87942d7b28942ebbbbe7aa.jpg","text":"TemporaryFile(/tmp/multipartBody4193523063451813905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160653182,"filename":"image_02052025_02_47_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/5/2/b17f3a898e499dd22693bb8056c78c74.jpg","text":"TemporaryFile(/tmp/multipartBody5177200148237622784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160653182,"filename":"image_02052025_02_48_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d43e6e071369de142e7f0b8950ba93cc.jpg","text":"TemporaryFile(/tmp/multipartBody6537622877154463306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160653182,"filename":"image_02052025_02_47_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/5/2/480c877a41bbbd3f8d59eab40df071aa.jpg","text":"TemporaryFile(/tmp/multipartBody3960758013547753685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160653182,"filename":"image_02052025_02_47_34_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/03cd1ccf78eedf498943fa2320fefa3e.jpg","text":"TemporaryFile(/tmp/multipartBody6410593258994408120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160653182,"filename":"image_02052025_02_47_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/5/2/7e2db4053dca3a7bbd961b730f75b540.jpg","text":"TemporaryFile(/tmp/multipartBody447200875391174658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160653182,"filename":"image_02052025_02_48_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221680","file1":"1355221673","file0":"1355221667","file4":"1355221686","file5":"1355221690","file3":"1355221683"},"map_files_photo_id_array":[{"photo_id":"1355221690","filename":"file5"},{"photo_id":"1355221680","filename":"file2"},{"photo_id":"1355221686","filename":"file4"},{"photo_id":"1355221673","filename":"file1"},{"photo_id":"1355221667","filename":"file0"},{"photo_id":"1355221683","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221683":["hashtag1","hashtag2"]},{"1355221686":["hashtag1","hashtag2"]},{"1355221680":["hashtag1","hashtag2"]},{"1355221673":["hashtag1","hashtag2"]},{"1355221667":["hashtag1","hashtag2"]},{"1355221690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221683, 1355221686, 1355221680, 1355221673, 1355221667, 1355221690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01232147216797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:37:32.918425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/48/image_02052025_02_48_24_9428.jpg', '/home/pi/Desktop/images/02052025/02/48/image_02052025_02_48_35_10356.jpg', '/home/pi/Desktop/images/02052025/02/48/image_02052025_02_48_45_10355.jpg', '/home/pi/Desktop/images/02052025/02/48/image_02052025_02_48_54_9457.jpg', '/home/pi/Desktop/images/02052025/02/48/image_02052025_02_49_05_10359.jpg', '/home/pi/Desktop/images/02052025/02/49/image_02052025_02_49_14_9515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/48/image_02052025_02_48_24_9428.jpg
/home/pi/Desktop/images/02052025/02/48/image_02052025_02_48_35_10356.jpg
/home/pi/Desktop/images/02052025/02/48/image_02052025_02_48_45_10355.jpg
/home/pi/Desktop/images/02052025/02/48/image_02052025_02_48_54_9457.jpg
/home/pi/Desktop/images/02052025/02/48/image_02052025_02_49_05_10359.jpg
/home/pi/Desktop/images/02052025/02/49/image_02052025_02_49_14_9515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355221717","1355221720","1355221722","1355221710","1355221704","1355221712"],"photo_ids_order":["1355221704","1355221710","1355221712","1355221717","1355221720","1355221722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba39b1696a3a9308fe92b758102a2021.jpg","text":"TemporaryFile(/tmp/multipartBody7171467433209960144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160713398,"filename":"image_02052025_02_48_54_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/829dc2a02fc40bd465360a1d26d46c73.jpg","text":"TemporaryFile(/tmp/multipartBody1855251062463913675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160713398,"filename":"image_02052025_02_49_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/5/2/2c02962793ac1bf2b44fb89b953e3615.jpg","text":"TemporaryFile(/tmp/multipartBody5019801254864845985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160713398,"filename":"image_02052025_02_49_14_9515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4c497ef7a9f73c0e702f374baf24892.jpg","text":"TemporaryFile(/tmp/multipartBody4092232834404766678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160713398,"filename":"image_02052025_02_48_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/5/2/d2fb599c1c3f35eb653b043687f32d9c.jpg","text":"TemporaryFile(/tmp/multipartBody4163609221523162773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160713398,"filename":"image_02052025_02_48_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/5/2/2b59042eb71975a0227bc173cf89977d.jpg","text":"TemporaryFile(/tmp/multipartBody1673249476094995975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160713398,"filename":"image_02052025_02_48_45_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221712","file1":"1355221710","file0":"1355221704","file4":"1355221720","file5":"1355221722","file3":"1355221717"},"map_files_photo_id_array":[{"photo_id":"1355221722","filename":"file5"},{"photo_id":"1355221712","filename":"file2"},{"photo_id":"1355221720","filename":"file4"},{"photo_id":"1355221710","filename":"file1"},{"photo_id":"1355221704","filename":"file0"},{"photo_id":"1355221717","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221717":["hashtag1","hashtag2"]},{"1355221720":["hashtag1","hashtag2"]},{"1355221722":["hashtag1","hashtag2"]},{"1355221710":["hashtag1","hashtag2"]},{"1355221704":["hashtag1","hashtag2"]},{"1355221712":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221717, 1355221720, 1355221722, 1355221710, 1355221704, 1355221712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.860138177871704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:38:33.194739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/49/image_02052025_02_49_25_10364.jpg', '/home/pi/Desktop/images/02052025/02/49/image_02052025_02_49_45_9429.jpg', '/home/pi/Desktop/images/02052025/02/49/image_02052025_02_49_55_10363.jpg', '/home/pi/Desktop/images/02052025/02/49/image_02052025_02_50_04_9443.jpg', '/home/pi/Desktop/images/02052025/02/50/image_02052025_02_50_15_10369.jpg', '/home/pi/Desktop/images/02052025/02/50/image_02052025_02_50_25_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/49/image_02052025_02_49_25_10364.jpg
/home/pi/Desktop/images/02052025/02/49/image_02052025_02_49_45_9429.jpg
/home/pi/Desktop/images/02052025/02/49/image_02052025_02_49_55_10363.jpg
/home/pi/Desktop/images/02052025/02/49/image_02052025_02_50_04_9443.jpg
/home/pi/Desktop/images/02052025/02/50/image_02052025_02_50_15_10369.jpg
/home/pi/Desktop/images/02052025/02/50/image_02052025_02_50_25_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":["1355221744","1355221749","1355221760","1355221763","1355221765","1355221756"],"photo_ids_order":["1355221744","1355221749","1355221756","1355221760","1355221763","1355221765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/499f6bd66b7da0220336cc73d63e0463.jpg","text":"TemporaryFile(/tmp/multipartBody4130749878955281254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160773678,"filename":"image_02052025_02_49_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/5/2/92b856e506ad217fbde18bd218e24ff7.jpg","text":"TemporaryFile(/tmp/multipartBody8841237355354077691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160773678,"filename":"image_02052025_02_49_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/5/2/5d65601f71a2933a5fb8cb41ee4dd5d1.jpg","text":"TemporaryFile(/tmp/multipartBody7910731045608945119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160773678,"filename":"image_02052025_02_50_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/5/2/1c78d8d8a7180148f142ca0418575495.jpg","text":"TemporaryFile(/tmp/multipartBody6225836384131119670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160773678,"filename":"image_02052025_02_50_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/71f27fdab384b86a1978dcf8b8d6c4f6.jpg","text":"TemporaryFile(/tmp/multipartBody2899681614633736218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160773678,"filename":"image_02052025_02_50_25_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5c7a022e4c40f5e44c4849f2d50d14af.jpg","text":"TemporaryFile(/tmp/multipartBody8675391197130545197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160773678,"filename":"image_02052025_02_49_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221756","file1":"1355221749","file0":"1355221744","file4":"1355221763","file5":"1355221765","file3":"1355221760"},"map_files_photo_id_array":[{"photo_id":"1355221765","filename":"file5"},{"photo_id":"1355221756","filename":"file2"},{"photo_id":"1355221763","filename":"file4"},{"photo_id":"1355221749","filename":"file1"},{"photo_id":"1355221744","filename":"file0"},{"photo_id":"1355221760","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221744":["hashtag1","hashtag2"]},{"1355221749":["hashtag1","hashtag2"]},{"1355221760":["hashtag1","hashtag2"]},{"1355221763":["hashtag1","hashtag2"]},{"1355221765":["hashtag1","hashtag2"]},{"1355221756":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221744, 1355221749, 1355221760, 1355221763, 1355221765, 1355221756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.728817462921143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:39:32.289116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/50/image_02052025_02_50_34_9342.jpg', '/home/pi/Desktop/images/02052025/02/50/image_02052025_02_50_45_10371.jpg', '/home/pi/Desktop/images/02052025/02/50/image_02052025_02_50_55_10363.jpg', '/home/pi/Desktop/images/02052025/02/50/image_02052025_02_51_05_9385.jpg', '/home/pi/Desktop/images/02052025/02/51/image_02052025_02_51_15_10357.jpg', '/home/pi/Desktop/images/02052025/02/51/image_02052025_02_51_24_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/50/image_02052025_02_50_34_9342.jpg
/home/pi/Desktop/images/02052025/02/50/image_02052025_02_50_45_10371.jpg
/home/pi/Desktop/images/02052025/02/50/image_02052025_02_50_55_10363.jpg
/home/pi/Desktop/images/02052025/02/50/image_02052025_02_51_05_9385.jpg
/home/pi/Desktop/images/02052025/02/51/image_02052025_02_51_15_10357.jpg
/home/pi/Desktop/images/02052025/02/51/image_02052025_02_51_24_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":["1355221794","1355221791","1355221796","1355221775","1355221786","1355221780"],"photo_ids_order":["1355221775","1355221780","1355221786","1355221791","1355221794","1355221796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e51f750b2987be8ed0240ee5bf8412ff.jpg","text":"TemporaryFile(/tmp/multipartBody8184366560556487437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160832762,"filename":"image_02052025_02_51_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/5/2/5194add2c3c14b94b774fd06dfcb7ab9.jpg","text":"TemporaryFile(/tmp/multipartBody3018270477725393731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160832762,"filename":"image_02052025_02_51_05_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/15d84dc59369ac19b096e7aeeabd8a3f.jpg","text":"TemporaryFile(/tmp/multipartBody5949541013602938850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160832762,"filename":"image_02052025_02_51_24_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cb84b5e529dba8fe4c61c88e0ee4e751.jpg","text":"TemporaryFile(/tmp/multipartBody8877560223457461715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160832762,"filename":"image_02052025_02_50_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/5/2/06fec9d83c668927ffcc3877adf99f09.jpg","text":"TemporaryFile(/tmp/multipartBody4478647136574309384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160832762,"filename":"image_02052025_02_50_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/5/2/569897f94e10f34452436f94a5dada2d.jpg","text":"TemporaryFile(/tmp/multipartBody5091698228190927691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160832762,"filename":"image_02052025_02_50_45_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221786","file1":"1355221780","file0":"1355221775","file4":"1355221794","file5":"1355221796","file3":"1355221791"},"map_files_photo_id_array":[{"photo_id":"1355221796","filename":"file5"},{"photo_id":"1355221786","filename":"file2"},{"photo_id":"1355221794","filename":"file4"},{"photo_id":"1355221780","filename":"file1"},{"photo_id":"1355221775","filename":"file0"},{"photo_id":"1355221791","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221794":["hashtag1","hashtag2"]},{"1355221791":["hashtag1","hashtag2"]},{"1355221796":["hashtag1","hashtag2"]},{"1355221775":["hashtag1","hashtag2"]},{"1355221786":["hashtag1","hashtag2"]},{"1355221780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221794, 1355221791, 1355221796, 1355221775, 1355221786, 1355221780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.833083868026733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:40:32.644983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/51/image_02052025_02_51_45_10444.jpg', '/home/pi/Desktop/images/02052025/02/51/image_02052025_02_51_55_9459.jpg', '/home/pi/Desktop/images/02052025/02/51/image_02052025_02_52_05_10362.jpg', '/home/pi/Desktop/images/02052025/02/52/image_02052025_02_52_14_9451.jpg', '/home/pi/Desktop/images/02052025/02/52/image_02052025_02_52_25_10373.jpg', '/home/pi/Desktop/images/02052025/02/52/image_02052025_02_52_34_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/51/image_02052025_02_51_45_10444.jpg
/home/pi/Desktop/images/02052025/02/51/image_02052025_02_51_55_9459.jpg
/home/pi/Desktop/images/02052025/02/51/image_02052025_02_52_05_10362.jpg
/home/pi/Desktop/images/02052025/02/52/image_02052025_02_52_14_9451.jpg
/home/pi/Desktop/images/02052025/02/52/image_02052025_02_52_25_10373.jpg
/home/pi/Desktop/images/02052025/02/52/image_02052025_02_52_34_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355221822","1355221816","1355221824","1355221826","1355221811","1355221820"],"photo_ids_order":["1355221811","1355221816","1355221820","1355221822","1355221824","1355221826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b83ee77d19e9299aaaa1359cfef91ef2.jpg","text":"TemporaryFile(/tmp/multipartBody70365257086707921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160893123,"filename":"image_02052025_02_52_14_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11979904e2f6ead5a5b100e3a514f697.jpg","text":"TemporaryFile(/tmp/multipartBody1643937188459712610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160893123,"filename":"image_02052025_02_51_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/5/2/56afa4c806ebc53546506f5f8a6329f5.jpg","text":"TemporaryFile(/tmp/multipartBody4608552071990883332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160893123,"filename":"image_02052025_02_52_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ed7da6dba08ef8ae7ee4818a7d3d848.jpg","text":"TemporaryFile(/tmp/multipartBody4256202347039309335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160893123,"filename":"image_02052025_02_52_34_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b21d12ea981dc6edbfd488da713b75e.jpg","text":"TemporaryFile(/tmp/multipartBody8973129500124740128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160893123,"filename":"image_02052025_02_51_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/44590bfe6d16977413cb4948ce81e60d.jpg","text":"TemporaryFile(/tmp/multipartBody1865395301037868099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160893123,"filename":"image_02052025_02_52_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221820","file1":"1355221816","file0":"1355221811","file4":"1355221824","file5":"1355221826","file3":"1355221822"},"map_files_photo_id_array":[{"photo_id":"1355221826","filename":"file5"},{"photo_id":"1355221820","filename":"file2"},{"photo_id":"1355221824","filename":"file4"},{"photo_id":"1355221816","filename":"file1"},{"photo_id":"1355221811","filename":"file0"},{"photo_id":"1355221822","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221822":["hashtag1","hashtag2"]},{"1355221816":["hashtag1","hashtag2"]},{"1355221824":["hashtag1","hashtag2"]},{"1355221826":["hashtag1","hashtag2"]},{"1355221811":["hashtag1","hashtag2"]},{"1355221820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221822, 1355221816, 1355221824, 1355221826, 1355221811, 1355221820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43009686470032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:41:32.915401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/52/image_02052025_02_52_45_10431.jpg', '/home/pi/Desktop/images/02052025/02/52/image_02052025_02_52_55_10360.jpg', '/home/pi/Desktop/images/02052025/02/52/image_02052025_02_53_04_9380.jpg', '/home/pi/Desktop/images/02052025/02/53/image_02052025_02_53_15_10339.jpg', '/home/pi/Desktop/images/02052025/02/53/image_02052025_02_53_25_10366.jpg', '/home/pi/Desktop/images/02052025/02/53/image_02052025_02_53_45_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/52/image_02052025_02_52_45_10431.jpg
/home/pi/Desktop/images/02052025/02/52/image_02052025_02_52_55_10360.jpg
/home/pi/Desktop/images/02052025/02/52/image_02052025_02_53_04_9380.jpg
/home/pi/Desktop/images/02052025/02/53/image_02052025_02_53_15_10339.jpg
/home/pi/Desktop/images/02052025/02/53/image_02052025_02_53_25_10366.jpg
/home/pi/Desktop/images/02052025/02/53/image_02052025_02_53_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":["1355221857","1355221845","1355221860","1355221853","1355221861","1355221849"],"photo_ids_order":["1355221845","1355221849","1355221853","1355221857","1355221860","1355221861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f19b0d395987eab00e3f1a88f74fac6.jpg","text":"TemporaryFile(/tmp/multipartBody6787205359493437149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160953464,"filename":"image_02052025_02_53_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fff7866bd35e156c698b01b97cef59d6.jpg","text":"TemporaryFile(/tmp/multipartBody7792516281020907573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160953464,"filename":"image_02052025_02_52_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/5/2/efada173ed3f6671ac272fce86aa15da.jpg","text":"TemporaryFile(/tmp/multipartBody4089736568337961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160953464,"filename":"image_02052025_02_53_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/5/2/d21cb2ede8a54349d41b3c3363e3ccb9.jpg","text":"TemporaryFile(/tmp/multipartBody2141395886238878721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160953464,"filename":"image_02052025_02_53_04_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f25728bc43ad4686bc219f90dccedbae.jpg","text":"TemporaryFile(/tmp/multipartBody5642310333052672564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160953464,"filename":"image_02052025_02_53_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/5/2/feafda6ecc18296ed03212344481711a.jpg","text":"TemporaryFile(/tmp/multipartBody137056743353219381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746160953464,"filename":"image_02052025_02_52_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221853","file1":"1355221849","file0":"1355221845","file4":"1355221860","file5":"1355221861","file3":"1355221857"},"map_files_photo_id_array":[{"photo_id":"1355221861","filename":"file5"},{"photo_id":"1355221853","filename":"file2"},{"photo_id":"1355221860","filename":"file4"},{"photo_id":"1355221849","filename":"file1"},{"photo_id":"1355221845","filename":"file0"},{"photo_id":"1355221857","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221857":["hashtag1","hashtag2"]},{"1355221845":["hashtag1","hashtag2"]},{"1355221860":["hashtag1","hashtag2"]},{"1355221853":["hashtag1","hashtag2"]},{"1355221861":["hashtag1","hashtag2"]},{"1355221849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221857, 1355221845, 1355221860, 1355221853, 1355221861, 1355221849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.03492784500122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:42:33.151516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/53/image_02052025_02_53_55_10363.jpg', '/home/pi/Desktop/images/02052025/02/53/image_02052025_02_54_04_9347.jpg', '/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_15_10357.jpg', '/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_24_9369.jpg', '/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_35_10447.jpg', '/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_45_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/53/image_02052025_02_53_55_10363.jpg
/home/pi/Desktop/images/02052025/02/53/image_02052025_02_54_04_9347.jpg
/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_15_10357.jpg
/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_24_9369.jpg
/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_35_10447.jpg
/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_45_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4662313461303711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 06:42:43.205123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/53/image_02052025_02_53_55_10363.jpg', '/home/pi/Desktop/images/02052025/02/53/image_02052025_02_54_04_9347.jpg', '/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_15_10357.jpg', '/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_24_9369.jpg', '/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_35_10447.jpg', '/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_45_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/53/image_02052025_02_53_55_10363.jpg
/home/pi/Desktop/images/02052025/02/53/image_02052025_02_54_04_9347.jpg
/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_15_10357.jpg
/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_24_9369.jpg
/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_35_10447.jpg
/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_45_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":["1355221893","1355221900","1355221899","1355221904","1355221897","1355221888"],"photo_ids_order":["1355221888","1355221893","1355221897","1355221899","1355221900","1355221904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d0bea4ad15a14be0e69478520d0be4b.jpg","text":"TemporaryFile(/tmp/multipartBody1775927389599092923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161023690,"filename":"image_02052025_02_54_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b476c22309686bfdc24fed50f4977cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5090879662899698061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161023690,"filename":"image_02052025_02_54_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/5/2/cbc75e65d58347e51b49c95a1eb4e13b.jpg","text":"TemporaryFile(/tmp/multipartBody4557379673330093649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161023690,"filename":"image_02052025_02_54_24_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ffd75d5ac0fc30f5b086262dec34d03a.jpg","text":"TemporaryFile(/tmp/multipartBody8616902057727624218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161023690,"filename":"image_02052025_02_54_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/5/2/259657d6a0b02e619f03e1627bdb8d92.jpg","text":"TemporaryFile(/tmp/multipartBody7866414935383153695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161023690,"filename":"image_02052025_02_54_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/145f9aaade63c9745b19e2b459e4de0c.jpg","text":"TemporaryFile(/tmp/multipartBody8634744951473909723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161023690,"filename":"image_02052025_02_53_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221897","file1":"1355221893","file0":"1355221888","file4":"1355221900","file5":"1355221904","file3":"1355221899"},"map_files_photo_id_array":[{"photo_id":"1355221904","filename":"file5"},{"photo_id":"1355221897","filename":"file2"},{"photo_id":"1355221900","filename":"file4"},{"photo_id":"1355221893","filename":"file1"},{"photo_id":"1355221888","filename":"file0"},{"photo_id":"1355221899","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221893":["hashtag1","hashtag2"]},{"1355221900":["hashtag1","hashtag2"]},{"1355221899":["hashtag1","hashtag2"]},{"1355221904":["hashtag1","hashtag2"]},{"1355221897":["hashtag1","hashtag2"]},{"1355221888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221893, 1355221900, 1355221899, 1355221904, 1355221897, 1355221888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00820755958557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:43:32.347833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_54_9362.jpg', '/home/pi/Desktop/images/02052025/02/54/image_02052025_02_55_05_10356.jpg', '/home/pi/Desktop/images/02052025/02/55/image_02052025_02_55_15_10412.jpg', '/home/pi/Desktop/images/02052025/02/55/image_02052025_02_55_25_9454.jpg', '/home/pi/Desktop/images/02052025/02/55/image_02052025_02_55_35_10357.jpg', '/home/pi/Desktop/images/02052025/02/55/image_02052025_02_55_44_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/54/image_02052025_02_54_54_9362.jpg
/home/pi/Desktop/images/02052025/02/54/image_02052025_02_55_05_10356.jpg
/home/pi/Desktop/images/02052025/02/55/image_02052025_02_55_15_10412.jpg
/home/pi/Desktop/images/02052025/02/55/image_02052025_02_55_25_9454.jpg
/home/pi/Desktop/images/02052025/02/55/image_02052025_02_55_35_10357.jpg
/home/pi/Desktop/images/02052025/02/55/image_02052025_02_55_44_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":["1355221936","1355221938","1355221926","1355221929","1355221923","1355221933"],"photo_ids_order":["1355221923","1355221926","1355221929","1355221933","1355221936","1355221938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/61abeaab4b3f7c4c83ef5231aafbe86d.jpg","text":"TemporaryFile(/tmp/multipartBody674093146545164448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161072901,"filename":"image_02052025_02_55_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/5/2/2a48dcfce1ab2c0ab60a48a51ea46786.jpg","text":"TemporaryFile(/tmp/multipartBody6773130542151173016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161072901,"filename":"image_02052025_02_55_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/5/2/ce2a2bc6a2a266aff23404ed8f5483f3.jpg","text":"TemporaryFile(/tmp/multipartBody1398991881233277557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161072901,"filename":"image_02052025_02_55_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/5/2/e0c0c4b6664eb988ff8dbd75ca109c1b.jpg","text":"TemporaryFile(/tmp/multipartBody822112031487623591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161072901,"filename":"image_02052025_02_55_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/5/2/535520aea61a26eb86ec4138b15b43d3.jpg","text":"TemporaryFile(/tmp/multipartBody8336757292396707175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161072901,"filename":"image_02052025_02_54_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6ac824d07b23df1b1caf495da2f24b78.jpg","text":"TemporaryFile(/tmp/multipartBody5731427620319782427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161072901,"filename":"image_02052025_02_55_25_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221929","file1":"1355221926","file0":"1355221923","file4":"1355221936","file5":"1355221938","file3":"1355221933"},"map_files_photo_id_array":[{"photo_id":"1355221938","filename":"file5"},{"photo_id":"1355221929","filename":"file2"},{"photo_id":"1355221936","filename":"file4"},{"photo_id":"1355221926","filename":"file1"},{"photo_id":"1355221923","filename":"file0"},{"photo_id":"1355221933","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221936":["hashtag1","hashtag2"]},{"1355221938":["hashtag1","hashtag2"]},{"1355221926":["hashtag1","hashtag2"]},{"1355221929":["hashtag1","hashtag2"]},{"1355221923":["hashtag1","hashtag2"]},{"1355221933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221936, 1355221938, 1355221926, 1355221929, 1355221923, 1355221933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.56152868270874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:44:32.746663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/55/image_02052025_02_55_55_10365.jpg', '/home/pi/Desktop/images/02052025/02/55/image_02052025_02_56_05_10335.jpg', '/home/pi/Desktop/images/02052025/02/56/image_02052025_02_56_14_9362.jpg', '/home/pi/Desktop/images/02052025/02/56/image_02052025_02_56_25_10389.jpg', '/home/pi/Desktop/images/02052025/02/56/image_02052025_02_56_34_9451.jpg', '/home/pi/Desktop/images/02052025/02/56/image_02052025_02_56_45_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/55/image_02052025_02_55_55_10365.jpg
/home/pi/Desktop/images/02052025/02/55/image_02052025_02_56_05_10335.jpg
/home/pi/Desktop/images/02052025/02/56/image_02052025_02_56_14_9362.jpg
/home/pi/Desktop/images/02052025/02/56/image_02052025_02_56_25_10389.jpg
/home/pi/Desktop/images/02052025/02/56/image_02052025_02_56_34_9451.jpg
/home/pi/Desktop/images/02052025/02/56/image_02052025_02_56_45_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355221986","1355221985","1355221967","1355221970","1355221964","1355221978"],"photo_ids_order":["1355221964","1355221967","1355221970","1355221978","1355221985","1355221986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c167997edc243f20934626017249de2d.jpg","text":"TemporaryFile(/tmp/multipartBody4817405211090531899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161133310,"filename":"image_02052025_02_56_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/5/2/16dfd8550b0ac98d5b833c94964730f4.jpg","text":"TemporaryFile(/tmp/multipartBody4872221436220465898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161133310,"filename":"image_02052025_02_56_34_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7d2e8ddb9d388b1933c61bb5c0c56e4.jpg","text":"TemporaryFile(/tmp/multipartBody2415618749937618471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161133310,"filename":"image_02052025_02_56_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/5/2/9eb852bef1dab95fd6570f5edf26ed51.jpg","text":"TemporaryFile(/tmp/multipartBody9172660109311243129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161133310,"filename":"image_02052025_02_56_14_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b64b2d6f924d66945468ac7352ba49fa.jpg","text":"TemporaryFile(/tmp/multipartBody6608349633157375986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161133310,"filename":"image_02052025_02_55_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/5/2/1e383cf435d0df75c33a4ac133d6f64f.jpg","text":"TemporaryFile(/tmp/multipartBody3096153487779473004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161133310,"filename":"image_02052025_02_56_25_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355221970","file1":"1355221967","file0":"1355221964","file4":"1355221985","file5":"1355221986","file3":"1355221978"},"map_files_photo_id_array":[{"photo_id":"1355221986","filename":"file5"},{"photo_id":"1355221970","filename":"file2"},{"photo_id":"1355221985","filename":"file4"},{"photo_id":"1355221967","filename":"file1"},{"photo_id":"1355221964","filename":"file0"},{"photo_id":"1355221978","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355221986":["hashtag1","hashtag2"]},{"1355221985":["hashtag1","hashtag2"]},{"1355221967":["hashtag1","hashtag2"]},{"1355221970":["hashtag1","hashtag2"]},{"1355221964":["hashtag1","hashtag2"]},{"1355221978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355221986, 1355221985, 1355221967, 1355221970, 1355221964, 1355221978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.861292839050293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:45:32.775820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/56/image_02052025_02_56_55_10357.jpg', '/home/pi/Desktop/images/02052025/02/56/image_02052025_02_57_04_9367.jpg', '/home/pi/Desktop/images/02052025/02/57/image_02052025_02_57_15_10355.jpg', '/home/pi/Desktop/images/02052025/02/57/image_02052025_02_57_25_10363.jpg', '/home/pi/Desktop/images/02052025/02/57/image_02052025_02_57_35_9456.jpg', '/home/pi/Desktop/images/02052025/02/57/image_02052025_02_57_45_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/56/image_02052025_02_56_55_10357.jpg
/home/pi/Desktop/images/02052025/02/56/image_02052025_02_57_04_9367.jpg
/home/pi/Desktop/images/02052025/02/57/image_02052025_02_57_15_10355.jpg
/home/pi/Desktop/images/02052025/02/57/image_02052025_02_57_25_10363.jpg
/home/pi/Desktop/images/02052025/02/57/image_02052025_02_57_35_9456.jpg
/home/pi/Desktop/images/02052025/02/57/image_02052025_02_57_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":["1355222010","1355221998","1355222013","1355222003","1355222006","1355222000"],"photo_ids_order":["1355221998","1355222000","1355222003","1355222006","1355222010","1355222013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87d864de51c8ecdf951f9628050025bd.jpg","text":"TemporaryFile(/tmp/multipartBody8706547888847306209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161193329,"filename":"image_02052025_02_57_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/5/2/b702fc935acde6d2e77bbb28c8d98901.jpg","text":"TemporaryFile(/tmp/multipartBody8198510433510150021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161193329,"filename":"image_02052025_02_56_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/5/2/9ce1d991aad87cf3ccd3fbd85819eeb0.jpg","text":"TemporaryFile(/tmp/multipartBody903777641542595593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161193329,"filename":"image_02052025_02_57_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/5/2/5e766718a5d80823792aecb89e77ec72.jpg","text":"TemporaryFile(/tmp/multipartBody1691101717130497026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161193329,"filename":"image_02052025_02_57_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/5/2/35b7f5765704312d6239993ee22b56d6.jpg","text":"TemporaryFile(/tmp/multipartBody3038959181065632371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161193329,"filename":"image_02052025_02_57_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/5/2/22c6b116d5d7974dd2bf5d2d801f871b.jpg","text":"TemporaryFile(/tmp/multipartBody6086571141218957362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161193329,"filename":"image_02052025_02_57_04_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222003","file1":"1355222000","file0":"1355221998","file4":"1355222010","file5":"1355222013","file3":"1355222006"},"map_files_photo_id_array":[{"photo_id":"1355222013","filename":"file5"},{"photo_id":"1355222003","filename":"file2"},{"photo_id":"1355222010","filename":"file4"},{"photo_id":"1355222000","filename":"file1"},{"photo_id":"1355221998","filename":"file0"},{"photo_id":"1355222006","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222010":["hashtag1","hashtag2"]},{"1355221998":["hashtag1","hashtag2"]},{"1355222013":["hashtag1","hashtag2"]},{"1355222003":["hashtag1","hashtag2"]},{"1355222006":["hashtag1","hashtag2"]},{"1355222000":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222010, 1355221998, 1355222013, 1355222003, 1355222006, 1355222000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2998161315918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:46:33.024470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/57/image_02052025_02_57_54_9434.jpg', '/home/pi/Desktop/images/02052025/02/57/image_02052025_02_58_05_10357.jpg', '/home/pi/Desktop/images/02052025/02/58/image_02052025_02_58_15_10431.jpg', '/home/pi/Desktop/images/02052025/02/58/image_02052025_02_58_25_9452.jpg', '/home/pi/Desktop/images/02052025/02/58/image_02052025_02_58_35_10357.jpg', '/home/pi/Desktop/images/02052025/02/58/image_02052025_02_58_44_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/57/image_02052025_02_57_54_9434.jpg
/home/pi/Desktop/images/02052025/02/57/image_02052025_02_58_05_10357.jpg
/home/pi/Desktop/images/02052025/02/58/image_02052025_02_58_15_10431.jpg
/home/pi/Desktop/images/02052025/02/58/image_02052025_02_58_25_9452.jpg
/home/pi/Desktop/images/02052025/02/58/image_02052025_02_58_35_10357.jpg
/home/pi/Desktop/images/02052025/02/58/image_02052025_02_58_44_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355222043","1355222046","1355222028","1355222048","1355222027","1355222038"],"photo_ids_order":["1355222027","1355222028","1355222038","1355222043","1355222046","1355222048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/18f4a8f874348401321f38363b9dde1e.jpg","text":"TemporaryFile(/tmp/multipartBody1831735080840317937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161253572,"filename":"image_02052025_02_58_25_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0615388e17463867fc752b9f64a1885.jpg","text":"TemporaryFile(/tmp/multipartBody8917377163749355423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161253572,"filename":"image_02052025_02_58_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/5/2/2a7f5570914faed0f3bbbe44b64f3207.jpg","text":"TemporaryFile(/tmp/multipartBody9155645206950598037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161253572,"filename":"image_02052025_02_58_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/5/2/fe67b28245b818bdb60a91ee0ade1ae7.jpg","text":"TemporaryFile(/tmp/multipartBody8845739882062264876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161253572,"filename":"image_02052025_02_58_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0a136a4759fddd651256da448370ddb5.jpg","text":"TemporaryFile(/tmp/multipartBody4944443534618538898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161253572,"filename":"image_02052025_02_57_54_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f853b3d2628485de000877382edaf73d.jpg","text":"TemporaryFile(/tmp/multipartBody3065732201820644297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161253572,"filename":"image_02052025_02_58_15_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222038","file1":"1355222028","file0":"1355222027","file4":"1355222046","file5":"1355222048","file3":"1355222043"},"map_files_photo_id_array":[{"photo_id":"1355222048","filename":"file5"},{"photo_id":"1355222038","filename":"file2"},{"photo_id":"1355222046","filename":"file4"},{"photo_id":"1355222028","filename":"file1"},{"photo_id":"1355222027","filename":"file0"},{"photo_id":"1355222043","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222043":["hashtag1","hashtag2"]},{"1355222046":["hashtag1","hashtag2"]},{"1355222028":["hashtag1","hashtag2"]},{"1355222048":["hashtag1","hashtag2"]},{"1355222027":["hashtag1","hashtag2"]},{"1355222038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222043, 1355222046, 1355222028, 1355222048, 1355222027, 1355222038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.650729417800903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:47:32.343529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/58/image_02052025_02_58_55_10451.jpg', '/home/pi/Desktop/images/02052025/02/58/image_02052025_02_59_05_10365.jpg', '/home/pi/Desktop/images/02052025/02/59/image_02052025_02_59_15_9458.jpg', '/home/pi/Desktop/images/02052025/02/59/image_02052025_02_59_25_10367.jpg', '/home/pi/Desktop/images/02052025/02/59/image_02052025_02_59_34_9447.jpg', '/home/pi/Desktop/images/02052025/02/59/image_02052025_02_59_45_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/58/image_02052025_02_58_55_10451.jpg
/home/pi/Desktop/images/02052025/02/58/image_02052025_02_59_05_10365.jpg
/home/pi/Desktop/images/02052025/02/59/image_02052025_02_59_15_9458.jpg
/home/pi/Desktop/images/02052025/02/59/image_02052025_02_59_25_10367.jpg
/home/pi/Desktop/images/02052025/02/59/image_02052025_02_59_34_9447.jpg
/home/pi/Desktop/images/02052025/02/59/image_02052025_02_59_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":["1355222073","1355222097","1355222082","1355222070","1355222065","1355222068"],"photo_ids_order":["1355222065","1355222068","1355222070","1355222073","1355222082","1355222097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2161fcc2fde801242e63632959d2a4a1.jpg","text":"TemporaryFile(/tmp/multipartBody2421536136941283820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161312900,"filename":"image_02052025_02_59_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/5/2/28311b6053170b0b7f5d12efe300795e.jpg","text":"TemporaryFile(/tmp/multipartBody13088735881708128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161312900,"filename":"image_02052025_02_59_45_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/438585f7cb49ce5ce91f01f0084e32aa.jpg","text":"TemporaryFile(/tmp/multipartBody4101935859607277328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161312900,"filename":"image_02052025_02_59_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/5/2/88e5a7e9cb03333f9482784ddb8cf061.jpg","text":"TemporaryFile(/tmp/multipartBody7982781241907190195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161312900,"filename":"image_02052025_02_59_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/5/2/080fa7da73071c375ffa22b9209490cb.jpg","text":"TemporaryFile(/tmp/multipartBody6544466544858065769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161312900,"filename":"image_02052025_02_58_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f69ca7d429da70d3f92718e2a78cb182.jpg","text":"TemporaryFile(/tmp/multipartBody8018752758371876683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161312900,"filename":"image_02052025_02_59_05_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222070","file1":"1355222068","file0":"1355222065","file4":"1355222082","file5":"1355222097","file3":"1355222073"},"map_files_photo_id_array":[{"photo_id":"1355222097","filename":"file5"},{"photo_id":"1355222070","filename":"file2"},{"photo_id":"1355222082","filename":"file4"},{"photo_id":"1355222068","filename":"file1"},{"photo_id":"1355222065","filename":"file0"},{"photo_id":"1355222073","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222073":["hashtag1","hashtag2"]},{"1355222097":["hashtag1","hashtag2"]},{"1355222082":["hashtag1","hashtag2"]},{"1355222070":["hashtag1","hashtag2"]},{"1355222065":["hashtag1","hashtag2"]},{"1355222068":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222073, 1355222097, 1355222082, 1355222070, 1355222065, 1355222068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15955996513367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:48:32.478928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/02/59/image_02052025_02_59_54_9358.jpg', '/home/pi/Desktop/images/02052025/03/01/image_02052025_03_01_14_10076.jpg', '/home/pi/Desktop/images/02052025/03/01/image_02052025_03_01_24_10438.jpg', '/home/pi/Desktop/images/02052025/03/01/image_02052025_03_01_35_10345.jpg', '/home/pi/Desktop/images/02052025/03/01/image_02052025_03_01_44_9345.jpg', '/home/pi/Desktop/images/02052025/03/01/image_02052025_03_01_54_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/02/59/image_02052025_02_59_54_9358.jpg
/home/pi/Desktop/images/02052025/03/01/image_02052025_03_01_14_10076.jpg
/home/pi/Desktop/images/02052025/03/01/image_02052025_03_01_24_10438.jpg
/home/pi/Desktop/images/02052025/03/01/image_02052025_03_01_35_10345.jpg
/home/pi/Desktop/images/02052025/03/01/image_02052025_03_01_44_9345.jpg
/home/pi/Desktop/images/02052025/03/01/image_02052025_03_01_54_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":["1355222138","1355222117","1355222114","1355222131","1355222125","1355222122"],"photo_ids_order":["1355222114","1355222117","1355222122","1355222125","1355222131","1355222138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0acd50be536497483e01d3e80461a700.jpg","text":"TemporaryFile(/tmp/multipartBody4516532762737869736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161373049,"filename":"image_02052025_03_01_54_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/464da5d7a29bfebe0c69533f5c7f9352.jpg","text":"TemporaryFile(/tmp/multipartBody3838724474527054121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161373049,"filename":"image_02052025_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/5/2/a8d86ee4974eb2011f40b072fd01e208.jpg","text":"TemporaryFile(/tmp/multipartBody4753957317945966285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161373049,"filename":"image_02052025_02_59_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/69f484f0040882d3a8be0bd9ddb6d1d8.jpg","text":"TemporaryFile(/tmp/multipartBody3182933556844728074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161373049,"filename":"image_02052025_03_01_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/5/2/eb6ee301faaffcc82047b10d039f6018.jpg","text":"TemporaryFile(/tmp/multipartBody2559144185204815370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161373049,"filename":"image_02052025_03_01_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/5/2/5ae25832865a10e2ddf23355ca9c22dd.jpg","text":"TemporaryFile(/tmp/multipartBody958683382776481736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161373049,"filename":"image_02052025_03_01_24_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222122","file1":"1355222117","file0":"1355222114","file4":"1355222131","file5":"1355222138","file3":"1355222125"},"map_files_photo_id_array":[{"photo_id":"1355222138","filename":"file5"},{"photo_id":"1355222122","filename":"file2"},{"photo_id":"1355222131","filename":"file4"},{"photo_id":"1355222117","filename":"file1"},{"photo_id":"1355222114","filename":"file0"},{"photo_id":"1355222125","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222138":["hashtag1","hashtag2"]},{"1355222117":["hashtag1","hashtag2"]},{"1355222114":["hashtag1","hashtag2"]},{"1355222131":["hashtag1","hashtag2"]},{"1355222125":["hashtag1","hashtag2"]},{"1355222122":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222138, 1355222117, 1355222114, 1355222131, 1355222125, 1355222122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97398781776428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:49:32.778918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/01/image_02052025_03_02_05_10361.jpg', '/home/pi/Desktop/images/02052025/03/02/image_02052025_03_02_14_9343.jpg', '/home/pi/Desktop/images/02052025/03/02/image_02052025_03_02_25_10422.jpg', '/home/pi/Desktop/images/02052025/03/02/image_02052025_03_02_34_9350.jpg', '/home/pi/Desktop/images/02052025/03/02/image_02052025_03_02_44_10399.jpg', '/home/pi/Desktop/images/02052025/03/02/image_02052025_03_02_55_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/01/image_02052025_03_02_05_10361.jpg
/home/pi/Desktop/images/02052025/03/02/image_02052025_03_02_14_9343.jpg
/home/pi/Desktop/images/02052025/03/02/image_02052025_03_02_25_10422.jpg
/home/pi/Desktop/images/02052025/03/02/image_02052025_03_02_34_9350.jpg
/home/pi/Desktop/images/02052025/03/02/image_02052025_03_02_44_10399.jpg
/home/pi/Desktop/images/02052025/03/02/image_02052025_03_02_55_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355222175","1355222178","1355222177","1355222168","1355222170","1355222173"],"photo_ids_order":["1355222168","1355222170","1355222173","1355222175","1355222177","1355222178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e27ad12f6ea72d190b006b7afa5daa44.jpg","text":"TemporaryFile(/tmp/multipartBody7045997787081253145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161433339,"filename":"image_02052025_03_02_34_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb1d374a424391c506c0a60f0fc207d1.jpg","text":"TemporaryFile(/tmp/multipartBody2258030004866002316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161433339,"filename":"image_02052025_03_02_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/80aceb842416d5ba55274e1c90166ba7.jpg","text":"TemporaryFile(/tmp/multipartBody6360299871489576443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161433339,"filename":"image_02052025_03_02_44_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/08120dc5219e848b6bcdd7ef2d8ed1fd.jpg","text":"TemporaryFile(/tmp/multipartBody7497232078131563292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161433339,"filename":"image_02052025_03_02_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/5/2/01a3b6a53a03596c8496aefe38c6bc69.jpg","text":"TemporaryFile(/tmp/multipartBody9001686250249829421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161433339,"filename":"image_02052025_03_02_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/5/2/977c459f0ee9ddecda9d7ab07cd9b721.jpg","text":"TemporaryFile(/tmp/multipartBody5731885926416362451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161433339,"filename":"image_02052025_03_02_25_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222173","file1":"1355222170","file0":"1355222168","file4":"1355222177","file5":"1355222178","file3":"1355222175"},"map_files_photo_id_array":[{"photo_id":"1355222178","filename":"file5"},{"photo_id":"1355222173","filename":"file2"},{"photo_id":"1355222177","filename":"file4"},{"photo_id":"1355222170","filename":"file1"},{"photo_id":"1355222168","filename":"file0"},{"photo_id":"1355222175","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222175":["hashtag1","hashtag2"]},{"1355222178":["hashtag1","hashtag2"]},{"1355222177":["hashtag1","hashtag2"]},{"1355222168":["hashtag1","hashtag2"]},{"1355222170":["hashtag1","hashtag2"]},{"1355222173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222175, 1355222178, 1355222177, 1355222168, 1355222170, 1355222173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.313496351242065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:50:33.094247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/02/image_02052025_03_03_04_9422.jpg', '/home/pi/Desktop/images/02052025/03/03/image_02052025_03_03_14_10356.jpg', '/home/pi/Desktop/images/02052025/03/03/image_02052025_03_03_25_10370.jpg', '/home/pi/Desktop/images/02052025/03/03/image_02052025_03_03_35_9782.jpg', '/home/pi/Desktop/images/02052025/03/03/image_02052025_03_03_44_9363.jpg', '/home/pi/Desktop/images/02052025/03/03/image_02052025_03_03_54_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/02/image_02052025_03_03_04_9422.jpg
/home/pi/Desktop/images/02052025/03/03/image_02052025_03_03_14_10356.jpg
/home/pi/Desktop/images/02052025/03/03/image_02052025_03_03_25_10370.jpg
/home/pi/Desktop/images/02052025/03/03/image_02052025_03_03_35_9782.jpg
/home/pi/Desktop/images/02052025/03/03/image_02052025_03_03_44_9363.jpg
/home/pi/Desktop/images/02052025/03/03/image_02052025_03_03_54_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355222196","1355222205","1355222192","1355222201","1355222204","1355222190"],"photo_ids_order":["1355222190","1355222192","1355222196","1355222201","1355222204","1355222205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c5ce7c4ec47664cefc0fa958f8710e0.jpg","text":"TemporaryFile(/tmp/multipartBody5487435807465318618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161493652,"filename":"image_02052025_03_03_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/5/2/47b9e19e30e2c99e21564a24523d7e36.jpg","text":"TemporaryFile(/tmp/multipartBody1786271256651757219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161493652,"filename":"image_02052025_03_03_54_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/015e70980a448b1c8f7c61c3415e2b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2260372052070822656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161493652,"filename":"image_02052025_03_03_14_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0546fc71699849ab6f2e7e6c733b2e8.jpg","text":"TemporaryFile(/tmp/multipartBody2398605351089757099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161493652,"filename":"image_02052025_03_03_35_9782.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7cb5a377255620dc0ea8daef389d65c9.jpg","text":"TemporaryFile(/tmp/multipartBody9088112818860447096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161493652,"filename":"image_02052025_03_03_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee39d0f238d8cb4288f555cb206492b2.jpg","text":"TemporaryFile(/tmp/multipartBody7679239647062835236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161493652,"filename":"image_02052025_03_03_04_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222196","file1":"1355222192","file0":"1355222190","file4":"1355222204","file5":"1355222205","file3":"1355222201"},"map_files_photo_id_array":[{"photo_id":"1355222205","filename":"file5"},{"photo_id":"1355222196","filename":"file2"},{"photo_id":"1355222204","filename":"file4"},{"photo_id":"1355222192","filename":"file1"},{"photo_id":"1355222190","filename":"file0"},{"photo_id":"1355222201","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222196":["hashtag1","hashtag2"]},{"1355222205":["hashtag1","hashtag2"]},{"1355222192":["hashtag1","hashtag2"]},{"1355222201":["hashtag1","hashtag2"]},{"1355222204":["hashtag1","hashtag2"]},{"1355222190":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222196, 1355222205, 1355222192, 1355222201, 1355222204, 1355222190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.748494148254395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:51:32.258240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/03/image_02052025_03_04_05_10359.jpg', '/home/pi/Desktop/images/02052025/03/04/image_02052025_03_04_14_9404.jpg', '/home/pi/Desktop/images/02052025/03/04/image_02052025_03_04_25_10446.jpg', '/home/pi/Desktop/images/02052025/03/04/image_02052025_03_04_34_9349.jpg', '/home/pi/Desktop/images/02052025/03/04/image_02052025_03_04_44_10471.jpg', '/home/pi/Desktop/images/02052025/03/04/image_02052025_03_04_55_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/03/image_02052025_03_04_05_10359.jpg
/home/pi/Desktop/images/02052025/03/04/image_02052025_03_04_14_9404.jpg
/home/pi/Desktop/images/02052025/03/04/image_02052025_03_04_25_10446.jpg
/home/pi/Desktop/images/02052025/03/04/image_02052025_03_04_34_9349.jpg
/home/pi/Desktop/images/02052025/03/04/image_02052025_03_04_44_10471.jpg
/home/pi/Desktop/images/02052025/03/04/image_02052025_03_04_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":["1355222235","1355222238","1355222237","1355222224","1355222233","1355222227"],"photo_ids_order":["1355222224","1355222227","1355222233","1355222235","1355222237","1355222238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/095ab704850b7d8dc27c4a974ce5cf86.jpg","text":"TemporaryFile(/tmp/multipartBody6743565604928545976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161552810,"filename":"image_02052025_03_04_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/706443d6ee23e3adfecffb707a69e192.jpg","text":"TemporaryFile(/tmp/multipartBody8318942718165609834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161552810,"filename":"image_02052025_03_04_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/5/2/417fedc09827c2a67d432b45396e7986.jpg","text":"TemporaryFile(/tmp/multipartBody3714026473604162444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161552810,"filename":"image_02052025_03_04_44_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0a227e0f8f848b62d4bfef31157c27a7.jpg","text":"TemporaryFile(/tmp/multipartBody2457367227272085937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161552810,"filename":"image_02052025_03_04_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/200976023b14695485ff001892194858.jpg","text":"TemporaryFile(/tmp/multipartBody3858400319654671737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161552810,"filename":"image_02052025_03_04_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/5/2/5a5f9812617ddc108976779faf8dcde2.jpg","text":"TemporaryFile(/tmp/multipartBody7277558907747937869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161552810,"filename":"image_02052025_03_04_14_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222233","file1":"1355222227","file0":"1355222224","file4":"1355222237","file5":"1355222238","file3":"1355222235"},"map_files_photo_id_array":[{"photo_id":"1355222238","filename":"file5"},{"photo_id":"1355222233","filename":"file2"},{"photo_id":"1355222237","filename":"file4"},{"photo_id":"1355222227","filename":"file1"},{"photo_id":"1355222224","filename":"file0"},{"photo_id":"1355222235","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222235":["hashtag1","hashtag2"]},{"1355222238":["hashtag1","hashtag2"]},{"1355222237":["hashtag1","hashtag2"]},{"1355222224":["hashtag1","hashtag2"]},{"1355222233":["hashtag1","hashtag2"]},{"1355222227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222235, 1355222238, 1355222237, 1355222224, 1355222233, 1355222227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.814406394958496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:52:32.502228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/04/image_02052025_03_05_04_9351.jpg', '/home/pi/Desktop/images/02052025/03/05/image_02052025_03_05_15_10465.jpg', '/home/pi/Desktop/images/02052025/03/05/image_02052025_03_05_24_9370.jpg', '/home/pi/Desktop/images/02052025/03/05/image_02052025_03_05_34_10371.jpg', '/home/pi/Desktop/images/02052025/03/05/image_02052025_03_05_45_10370.jpg', '/home/pi/Desktop/images/02052025/03/05/image_02052025_03_05_54_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/04/image_02052025_03_05_04_9351.jpg
/home/pi/Desktop/images/02052025/03/05/image_02052025_03_05_15_10465.jpg
/home/pi/Desktop/images/02052025/03/05/image_02052025_03_05_24_9370.jpg
/home/pi/Desktop/images/02052025/03/05/image_02052025_03_05_34_10371.jpg
/home/pi/Desktop/images/02052025/03/05/image_02052025_03_05_45_10370.jpg
/home/pi/Desktop/images/02052025/03/05/image_02052025_03_05_54_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355222264","1355222252","1355222261","1355222255","1355222257","1355222266"],"photo_ids_order":["1355222252","1355222255","1355222257","1355222261","1355222264","1355222266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/548f226a38d0ebea0043d6ae72fdb3ca.jpg","text":"TemporaryFile(/tmp/multipartBody7436896607308151585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161613040,"filename":"image_02052025_03_05_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/5/2/b272df77ae6c3908ee7a4c18f303d65a.jpg","text":"TemporaryFile(/tmp/multipartBody3921059888933119476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161613040,"filename":"image_02052025_03_05_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/5/2/160b98ea54c7eed9ea857f2fd90367aa.jpg","text":"TemporaryFile(/tmp/multipartBody7732860903611665687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161613040,"filename":"image_02052025_03_05_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6340132ec58f6b220e2917a89b6de819.jpg","text":"TemporaryFile(/tmp/multipartBody6617804884376752443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161613040,"filename":"image_02052025_03_05_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/5/2/2ecb801ea9a609f072314f45f491b757.jpg","text":"TemporaryFile(/tmp/multipartBody1247229870316067518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161613040,"filename":"image_02052025_03_05_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/5/2/290c61d6d0fd2d6e9c1e3ee817c874bd.jpg","text":"TemporaryFile(/tmp/multipartBody8162659770121902432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161613040,"filename":"image_02052025_03_05_54_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222257","file1":"1355222255","file0":"1355222252","file4":"1355222264","file5":"1355222266","file3":"1355222261"},"map_files_photo_id_array":[{"photo_id":"1355222266","filename":"file5"},{"photo_id":"1355222257","filename":"file2"},{"photo_id":"1355222264","filename":"file4"},{"photo_id":"1355222255","filename":"file1"},{"photo_id":"1355222252","filename":"file0"},{"photo_id":"1355222261","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222264":["hashtag1","hashtag2"]},{"1355222252":["hashtag1","hashtag2"]},{"1355222261":["hashtag1","hashtag2"]},{"1355222255":["hashtag1","hashtag2"]},{"1355222257":["hashtag1","hashtag2"]},{"1355222266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222264, 1355222252, 1355222261, 1355222255, 1355222257, 1355222266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.12405014038086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:53:32.804443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/05/image_02052025_03_06_04_10360.jpg', '/home/pi/Desktop/images/02052025/03/06/image_02052025_03_06_15_10358.jpg', '/home/pi/Desktop/images/02052025/03/06/image_02052025_03_06_24_9479.jpg', '/home/pi/Desktop/images/02052025/03/06/image_02052025_03_06_35_10349.jpg', '/home/pi/Desktop/images/02052025/03/06/image_02052025_03_06_44_9359.jpg', '/home/pi/Desktop/images/02052025/03/06/image_02052025_03_06_54_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/05/image_02052025_03_06_04_10360.jpg
/home/pi/Desktop/images/02052025/03/06/image_02052025_03_06_15_10358.jpg
/home/pi/Desktop/images/02052025/03/06/image_02052025_03_06_24_9479.jpg
/home/pi/Desktop/images/02052025/03/06/image_02052025_03_06_35_10349.jpg
/home/pi/Desktop/images/02052025/03/06/image_02052025_03_06_44_9359.jpg
/home/pi/Desktop/images/02052025/03/06/image_02052025_03_06_54_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":["1355222292","1355222289","1355222294","1355222285","1355222287","1355222290"],"photo_ids_order":["1355222285","1355222287","1355222289","1355222290","1355222292","1355222294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6d02521b07c8cefe6402d4bec83e4fd.jpg","text":"TemporaryFile(/tmp/multipartBody7648545406852544831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161673358,"filename":"image_02052025_03_06_44_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a0ba233422c45acaa47a66c3033cccb.jpg","text":"TemporaryFile(/tmp/multipartBody484999780785273608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161673358,"filename":"image_02052025_03_06_24_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e4f75470602163fce385c25e9fa0c76f.jpg","text":"TemporaryFile(/tmp/multipartBody4720279090430724560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161673358,"filename":"image_02052025_03_06_54_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8a65bfd4782aa356494149e3f56fb408.jpg","text":"TemporaryFile(/tmp/multipartBody2009821814727027528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161673358,"filename":"image_02052025_03_06_04_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa5bf65cc7fefda7d0530744a5858a8a.jpg","text":"TemporaryFile(/tmp/multipartBody7803546601149239059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161673358,"filename":"image_02052025_03_06_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8cfa34ad6feb0cf370ddc11e5c81d823.jpg","text":"TemporaryFile(/tmp/multipartBody6202875865698444948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161673358,"filename":"image_02052025_03_06_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222289","file1":"1355222287","file0":"1355222285","file4":"1355222292","file5":"1355222294","file3":"1355222290"},"map_files_photo_id_array":[{"photo_id":"1355222294","filename":"file5"},{"photo_id":"1355222289","filename":"file2"},{"photo_id":"1355222292","filename":"file4"},{"photo_id":"1355222287","filename":"file1"},{"photo_id":"1355222285","filename":"file0"},{"photo_id":"1355222290","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222292":["hashtag1","hashtag2"]},{"1355222289":["hashtag1","hashtag2"]},{"1355222294":["hashtag1","hashtag2"]},{"1355222285":["hashtag1","hashtag2"]},{"1355222287":["hashtag1","hashtag2"]},{"1355222290":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222292, 1355222289, 1355222294, 1355222285, 1355222287, 1355222290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.62183451652527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:54:32.959438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/06/image_02052025_03_07_05_10386.jpg', '/home/pi/Desktop/images/02052025/03/07/image_02052025_03_07_14_9345.jpg', '/home/pi/Desktop/images/02052025/03/07/image_02052025_03_07_25_10436.jpg', '/home/pi/Desktop/images/02052025/03/07/image_02052025_03_07_34_9338.jpg', '/home/pi/Desktop/images/02052025/03/07/image_02052025_03_07_44_10468.jpg', '/home/pi/Desktop/images/02052025/03/07/image_02052025_03_07_55_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/06/image_02052025_03_07_05_10386.jpg
/home/pi/Desktop/images/02052025/03/07/image_02052025_03_07_14_9345.jpg
/home/pi/Desktop/images/02052025/03/07/image_02052025_03_07_25_10436.jpg
/home/pi/Desktop/images/02052025/03/07/image_02052025_03_07_34_9338.jpg
/home/pi/Desktop/images/02052025/03/07/image_02052025_03_07_44_10468.jpg
/home/pi/Desktop/images/02052025/03/07/image_02052025_03_07_55_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355222316","1355222331","1355222332","1355222326","1355222320","1355222314"],"photo_ids_order":["1355222314","1355222316","1355222320","1355222326","1355222331","1355222332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/635ae9878816321b8318db65d0b77c79.jpg","text":"TemporaryFile(/tmp/multipartBody6749785006305493608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161733513,"filename":"image_02052025_03_07_14_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/501a89c67f23e2dfaa6b1f4e40b64973.jpg","text":"TemporaryFile(/tmp/multipartBody7532298578474779335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161733513,"filename":"image_02052025_03_07_44_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39e8461d146095aa33c4d949d5fa43a3.jpg","text":"TemporaryFile(/tmp/multipartBody1615864036853824432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161733513,"filename":"image_02052025_03_07_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/5/2/c45cb81d5bd1343efd6114838719d764.jpg","text":"TemporaryFile(/tmp/multipartBody5732573999005501084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161733513,"filename":"image_02052025_03_07_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/5/2/72e7244e04ed7f5cfb4a3f6ff0646d2b.jpg","text":"TemporaryFile(/tmp/multipartBody3994264043381061476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161733513,"filename":"image_02052025_03_07_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/5/2/c5e0c2eeb773d664e52e0038d6b88a0f.jpg","text":"TemporaryFile(/tmp/multipartBody4844152010952470430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161733513,"filename":"image_02052025_03_07_05_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222320","file1":"1355222316","file0":"1355222314","file4":"1355222331","file5":"1355222332","file3":"1355222326"},"map_files_photo_id_array":[{"photo_id":"1355222332","filename":"file5"},{"photo_id":"1355222320","filename":"file2"},{"photo_id":"1355222331","filename":"file4"},{"photo_id":"1355222316","filename":"file1"},{"photo_id":"1355222314","filename":"file0"},{"photo_id":"1355222326","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222316":["hashtag1","hashtag2"]},{"1355222331":["hashtag1","hashtag2"]},{"1355222332":["hashtag1","hashtag2"]},{"1355222326":["hashtag1","hashtag2"]},{"1355222320":["hashtag1","hashtag2"]},{"1355222314":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222316, 1355222331, 1355222332, 1355222326, 1355222320, 1355222314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.153141736984253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:55:32.202703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/07/image_02052025_03_08_04_9361.jpg', '/home/pi/Desktop/images/02052025/03/08/image_02052025_03_08_15_10433.jpg', '/home/pi/Desktop/images/02052025/03/08/image_02052025_03_08_24_9453.jpg', '/home/pi/Desktop/images/02052025/03/08/image_02052025_03_08_34_10361.jpg', '/home/pi/Desktop/images/02052025/03/08/image_02052025_03_08_45_10351.jpg', '/home/pi/Desktop/images/02052025/03/08/image_02052025_03_08_54_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/07/image_02052025_03_08_04_9361.jpg
/home/pi/Desktop/images/02052025/03/08/image_02052025_03_08_15_10433.jpg
/home/pi/Desktop/images/02052025/03/08/image_02052025_03_08_24_9453.jpg
/home/pi/Desktop/images/02052025/03/08/image_02052025_03_08_34_10361.jpg
/home/pi/Desktop/images/02052025/03/08/image_02052025_03_08_45_10351.jpg
/home/pi/Desktop/images/02052025/03/08/image_02052025_03_08_54_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":["1355222355","1355222349","1355222363","1355222366","1355222345","1355222360"],"photo_ids_order":["1355222345","1355222349","1355222355","1355222360","1355222363","1355222366"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fafd50cd77a03ec890ad9e1623799752.jpg","text":"TemporaryFile(/tmp/multipartBody1119195129617332657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161792761,"filename":"image_02052025_03_08_24_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/368998c532ff7506d9149f431bba4573.jpg","text":"TemporaryFile(/tmp/multipartBody6251940030263051722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161792761,"filename":"image_02052025_03_08_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/5/2/5188aa0957b9a27001445ca22475e479.jpg","text":"TemporaryFile(/tmp/multipartBody2780011926270081970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161792761,"filename":"image_02052025_03_08_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/5/2/b8e0c2dd7832bafc1e77e6bde76ebc44.jpg","text":"TemporaryFile(/tmp/multipartBody215071741240937772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161792761,"filename":"image_02052025_03_08_54_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c8e45aaff52de5e5098491e9dbd4616b.jpg","text":"TemporaryFile(/tmp/multipartBody561335968609012027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161792761,"filename":"image_02052025_03_08_04_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6a9249f2b6afaaaadc1958c28d43a2e3.jpg","text":"TemporaryFile(/tmp/multipartBody2281162760572945950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161792761,"filename":"image_02052025_03_08_34_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222355","file1":"1355222349","file0":"1355222345","file4":"1355222363","file5":"1355222366","file3":"1355222360"},"map_files_photo_id_array":[{"photo_id":"1355222366","filename":"file5"},{"photo_id":"1355222355","filename":"file2"},{"photo_id":"1355222363","filename":"file4"},{"photo_id":"1355222349","filename":"file1"},{"photo_id":"1355222345","filename":"file0"},{"photo_id":"1355222360","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222355":["hashtag1","hashtag2"]},{"1355222349":["hashtag1","hashtag2"]},{"1355222363":["hashtag1","hashtag2"]},{"1355222366":["hashtag1","hashtag2"]},{"1355222345":["hashtag1","hashtag2"]},{"1355222360":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222355, 1355222349, 1355222363, 1355222366, 1355222345, 1355222360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.884214639663696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:56:32.442138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/08/image_02052025_03_09_04_10375.jpg', '/home/pi/Desktop/images/02052025/03/09/image_02052025_03_09_15_10371.jpg', '/home/pi/Desktop/images/02052025/03/09/image_02052025_03_09_24_9475.jpg', '/home/pi/Desktop/images/02052025/03/09/image_02052025_03_09_35_10422.jpg', '/home/pi/Desktop/images/02052025/03/09/image_02052025_03_09_55_10421.jpg', '/home/pi/Desktop/images/02052025/03/09/image_02052025_03_10_04_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/08/image_02052025_03_09_04_10375.jpg
/home/pi/Desktop/images/02052025/03/09/image_02052025_03_09_15_10371.jpg
/home/pi/Desktop/images/02052025/03/09/image_02052025_03_09_24_9475.jpg
/home/pi/Desktop/images/02052025/03/09/image_02052025_03_09_35_10422.jpg
/home/pi/Desktop/images/02052025/03/09/image_02052025_03_09_55_10421.jpg
/home/pi/Desktop/images/02052025/03/09/image_02052025_03_10_04_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355222586","1355222576","1355222579","1355222564","1355222536","1355222589"],"photo_ids_order":["1355222536","1355222564","1355222576","1355222579","1355222586","1355222589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30b28aa514ebd7a8d0448a03ab9f77f0.jpg","text":"TemporaryFile(/tmp/multipartBody51943924095748964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161853051,"filename":"image_02052025_03_09_55_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/597f0560a7f9b8a0fd7ff0aaf79fbf3c.jpg","text":"TemporaryFile(/tmp/multipartBody8511530402788513624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161853051,"filename":"image_02052025_03_09_24_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5537c4b48e580939b2a173465f0a9567.jpg","text":"TemporaryFile(/tmp/multipartBody521056837467033389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161853051,"filename":"image_02052025_03_09_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/5/2/08eb88ce400485f326d0442092ecc918.jpg","text":"TemporaryFile(/tmp/multipartBody5579209642060702737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161853051,"filename":"image_02052025_03_09_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/5/2/d9d1f0d1d070711cbc0717b64ae8caad.jpg","text":"TemporaryFile(/tmp/multipartBody590550554006824186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161853051,"filename":"image_02052025_03_09_04_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09a90f08bdf2c2d2bbcfaaf02cec42a0.jpg","text":"TemporaryFile(/tmp/multipartBody5191793252137873191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746161853051,"filename":"image_02052025_03_10_04_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355222576","file1":"1355222564","file0":"1355222536","file4":"1355222586","file5":"1355222589","file3":"1355222579"},"map_files_photo_id_array":[{"photo_id":"1355222589","filename":"file5"},{"photo_id":"1355222576","filename":"file2"},{"photo_id":"1355222586","filename":"file4"},{"photo_id":"1355222564","filename":"file1"},{"photo_id":"1355222536","filename":"file0"},{"photo_id":"1355222579","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355222586":["hashtag1","hashtag2"]},{"1355222576":["hashtag1","hashtag2"]},{"1355222579":["hashtag1","hashtag2"]},{"1355222564":["hashtag1","hashtag2"]},{"1355222536":["hashtag1","hashtag2"]},{"1355222589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355222586, 1355222576, 1355222579, 1355222564, 1355222536, 1355222589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96001386642456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 06:57:33.684598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_14_10456.jpg', '/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_25_10387.jpg', '/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_34_9350.jpg', '/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_44_10412.jpg', '/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_55_10372.jpg', '/home/pi/Desktop/images/02052025/03/10/image_02052025_03_11_04_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_14_10456.jpg
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_25_10387.jpg
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_34_9350.jpg
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_44_10412.jpg
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_55_10372.jpg
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_11_04_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 06:59:04.400248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_14_10456.jpg', '/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_25_10387.jpg', '/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_34_9350.jpg', '/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_44_10412.jpg', '/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_55_10372.jpg', '/home/pi/Desktop/images/02052025/03/10/image_02052025_03_11_04_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_14_10456.jpg
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_25_10387.jpg
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_34_9350.jpg
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_44_10412.jpg
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_10_55_10372.jpg
/home/pi/Desktop/images/02052025/03/10/image_02052025_03_11_04_9442.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355223893","1355223644","1355223803","1355223486","1355223561","1355223720"],"photo_ids_order":["1355223486","1355223561","1355223644","1355223720","1355223803","1355223893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf2a894f1cfdd0bc5b28ea2588476466.jpg","text":"TemporaryFile(/tmp/multipartBody7429118649283725242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162005090,"filename":"image_02052025_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/5/2/519af2c443f5fc149f0480aa2f548572.jpg","text":"TemporaryFile(/tmp/multipartBody1711545103985600803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162005090,"filename":"image_02052025_03_10_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/5/2/6bd79f81f7cc5dcfe0143f2210375e9b.jpg","text":"TemporaryFile(/tmp/multipartBody4334796691626055064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162005090,"filename":"image_02052025_03_10_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/5/2/216b74779f7ba328ad28d9f61935b4f5.jpg","text":"TemporaryFile(/tmp/multipartBody5147099966834306885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162005090,"filename":"image_02052025_03_10_14_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/764d35297ec300cd1333a7fc3afa0fa8.jpg","text":"TemporaryFile(/tmp/multipartBody2698435881591139090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162005090,"filename":"image_02052025_03_10_25_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db11a38ef69101e110e5cca8c5c79a54.jpg","text":"TemporaryFile(/tmp/multipartBody3257826707923703572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162005090,"filename":"image_02052025_03_10_44_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355223644","file1":"1355223561","file0":"1355223486","file4":"1355223803","file5":"1355223893","file3":"1355223720"},"map_files_photo_id_array":[{"photo_id":"1355223893","filename":"file5"},{"photo_id":"1355223644","filename":"file2"},{"photo_id":"1355223803","filename":"file4"},{"photo_id":"1355223561","filename":"file1"},{"photo_id":"1355223486","filename":"file0"},{"photo_id":"1355223720","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355223893":["hashtag1","hashtag2"]},{"1355223644":["hashtag1","hashtag2"]},{"1355223803":["hashtag1","hashtag2"]},{"1355223486":["hashtag1","hashtag2"]},{"1355223561":["hashtag1","hashtag2"]},{"1355223720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355223893, 1355223644, 1355223803, 1355223486, 1355223561, 1355223720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33879327774048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 06:59:43.086988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/11/image_02052025_03_11_15_10341.jpg', '/home/pi/Desktop/images/02052025/03/11/image_02052025_03_11_24_9358.jpg', '/home/pi/Desktop/images/02052025/03/11/image_02052025_03_11_34_10475.jpg', '/home/pi/Desktop/images/02052025/03/11/image_02052025_03_11_45_10360.jpg', '/home/pi/Desktop/images/02052025/03/11/image_02052025_03_11_54_9452.jpg', '/home/pi/Desktop/images/02052025/03/11/image_02052025_03_12_05_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/11/image_02052025_03_11_15_10341.jpg
/home/pi/Desktop/images/02052025/03/11/image_02052025_03_11_24_9358.jpg
/home/pi/Desktop/images/02052025/03/11/image_02052025_03_11_34_10475.jpg
/home/pi/Desktop/images/02052025/03/11/image_02052025_03_11_45_10360.jpg
/home/pi/Desktop/images/02052025/03/11/image_02052025_03_11_54_9452.jpg
/home/pi/Desktop/images/02052025/03/11/image_02052025_03_12_05_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355224157","1355224259","1355224351","1355224324","1355224296","1355224209"],"photo_ids_order":["1355224157","1355224209","1355224259","1355224296","1355224324","1355224351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6820baaa7f912a8e21960b839d8d9d7d.jpg","text":"TemporaryFile(/tmp/multipartBody19276728555552159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162043628,"filename":"image_02052025_03_11_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/07e3150c2fcc885005c39c047e465e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3813916418640604942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162043628,"filename":"image_02052025_03_11_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/5/2/93ae7905df6c93993d742bafbfba6945.jpg","text":"TemporaryFile(/tmp/multipartBody1813415431890723440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162043628,"filename":"image_02052025_03_12_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/5/2/33d4c791722f707bb20aedaa93e8fc53.jpg","text":"TemporaryFile(/tmp/multipartBody9069836958127063797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162043628,"filename":"image_02052025_03_11_54_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a3b21b9a280959c0f18ff7d394078389.jpg","text":"TemporaryFile(/tmp/multipartBody6775785980774900938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162043628,"filename":"image_02052025_03_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/5/2/5267e10265c42e9672e13ac027105e04.jpg","text":"TemporaryFile(/tmp/multipartBody8699011070380653498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162043628,"filename":"image_02052025_03_11_24_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355224259","file1":"1355224209","file0":"1355224157","file4":"1355224324","file5":"1355224351","file3":"1355224296"},"map_files_photo_id_array":[{"photo_id":"1355224351","filename":"file5"},{"photo_id":"1355224259","filename":"file2"},{"photo_id":"1355224324","filename":"file4"},{"photo_id":"1355224209","filename":"file1"},{"photo_id":"1355224157","filename":"file0"},{"photo_id":"1355224296","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355224157":["hashtag1","hashtag2"]},{"1355224259":["hashtag1","hashtag2"]},{"1355224351":["hashtag1","hashtag2"]},{"1355224324":["hashtag1","hashtag2"]},{"1355224296":["hashtag1","hashtag2"]},{"1355224209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355224157, 1355224259, 1355224351, 1355224324, 1355224296, 1355224209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.40399932861328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:00:32.444212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/12/image_02052025_03_12_14_9348.jpg', '/home/pi/Desktop/images/02052025/03/12/image_02052025_03_12_24_10379.jpg', '/home/pi/Desktop/images/02052025/03/12/image_02052025_03_12_35_10343.jpg', '/home/pi/Desktop/images/02052025/03/12/image_02052025_03_12_44_9395.jpg', '/home/pi/Desktop/images/02052025/03/12/image_02052025_03_12_55_10359.jpg', '/home/pi/Desktop/images/02052025/03/12/image_02052025_03_13_04_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/12/image_02052025_03_12_14_9348.jpg
/home/pi/Desktop/images/02052025/03/12/image_02052025_03_12_24_10379.jpg
/home/pi/Desktop/images/02052025/03/12/image_02052025_03_12_35_10343.jpg
/home/pi/Desktop/images/02052025/03/12/image_02052025_03_12_44_9395.jpg
/home/pi/Desktop/images/02052025/03/12/image_02052025_03_12_55_10359.jpg
/home/pi/Desktop/images/02052025/03/12/image_02052025_03_13_04_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":["1355224733","1355224927","1355225004","1355224830","1355224581","1355224656"],"photo_ids_order":["1355224581","1355224656","1355224733","1355224830","1355224927","1355225004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0fbdffe8b325d431ecf1dba0c107fafb.jpg","text":"TemporaryFile(/tmp/multipartBody4114919307597071659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162093003,"filename":"image_02052025_03_12_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/5/2/c53f7d3accd90fef35ae7f7589a8fb90.jpg","text":"TemporaryFile(/tmp/multipartBody5517460632259464903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162093003,"filename":"image_02052025_03_12_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/5/2/75e0e29a62fd965084b72de42bcb5e2d.jpg","text":"TemporaryFile(/tmp/multipartBody5330029290745671694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162093003,"filename":"image_02052025_03_13_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/5/2/9a7e80a579d23b899e57b5519818aa51.jpg","text":"TemporaryFile(/tmp/multipartBody7182207186721751643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162093003,"filename":"image_02052025_03_12_44_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ecdb6b47ecab0fe40a20e1c452f5738b.jpg","text":"TemporaryFile(/tmp/multipartBody4431260328669282322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162093003,"filename":"image_02052025_03_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/5/2/8f83c697c95cf7846c190b05807e2ef4.jpg","text":"TemporaryFile(/tmp/multipartBody7590522559794774538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162093003,"filename":"image_02052025_03_12_24_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355224733","file1":"1355224656","file0":"1355224581","file4":"1355224927","file5":"1355225004","file3":"1355224830"},"map_files_photo_id_array":[{"photo_id":"1355225004","filename":"file5"},{"photo_id":"1355224733","filename":"file2"},{"photo_id":"1355224927","filename":"file4"},{"photo_id":"1355224656","filename":"file1"},{"photo_id":"1355224581","filename":"file0"},{"photo_id":"1355224830","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355224733":["hashtag1","hashtag2"]},{"1355224927":["hashtag1","hashtag2"]},{"1355225004":["hashtag1","hashtag2"]},{"1355224830":["hashtag1","hashtag2"]},{"1355224581":["hashtag1","hashtag2"]},{"1355224656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355224733, 1355224927, 1355225004, 1355224830, 1355224581, 1355224656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.093902111053467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:01:32.619081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/13/image_02052025_03_13_14_10457.jpg', '/home/pi/Desktop/images/02052025/03/13/image_02052025_03_13_25_10370.jpg', '/home/pi/Desktop/images/02052025/03/13/image_02052025_03_13_34_9339.jpg', '/home/pi/Desktop/images/02052025/03/13/image_02052025_03_13_44_10364.jpg', '/home/pi/Desktop/images/02052025/03/13/image_02052025_03_13_55_10372.jpg', '/home/pi/Desktop/images/02052025/03/13/image_02052025_03_14_04_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/13/image_02052025_03_13_14_10457.jpg
/home/pi/Desktop/images/02052025/03/13/image_02052025_03_13_25_10370.jpg
/home/pi/Desktop/images/02052025/03/13/image_02052025_03_13_34_9339.jpg
/home/pi/Desktop/images/02052025/03/13/image_02052025_03_13_44_10364.jpg
/home/pi/Desktop/images/02052025/03/13/image_02052025_03_13_55_10372.jpg
/home/pi/Desktop/images/02052025/03/13/image_02052025_03_14_04_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355225791","1355225554","1355225707","1355225608","1355225661","1355225747"],"photo_ids_order":["1355225554","1355225608","1355225661","1355225707","1355225747","1355225791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1f31406c0838384c07b708f8d592962.jpg","text":"TemporaryFile(/tmp/multipartBody8056674118374451056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162153219,"filename":"image_02052025_03_14_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e74d55a8a57511285978b5a133ae4fd9.jpg","text":"TemporaryFile(/tmp/multipartBody5356705289731805601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162153219,"filename":"image_02052025_03_13_14_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ffdd39c5d2f965a2574dfbda195c72cd.jpg","text":"TemporaryFile(/tmp/multipartBody1037357017348286757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162153219,"filename":"image_02052025_03_13_44_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7f791b8906b2eb9f413902ae7e09910.jpg","text":"TemporaryFile(/tmp/multipartBody413207599925107194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162153219,"filename":"image_02052025_03_13_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b6f2f0c6f78e4639c1afa8ad42b01d94.jpg","text":"TemporaryFile(/tmp/multipartBody4934480444381208520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162153219,"filename":"image_02052025_03_13_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/5/2/76740684448df1e276292d78b3a989e9.jpg","text":"TemporaryFile(/tmp/multipartBody2778633934098602317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162153219,"filename":"image_02052025_03_13_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355225661","file1":"1355225608","file0":"1355225554","file4":"1355225747","file5":"1355225791","file3":"1355225707"},"map_files_photo_id_array":[{"photo_id":"1355225791","filename":"file5"},{"photo_id":"1355225661","filename":"file2"},{"photo_id":"1355225747","filename":"file4"},{"photo_id":"1355225608","filename":"file1"},{"photo_id":"1355225554","filename":"file0"},{"photo_id":"1355225707","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355225791":["hashtag1","hashtag2"]},{"1355225554":["hashtag1","hashtag2"]},{"1355225707":["hashtag1","hashtag2"]},{"1355225608":["hashtag1","hashtag2"]},{"1355225661":["hashtag1","hashtag2"]},{"1355225747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355225791, 1355225554, 1355225707, 1355225608, 1355225661, 1355225747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.368842124938965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:02:32.762126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/14/image_02052025_03_14_15_10362.jpg', '/home/pi/Desktop/images/02052025/03/14/image_02052025_03_14_24_9363.jpg', '/home/pi/Desktop/images/02052025/03/14/image_02052025_03_14_34_10362.jpg', '/home/pi/Desktop/images/02052025/03/14/image_02052025_03_14_45_10352.jpg', '/home/pi/Desktop/images/02052025/03/14/image_02052025_03_14_54_9369.jpg', '/home/pi/Desktop/images/02052025/03/14/image_02052025_03_15_05_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/14/image_02052025_03_14_15_10362.jpg
/home/pi/Desktop/images/02052025/03/14/image_02052025_03_14_24_9363.jpg
/home/pi/Desktop/images/02052025/03/14/image_02052025_03_14_34_10362.jpg
/home/pi/Desktop/images/02052025/03/14/image_02052025_03_14_45_10352.jpg
/home/pi/Desktop/images/02052025/03/14/image_02052025_03_14_54_9369.jpg
/home/pi/Desktop/images/02052025/03/14/image_02052025_03_15_05_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":["1355226076","1355226343","1355226393","1355226246","1355226182","1355226131"],"photo_ids_order":["1355226076","1355226131","1355226182","1355226246","1355226343","1355226393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c031afb85d9f050b6d2ed8ff3ca7ca5e.jpg","text":"TemporaryFile(/tmp/multipartBody7317622750617542245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162213324,"filename":"image_02052025_03_14_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/5/2/2a62020ca55b5253fe0ac2bebfb0b646.jpg","text":"TemporaryFile(/tmp/multipartBody328038922991748227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162213324,"filename":"image_02052025_03_14_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d35000062e63304ab3a121aa2e5865b.jpg","text":"TemporaryFile(/tmp/multipartBody6053112549711498896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162213324,"filename":"image_02052025_03_15_05_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed3d74548738c219a0507b0869b7dfa2.jpg","text":"TemporaryFile(/tmp/multipartBody6614835759601837229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162213324,"filename":"image_02052025_03_14_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/5/2/8306e47277f96ed88106ff354ac700a8.jpg","text":"TemporaryFile(/tmp/multipartBody4084388152479803794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162213324,"filename":"image_02052025_03_14_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba62ab2d843e977e4170186f0c5e96f4.jpg","text":"TemporaryFile(/tmp/multipartBody2306571426866319000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162213324,"filename":"image_02052025_03_14_24_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355226182","file1":"1355226131","file0":"1355226076","file4":"1355226343","file5":"1355226393","file3":"1355226246"},"map_files_photo_id_array":[{"photo_id":"1355226393","filename":"file5"},{"photo_id":"1355226182","filename":"file2"},{"photo_id":"1355226343","filename":"file4"},{"photo_id":"1355226131","filename":"file1"},{"photo_id":"1355226076","filename":"file0"},{"photo_id":"1355226246","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355226076":["hashtag1","hashtag2"]},{"1355226343":["hashtag1","hashtag2"]},{"1355226393":["hashtag1","hashtag2"]},{"1355226246":["hashtag1","hashtag2"]},{"1355226182":["hashtag1","hashtag2"]},{"1355226131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355226076, 1355226343, 1355226393, 1355226246, 1355226182, 1355226131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56681966781616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:03:33.054388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/15/image_02052025_03_15_14_9357.jpg', '/home/pi/Desktop/images/02052025/03/15/image_02052025_03_15_24_10405.jpg', '/home/pi/Desktop/images/02052025/03/15/image_02052025_03_15_35_10374.jpg', '/home/pi/Desktop/images/02052025/03/15/image_02052025_03_15_44_9358.jpg', '/home/pi/Desktop/images/02052025/03/15/image_02052025_03_15_54_10361.jpg', '/home/pi/Desktop/images/02052025/03/15/image_02052025_03_16_05_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/15/image_02052025_03_15_14_9357.jpg
/home/pi/Desktop/images/02052025/03/15/image_02052025_03_15_24_10405.jpg
/home/pi/Desktop/images/02052025/03/15/image_02052025_03_15_35_10374.jpg
/home/pi/Desktop/images/02052025/03/15/image_02052025_03_15_44_9358.jpg
/home/pi/Desktop/images/02052025/03/15/image_02052025_03_15_54_10361.jpg
/home/pi/Desktop/images/02052025/03/15/image_02052025_03_16_05_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355226685","1355226675","1355226581","1355226647","1355226620","1355226592"],"photo_ids_order":["1355226581","1355226592","1355226620","1355226647","1355226675","1355226685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cec1ef8ab031bad6369e5c525664f47d.jpg","text":"TemporaryFile(/tmp/multipartBody424893244297294471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162273710,"filename":"image_02052025_03_16_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/5/2/4b161459e49e0df3e995448d1bfe7257.jpg","text":"TemporaryFile(/tmp/multipartBody6741565901084585822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162273710,"filename":"image_02052025_03_15_54_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/13b749ecde5a27cba5a3a710820887d4.jpg","text":"TemporaryFile(/tmp/multipartBody124645298797576202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162273710,"filename":"image_02052025_03_15_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f11c71ca2633cc8b6398cb6eff55f686.jpg","text":"TemporaryFile(/tmp/multipartBody6359785229493428740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162273710,"filename":"image_02052025_03_15_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b452257ab5a8e3bc70720f5e0b73fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5665057656661089364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162273710,"filename":"image_02052025_03_15_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/5/2/b6f5a19b39d32eb8bb0b8908a2e7cd57.jpg","text":"TemporaryFile(/tmp/multipartBody2421394350372432385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162273710,"filename":"image_02052025_03_15_24_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355226620","file1":"1355226592","file0":"1355226581","file4":"1355226675","file5":"1355226685","file3":"1355226647"},"map_files_photo_id_array":[{"photo_id":"1355226685","filename":"file5"},{"photo_id":"1355226620","filename":"file2"},{"photo_id":"1355226675","filename":"file4"},{"photo_id":"1355226592","filename":"file1"},{"photo_id":"1355226581","filename":"file0"},{"photo_id":"1355226647","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355226685":["hashtag1","hashtag2"]},{"1355226675":["hashtag1","hashtag2"]},{"1355226581":["hashtag1","hashtag2"]},{"1355226647":["hashtag1","hashtag2"]},{"1355226620":["hashtag1","hashtag2"]},{"1355226592":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355226685, 1355226675, 1355226581, 1355226647, 1355226620, 1355226592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.937076568603516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:04:32.215658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/16/image_02052025_03_16_14_9428.jpg', '/home/pi/Desktop/images/02052025/03/16/image_02052025_03_16_25_10468.jpg', '/home/pi/Desktop/images/02052025/03/16/image_02052025_03_16_34_9345.jpg', '/home/pi/Desktop/images/02052025/03/16/image_02052025_03_16_45_10419.jpg', '/home/pi/Desktop/images/02052025/03/16/image_02052025_03_16_55_10362.jpg', '/home/pi/Desktop/images/02052025/03/16/image_02052025_03_17_04_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/16/image_02052025_03_16_14_9428.jpg
/home/pi/Desktop/images/02052025/03/16/image_02052025_03_16_25_10468.jpg
/home/pi/Desktop/images/02052025/03/16/image_02052025_03_16_34_9345.jpg
/home/pi/Desktop/images/02052025/03/16/image_02052025_03_16_45_10419.jpg
/home/pi/Desktop/images/02052025/03/16/image_02052025_03_16_55_10362.jpg
/home/pi/Desktop/images/02052025/03/16/image_02052025_03_17_04_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":["1355226775","1355226862","1355226835","1355226777","1355226887","1355226812"],"photo_ids_order":["1355226775","1355226777","1355226812","1355226835","1355226862","1355226887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/516fdae1c2ca0b6b171487e33253fa56.jpg","text":"TemporaryFile(/tmp/multipartBody5868997754841609345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162332842,"filename":"image_02052025_03_16_14_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/57d55756512d44a6d1b41b5415f47d5d.jpg","text":"TemporaryFile(/tmp/multipartBody4054079172473555693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162332842,"filename":"image_02052025_03_16_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1c2f83ef0ce28c16aa1abaaaf1cbebb.jpg","text":"TemporaryFile(/tmp/multipartBody7424092134410043346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162332842,"filename":"image_02052025_03_16_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc2d0015bbd14508625344611d75ddf2.jpg","text":"TemporaryFile(/tmp/multipartBody1912638292879686381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162332842,"filename":"image_02052025_03_16_25_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a700540e679c7fbfea3ca14459ec386a.jpg","text":"TemporaryFile(/tmp/multipartBody8806183656089469072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162332842,"filename":"image_02052025_03_17_04_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8438ca974c4fa1d0465c8157ebc8f6a.jpg","text":"TemporaryFile(/tmp/multipartBody4210416284025094181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162332842,"filename":"image_02052025_03_16_34_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355226812","file1":"1355226777","file0":"1355226775","file4":"1355226862","file5":"1355226887","file3":"1355226835"},"map_files_photo_id_array":[{"photo_id":"1355226887","filename":"file5"},{"photo_id":"1355226812","filename":"file2"},{"photo_id":"1355226862","filename":"file4"},{"photo_id":"1355226777","filename":"file1"},{"photo_id":"1355226775","filename":"file0"},{"photo_id":"1355226835","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355226775":["hashtag1","hashtag2"]},{"1355226862":["hashtag1","hashtag2"]},{"1355226835":["hashtag1","hashtag2"]},{"1355226777":["hashtag1","hashtag2"]},{"1355226887":["hashtag1","hashtag2"]},{"1355226812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355226775, 1355226862, 1355226835, 1355226777, 1355226887, 1355226812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.942941188812256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:05:32.354664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/17/image_02052025_03_17_15_10354.jpg', '/home/pi/Desktop/images/02052025/03/17/image_02052025_03_17_24_9375.jpg', '/home/pi/Desktop/images/02052025/03/17/image_02052025_03_17_34_10367.jpg', '/home/pi/Desktop/images/02052025/03/17/image_02052025_03_17_45_10368.jpg', '/home/pi/Desktop/images/02052025/03/17/image_02052025_03_17_54_9368.jpg', '/home/pi/Desktop/images/02052025/03/17/image_02052025_03_18_05_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/17/image_02052025_03_17_15_10354.jpg
/home/pi/Desktop/images/02052025/03/17/image_02052025_03_17_24_9375.jpg
/home/pi/Desktop/images/02052025/03/17/image_02052025_03_17_34_10367.jpg
/home/pi/Desktop/images/02052025/03/17/image_02052025_03_17_45_10368.jpg
/home/pi/Desktop/images/02052025/03/17/image_02052025_03_17_54_9368.jpg
/home/pi/Desktop/images/02052025/03/17/image_02052025_03_18_05_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355227158","1355227119","1355227160","1355227145","1355227198","1355227171"],"photo_ids_order":["1355227119","1355227145","1355227158","1355227160","1355227171","1355227198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a356b509c20531f29210179058fe1152.jpg","text":"TemporaryFile(/tmp/multipartBody1064764531759671790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162392907,"filename":"image_02052025_03_17_34_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/38915aefe72badcec0b25fcfc09b6cf4.jpg","text":"TemporaryFile(/tmp/multipartBody3746054270386349511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162392907,"filename":"image_02052025_03_17_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/5/2/2659747b5d7d1cad075911eafc9fe0a2.jpg","text":"TemporaryFile(/tmp/multipartBody2745568653368166368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162392907,"filename":"image_02052025_03_17_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/5/2/b34d411e04165c2f0e12549f32625ff3.jpg","text":"TemporaryFile(/tmp/multipartBody7979882367633517917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162392907,"filename":"image_02052025_03_17_24_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/caa68373fac0a2d2f6b864b42bff5bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6583751650149821008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162392907,"filename":"image_02052025_03_18_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/5/2/5cf1b2bfec77b18aedb0b3c8f53436e5.jpg","text":"TemporaryFile(/tmp/multipartBody7435149735646036864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162392907,"filename":"image_02052025_03_17_54_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355227158","file1":"1355227145","file0":"1355227119","file4":"1355227171","file5":"1355227198","file3":"1355227160"},"map_files_photo_id_array":[{"photo_id":"1355227198","filename":"file5"},{"photo_id":"1355227158","filename":"file2"},{"photo_id":"1355227171","filename":"file4"},{"photo_id":"1355227145","filename":"file1"},{"photo_id":"1355227119","filename":"file0"},{"photo_id":"1355227160","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355227158":["hashtag1","hashtag2"]},{"1355227119":["hashtag1","hashtag2"]},{"1355227160":["hashtag1","hashtag2"]},{"1355227145":["hashtag1","hashtag2"]},{"1355227198":["hashtag1","hashtag2"]},{"1355227171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355227158, 1355227119, 1355227160, 1355227145, 1355227198, 1355227171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77164697647095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:06:32.589051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/18/image_02052025_03_18_14_9426.jpg', '/home/pi/Desktop/images/02052025/03/18/image_02052025_03_18_24_10460.jpg', '/home/pi/Desktop/images/02052025/03/18/image_02052025_03_18_35_10361.jpg', '/home/pi/Desktop/images/02052025/03/18/image_02052025_03_18_44_9341.jpg', '/home/pi/Desktop/images/02052025/03/18/image_02052025_03_19_04_9348.jpg', '/home/pi/Desktop/images/02052025/03/19/image_02052025_03_19_14_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/18/image_02052025_03_18_14_9426.jpg
/home/pi/Desktop/images/02052025/03/18/image_02052025_03_18_24_10460.jpg
/home/pi/Desktop/images/02052025/03/18/image_02052025_03_18_35_10361.jpg
/home/pi/Desktop/images/02052025/03/18/image_02052025_03_18_44_9341.jpg
/home/pi/Desktop/images/02052025/03/18/image_02052025_03_19_04_9348.jpg
/home/pi/Desktop/images/02052025/03/19/image_02052025_03_19_14_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":["1355227315","1355227353","1355227356","1355227338","1355227311","1355227355"],"photo_ids_order":["1355227311","1355227315","1355227338","1355227353","1355227355","1355227356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8502b53c3c556f20439864291172365a.jpg","text":"TemporaryFile(/tmp/multipartBody3221615053436376716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162453139,"filename":"image_02052025_03_18_24_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/214651fcff10e255cc747347cdcaeffd.jpg","text":"TemporaryFile(/tmp/multipartBody3335004947292394462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162453139,"filename":"image_02052025_03_18_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c84b3a22c894ee9307c4dc2459c0f39d.jpg","text":"TemporaryFile(/tmp/multipartBody5389642212905799058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162453139,"filename":"image_02052025_03_19_14_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/10f401b0d17872a56e888693db53c70b.jpg","text":"TemporaryFile(/tmp/multipartBody7806915605603949121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162453139,"filename":"image_02052025_03_18_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5516c30f562b6e3e81f358dbe4b23796.jpg","text":"TemporaryFile(/tmp/multipartBody1876717695850935403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162453139,"filename":"image_02052025_03_18_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/5/2/218980aec4605562333a7da43bc4eeb9.jpg","text":"TemporaryFile(/tmp/multipartBody4863609852443767137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162453139,"filename":"image_02052025_03_19_04_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355227338","file1":"1355227315","file0":"1355227311","file4":"1355227355","file5":"1355227356","file3":"1355227353"},"map_files_photo_id_array":[{"photo_id":"1355227356","filename":"file5"},{"photo_id":"1355227338","filename":"file2"},{"photo_id":"1355227355","filename":"file4"},{"photo_id":"1355227315","filename":"file1"},{"photo_id":"1355227311","filename":"file0"},{"photo_id":"1355227353","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355227315":["hashtag1","hashtag2"]},{"1355227353":["hashtag1","hashtag2"]},{"1355227356":["hashtag1","hashtag2"]},{"1355227338":["hashtag1","hashtag2"]},{"1355227311":["hashtag1","hashtag2"]},{"1355227355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355227315, 1355227353, 1355227356, 1355227338, 1355227311, 1355227355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01827692985535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:07:32.867945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/19/image_02052025_03_19_25_10430.jpg', '/home/pi/Desktop/images/02052025/03/19/image_02052025_03_19_34_9362.jpg', '/home/pi/Desktop/images/02052025/03/19/image_02052025_03_19_44_10361.jpg', '/home/pi/Desktop/images/02052025/03/19/image_02052025_03_19_54_9530.jpg', '/home/pi/Desktop/images/02052025/03/19/image_02052025_03_20_04_10453.jpg', '/home/pi/Desktop/images/02052025/03/20/image_02052025_03_20_15_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/19/image_02052025_03_19_25_10430.jpg
/home/pi/Desktop/images/02052025/03/19/image_02052025_03_19_34_9362.jpg
/home/pi/Desktop/images/02052025/03/19/image_02052025_03_19_44_10361.jpg
/home/pi/Desktop/images/02052025/03/19/image_02052025_03_19_54_9530.jpg
/home/pi/Desktop/images/02052025/03/19/image_02052025_03_20_04_10453.jpg
/home/pi/Desktop/images/02052025/03/20/image_02052025_03_20_15_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355227380","1355227416","1355227404","1355227407","1355227421","1355227378"],"photo_ids_order":["1355227378","1355227380","1355227404","1355227407","1355227416","1355227421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa205a122c1e66a8b5ed68ada0a716bb.jpg","text":"TemporaryFile(/tmp/multipartBody3297181273382613893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162513427,"filename":"image_02052025_03_19_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/5/2/4d5c2f37aad0f5f77e364bdbcd64b53b.jpg","text":"TemporaryFile(/tmp/multipartBody7494720420824197643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162513427,"filename":"image_02052025_03_20_04_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8242393e9228c68e2beeaa3185fe6f1e.jpg","text":"TemporaryFile(/tmp/multipartBody5854498137722045047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162513427,"filename":"image_02052025_03_19_44_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/943c08f6c327acc46aa5210aec6c9ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2783809736829102936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162513427,"filename":"image_02052025_03_19_54_9530.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d9835fed5293dd75555363e4c6343b0.jpg","text":"TemporaryFile(/tmp/multipartBody89766313822834458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162513427,"filename":"image_02052025_03_20_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/5/2/d7769077ca5c14ea4ae26c631f25ae8c.jpg","text":"TemporaryFile(/tmp/multipartBody8035526445105983220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162513427,"filename":"image_02052025_03_19_25_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355227404","file1":"1355227380","file0":"1355227378","file4":"1355227416","file5":"1355227421","file3":"1355227407"},"map_files_photo_id_array":[{"photo_id":"1355227421","filename":"file5"},{"photo_id":"1355227404","filename":"file2"},{"photo_id":"1355227416","filename":"file4"},{"photo_id":"1355227380","filename":"file1"},{"photo_id":"1355227378","filename":"file0"},{"photo_id":"1355227407","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355227380":["hashtag1","hashtag2"]},{"1355227416":["hashtag1","hashtag2"]},{"1355227404":["hashtag1","hashtag2"]},{"1355227407":["hashtag1","hashtag2"]},{"1355227421":["hashtag1","hashtag2"]},{"1355227378":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355227380, 1355227416, 1355227404, 1355227407, 1355227421, 1355227378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.487593412399292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:08:33.126338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/20/image_02052025_03_20_24_9352.jpg', '/home/pi/Desktop/images/02052025/03/20/image_02052025_03_20_35_10402.jpg', '/home/pi/Desktop/images/02052025/03/20/image_02052025_03_20_44_9351.jpg', '/home/pi/Desktop/images/02052025/03/20/image_02052025_03_20_54_10404.jpg', '/home/pi/Desktop/images/02052025/03/20/image_02052025_03_21_05_10358.jpg', '/home/pi/Desktop/images/02052025/03/21/image_02052025_03_21_14_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/20/image_02052025_03_20_24_9352.jpg
/home/pi/Desktop/images/02052025/03/20/image_02052025_03_20_35_10402.jpg
/home/pi/Desktop/images/02052025/03/20/image_02052025_03_20_44_9351.jpg
/home/pi/Desktop/images/02052025/03/20/image_02052025_03_20_54_10404.jpg
/home/pi/Desktop/images/02052025/03/20/image_02052025_03_21_05_10358.jpg
/home/pi/Desktop/images/02052025/03/21/image_02052025_03_21_14_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":["1355227510","1355227463","1355227448","1355227483","1355227456","1355227459"],"photo_ids_order":["1355227448","1355227456","1355227459","1355227463","1355227483","1355227510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5679ee6fb62267ed8ffc2844033bf213.jpg","text":"TemporaryFile(/tmp/multipartBody7029719504949037568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162573676,"filename":"image_02052025_03_21_14_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/25d53dcbe29c2080b9dd26f668e2c56e.jpg","text":"TemporaryFile(/tmp/multipartBody7499799842033193928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162573676,"filename":"image_02052025_03_20_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/5/2/e75c82a46b50c703d9cf4efec6f93ce4.jpg","text":"TemporaryFile(/tmp/multipartBody5562778157639745858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162573676,"filename":"image_02052025_03_20_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d254ba7aeb0a7f8915d6340ad24d5c1.jpg","text":"TemporaryFile(/tmp/multipartBody7795804794564511740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162573676,"filename":"image_02052025_03_21_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/5/2/3f55296b9243cdf39213d73b4f063ae5.jpg","text":"TemporaryFile(/tmp/multipartBody1125019731366676819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162573676,"filename":"image_02052025_03_20_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/5/2/da92e9041fbf476ac6b59c1100174070.jpg","text":"TemporaryFile(/tmp/multipartBody3061749158948492861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162573676,"filename":"image_02052025_03_20_44_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355227459","file1":"1355227456","file0":"1355227448","file4":"1355227483","file5":"1355227510","file3":"1355227463"},"map_files_photo_id_array":[{"photo_id":"1355227510","filename":"file5"},{"photo_id":"1355227459","filename":"file2"},{"photo_id":"1355227483","filename":"file4"},{"photo_id":"1355227456","filename":"file1"},{"photo_id":"1355227448","filename":"file0"},{"photo_id":"1355227463","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355227510":["hashtag1","hashtag2"]},{"1355227463":["hashtag1","hashtag2"]},{"1355227448":["hashtag1","hashtag2"]},{"1355227483":["hashtag1","hashtag2"]},{"1355227456":["hashtag1","hashtag2"]},{"1355227459":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355227510, 1355227463, 1355227448, 1355227483, 1355227456, 1355227459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.160704374313354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:09:32.389057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/21/image_02052025_03_21_44_9351.jpg', '/home/pi/Desktop/images/02052025/03/21/image_02052025_03_21_55_10459.jpg', '/home/pi/Desktop/images/02052025/03/21/image_02052025_03_22_04_9339.jpg', '/home/pi/Desktop/images/02052025/03/22/image_02052025_03_22_14_10458.jpg', '/home/pi/Desktop/images/02052025/03/22/image_02052025_03_22_25_10395.jpg', '/home/pi/Desktop/images/02052025/03/22/image_02052025_03_22_34_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/21/image_02052025_03_21_44_9351.jpg
/home/pi/Desktop/images/02052025/03/21/image_02052025_03_21_55_10459.jpg
/home/pi/Desktop/images/02052025/03/21/image_02052025_03_22_04_9339.jpg
/home/pi/Desktop/images/02052025/03/22/image_02052025_03_22_14_10458.jpg
/home/pi/Desktop/images/02052025/03/22/image_02052025_03_22_25_10395.jpg
/home/pi/Desktop/images/02052025/03/22/image_02052025_03_22_34_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":["1355227686","1355227671","1355227638","1355227634","1355227660","1355227642"],"photo_ids_order":["1355227634","1355227638","1355227642","1355227660","1355227671","1355227686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce9eab02c33dde0b4c8d0d65fc95e921.jpg","text":"TemporaryFile(/tmp/multipartBody7542065033570693867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162632957,"filename":"image_02052025_03_22_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/908d8d38b18ed8ef0542b7e898631681.jpg","text":"TemporaryFile(/tmp/multipartBody8537345296931072324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162632957,"filename":"image_02052025_03_22_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/5/2/1dd3eef8376f10b049fcbff0f82fff53.jpg","text":"TemporaryFile(/tmp/multipartBody3098451692785213004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162632957,"filename":"image_02052025_03_21_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f19198d24d4f7831f7ff590fdeacf73.jpg","text":"TemporaryFile(/tmp/multipartBody3891932695892530068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162632957,"filename":"image_02052025_03_21_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/835ba18539d1cd569c2d947be345e935.jpg","text":"TemporaryFile(/tmp/multipartBody5719208548126176573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162632957,"filename":"image_02052025_03_22_14_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6288a0a7f72574739c53e8073430dd51.jpg","text":"TemporaryFile(/tmp/multipartBody4002628925913106457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162632957,"filename":"image_02052025_03_22_04_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355227642","file1":"1355227638","file0":"1355227634","file4":"1355227671","file5":"1355227686","file3":"1355227660"},"map_files_photo_id_array":[{"photo_id":"1355227686","filename":"file5"},{"photo_id":"1355227642","filename":"file2"},{"photo_id":"1355227671","filename":"file4"},{"photo_id":"1355227638","filename":"file1"},{"photo_id":"1355227634","filename":"file0"},{"photo_id":"1355227660","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355227686":["hashtag1","hashtag2"]},{"1355227671":["hashtag1","hashtag2"]},{"1355227638":["hashtag1","hashtag2"]},{"1355227634":["hashtag1","hashtag2"]},{"1355227660":["hashtag1","hashtag2"]},{"1355227642":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355227686, 1355227671, 1355227638, 1355227634, 1355227660, 1355227642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65586185455322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:10:32.570397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/22/image_02052025_03_22_44_10367.jpg', '/home/pi/Desktop/images/02052025/03/22/image_02052025_03_22_55_10366.jpg', '/home/pi/Desktop/images/02052025/03/22/image_02052025_03_23_04_9406.jpg', '/home/pi/Desktop/images/02052025/03/23/image_02052025_03_23_24_9361.jpg', '/home/pi/Desktop/images/02052025/03/23/image_02052025_03_23_45_10371.jpg', '/home/pi/Desktop/images/02052025/03/23/image_02052025_03_23_54_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/22/image_02052025_03_22_44_10367.jpg
/home/pi/Desktop/images/02052025/03/22/image_02052025_03_22_55_10366.jpg
/home/pi/Desktop/images/02052025/03/22/image_02052025_03_23_04_9406.jpg
/home/pi/Desktop/images/02052025/03/23/image_02052025_03_23_24_9361.jpg
/home/pi/Desktop/images/02052025/03/23/image_02052025_03_23_45_10371.jpg
/home/pi/Desktop/images/02052025/03/23/image_02052025_03_23_54_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":["1355227726","1355227711","1355227725","1355227724","1355227706","1355227720"],"photo_ids_order":["1355227706","1355227711","1355227720","1355227724","1355227725","1355227726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6e4bd29aa33e4d4707d543dd5f5b1ab.jpg","text":"TemporaryFile(/tmp/multipartBody894588926411185010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162693127,"filename":"image_02052025_03_23_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce684b072784c0b547faea39f96e0917.jpg","text":"TemporaryFile(/tmp/multipartBody3552609589877979931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162693127,"filename":"image_02052025_03_22_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/5/2/848a478f010bcde73e2b6b1be7429859.jpg","text":"TemporaryFile(/tmp/multipartBody3636899509995542286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162693127,"filename":"image_02052025_03_23_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/79d77ebf167b80009c0e4da09ed77ef9.jpg","text":"TemporaryFile(/tmp/multipartBody8428412637019353048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162693127,"filename":"image_02052025_03_23_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c2925b16d126da3264def3555320361.jpg","text":"TemporaryFile(/tmp/multipartBody1240511712793859962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162693127,"filename":"image_02052025_03_22_44_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/80db0df1bc040b8215d94ef5748da939.jpg","text":"TemporaryFile(/tmp/multipartBody5983367088752074404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162693127,"filename":"image_02052025_03_23_04_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355227720","file1":"1355227711","file0":"1355227706","file4":"1355227725","file5":"1355227726","file3":"1355227724"},"map_files_photo_id_array":[{"photo_id":"1355227726","filename":"file5"},{"photo_id":"1355227720","filename":"file2"},{"photo_id":"1355227725","filename":"file4"},{"photo_id":"1355227711","filename":"file1"},{"photo_id":"1355227706","filename":"file0"},{"photo_id":"1355227724","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355227726":["hashtag1","hashtag2"]},{"1355227711":["hashtag1","hashtag2"]},{"1355227725":["hashtag1","hashtag2"]},{"1355227724":["hashtag1","hashtag2"]},{"1355227706":["hashtag1","hashtag2"]},{"1355227720":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355227726, 1355227711, 1355227725, 1355227724, 1355227706, 1355227720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48941111564636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:11:32.781964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/23/image_02052025_03_24_05_10449.jpg', '/home/pi/Desktop/images/02052025/03/24/image_02052025_03_24_15_10344.jpg', '/home/pi/Desktop/images/02052025/03/24/image_02052025_03_24_24_9429.jpg', '/home/pi/Desktop/images/02052025/03/24/image_02052025_03_24_35_10348.jpg', '/home/pi/Desktop/images/02052025/03/24/image_02052025_03_24_44_9379.jpg', '/home/pi/Desktop/images/02052025/03/24/image_02052025_03_24_54_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/23/image_02052025_03_24_05_10449.jpg
/home/pi/Desktop/images/02052025/03/24/image_02052025_03_24_15_10344.jpg
/home/pi/Desktop/images/02052025/03/24/image_02052025_03_24_24_9429.jpg
/home/pi/Desktop/images/02052025/03/24/image_02052025_03_24_35_10348.jpg
/home/pi/Desktop/images/02052025/03/24/image_02052025_03_24_44_9379.jpg
/home/pi/Desktop/images/02052025/03/24/image_02052025_03_24_54_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355227764","1355227758","1355227755","1355227749","1355227760","1355227757"],"photo_ids_order":["1355227749","1355227755","1355227757","1355227758","1355227760","1355227764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8aa6631e63c8ea069f4324069e46f23e.jpg","text":"TemporaryFile(/tmp/multipartBody4386816740057990322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162753339,"filename":"image_02052025_03_24_54_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b18e4cc8d0a4b47c259607ee8650c78f.jpg","text":"TemporaryFile(/tmp/multipartBody2800252065434210920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162753339,"filename":"image_02052025_03_24_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/5/2/3089ad6bf3796a4fda5a5fd790a2ea21.jpg","text":"TemporaryFile(/tmp/multipartBody7919556867319573045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162753339,"filename":"image_02052025_03_24_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/08290fbed562c296f973d483e8b38499.jpg","text":"TemporaryFile(/tmp/multipartBody8824327770202442556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162753339,"filename":"image_02052025_03_24_05_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd7e2761a85e13d1481c94c6ec9f39fa.jpg","text":"TemporaryFile(/tmp/multipartBody4065686170426897029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162753339,"filename":"image_02052025_03_24_44_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ec5fb128e512c5ed603583b909e7c50.jpg","text":"TemporaryFile(/tmp/multipartBody6336079741106284056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162753339,"filename":"image_02052025_03_24_24_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355227757","file1":"1355227755","file0":"1355227749","file4":"1355227760","file5":"1355227764","file3":"1355227758"},"map_files_photo_id_array":[{"photo_id":"1355227764","filename":"file5"},{"photo_id":"1355227757","filename":"file2"},{"photo_id":"1355227760","filename":"file4"},{"photo_id":"1355227755","filename":"file1"},{"photo_id":"1355227749","filename":"file0"},{"photo_id":"1355227758","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355227764":["hashtag1","hashtag2"]},{"1355227758":["hashtag1","hashtag2"]},{"1355227755":["hashtag1","hashtag2"]},{"1355227749":["hashtag1","hashtag2"]},{"1355227760":["hashtag1","hashtag2"]},{"1355227757":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355227764, 1355227758, 1355227755, 1355227749, 1355227760, 1355227757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.3347487449646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:12:33.140068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/24/image_02052025_03_25_05_10348.jpg', '/home/pi/Desktop/images/02052025/03/25/image_02052025_03_25_25_10402.jpg', '/home/pi/Desktop/images/02052025/03/25/image_02052025_03_25_34_9337.jpg', '/home/pi/Desktop/images/02052025/03/25/image_02052025_03_25_44_10454.jpg', '/home/pi/Desktop/images/02052025/03/25/image_02052025_03_25_55_10371.jpg', '/home/pi/Desktop/images/02052025/03/25/image_02052025_03_26_04_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/24/image_02052025_03_25_05_10348.jpg
/home/pi/Desktop/images/02052025/03/25/image_02052025_03_25_25_10402.jpg
/home/pi/Desktop/images/02052025/03/25/image_02052025_03_25_34_9337.jpg
/home/pi/Desktop/images/02052025/03/25/image_02052025_03_25_44_10454.jpg
/home/pi/Desktop/images/02052025/03/25/image_02052025_03_25_55_10371.jpg
/home/pi/Desktop/images/02052025/03/25/image_02052025_03_26_04_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":["1355227801","1355227785","1355227790","1355227803","1355227781","1355227778"],"photo_ids_order":["1355227778","1355227781","1355227785","1355227790","1355227801","1355227803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4da129f78b77819e0929a1cfa74562db.jpg","text":"TemporaryFile(/tmp/multipartBody3423627582751494581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162813679,"filename":"image_02052025_03_25_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/5/2/7c233a52a7b552ee0ec8c24fd5886a41.jpg","text":"TemporaryFile(/tmp/multipartBody324737185841422941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162813679,"filename":"image_02052025_03_25_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/5/2/c1e7d87c03b6770664e4e036ad080f0f.jpg","text":"TemporaryFile(/tmp/multipartBody7952465751756994081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162813679,"filename":"image_02052025_03_25_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/5/2/a6ee02c8e360d3778dd8bc187bea2c53.jpg","text":"TemporaryFile(/tmp/multipartBody1181432799440341041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162813679,"filename":"image_02052025_03_26_04_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/10c4227b2145fefba35ba1cefc38bc23.jpg","text":"TemporaryFile(/tmp/multipartBody2034061344009630390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162813679,"filename":"image_02052025_03_25_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/5/2/1ec80302bf1b54e603c31de138347d25.jpg","text":"TemporaryFile(/tmp/multipartBody3165054266486607761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162813679,"filename":"image_02052025_03_25_05_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355227785","file1":"1355227781","file0":"1355227778","file4":"1355227801","file5":"1355227803","file3":"1355227790"},"map_files_photo_id_array":[{"photo_id":"1355227803","filename":"file5"},{"photo_id":"1355227785","filename":"file2"},{"photo_id":"1355227801","filename":"file4"},{"photo_id":"1355227781","filename":"file1"},{"photo_id":"1355227778","filename":"file0"},{"photo_id":"1355227790","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355227801":["hashtag1","hashtag2"]},{"1355227785":["hashtag1","hashtag2"]},{"1355227790":["hashtag1","hashtag2"]},{"1355227803":["hashtag1","hashtag2"]},{"1355227781":["hashtag1","hashtag2"]},{"1355227778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355227801, 1355227785, 1355227790, 1355227803, 1355227781, 1355227778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.611088275909424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:13:32.376305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/26/image_02052025_03_26_15_10375.jpg', '/home/pi/Desktop/images/02052025/03/26/image_02052025_03_26_24_9426.jpg', '/home/pi/Desktop/images/02052025/03/26/image_02052025_03_26_34_10356.jpg', '/home/pi/Desktop/images/02052025/03/26/image_02052025_03_26_45_10343.jpg', '/home/pi/Desktop/images/02052025/03/26/image_02052025_03_26_54_9344.jpg', '/home/pi/Desktop/images/02052025/03/26/image_02052025_03_27_04_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/26/image_02052025_03_26_15_10375.jpg
/home/pi/Desktop/images/02052025/03/26/image_02052025_03_26_24_9426.jpg
/home/pi/Desktop/images/02052025/03/26/image_02052025_03_26_34_10356.jpg
/home/pi/Desktop/images/02052025/03/26/image_02052025_03_26_45_10343.jpg
/home/pi/Desktop/images/02052025/03/26/image_02052025_03_26_54_9344.jpg
/home/pi/Desktop/images/02052025/03/26/image_02052025_03_27_04_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355227843","1355227851","1355227839","1355227854","1355227836","1355227856"],"photo_ids_order":["1355227836","1355227839","1355227843","1355227851","1355227854","1355227856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8a71ccba20247ee707ab051c1f7918c3.jpg","text":"TemporaryFile(/tmp/multipartBody3526124135193140672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162872949,"filename":"image_02052025_03_26_34_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ecc09fcd30bc9f1c9ebb125b4a5d47f4.jpg","text":"TemporaryFile(/tmp/multipartBody1272183669396360467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162872949,"filename":"image_02052025_03_26_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/5/2/e19c09b810be9f74119aac7fff7d71bc.jpg","text":"TemporaryFile(/tmp/multipartBody927994985157011629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162872949,"filename":"image_02052025_03_26_24_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c666846ae8db2a3cb241d24a907f9cb.jpg","text":"TemporaryFile(/tmp/multipartBody8649789929385835643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162872949,"filename":"image_02052025_03_26_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/5/2/2d4e699852de1b8cbab84a84f581c527.jpg","text":"TemporaryFile(/tmp/multipartBody3989624425311293766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162872949,"filename":"image_02052025_03_26_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/5/2/7976b17265408e16641e7981f5d14015.jpg","text":"TemporaryFile(/tmp/multipartBody2943210889042701246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162872949,"filename":"image_02052025_03_27_04_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355227843","file1":"1355227839","file0":"1355227836","file4":"1355227854","file5":"1355227856","file3":"1355227851"},"map_files_photo_id_array":[{"photo_id":"1355227856","filename":"file5"},{"photo_id":"1355227843","filename":"file2"},{"photo_id":"1355227854","filename":"file4"},{"photo_id":"1355227839","filename":"file1"},{"photo_id":"1355227836","filename":"file0"},{"photo_id":"1355227851","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355227843":["hashtag1","hashtag2"]},{"1355227851":["hashtag1","hashtag2"]},{"1355227839":["hashtag1","hashtag2"]},{"1355227854":["hashtag1","hashtag2"]},{"1355227836":["hashtag1","hashtag2"]},{"1355227856":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355227843, 1355227851, 1355227839, 1355227854, 1355227836, 1355227856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00776147842407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:14:32.630108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_15_10369.jpg', '/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_35_10351.jpg', '/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_44_9344.jpg', '/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_54_10511.jpg', '/home/pi/Desktop/images/02052025/03/27/image_02052025_03_28_05_10348.jpg', '/home/pi/Desktop/images/02052025/03/28/image_02052025_03_28_14_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_15_10369.jpg
/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_35_10351.jpg
/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_44_9344.jpg
/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_54_10511.jpg
/home/pi/Desktop/images/02052025/03/27/image_02052025_03_28_05_10348.jpg
/home/pi/Desktop/images/02052025/03/28/image_02052025_03_28_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4906423091888428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 07:14:42.698769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_15_10369.jpg', '/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_35_10351.jpg', '/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_44_9344.jpg', '/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_54_10511.jpg', '/home/pi/Desktop/images/02052025/03/27/image_02052025_03_28_05_10348.jpg', '/home/pi/Desktop/images/02052025/03/28/image_02052025_03_28_14_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_15_10369.jpg
/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_35_10351.jpg
/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_44_9344.jpg
/home/pi/Desktop/images/02052025/03/27/image_02052025_03_27_54_10511.jpg
/home/pi/Desktop/images/02052025/03/27/image_02052025_03_28_05_10348.jpg
/home/pi/Desktop/images/02052025/03/28/image_02052025_03_28_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":["1355227899","1355227903","1355227906","1355227895","1355227910","1355227907"],"photo_ids_order":["1355227895","1355227899","1355227903","1355227906","1355227907","1355227910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7747897c093fde128471f89d6930b23f.jpg","text":"TemporaryFile(/tmp/multipartBody5099548453671564874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162943171,"filename":"image_02052025_03_27_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/5/2/dc3b8c18c3b55f19c106e2900cba4281.jpg","text":"TemporaryFile(/tmp/multipartBody6962441945212647941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162943171,"filename":"image_02052025_03_27_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/5/2/82143951d04f5ae2b6395997b51fd562.jpg","text":"TemporaryFile(/tmp/multipartBody7096622907403489988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162943171,"filename":"image_02052025_03_27_54_10511.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/685408c5155b1a77760a00252098b405.jpg","text":"TemporaryFile(/tmp/multipartBody2276234896317262458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162943171,"filename":"image_02052025_03_27_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ca18622e80084a29a4b574b5bd7b7efa.jpg","text":"TemporaryFile(/tmp/multipartBody3286734754162658382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162943171,"filename":"image_02052025_03_28_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/5/2/36fd0796afdbb1645f9de92beb6baf76.jpg","text":"TemporaryFile(/tmp/multipartBody7232589756444977256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162943171,"filename":"image_02052025_03_28_05_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355227903","file1":"1355227899","file0":"1355227895","file4":"1355227907","file5":"1355227910","file3":"1355227906"},"map_files_photo_id_array":[{"photo_id":"1355227910","filename":"file5"},{"photo_id":"1355227903","filename":"file2"},{"photo_id":"1355227907","filename":"file4"},{"photo_id":"1355227899","filename":"file1"},{"photo_id":"1355227895","filename":"file0"},{"photo_id":"1355227906","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355227899":["hashtag1","hashtag2"]},{"1355227903":["hashtag1","hashtag2"]},{"1355227906":["hashtag1","hashtag2"]},{"1355227895":["hashtag1","hashtag2"]},{"1355227910":["hashtag1","hashtag2"]},{"1355227907":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355227899, 1355227903, 1355227906, 1355227895, 1355227910, 1355227907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2681941986084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:15:32.889210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/28/image_02052025_03_28_44_10433.jpg', '/home/pi/Desktop/images/02052025/03/28/image_02052025_03_28_55_10375.jpg', '/home/pi/Desktop/images/02052025/03/28/image_02052025_03_29_04_9361.jpg', '/home/pi/Desktop/images/02052025/03/29/image_02052025_03_29_14_10360.jpg', '/home/pi/Desktop/images/02052025/03/29/image_02052025_03_29_25_10351.jpg', '/home/pi/Desktop/images/02052025/03/29/image_02052025_03_29_34_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/28/image_02052025_03_28_44_10433.jpg
/home/pi/Desktop/images/02052025/03/28/image_02052025_03_28_55_10375.jpg
/home/pi/Desktop/images/02052025/03/28/image_02052025_03_29_04_9361.jpg
/home/pi/Desktop/images/02052025/03/29/image_02052025_03_29_14_10360.jpg
/home/pi/Desktop/images/02052025/03/29/image_02052025_03_29_25_10351.jpg
/home/pi/Desktop/images/02052025/03/29/image_02052025_03_29_34_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355227968","1355227953","1355227956","1355227963","1355227966","1355227960"],"photo_ids_order":["1355227953","1355227956","1355227960","1355227963","1355227966","1355227968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1ea4db66dab94cdc7091ac1f121a9d55.jpg","text":"TemporaryFile(/tmp/multipartBody8319420575757640748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162993454,"filename":"image_02052025_03_29_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/25429f8cd63147dafbdef47b38d2f7df.jpg","text":"TemporaryFile(/tmp/multipartBody218826168020394491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162993454,"filename":"image_02052025_03_28_44_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2e925d88da4246a49ef16bc6ae46ec5.jpg","text":"TemporaryFile(/tmp/multipartBody49642319442593400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162993454,"filename":"image_02052025_03_28_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/5/2/a952351f2fb835452138e7ed88a5d33c.jpg","text":"TemporaryFile(/tmp/multipartBody4803659954065913304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162993454,"filename":"image_02052025_03_29_14_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34b8048482041b8ae0a75cdf9bc15d29.jpg","text":"TemporaryFile(/tmp/multipartBody8669142631401179754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162993454,"filename":"image_02052025_03_29_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/5/2/42fe0876ebbc03307d56f7d215783f58.jpg","text":"TemporaryFile(/tmp/multipartBody8254964346254083847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746162993454,"filename":"image_02052025_03_29_04_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355227960","file1":"1355227956","file0":"1355227953","file4":"1355227966","file5":"1355227968","file3":"1355227963"},"map_files_photo_id_array":[{"photo_id":"1355227968","filename":"file5"},{"photo_id":"1355227960","filename":"file2"},{"photo_id":"1355227966","filename":"file4"},{"photo_id":"1355227956","filename":"file1"},{"photo_id":"1355227953","filename":"file0"},{"photo_id":"1355227963","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355227968":["hashtag1","hashtag2"]},{"1355227953":["hashtag1","hashtag2"]},{"1355227956":["hashtag1","hashtag2"]},{"1355227963":["hashtag1","hashtag2"]},{"1355227966":["hashtag1","hashtag2"]},{"1355227960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355227968, 1355227953, 1355227956, 1355227963, 1355227966, 1355227960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.421278953552246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:16:33.214313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/29/image_02052025_03_29_45_10472.jpg', '/home/pi/Desktop/images/02052025/03/29/image_02052025_03_29_54_9369.jpg', '/home/pi/Desktop/images/02052025/03/29/image_02052025_03_30_04_10427.jpg', '/home/pi/Desktop/images/02052025/03/30/image_02052025_03_30_15_10378.jpg', '/home/pi/Desktop/images/02052025/03/30/image_02052025_03_30_24_9354.jpg', '/home/pi/Desktop/images/02052025/03/30/image_02052025_03_30_34_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/29/image_02052025_03_29_45_10472.jpg
/home/pi/Desktop/images/02052025/03/29/image_02052025_03_29_54_9369.jpg
/home/pi/Desktop/images/02052025/03/29/image_02052025_03_30_04_10427.jpg
/home/pi/Desktop/images/02052025/03/30/image_02052025_03_30_15_10378.jpg
/home/pi/Desktop/images/02052025/03/30/image_02052025_03_30_24_9354.jpg
/home/pi/Desktop/images/02052025/03/30/image_02052025_03_30_34_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":["1355228010","1355228004","1355227997","1355228009","1355228000","1355228006"],"photo_ids_order":["1355227997","1355228000","1355228004","1355228006","1355228009","1355228010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c283ff8febaa8e8550f959a6cc925ccd.jpg","text":"TemporaryFile(/tmp/multipartBody5937204729570117671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163053783,"filename":"image_02052025_03_30_34_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/29fcb941c33bf4eee1523b692523015e.jpg","text":"TemporaryFile(/tmp/multipartBody5438194448888141061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163053783,"filename":"image_02052025_03_30_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/5/2/4d2d7a2320ef8e9e9400768d74590088.jpg","text":"TemporaryFile(/tmp/multipartBody3467330572374735890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163053783,"filename":"image_02052025_03_29_45_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/61e0194a2a689c911ef818176b3ff5b4.jpg","text":"TemporaryFile(/tmp/multipartBody273858155186772678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163053783,"filename":"image_02052025_03_30_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/5/2/e3d58b19dd548453bcacf01e4bcb3967.jpg","text":"TemporaryFile(/tmp/multipartBody9121529181776331704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163053783,"filename":"image_02052025_03_29_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4160c2ea00e53c49d6e9b144fa4aa6cc.jpg","text":"TemporaryFile(/tmp/multipartBody1776167266297628265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163053783,"filename":"image_02052025_03_30_15_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228004","file1":"1355228000","file0":"1355227997","file4":"1355228009","file5":"1355228010","file3":"1355228006"},"map_files_photo_id_array":[{"photo_id":"1355228010","filename":"file5"},{"photo_id":"1355228004","filename":"file2"},{"photo_id":"1355228009","filename":"file4"},{"photo_id":"1355228000","filename":"file1"},{"photo_id":"1355227997","filename":"file0"},{"photo_id":"1355228006","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228010":["hashtag1","hashtag2"]},{"1355228004":["hashtag1","hashtag2"]},{"1355227997":["hashtag1","hashtag2"]},{"1355228009":["hashtag1","hashtag2"]},{"1355228000":["hashtag1","hashtag2"]},{"1355228006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228010, 1355228004, 1355227997, 1355228009, 1355228000, 1355228006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.780906677246094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:17:32.409149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/30/image_02052025_03_30_45_10359.jpg', '/home/pi/Desktop/images/02052025/03/30/image_02052025_03_30_54_9404.jpg', '/home/pi/Desktop/images/02052025/03/30/image_02052025_03_31_05_10401.jpg', '/home/pi/Desktop/images/02052025/03/31/image_02052025_03_31_14_9381.jpg', '/home/pi/Desktop/images/02052025/03/31/image_02052025_03_31_25_10494.jpg', '/home/pi/Desktop/images/02052025/03/31/image_02052025_03_31_44_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/30/image_02052025_03_30_45_10359.jpg
/home/pi/Desktop/images/02052025/03/30/image_02052025_03_30_54_9404.jpg
/home/pi/Desktop/images/02052025/03/30/image_02052025_03_31_05_10401.jpg
/home/pi/Desktop/images/02052025/03/31/image_02052025_03_31_14_9381.jpg
/home/pi/Desktop/images/02052025/03/31/image_02052025_03_31_25_10494.jpg
/home/pi/Desktop/images/02052025/03/31/image_02052025_03_31_44_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355228055","1355228078","1355228087","1355228074","1355228062","1355228086"],"photo_ids_order":["1355228055","1355228062","1355228074","1355228078","1355228086","1355228087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05dccf249d25625e0dbd8c3f56808ceb.jpg","text":"TemporaryFile(/tmp/multipartBody5459359740161116834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163113209,"filename":"image_02052025_03_30_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16e3b36db09a930f144b81c26def3c51.jpg","text":"TemporaryFile(/tmp/multipartBody6957914942295163805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163113209,"filename":"image_02052025_03_31_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/5/2/deed129b2db625b6f4ad62f2511aa742.jpg","text":"TemporaryFile(/tmp/multipartBody8023680586200718970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163113209,"filename":"image_02052025_03_31_44_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/552e91d4c1f791275236c9f30cd05ad4.jpg","text":"TemporaryFile(/tmp/multipartBody1249209806126011866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163113209,"filename":"image_02052025_03_31_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/5/2/becba43e19890f2e4ab95d9229c721eb.jpg","text":"TemporaryFile(/tmp/multipartBody7707480348989329112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163113209,"filename":"image_02052025_03_30_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/5/2/cc6a6a8433d4d52a4117be0f9afe6478.jpg","text":"TemporaryFile(/tmp/multipartBody4923106632615654609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163113209,"filename":"image_02052025_03_31_25_10494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228074","file1":"1355228062","file0":"1355228055","file4":"1355228086","file5":"1355228087","file3":"1355228078"},"map_files_photo_id_array":[{"photo_id":"1355228087","filename":"file5"},{"photo_id":"1355228074","filename":"file2"},{"photo_id":"1355228086","filename":"file4"},{"photo_id":"1355228062","filename":"file1"},{"photo_id":"1355228055","filename":"file0"},{"photo_id":"1355228078","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228055":["hashtag1","hashtag2"]},{"1355228078":["hashtag1","hashtag2"]},{"1355228087":["hashtag1","hashtag2"]},{"1355228074":["hashtag1","hashtag2"]},{"1355228062":["hashtag1","hashtag2"]},{"1355228086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228055, 1355228078, 1355228087, 1355228074, 1355228062, 1355228086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.30825638771057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:18:32.599421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/31/image_02052025_03_31_55_10380.jpg', '/home/pi/Desktop/images/02052025/03/31/image_02052025_03_32_04_9341.jpg', '/home/pi/Desktop/images/02052025/03/32/image_02052025_03_32_14_10377.jpg', '/home/pi/Desktop/images/02052025/03/32/image_02052025_03_32_25_10362.jpg', '/home/pi/Desktop/images/02052025/03/32/image_02052025_03_32_34_9329.jpg', '/home/pi/Desktop/images/02052025/03/32/image_02052025_03_32_45_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/31/image_02052025_03_31_55_10380.jpg
/home/pi/Desktop/images/02052025/03/31/image_02052025_03_32_04_9341.jpg
/home/pi/Desktop/images/02052025/03/32/image_02052025_03_32_14_10377.jpg
/home/pi/Desktop/images/02052025/03/32/image_02052025_03_32_25_10362.jpg
/home/pi/Desktop/images/02052025/03/32/image_02052025_03_32_34_9329.jpg
/home/pi/Desktop/images/02052025/03/32/image_02052025_03_32_45_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":["1355228157","1355228145","1355228159","1355228153","1355228149","1355228140"],"photo_ids_order":["1355228140","1355228145","1355228149","1355228153","1355228157","1355228159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d235e840f28bbcb027f5d309acee9ae9.jpg","text":"TemporaryFile(/tmp/multipartBody255132790839226399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163173149,"filename":"image_02052025_03_32_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/5/2/16624b5bbd768d4ae705f2f64d94c68c.jpg","text":"TemporaryFile(/tmp/multipartBody8833673707698121863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163173149,"filename":"image_02052025_03_32_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16b8ebd6ef983b60f945b9b08660a2ed.jpg","text":"TemporaryFile(/tmp/multipartBody1123428529618739894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163173149,"filename":"image_02052025_03_32_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ade44d7f93db5a56599fe37144e63ea.jpg","text":"TemporaryFile(/tmp/multipartBody967601900673448850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163173149,"filename":"image_02052025_03_32_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f2215a4e7f53c96e1c2255aef1d303cc.jpg","text":"TemporaryFile(/tmp/multipartBody3626437491052310765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163173149,"filename":"image_02052025_03_32_14_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad93908f81a797c8141a255014f9cf31.jpg","text":"TemporaryFile(/tmp/multipartBody4462126741377082451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163173149,"filename":"image_02052025_03_31_55_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228149","file1":"1355228145","file0":"1355228140","file4":"1355228157","file5":"1355228159","file3":"1355228153"},"map_files_photo_id_array":[{"photo_id":"1355228159","filename":"file5"},{"photo_id":"1355228149","filename":"file2"},{"photo_id":"1355228157","filename":"file4"},{"photo_id":"1355228145","filename":"file1"},{"photo_id":"1355228140","filename":"file0"},{"photo_id":"1355228153","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228157":["hashtag1","hashtag2"]},{"1355228145":["hashtag1","hashtag2"]},{"1355228159":["hashtag1","hashtag2"]},{"1355228153":["hashtag1","hashtag2"]},{"1355228149":["hashtag1","hashtag2"]},{"1355228140":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228157, 1355228145, 1355228159, 1355228153, 1355228149, 1355228140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.261860370635986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:19:32.830871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/32/image_02052025_03_32_54_9344.jpg', '/home/pi/Desktop/images/02052025/03/32/image_02052025_03_33_04_10394.jpg', '/home/pi/Desktop/images/02052025/03/33/image_02052025_03_33_15_10370.jpg', '/home/pi/Desktop/images/02052025/03/33/image_02052025_03_33_24_9361.jpg', '/home/pi/Desktop/images/02052025/03/33/image_02052025_03_33_35_10449.jpg', '/home/pi/Desktop/images/02052025/03/33/image_02052025_03_34_05_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/32/image_02052025_03_32_54_9344.jpg
/home/pi/Desktop/images/02052025/03/32/image_02052025_03_33_04_10394.jpg
/home/pi/Desktop/images/02052025/03/33/image_02052025_03_33_15_10370.jpg
/home/pi/Desktop/images/02052025/03/33/image_02052025_03_33_24_9361.jpg
/home/pi/Desktop/images/02052025/03/33/image_02052025_03_33_35_10449.jpg
/home/pi/Desktop/images/02052025/03/33/image_02052025_03_34_05_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":["1355228253","1355228316","1355228342","1355228284","1355228224","1355228196"],"photo_ids_order":["1355228196","1355228224","1355228253","1355228284","1355228316","1355228342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e552833f8f7533ae3b96909faf7cdd62.jpg","text":"TemporaryFile(/tmp/multipartBody7058429802627441135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163233396,"filename":"image_02052025_03_33_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/5/2/258addbabcfff34df7f0df70c9f5493b.jpg","text":"TemporaryFile(/tmp/multipartBody8056798732996979886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163233396,"filename":"image_02052025_03_33_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/5/2/99d14f291b17522d9811f38068b3ab16.jpg","text":"TemporaryFile(/tmp/multipartBody9055448207937391467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163233396,"filename":"image_02052025_03_34_05_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/32ab7aaf7cc117d853b93b6285ce6327.jpg","text":"TemporaryFile(/tmp/multipartBody7964628727204537091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163233396,"filename":"image_02052025_03_33_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bbc236eea5abb77b3c14de64960af529.jpg","text":"TemporaryFile(/tmp/multipartBody6251618177056184816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163233396,"filename":"image_02052025_03_33_04_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f2188ce8bb185d1f23ef0b6a4b502c7.jpg","text":"TemporaryFile(/tmp/multipartBody5940928243221507899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163233396,"filename":"image_02052025_03_32_54_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228253","file1":"1355228224","file0":"1355228196","file4":"1355228316","file5":"1355228342","file3":"1355228284"},"map_files_photo_id_array":[{"photo_id":"1355228342","filename":"file5"},{"photo_id":"1355228253","filename":"file2"},{"photo_id":"1355228316","filename":"file4"},{"photo_id":"1355228224","filename":"file1"},{"photo_id":"1355228196","filename":"file0"},{"photo_id":"1355228284","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228253":["hashtag1","hashtag2"]},{"1355228316":["hashtag1","hashtag2"]},{"1355228342":["hashtag1","hashtag2"]},{"1355228284":["hashtag1","hashtag2"]},{"1355228224":["hashtag1","hashtag2"]},{"1355228196":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228253, 1355228316, 1355228342, 1355228284, 1355228224, 1355228196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27967691421509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:20:32.977056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/34/image_02052025_03_34_14_9341.jpg', '/home/pi/Desktop/images/02052025/03/34/image_02052025_03_34_25_10415.jpg', '/home/pi/Desktop/images/02052025/03/34/image_02052025_03_34_34_9350.jpg', '/home/pi/Desktop/images/02052025/03/34/image_02052025_03_34_44_10397.jpg', '/home/pi/Desktop/images/02052025/03/35/image_02052025_03_35_14_10410.jpg', '/home/pi/Desktop/images/02052025/03/35/image_02052025_03_35_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/34/image_02052025_03_34_14_9341.jpg
/home/pi/Desktop/images/02052025/03/34/image_02052025_03_34_25_10415.jpg
/home/pi/Desktop/images/02052025/03/34/image_02052025_03_34_34_9350.jpg
/home/pi/Desktop/images/02052025/03/34/image_02052025_03_34_44_10397.jpg
/home/pi/Desktop/images/02052025/03/35/image_02052025_03_35_14_10410.jpg
/home/pi/Desktop/images/02052025/03/35/image_02052025_03_35_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":["1355228391","1355228379","1355228388","1355228373","1355228366","1355228394"],"photo_ids_order":["1355228366","1355228373","1355228379","1355228388","1355228391","1355228394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/29cfe853e4be77fff69e0d04161ba57c.jpg","text":"TemporaryFile(/tmp/multipartBody4573656038634513182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163293524,"filename":"image_02052025_03_35_14_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c886dabb2bb4233d48c070b19a41663.jpg","text":"TemporaryFile(/tmp/multipartBody115522069550676792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163293524,"filename":"image_02052025_03_34_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/5/2/46a9a12e94dc61bfdd8d2a10ecfac240.jpg","text":"TemporaryFile(/tmp/multipartBody3498116288982763617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163293524,"filename":"image_02052025_03_34_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/5/2/667717d7d54c250f395ae36df6da1870.jpg","text":"TemporaryFile(/tmp/multipartBody3242979562721524884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163293524,"filename":"image_02052025_03_34_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/5/2/cb6fafe342c0cc76e7f723cfefeeddba.jpg","text":"TemporaryFile(/tmp/multipartBody3896319844336989272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163293524,"filename":"image_02052025_03_34_14_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3b781e351aedfc8e377bcc1bfd48e78e.jpg","text":"TemporaryFile(/tmp/multipartBody8435001976141927951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163293524,"filename":"image_02052025_03_35_25_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228379","file1":"1355228373","file0":"1355228366","file4":"1355228391","file5":"1355228394","file3":"1355228388"},"map_files_photo_id_array":[{"photo_id":"1355228394","filename":"file5"},{"photo_id":"1355228379","filename":"file2"},{"photo_id":"1355228391","filename":"file4"},{"photo_id":"1355228373","filename":"file1"},{"photo_id":"1355228366","filename":"file0"},{"photo_id":"1355228388","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228391":["hashtag1","hashtag2"]},{"1355228379":["hashtag1","hashtag2"]},{"1355228388":["hashtag1","hashtag2"]},{"1355228373":["hashtag1","hashtag2"]},{"1355228366":["hashtag1","hashtag2"]},{"1355228394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228391, 1355228379, 1355228388, 1355228373, 1355228366, 1355228394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.97416925430298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:21:32.243439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/35/image_02052025_03_35_34_9433.jpg', '/home/pi/Desktop/images/02052025/03/35/image_02052025_03_36_04_10397.jpg', '/home/pi/Desktop/images/02052025/03/36/image_02052025_03_36_15_10367.jpg', '/home/pi/Desktop/images/02052025/03/36/image_02052025_03_36_24_9404.jpg', '/home/pi/Desktop/images/02052025/03/36/image_02052025_03_36_35_10357.jpg', '/home/pi/Desktop/images/02052025/03/36/image_02052025_03_36_44_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/35/image_02052025_03_35_34_9433.jpg
/home/pi/Desktop/images/02052025/03/35/image_02052025_03_36_04_10397.jpg
/home/pi/Desktop/images/02052025/03/36/image_02052025_03_36_15_10367.jpg
/home/pi/Desktop/images/02052025/03/36/image_02052025_03_36_24_9404.jpg
/home/pi/Desktop/images/02052025/03/36/image_02052025_03_36_35_10357.jpg
/home/pi/Desktop/images/02052025/03/36/image_02052025_03_36_44_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":["1355228421","1355228438","1355228426","1355228434","1355228416","1355228431"],"photo_ids_order":["1355228416","1355228421","1355228426","1355228431","1355228434","1355228438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c53986bf6ef357a89c9a23365c642019.jpg","text":"TemporaryFile(/tmp/multipartBody2820596107862664967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163352826,"filename":"image_02052025_03_36_04_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a46e247e60cd9185e3f24594fc99e74d.jpg","text":"TemporaryFile(/tmp/multipartBody4184229411265640497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163352826,"filename":"image_02052025_03_36_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/5/2/e68a0f059b0b337112d1e7b20da3beec.jpg","text":"TemporaryFile(/tmp/multipartBody7265973856333978575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163352826,"filename":"image_02052025_03_36_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63b46f568bf6935ad2f099260d3ae01a.jpg","text":"TemporaryFile(/tmp/multipartBody7655146789063011409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163352826,"filename":"image_02052025_03_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/5/2/435c226eb10215e2c764706fcbf60b76.jpg","text":"TemporaryFile(/tmp/multipartBody9039057318262573562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163352826,"filename":"image_02052025_03_35_34_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/befc50393cd1d02322cedb18bacd997e.jpg","text":"TemporaryFile(/tmp/multipartBody4385866322926406567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163352826,"filename":"image_02052025_03_36_24_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228426","file1":"1355228421","file0":"1355228416","file4":"1355228434","file5":"1355228438","file3":"1355228431"},"map_files_photo_id_array":[{"photo_id":"1355228438","filename":"file5"},{"photo_id":"1355228426","filename":"file2"},{"photo_id":"1355228434","filename":"file4"},{"photo_id":"1355228421","filename":"file1"},{"photo_id":"1355228416","filename":"file0"},{"photo_id":"1355228431","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228421":["hashtag1","hashtag2"]},{"1355228438":["hashtag1","hashtag2"]},{"1355228426":["hashtag1","hashtag2"]},{"1355228434":["hashtag1","hashtag2"]},{"1355228416":["hashtag1","hashtag2"]},{"1355228431":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228421, 1355228438, 1355228426, 1355228434, 1355228416, 1355228431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.443078756332397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:22:32.546235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/36/image_02052025_03_36_54_10405.jpg', '/home/pi/Desktop/images/02052025/03/36/image_02052025_03_37_05_10369.jpg', '/home/pi/Desktop/images/02052025/03/37/image_02052025_03_37_14_9365.jpg', '/home/pi/Desktop/images/02052025/03/37/image_02052025_03_37_25_10482.jpg', '/home/pi/Desktop/images/02052025/03/37/image_02052025_03_37_34_9356.jpg', '/home/pi/Desktop/images/02052025/03/37/image_02052025_03_37_54_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/36/image_02052025_03_36_54_10405.jpg
/home/pi/Desktop/images/02052025/03/36/image_02052025_03_37_05_10369.jpg
/home/pi/Desktop/images/02052025/03/37/image_02052025_03_37_14_9365.jpg
/home/pi/Desktop/images/02052025/03/37/image_02052025_03_37_25_10482.jpg
/home/pi/Desktop/images/02052025/03/37/image_02052025_03_37_34_9356.jpg
/home/pi/Desktop/images/02052025/03/37/image_02052025_03_37_54_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355228472","1355228477","1355228459","1355228482","1355228470","1355228464"],"photo_ids_order":["1355228459","1355228464","1355228470","1355228472","1355228477","1355228482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9746c7d8b5447f16f82193a001cd7066.jpg","text":"TemporaryFile(/tmp/multipartBody2221660581362732580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163413105,"filename":"image_02052025_03_37_25_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0cce2e1eebc4c1904e78d405588b6163.jpg","text":"TemporaryFile(/tmp/multipartBody9130798744422171994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163413105,"filename":"image_02052025_03_37_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f73a184f27fee8a321b83b8a7eada2a.jpg","text":"TemporaryFile(/tmp/multipartBody1858174788234154325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163413105,"filename":"image_02052025_03_36_54_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e910c4d2d3437f1e86f70fda49df357f.jpg","text":"TemporaryFile(/tmp/multipartBody2858150820642910636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163413105,"filename":"image_02052025_03_37_54_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3d1e8d6d7569c3230bf07ad1bba2bab.jpg","text":"TemporaryFile(/tmp/multipartBody8021518644666389549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163413105,"filename":"image_02052025_03_37_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/5/2/a40f92f671f97518bc4c681e177f9602.jpg","text":"TemporaryFile(/tmp/multipartBody8315429893016772993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163413105,"filename":"image_02052025_03_37_05_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228470","file1":"1355228464","file0":"1355228459","file4":"1355228477","file5":"1355228482","file3":"1355228472"},"map_files_photo_id_array":[{"photo_id":"1355228482","filename":"file5"},{"photo_id":"1355228470","filename":"file2"},{"photo_id":"1355228477","filename":"file4"},{"photo_id":"1355228464","filename":"file1"},{"photo_id":"1355228459","filename":"file0"},{"photo_id":"1355228472","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228472":["hashtag1","hashtag2"]},{"1355228477":["hashtag1","hashtag2"]},{"1355228459":["hashtag1","hashtag2"]},{"1355228482":["hashtag1","hashtag2"]},{"1355228470":["hashtag1","hashtag2"]},{"1355228464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228472, 1355228477, 1355228459, 1355228482, 1355228470, 1355228464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.123445749282837 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:23:32.832708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/37/image_02052025_03_38_04_10453.jpg', '/home/pi/Desktop/images/02052025/03/38/image_02052025_03_38_15_10344.jpg', '/home/pi/Desktop/images/02052025/03/38/image_02052025_03_38_24_9394.jpg', '/home/pi/Desktop/images/02052025/03/38/image_02052025_03_38_34_10350.jpg', '/home/pi/Desktop/images/02052025/03/38/image_02052025_03_39_05_10346.jpg', '/home/pi/Desktop/images/02052025/03/39/image_02052025_03_39_15_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/37/image_02052025_03_38_04_10453.jpg
/home/pi/Desktop/images/02052025/03/38/image_02052025_03_38_15_10344.jpg
/home/pi/Desktop/images/02052025/03/38/image_02052025_03_38_24_9394.jpg
/home/pi/Desktop/images/02052025/03/38/image_02052025_03_38_34_10350.jpg
/home/pi/Desktop/images/02052025/03/38/image_02052025_03_39_05_10346.jpg
/home/pi/Desktop/images/02052025/03/39/image_02052025_03_39_15_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355228514","1355228523","1355228531","1355228519","1355228527","1355228509"],"photo_ids_order":["1355228509","1355228514","1355228519","1355228523","1355228527","1355228531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa0ae06b2cf4c5be5e89727a4fd4581d.jpg","text":"TemporaryFile(/tmp/multipartBody7070364982427066847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163473401,"filename":"image_02052025_03_38_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81bc02f842c7a22789005f50583fec31.jpg","text":"TemporaryFile(/tmp/multipartBody7526532939691655503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163473401,"filename":"image_02052025_03_38_34_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/049599d102ea3895e0138fda5619f7a9.jpg","text":"TemporaryFile(/tmp/multipartBody657982255252697267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163473401,"filename":"image_02052025_03_39_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d290dc6f308ad12917e36fb97d29d84.jpg","text":"TemporaryFile(/tmp/multipartBody4027865362746694545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163473401,"filename":"image_02052025_03_38_24_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6dcd229c98ba187fdd92f028413650b5.jpg","text":"TemporaryFile(/tmp/multipartBody3274495259904929714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163473401,"filename":"image_02052025_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/5/2/b4a09b7c45feb84773c6e12b5a7865d6.jpg","text":"TemporaryFile(/tmp/multipartBody5891831909640898236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163473401,"filename":"image_02052025_03_38_04_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228519","file1":"1355228514","file0":"1355228509","file4":"1355228527","file5":"1355228531","file3":"1355228523"},"map_files_photo_id_array":[{"photo_id":"1355228531","filename":"file5"},{"photo_id":"1355228519","filename":"file2"},{"photo_id":"1355228527","filename":"file4"},{"photo_id":"1355228514","filename":"file1"},{"photo_id":"1355228509","filename":"file0"},{"photo_id":"1355228523","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228514":["hashtag1","hashtag2"]},{"1355228523":["hashtag1","hashtag2"]},{"1355228531":["hashtag1","hashtag2"]},{"1355228519":["hashtag1","hashtag2"]},{"1355228527":["hashtag1","hashtag2"]},{"1355228509":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228514, 1355228523, 1355228531, 1355228519, 1355228527, 1355228509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84493350982666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:24:32.949382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/39/image_02052025_03_39_24_9513.jpg', '/home/pi/Desktop/images/02052025/03/39/image_02052025_03_39_35_10365.jpg', '/home/pi/Desktop/images/02052025/03/39/image_02052025_03_39_44_9342.jpg', '/home/pi/Desktop/images/02052025/03/39/image_02052025_03_39_54_10379.jpg', '/home/pi/Desktop/images/02052025/03/40/image_02052025_03_40_14_9441.jpg', '/home/pi/Desktop/images/02052025/03/40/image_02052025_03_40_44_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/39/image_02052025_03_39_24_9513.jpg
/home/pi/Desktop/images/02052025/03/39/image_02052025_03_39_35_10365.jpg
/home/pi/Desktop/images/02052025/03/39/image_02052025_03_39_44_9342.jpg
/home/pi/Desktop/images/02052025/03/39/image_02052025_03_39_54_10379.jpg
/home/pi/Desktop/images/02052025/03/40/image_02052025_03_40_14_9441.jpg
/home/pi/Desktop/images/02052025/03/40/image_02052025_03_40_44_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":["1355228565","1355228590","1355228587","1355228575","1355228569","1355228580"],"photo_ids_order":["1355228565","1355228569","1355228575","1355228580","1355228587","1355228590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d980c6d23c1c748cb52b2cc495ca254.jpg","text":"TemporaryFile(/tmp/multipartBody1476861949475205917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163533500,"filename":"image_02052025_03_39_24_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0886be79f972041b5714528faefcb05a.jpg","text":"TemporaryFile(/tmp/multipartBody8557839752082517890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163533500,"filename":"image_02052025_03_40_44_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b1ef2572c201a3385f7bf9d09ace7b7.jpg","text":"TemporaryFile(/tmp/multipartBody3387228338229681254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163533500,"filename":"image_02052025_03_40_14_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fece3dcb8967d1d22158e0f586d6e793.jpg","text":"TemporaryFile(/tmp/multipartBody5768586826789307761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163533500,"filename":"image_02052025_03_39_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/5/2/262343edcf0256c070a4659a41a26805.jpg","text":"TemporaryFile(/tmp/multipartBody2180013509243959792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163533500,"filename":"image_02052025_03_39_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/5/2/2866f3b8d41cfc75d39fd3e6cce3635c.jpg","text":"TemporaryFile(/tmp/multipartBody3679042748203869373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163533500,"filename":"image_02052025_03_39_54_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228575","file1":"1355228569","file0":"1355228565","file4":"1355228587","file5":"1355228590","file3":"1355228580"},"map_files_photo_id_array":[{"photo_id":"1355228590","filename":"file5"},{"photo_id":"1355228575","filename":"file2"},{"photo_id":"1355228587","filename":"file4"},{"photo_id":"1355228569","filename":"file1"},{"photo_id":"1355228565","filename":"file0"},{"photo_id":"1355228580","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228565":["hashtag1","hashtag2"]},{"1355228590":["hashtag1","hashtag2"]},{"1355228587":["hashtag1","hashtag2"]},{"1355228575":["hashtag1","hashtag2"]},{"1355228569":["hashtag1","hashtag2"]},{"1355228580":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228565, 1355228590, 1355228587, 1355228575, 1355228569, 1355228580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90732192993164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:25:32.235787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/40/image_02052025_03_40_55_10359.jpg', '/home/pi/Desktop/images/02052025/03/40/image_02052025_03_41_04_9354.jpg', '/home/pi/Desktop/images/02052025/03/41/image_02052025_03_41_14_10361.jpg', '/home/pi/Desktop/images/02052025/03/41/image_02052025_03_41_25_10361.jpg', '/home/pi/Desktop/images/02052025/03/41/image_02052025_03_41_34_9469.jpg', '/home/pi/Desktop/images/02052025/03/41/image_02052025_03_41_45_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/40/image_02052025_03_40_55_10359.jpg
/home/pi/Desktop/images/02052025/03/40/image_02052025_03_41_04_9354.jpg
/home/pi/Desktop/images/02052025/03/41/image_02052025_03_41_14_10361.jpg
/home/pi/Desktop/images/02052025/03/41/image_02052025_03_41_25_10361.jpg
/home/pi/Desktop/images/02052025/03/41/image_02052025_03_41_34_9469.jpg
/home/pi/Desktop/images/02052025/03/41/image_02052025_03_41_45_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355228628","1355228624","1355228618","1355228612","1355228632","1355228608"],"photo_ids_order":["1355228608","1355228612","1355228618","1355228624","1355228628","1355228632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/12f81b2064a8f823bcf7d2d8d27a877c.jpg","text":"TemporaryFile(/tmp/multipartBody642673038301962058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163592785,"filename":"image_02052025_03_41_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/5/2/4503db6fb13d4866e61e956778fbd6ce.jpg","text":"TemporaryFile(/tmp/multipartBody1744862722137845745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163592785,"filename":"image_02052025_03_41_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/5/2/8c6c27321c15b6e7a4d9c8b3990db033.jpg","text":"TemporaryFile(/tmp/multipartBody1960813090439078426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163592785,"filename":"image_02052025_03_41_14_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2509ba24301ddb67caa65b88848a3cc2.jpg","text":"TemporaryFile(/tmp/multipartBody3639777120460259016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163592785,"filename":"image_02052025_03_41_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a49047f916bde999b25b93e4caefc15d.jpg","text":"TemporaryFile(/tmp/multipartBody1536122509177162703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163592785,"filename":"image_02052025_03_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/5/2/45a468c5944b7eca98a30298dc20e67e.jpg","text":"TemporaryFile(/tmp/multipartBody2178922027437381923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163592785,"filename":"image_02052025_03_40_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228618","file1":"1355228612","file0":"1355228608","file4":"1355228628","file5":"1355228632","file3":"1355228624"},"map_files_photo_id_array":[{"photo_id":"1355228632","filename":"file5"},{"photo_id":"1355228618","filename":"file2"},{"photo_id":"1355228628","filename":"file4"},{"photo_id":"1355228612","filename":"file1"},{"photo_id":"1355228608","filename":"file0"},{"photo_id":"1355228624","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228628":["hashtag1","hashtag2"]},{"1355228624":["hashtag1","hashtag2"]},{"1355228618":["hashtag1","hashtag2"]},{"1355228612":["hashtag1","hashtag2"]},{"1355228632":["hashtag1","hashtag2"]},{"1355228608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228628, 1355228624, 1355228618, 1355228612, 1355228632, 1355228608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5832142829895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:26:32.461051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/41/image_02052025_03_41_54_9433.jpg', '/home/pi/Desktop/images/02052025/03/41/image_02052025_03_42_05_10438.jpg', '/home/pi/Desktop/images/02052025/03/42/image_02052025_03_42_15_10352.jpg', '/home/pi/Desktop/images/02052025/03/42/image_02052025_03_42_24_9458.jpg', '/home/pi/Desktop/images/02052025/03/42/image_02052025_03_42_35_10353.jpg', '/home/pi/Desktop/images/02052025/03/42/image_02052025_03_42_44_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/41/image_02052025_03_41_54_9433.jpg
/home/pi/Desktop/images/02052025/03/41/image_02052025_03_42_05_10438.jpg
/home/pi/Desktop/images/02052025/03/42/image_02052025_03_42_15_10352.jpg
/home/pi/Desktop/images/02052025/03/42/image_02052025_03_42_24_9458.jpg
/home/pi/Desktop/images/02052025/03/42/image_02052025_03_42_35_10353.jpg
/home/pi/Desktop/images/02052025/03/42/image_02052025_03_42_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":["1355228649","1355228670","1355228664","1355228658","1355228654","1355228667"],"photo_ids_order":["1355228649","1355228654","1355228658","1355228664","1355228667","1355228670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/38ef78e798eb9cf7cb2983feb2c01f1f.jpg","text":"TemporaryFile(/tmp/multipartBody1966357726486232855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163653038,"filename":"image_02052025_03_41_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/5/2/c404731d4405aa4746742ac002109d2a.jpg","text":"TemporaryFile(/tmp/multipartBody6587874571902145977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163653038,"filename":"image_02052025_03_42_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/5/2/2a91fb3c65b3e849a1741f54ec8ac8a0.jpg","text":"TemporaryFile(/tmp/multipartBody7581944957799661867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163653038,"filename":"image_02052025_03_42_24_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b59446dada52cce12ea38dbf70881d66.jpg","text":"TemporaryFile(/tmp/multipartBody250542410370900665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163653038,"filename":"image_02052025_03_42_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/5/2/d45dba4c9ef79e0005244f151bae669a.jpg","text":"TemporaryFile(/tmp/multipartBody6404700024738041985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163653038,"filename":"image_02052025_03_42_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/5/2/482d7c6a69fd89e1e11307072ef4c8c0.jpg","text":"TemporaryFile(/tmp/multipartBody650139820100703659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163653038,"filename":"image_02052025_03_42_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228658","file1":"1355228654","file0":"1355228649","file4":"1355228667","file5":"1355228670","file3":"1355228664"},"map_files_photo_id_array":[{"photo_id":"1355228670","filename":"file5"},{"photo_id":"1355228658","filename":"file2"},{"photo_id":"1355228667","filename":"file4"},{"photo_id":"1355228654","filename":"file1"},{"photo_id":"1355228649","filename":"file0"},{"photo_id":"1355228664","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228649":["hashtag1","hashtag2"]},{"1355228670":["hashtag1","hashtag2"]},{"1355228664":["hashtag1","hashtag2"]},{"1355228658":["hashtag1","hashtag2"]},{"1355228654":["hashtag1","hashtag2"]},{"1355228667":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228649, 1355228670, 1355228664, 1355228658, 1355228654, 1355228667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0669903755188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:27:32.807165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/42/image_02052025_03_42_54_10372.jpg', '/home/pi/Desktop/images/02052025/03/42/image_02052025_03_43_05_10379.jpg', '/home/pi/Desktop/images/02052025/03/43/image_02052025_03_43_25_10429.jpg', '/home/pi/Desktop/images/02052025/03/43/image_02052025_03_43_34_9357.jpg', '/home/pi/Desktop/images/02052025/03/43/image_02052025_03_43_44_10463.jpg', '/home/pi/Desktop/images/02052025/03/43/image_02052025_03_43_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/42/image_02052025_03_42_54_10372.jpg
/home/pi/Desktop/images/02052025/03/42/image_02052025_03_43_05_10379.jpg
/home/pi/Desktop/images/02052025/03/43/image_02052025_03_43_25_10429.jpg
/home/pi/Desktop/images/02052025/03/43/image_02052025_03_43_34_9357.jpg
/home/pi/Desktop/images/02052025/03/43/image_02052025_03_43_44_10463.jpg
/home/pi/Desktop/images/02052025/03/43/image_02052025_03_43_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355228703","1355228706","1355228693","1355228708","1355228698","1355228688"],"photo_ids_order":["1355228688","1355228693","1355228698","1355228703","1355228706","1355228708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b1ca182ea6d109070b0027960ac61031.jpg","text":"TemporaryFile(/tmp/multipartBody8452397813698381005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163713359,"filename":"image_02052025_03_43_34_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/113586ac0027f78f8be181a250212735.jpg","text":"TemporaryFile(/tmp/multipartBody8632740292330343694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163713359,"filename":"image_02052025_03_43_44_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cb8f1f3692b31996e303c6728c8d6541.jpg","text":"TemporaryFile(/tmp/multipartBody5960149070550937140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163713359,"filename":"image_02052025_03_43_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/5/2/c79667d9b8e55b6cd7543f4f2f4bc1d5.jpg","text":"TemporaryFile(/tmp/multipartBody2818025455974118382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163713359,"filename":"image_02052025_03_43_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/820475b8d774a11f2c48a8124e22425c.jpg","text":"TemporaryFile(/tmp/multipartBody8935487664735673513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163713359,"filename":"image_02052025_03_43_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/5/2/f441c448bb0909fc512c7c41236b9199.jpg","text":"TemporaryFile(/tmp/multipartBody2313067810085289557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163713359,"filename":"image_02052025_03_42_54_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228698","file1":"1355228693","file0":"1355228688","file4":"1355228706","file5":"1355228708","file3":"1355228703"},"map_files_photo_id_array":[{"photo_id":"1355228708","filename":"file5"},{"photo_id":"1355228698","filename":"file2"},{"photo_id":"1355228706","filename":"file4"},{"photo_id":"1355228693","filename":"file1"},{"photo_id":"1355228688","filename":"file0"},{"photo_id":"1355228703","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228703":["hashtag1","hashtag2"]},{"1355228706":["hashtag1","hashtag2"]},{"1355228693":["hashtag1","hashtag2"]},{"1355228708":["hashtag1","hashtag2"]},{"1355228698":["hashtag1","hashtag2"]},{"1355228688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228703, 1355228706, 1355228693, 1355228708, 1355228698, 1355228688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59714937210083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:28:32.941198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/43/image_02052025_03_44_04_9345.jpg', '/home/pi/Desktop/images/02052025/03/44/image_02052025_03_44_15_10415.jpg', '/home/pi/Desktop/images/02052025/03/44/image_02052025_03_44_24_9360.jpg', '/home/pi/Desktop/images/02052025/03/44/image_02052025_03_44_34_10431.jpg', '/home/pi/Desktop/images/02052025/03/44/image_02052025_03_44_45_10431.jpg', '/home/pi/Desktop/images/02052025/03/44/image_02052025_03_44_54_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/43/image_02052025_03_44_04_9345.jpg
/home/pi/Desktop/images/02052025/03/44/image_02052025_03_44_15_10415.jpg
/home/pi/Desktop/images/02052025/03/44/image_02052025_03_44_24_9360.jpg
/home/pi/Desktop/images/02052025/03/44/image_02052025_03_44_34_10431.jpg
/home/pi/Desktop/images/02052025/03/44/image_02052025_03_44_45_10431.jpg
/home/pi/Desktop/images/02052025/03/44/image_02052025_03_44_54_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355228751","1355228747","1355228732","1355228741","1355228737","1355228728"],"photo_ids_order":["1355228728","1355228732","1355228737","1355228741","1355228747","1355228751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d53ef6546a746cce16440eeec321a29.jpg","text":"TemporaryFile(/tmp/multipartBody8933765160651022254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163773476,"filename":"image_02052025_03_44_54_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b29c72e302f7bf255af89aa75b430129.jpg","text":"TemporaryFile(/tmp/multipartBody8268327062690818866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163773476,"filename":"image_02052025_03_44_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/5/2/5dcc1f3f231c4c1880b6724d0efa03d2.jpg","text":"TemporaryFile(/tmp/multipartBody3713748700576220807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163773476,"filename":"image_02052025_03_44_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/79c35b419eeb62c198cc7fb8b7c953a3.jpg","text":"TemporaryFile(/tmp/multipartBody737360022489730458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163773476,"filename":"image_02052025_03_44_34_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55e883cd267e979abc210f6f908ca757.jpg","text":"TemporaryFile(/tmp/multipartBody985634915769304055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163773476,"filename":"image_02052025_03_44_24_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b474f0fcb2985c9ff6b1d35dcf06809.jpg","text":"TemporaryFile(/tmp/multipartBody4142633057100983877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163773476,"filename":"image_02052025_03_44_04_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228737","file1":"1355228732","file0":"1355228728","file4":"1355228747","file5":"1355228751","file3":"1355228741"},"map_files_photo_id_array":[{"photo_id":"1355228751","filename":"file5"},{"photo_id":"1355228737","filename":"file2"},{"photo_id":"1355228747","filename":"file4"},{"photo_id":"1355228732","filename":"file1"},{"photo_id":"1355228728","filename":"file0"},{"photo_id":"1355228741","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228751":["hashtag1","hashtag2"]},{"1355228747":["hashtag1","hashtag2"]},{"1355228732":["hashtag1","hashtag2"]},{"1355228741":["hashtag1","hashtag2"]},{"1355228737":["hashtag1","hashtag2"]},{"1355228728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228751, 1355228747, 1355228732, 1355228741, 1355228737, 1355228728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6949508190155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:29:33.130913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/44/image_02052025_03_45_05_10419.jpg', '/home/pi/Desktop/images/02052025/03/45/image_02052025_03_45_14_9344.jpg', '/home/pi/Desktop/images/02052025/03/45/image_02052025_03_45_24_10413.jpg', '/home/pi/Desktop/images/02052025/03/45/image_02052025_03_45_35_10357.jpg', '/home/pi/Desktop/images/02052025/03/45/image_02052025_03_45_44_9402.jpg', '/home/pi/Desktop/images/02052025/03/45/image_02052025_03_45_55_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/44/image_02052025_03_45_05_10419.jpg
/home/pi/Desktop/images/02052025/03/45/image_02052025_03_45_14_9344.jpg
/home/pi/Desktop/images/02052025/03/45/image_02052025_03_45_24_10413.jpg
/home/pi/Desktop/images/02052025/03/45/image_02052025_03_45_35_10357.jpg
/home/pi/Desktop/images/02052025/03/45/image_02052025_03_45_44_9402.jpg
/home/pi/Desktop/images/02052025/03/45/image_02052025_03_45_55_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":["1355228783","1355228786","1355228780","1355228791","1355228776","1355228772"],"photo_ids_order":["1355228772","1355228776","1355228780","1355228783","1355228786","1355228791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6676d009ae21ab45f6a040782ab604ee.jpg","text":"TemporaryFile(/tmp/multipartBody9094238938317686450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163833707,"filename":"image_02052025_03_45_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/5/2/9c0077d1bd587c6fdcdbdc6c3301bb87.jpg","text":"TemporaryFile(/tmp/multipartBody6437470394336427593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163833707,"filename":"image_02052025_03_45_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/5/2/71383d53dd80a45e66ec230268247485.jpg","text":"TemporaryFile(/tmp/multipartBody8569561583918023266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163833707,"filename":"image_02052025_03_45_24_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7b050778a79bf7830117d9f8a5dc54c.jpg","text":"TemporaryFile(/tmp/multipartBody4628458501828806683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163833707,"filename":"image_02052025_03_45_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/5/2/4c9836063bb87ce95624551239ee90a7.jpg","text":"TemporaryFile(/tmp/multipartBody4055349371036583520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163833707,"filename":"image_02052025_03_45_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/045898368f35178c4634ae0d278db1be.jpg","text":"TemporaryFile(/tmp/multipartBody5335857994726150246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163833707,"filename":"image_02052025_03_45_05_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228780","file1":"1355228776","file0":"1355228772","file4":"1355228786","file5":"1355228791","file3":"1355228783"},"map_files_photo_id_array":[{"photo_id":"1355228791","filename":"file5"},{"photo_id":"1355228780","filename":"file2"},{"photo_id":"1355228786","filename":"file4"},{"photo_id":"1355228776","filename":"file1"},{"photo_id":"1355228772","filename":"file0"},{"photo_id":"1355228783","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228783":["hashtag1","hashtag2"]},{"1355228786":["hashtag1","hashtag2"]},{"1355228780":["hashtag1","hashtag2"]},{"1355228791":["hashtag1","hashtag2"]},{"1355228776":["hashtag1","hashtag2"]},{"1355228772":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228783, 1355228786, 1355228780, 1355228791, 1355228776, 1355228772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64115929603577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:30:32.325984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/45/image_02052025_03_46_04_9384.jpg', '/home/pi/Desktop/images/02052025/03/46/image_02052025_03_46_25_10376.jpg', '/home/pi/Desktop/images/02052025/03/46/image_02052025_03_46_34_9422.jpg', '/home/pi/Desktop/images/02052025/03/46/image_02052025_03_46_45_10366.jpg', '/home/pi/Desktop/images/02052025/03/46/image_02052025_03_46_54_9401.jpg', '/home/pi/Desktop/images/02052025/03/47/image_02052025_03_47_15_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/45/image_02052025_03_46_04_9384.jpg
/home/pi/Desktop/images/02052025/03/46/image_02052025_03_46_25_10376.jpg
/home/pi/Desktop/images/02052025/03/46/image_02052025_03_46_34_9422.jpg
/home/pi/Desktop/images/02052025/03/46/image_02052025_03_46_45_10366.jpg
/home/pi/Desktop/images/02052025/03/46/image_02052025_03_46_54_9401.jpg
/home/pi/Desktop/images/02052025/03/47/image_02052025_03_47_15_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":["1355228814","1355228828","1355228822","1355228825","1355228819","1355228810"],"photo_ids_order":["1355228810","1355228814","1355228819","1355228822","1355228825","1355228828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84e7db678dbbcc17b5dae981d877d99b.jpg","text":"TemporaryFile(/tmp/multipartBody2387226975073564120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163892899,"filename":"image_02052025_03_46_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/496b3793cf01b7afaa0e2e47f90ec9b2.jpg","text":"TemporaryFile(/tmp/multipartBody5017551402730765653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163892899,"filename":"image_02052025_03_47_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/5/2/03d2ad05bb34ff20fb078e8d093c6821.jpg","text":"TemporaryFile(/tmp/multipartBody1055188285934304013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163892899,"filename":"image_02052025_03_46_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/5/2/edf14266ed14284c4f739c0d4b0d7820.jpg","text":"TemporaryFile(/tmp/multipartBody2167324944126128810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163892899,"filename":"image_02052025_03_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/5/2/dd71e5e5afd6ab0bf56f77478c451aae.jpg","text":"TemporaryFile(/tmp/multipartBody479404024295720727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163892899,"filename":"image_02052025_03_46_34_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3da4f3710f027da5f0d268200e584d74.jpg","text":"TemporaryFile(/tmp/multipartBody5623382609341990608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163892899,"filename":"image_02052025_03_46_04_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228819","file1":"1355228814","file0":"1355228810","file4":"1355228825","file5":"1355228828","file3":"1355228822"},"map_files_photo_id_array":[{"photo_id":"1355228828","filename":"file5"},{"photo_id":"1355228819","filename":"file2"},{"photo_id":"1355228825","filename":"file4"},{"photo_id":"1355228814","filename":"file1"},{"photo_id":"1355228810","filename":"file0"},{"photo_id":"1355228822","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228814":["hashtag1","hashtag2"]},{"1355228828":["hashtag1","hashtag2"]},{"1355228822":["hashtag1","hashtag2"]},{"1355228825":["hashtag1","hashtag2"]},{"1355228819":["hashtag1","hashtag2"]},{"1355228810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228814, 1355228828, 1355228822, 1355228825, 1355228819, 1355228810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.52610421180725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:31:32.663563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/47/image_02052025_03_47_24_9362.jpg', '/home/pi/Desktop/images/02052025/03/47/image_02052025_03_47_35_10435.jpg', '/home/pi/Desktop/images/02052025/03/47/image_02052025_03_47_44_9350.jpg', '/home/pi/Desktop/images/02052025/03/47/image_02052025_03_47_54_10372.jpg', '/home/pi/Desktop/images/02052025/03/47/image_02052025_03_48_05_10356.jpg', '/home/pi/Desktop/images/02052025/03/48/image_02052025_03_48_14_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/47/image_02052025_03_47_24_9362.jpg
/home/pi/Desktop/images/02052025/03/47/image_02052025_03_47_35_10435.jpg
/home/pi/Desktop/images/02052025/03/47/image_02052025_03_47_44_9350.jpg
/home/pi/Desktop/images/02052025/03/47/image_02052025_03_47_54_10372.jpg
/home/pi/Desktop/images/02052025/03/47/image_02052025_03_48_05_10356.jpg
/home/pi/Desktop/images/02052025/03/48/image_02052025_03_48_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":["1355228880","1355228888","1355228891","1355228885","1355228924","1355228871"],"photo_ids_order":["1355228871","1355228880","1355228885","1355228888","1355228891","1355228924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a54de0e932bb8b77eb77e9d6f494d373.jpg","text":"TemporaryFile(/tmp/multipartBody1805938864094101661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163953225,"filename":"image_02052025_03_47_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/5/2/0dc5cf52816f247d114c531057482857.jpg","text":"TemporaryFile(/tmp/multipartBody9065904925433408282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163953225,"filename":"image_02052025_03_47_54_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9da424d31106fd08cc7b98a2313f7e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5592396546019860999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163953225,"filename":"image_02052025_03_48_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/5/2/b7b31f3e2d9bf72cea36ba1d6b9a8ec9.jpg","text":"TemporaryFile(/tmp/multipartBody971852116855060715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163953225,"filename":"image_02052025_03_47_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4945857f4f230a45db97ea115669b0f0.jpg","text":"TemporaryFile(/tmp/multipartBody958805025758068716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163953225,"filename":"image_02052025_03_48_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/5/2/6b89aac8f9054f502fc9297ce35f46de.jpg","text":"TemporaryFile(/tmp/multipartBody4146803138671279647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746163953225,"filename":"image_02052025_03_47_24_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228885","file1":"1355228880","file0":"1355228871","file4":"1355228891","file5":"1355228924","file3":"1355228888"},"map_files_photo_id_array":[{"photo_id":"1355228924","filename":"file5"},{"photo_id":"1355228885","filename":"file2"},{"photo_id":"1355228891","filename":"file4"},{"photo_id":"1355228880","filename":"file1"},{"photo_id":"1355228871","filename":"file0"},{"photo_id":"1355228888","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228880":["hashtag1","hashtag2"]},{"1355228888":["hashtag1","hashtag2"]},{"1355228891":["hashtag1","hashtag2"]},{"1355228885":["hashtag1","hashtag2"]},{"1355228924":["hashtag1","hashtag2"]},{"1355228871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228880, 1355228888, 1355228891, 1355228885, 1355228924, 1355228871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.3132963180542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:32:32.772721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/48/image_02052025_03_48_24_10438.jpg', '/home/pi/Desktop/images/02052025/03/48/image_02052025_03_48_34_9399.jpg', '/home/pi/Desktop/images/02052025/03/48/image_02052025_03_48_44_10467.jpg', '/home/pi/Desktop/images/02052025/03/48/image_02052025_03_48_55_10380.jpg', '/home/pi/Desktop/images/02052025/03/48/image_02052025_03_49_04_9346.jpg', '/home/pi/Desktop/images/02052025/03/49/image_02052025_03_49_14_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/48/image_02052025_03_48_24_10438.jpg
/home/pi/Desktop/images/02052025/03/48/image_02052025_03_48_34_9399.jpg
/home/pi/Desktop/images/02052025/03/48/image_02052025_03_48_44_10467.jpg
/home/pi/Desktop/images/02052025/03/48/image_02052025_03_48_55_10380.jpg
/home/pi/Desktop/images/02052025/03/48/image_02052025_03_49_04_9346.jpg
/home/pi/Desktop/images/02052025/03/49/image_02052025_03_49_14_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":["1355228949","1355228954","1355228968","1355228959","1355228970","1355228964"],"photo_ids_order":["1355228949","1355228954","1355228959","1355228964","1355228968","1355228970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d34d94aae3a3b49ed4e2d1120f09a88.jpg","text":"TemporaryFile(/tmp/multipartBody4456316593402602722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164013325,"filename":"image_02052025_03_48_24_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8048e19083a95f59ddb10b6feaa3a332.jpg","text":"TemporaryFile(/tmp/multipartBody2939092963709679078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164013325,"filename":"image_02052025_03_48_34_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/662e106fccd4d6d24085609b774d0b6a.jpg","text":"TemporaryFile(/tmp/multipartBody7670166851468550310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164013325,"filename":"image_02052025_03_49_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/5/2/88707d7e538e452c9efd68cf980c01f6.jpg","text":"TemporaryFile(/tmp/multipartBody5211195373395163795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164013325,"filename":"image_02052025_03_48_44_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f6d8edcd3b6c84a13ceb5dc84c76eb6.jpg","text":"TemporaryFile(/tmp/multipartBody7568901543992542453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164013325,"filename":"image_02052025_03_49_14_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c7853aacbc7d74a28ed6562ad153675.jpg","text":"TemporaryFile(/tmp/multipartBody6853140131097172637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164013325,"filename":"image_02052025_03_48_55_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355228959","file1":"1355228954","file0":"1355228949","file4":"1355228968","file5":"1355228970","file3":"1355228964"},"map_files_photo_id_array":[{"photo_id":"1355228970","filename":"file5"},{"photo_id":"1355228959","filename":"file2"},{"photo_id":"1355228968","filename":"file4"},{"photo_id":"1355228954","filename":"file1"},{"photo_id":"1355228949","filename":"file0"},{"photo_id":"1355228964","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355228949":["hashtag1","hashtag2"]},{"1355228954":["hashtag1","hashtag2"]},{"1355228968":["hashtag1","hashtag2"]},{"1355228959":["hashtag1","hashtag2"]},{"1355228970":["hashtag1","hashtag2"]},{"1355228964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355228949, 1355228954, 1355228968, 1355228959, 1355228970, 1355228964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.271750688552856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:33:33.000811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/49/image_02052025_03_49_25_10399.jpg', '/home/pi/Desktop/images/02052025/03/49/image_02052025_03_49_45_10358.jpg', '/home/pi/Desktop/images/02052025/03/49/image_02052025_03_50_05_10470.jpg', '/home/pi/Desktop/images/02052025/03/50/image_02052025_03_50_24_10480.jpg', '/home/pi/Desktop/images/02052025/03/50/image_02052025_03_50_35_10352.jpg', '/home/pi/Desktop/images/02052025/03/50/image_02052025_03_50_44_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/49/image_02052025_03_49_25_10399.jpg
/home/pi/Desktop/images/02052025/03/49/image_02052025_03_49_45_10358.jpg
/home/pi/Desktop/images/02052025/03/49/image_02052025_03_50_05_10470.jpg
/home/pi/Desktop/images/02052025/03/50/image_02052025_03_50_24_10480.jpg
/home/pi/Desktop/images/02052025/03/50/image_02052025_03_50_35_10352.jpg
/home/pi/Desktop/images/02052025/03/50/image_02052025_03_50_44_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355229185","1355229167","1355229182","1355229176","1355229149","1355229171"],"photo_ids_order":["1355229149","1355229167","1355229171","1355229176","1355229182","1355229185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d6727f6a46098f2dd6520252e56fbaa0.jpg","text":"TemporaryFile(/tmp/multipartBody7765978620690944365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164073554,"filename":"image_02052025_03_50_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/073c3740d2636ce204d0c0209d5eeddb.jpg","text":"TemporaryFile(/tmp/multipartBody4311160620544467068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164073554,"filename":"image_02052025_03_49_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/5/2/3753029b6cb34e9fffa9d36e46444d12.jpg","text":"TemporaryFile(/tmp/multipartBody4243555726009854598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164073554,"filename":"image_02052025_03_50_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/5/2/6fc3dbb21ff18bdeb7fc678d05db1142.jpg","text":"TemporaryFile(/tmp/multipartBody6224580642829956514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164073554,"filename":"image_02052025_03_50_24_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89c691835ee727592512a77122475b91.jpg","text":"TemporaryFile(/tmp/multipartBody6602370368843102177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164073554,"filename":"image_02052025_03_49_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/727e5847aec5d7268897c83ca48bf4b5.jpg","text":"TemporaryFile(/tmp/multipartBody6200810365387318249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164073554,"filename":"image_02052025_03_50_05_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229171","file1":"1355229167","file0":"1355229149","file4":"1355229182","file5":"1355229185","file3":"1355229176"},"map_files_photo_id_array":[{"photo_id":"1355229185","filename":"file5"},{"photo_id":"1355229171","filename":"file2"},{"photo_id":"1355229182","filename":"file4"},{"photo_id":"1355229167","filename":"file1"},{"photo_id":"1355229149","filename":"file0"},{"photo_id":"1355229176","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229185":["hashtag1","hashtag2"]},{"1355229167":["hashtag1","hashtag2"]},{"1355229182":["hashtag1","hashtag2"]},{"1355229176":["hashtag1","hashtag2"]},{"1355229149":["hashtag1","hashtag2"]},{"1355229171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229185, 1355229167, 1355229182, 1355229176, 1355229149, 1355229171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.662593364715576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:34:32.214932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/50/image_02052025_03_50_55_10467.jpg', '/home/pi/Desktop/images/02052025/03/50/image_02052025_03_51_04_9355.jpg', '/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_14_10441.jpg', '/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_25_10437.jpg', '/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_34_9349.jpg', '/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_45_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/50/image_02052025_03_50_55_10467.jpg
/home/pi/Desktop/images/02052025/03/50/image_02052025_03_51_04_9355.jpg
/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_14_10441.jpg
/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_25_10437.jpg
/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_34_9349.jpg
/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_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":["1355229234","1355229222","1355229248","1355229239","1355229229","1355229226"],"photo_ids_order":["1355229222","1355229226","1355229229","1355229234","1355229239","1355229248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ced87bc6ded9c0df64ec8987fc963e6.jpg","text":"TemporaryFile(/tmp/multipartBody4237969885719107543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164132760,"filename":"image_02052025_03_51_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/45c92e9aa38e1920095049573552f6e1.jpg","text":"TemporaryFile(/tmp/multipartBody591213514451749764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164132760,"filename":"image_02052025_03_50_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/5/2/19c8428053f529f8095ca9f37a0266fd.jpg","text":"TemporaryFile(/tmp/multipartBody4176779097336697380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164132760,"filename":"image_02052025_03_51_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/5/2/c7bfa7a55a13f85633dbf2eb2e2ef3a7.jpg","text":"TemporaryFile(/tmp/multipartBody3609341975849757037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164132760,"filename":"image_02052025_03_51_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8de63b8eb305bee0ccc276d34b856150.jpg","text":"TemporaryFile(/tmp/multipartBody1611594314667813091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164132760,"filename":"image_02052025_03_51_14_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8f46030aee6bfa4c80be05554ea37d5c.jpg","text":"TemporaryFile(/tmp/multipartBody5887564225045973617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164132760,"filename":"image_02052025_03_51_04_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229229","file1":"1355229226","file0":"1355229222","file4":"1355229239","file5":"1355229248","file3":"1355229234"},"map_files_photo_id_array":[{"photo_id":"1355229248","filename":"file5"},{"photo_id":"1355229229","filename":"file2"},{"photo_id":"1355229239","filename":"file4"},{"photo_id":"1355229226","filename":"file1"},{"photo_id":"1355229222","filename":"file0"},{"photo_id":"1355229234","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229234":["hashtag1","hashtag2"]},{"1355229222":["hashtag1","hashtag2"]},{"1355229248":["hashtag1","hashtag2"]},{"1355229239":["hashtag1","hashtag2"]},{"1355229229":["hashtag1","hashtag2"]},{"1355229226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229234, 1355229222, 1355229248, 1355229239, 1355229229, 1355229226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25900936126709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:35:32.411238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_54_9357.jpg', '/home/pi/Desktop/images/02052025/03/51/image_02052025_03_52_04_10489.jpg', '/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_15_10355.jpg', '/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_24_9354.jpg', '/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_34_10340.jpg', '/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_45_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_54_9357.jpg
/home/pi/Desktop/images/02052025/03/51/image_02052025_03_52_04_10489.jpg
/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_15_10355.jpg
/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_24_9354.jpg
/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_34_10340.jpg
/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_45_10346.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4258100986480713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 07:35:42.461843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_54_9357.jpg', '/home/pi/Desktop/images/02052025/03/51/image_02052025_03_52_04_10489.jpg', '/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_15_10355.jpg', '/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_24_9354.jpg', '/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_34_10340.jpg', '/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_45_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/51/image_02052025_03_51_54_9357.jpg
/home/pi/Desktop/images/02052025/03/51/image_02052025_03_52_04_10489.jpg
/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_15_10355.jpg
/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_24_9354.jpg
/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_34_10340.jpg
/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_45_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":["1355229315","1355229302","1355229311","1355229292","1355229307","1355229285"],"photo_ids_order":["1355229285","1355229292","1355229302","1355229307","1355229311","1355229315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da65fac85058868f1e3d050313830a8a.jpg","text":"TemporaryFile(/tmp/multipartBody7967051365508480951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164202950,"filename":"image_02052025_03_52_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/5/2/03e9dfe26de236e16abbd478f09dc796.jpg","text":"TemporaryFile(/tmp/multipartBody5797563506265599045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164202950,"filename":"image_02052025_03_52_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/5/2/3db6d0477d0a68d0fca90e8d850005f6.jpg","text":"TemporaryFile(/tmp/multipartBody52921803059870324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164202950,"filename":"image_02052025_03_52_34_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94dd8a250f1051acaf2f444d8e5feadb.jpg","text":"TemporaryFile(/tmp/multipartBody1592749406735807313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164202950,"filename":"image_02052025_03_52_04_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/35adc5a4acd38f49e5f908c96b009a01.jpg","text":"TemporaryFile(/tmp/multipartBody3794618262655631456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164202950,"filename":"image_02052025_03_52_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/5/2/84b642be710662c2a347a69e951daeb4.jpg","text":"TemporaryFile(/tmp/multipartBody4274278150250636372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164202950,"filename":"image_02052025_03_51_54_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229302","file1":"1355229292","file0":"1355229285","file4":"1355229311","file5":"1355229315","file3":"1355229307"},"map_files_photo_id_array":[{"photo_id":"1355229315","filename":"file5"},{"photo_id":"1355229302","filename":"file2"},{"photo_id":"1355229311","filename":"file4"},{"photo_id":"1355229292","filename":"file1"},{"photo_id":"1355229285","filename":"file0"},{"photo_id":"1355229307","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229315":["hashtag1","hashtag2"]},{"1355229302":["hashtag1","hashtag2"]},{"1355229311":["hashtag1","hashtag2"]},{"1355229292":["hashtag1","hashtag2"]},{"1355229307":["hashtag1","hashtag2"]},{"1355229285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229315, 1355229302, 1355229311, 1355229292, 1355229307, 1355229285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.767333030700684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:36:32.521384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_54_9371.jpg', '/home/pi/Desktop/images/02052025/03/52/image_02052025_03_53_05_10439.jpg', '/home/pi/Desktop/images/02052025/03/53/image_02052025_03_53_14_9338.jpg', '/home/pi/Desktop/images/02052025/03/53/image_02052025_03_53_24_10458.jpg', '/home/pi/Desktop/images/02052025/03/53/image_02052025_03_53_35_10344.jpg', '/home/pi/Desktop/images/02052025/03/53/image_02052025_03_53_44_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/52/image_02052025_03_52_54_9371.jpg
/home/pi/Desktop/images/02052025/03/52/image_02052025_03_53_05_10439.jpg
/home/pi/Desktop/images/02052025/03/53/image_02052025_03_53_14_9338.jpg
/home/pi/Desktop/images/02052025/03/53/image_02052025_03_53_24_10458.jpg
/home/pi/Desktop/images/02052025/03/53/image_02052025_03_53_35_10344.jpg
/home/pi/Desktop/images/02052025/03/53/image_02052025_03_53_44_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":["1355229333","1355229347","1355229350","1355229337","1355229354","1355229342"],"photo_ids_order":["1355229333","1355229337","1355229342","1355229347","1355229350","1355229354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/31d956a71fc52ba15b9c965c03ffecd0.jpg","text":"TemporaryFile(/tmp/multipartBody7788078159212338720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164253013,"filename":"image_02052025_03_52_54_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad373bf6b25f54f1635b3bbfe08968dc.jpg","text":"TemporaryFile(/tmp/multipartBody2997672681987403435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164253013,"filename":"image_02052025_03_53_24_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/23d04bc747286e3c1cf9ff7b8bad0fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3032787466150161504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164253013,"filename":"image_02052025_03_53_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/5/2/a73632773ab8f63a3b89ff18d84288ba.jpg","text":"TemporaryFile(/tmp/multipartBody1790410276779429320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164253013,"filename":"image_02052025_03_53_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/5/2/caba6cf955e49b40e53cfc3d07239d23.jpg","text":"TemporaryFile(/tmp/multipartBody5457080113702857060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164253013,"filename":"image_02052025_03_53_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/5/2/7ca36355db3989ced7bb51b06445a68f.jpg","text":"TemporaryFile(/tmp/multipartBody1559432842790126645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164253013,"filename":"image_02052025_03_53_14_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229342","file1":"1355229337","file0":"1355229333","file4":"1355229350","file5":"1355229354","file3":"1355229347"},"map_files_photo_id_array":[{"photo_id":"1355229354","filename":"file5"},{"photo_id":"1355229342","filename":"file2"},{"photo_id":"1355229350","filename":"file4"},{"photo_id":"1355229337","filename":"file1"},{"photo_id":"1355229333","filename":"file0"},{"photo_id":"1355229347","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229333":["hashtag1","hashtag2"]},{"1355229347":["hashtag1","hashtag2"]},{"1355229350":["hashtag1","hashtag2"]},{"1355229337":["hashtag1","hashtag2"]},{"1355229354":["hashtag1","hashtag2"]},{"1355229342":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229333, 1355229347, 1355229350, 1355229337, 1355229354, 1355229342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.886467695236206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:37:32.820736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/53/image_02052025_03_53_55_10437.jpg', '/home/pi/Desktop/images/02052025/03/53/image_02052025_03_54_04_9342.jpg', '/home/pi/Desktop/images/02052025/03/54/image_02052025_03_54_14_10407.jpg', '/home/pi/Desktop/images/02052025/03/54/image_02052025_03_54_25_10367.jpg', '/home/pi/Desktop/images/02052025/03/54/image_02052025_03_54_34_9343.jpg', '/home/pi/Desktop/images/02052025/03/54/image_02052025_03_54_55_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/53/image_02052025_03_53_55_10437.jpg
/home/pi/Desktop/images/02052025/03/53/image_02052025_03_54_04_9342.jpg
/home/pi/Desktop/images/02052025/03/54/image_02052025_03_54_14_10407.jpg
/home/pi/Desktop/images/02052025/03/54/image_02052025_03_54_25_10367.jpg
/home/pi/Desktop/images/02052025/03/54/image_02052025_03_54_34_9343.jpg
/home/pi/Desktop/images/02052025/03/54/image_02052025_03_54_55_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":["1355229386","1355229401","1355229394","1355229397","1355229400","1355229390"],"photo_ids_order":["1355229386","1355229390","1355229394","1355229397","1355229400","1355229401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1ad50392087807ca02c451f81b3398dd.jpg","text":"TemporaryFile(/tmp/multipartBody8705300033259556737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164313310,"filename":"image_02052025_03_53_55_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/edf9dd21ac9aeedb948c005b78f70ca3.jpg","text":"TemporaryFile(/tmp/multipartBody1229718547869436364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164313310,"filename":"image_02052025_03_54_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/5/2/da39fa87a4d9ae4258b4f830d49e9004.jpg","text":"TemporaryFile(/tmp/multipartBody9207774595171040105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164313310,"filename":"image_02052025_03_54_14_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f26a01e87ea7d7a484ada2fcb4289921.jpg","text":"TemporaryFile(/tmp/multipartBody7876715778031402220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164313310,"filename":"image_02052025_03_54_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/5/2/aaaa1255006e92368c5070cf9293728a.jpg","text":"TemporaryFile(/tmp/multipartBody6850926463968718193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164313310,"filename":"image_02052025_03_54_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c052b381a350b509ae360a089433b860.jpg","text":"TemporaryFile(/tmp/multipartBody4182353125910683606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164313310,"filename":"image_02052025_03_54_04_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229394","file1":"1355229390","file0":"1355229386","file4":"1355229400","file5":"1355229401","file3":"1355229397"},"map_files_photo_id_array":[{"photo_id":"1355229401","filename":"file5"},{"photo_id":"1355229394","filename":"file2"},{"photo_id":"1355229400","filename":"file4"},{"photo_id":"1355229390","filename":"file1"},{"photo_id":"1355229386","filename":"file0"},{"photo_id":"1355229397","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229386":["hashtag1","hashtag2"]},{"1355229401":["hashtag1","hashtag2"]},{"1355229394":["hashtag1","hashtag2"]},{"1355229397":["hashtag1","hashtag2"]},{"1355229400":["hashtag1","hashtag2"]},{"1355229390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229386, 1355229401, 1355229394, 1355229397, 1355229400, 1355229390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21618843078613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:38:33.045374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/54/image_02052025_03_55_04_9422.jpg', '/home/pi/Desktop/images/02052025/03/55/image_02052025_03_55_15_10345.jpg', '/home/pi/Desktop/images/02052025/03/55/image_02052025_03_55_24_9364.jpg', '/home/pi/Desktop/images/02052025/03/55/image_02052025_03_55_34_10383.jpg', '/home/pi/Desktop/images/02052025/03/55/image_02052025_03_55_45_10363.jpg', '/home/pi/Desktop/images/02052025/03/55/image_02052025_03_55_54_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/54/image_02052025_03_55_04_9422.jpg
/home/pi/Desktop/images/02052025/03/55/image_02052025_03_55_15_10345.jpg
/home/pi/Desktop/images/02052025/03/55/image_02052025_03_55_24_9364.jpg
/home/pi/Desktop/images/02052025/03/55/image_02052025_03_55_34_10383.jpg
/home/pi/Desktop/images/02052025/03/55/image_02052025_03_55_45_10363.jpg
/home/pi/Desktop/images/02052025/03/55/image_02052025_03_55_54_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":["1355229452","1355229440","1355229443","1355229437","1355229431","1355229445"],"photo_ids_order":["1355229431","1355229437","1355229440","1355229443","1355229445","1355229452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49cf9be19f345098e599c9f2f741077d.jpg","text":"TemporaryFile(/tmp/multipartBody4486173569198288818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164373526,"filename":"image_02052025_03_55_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/718d04c1418f650e4ecd530b8be32d60.jpg","text":"TemporaryFile(/tmp/multipartBody3825205517303575537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164373526,"filename":"image_02052025_03_55_24_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae139a3fcd41e613fa307cb5fa60ce71.jpg","text":"TemporaryFile(/tmp/multipartBody3685976327928200794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164373526,"filename":"image_02052025_03_55_34_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/807545767d2c27dbfbb3b943473d7a05.jpg","text":"TemporaryFile(/tmp/multipartBody9192000175247630357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164373526,"filename":"image_02052025_03_55_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/5/2/cc7daecc5d096cea99dc4f0d8b04c9e8.jpg","text":"TemporaryFile(/tmp/multipartBody6708856728653528885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164373526,"filename":"image_02052025_03_55_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/5/2/f72c5a429ec33629c6ee8a4aeecd6542.jpg","text":"TemporaryFile(/tmp/multipartBody8157168134694548406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164373526,"filename":"image_02052025_03_55_45_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229440","file1":"1355229437","file0":"1355229431","file4":"1355229445","file5":"1355229452","file3":"1355229443"},"map_files_photo_id_array":[{"photo_id":"1355229452","filename":"file5"},{"photo_id":"1355229440","filename":"file2"},{"photo_id":"1355229445","filename":"file4"},{"photo_id":"1355229437","filename":"file1"},{"photo_id":"1355229431","filename":"file0"},{"photo_id":"1355229443","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229452":["hashtag1","hashtag2"]},{"1355229440":["hashtag1","hashtag2"]},{"1355229443":["hashtag1","hashtag2"]},{"1355229437":["hashtag1","hashtag2"]},{"1355229431":["hashtag1","hashtag2"]},{"1355229445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229452, 1355229440, 1355229443, 1355229437, 1355229431, 1355229445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.568846702575684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:39:32.220911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/55/image_02052025_03_56_04_10413.jpg', '/home/pi/Desktop/images/02052025/03/56/image_02052025_03_56_15_10346.jpg', '/home/pi/Desktop/images/02052025/03/56/image_02052025_03_56_24_9347.jpg', '/home/pi/Desktop/images/02052025/03/56/image_02052025_03_56_35_10433.jpg', '/home/pi/Desktop/images/02052025/03/56/image_02052025_03_56_44_9341.jpg', '/home/pi/Desktop/images/02052025/03/56/image_02052025_03_56_54_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/55/image_02052025_03_56_04_10413.jpg
/home/pi/Desktop/images/02052025/03/56/image_02052025_03_56_15_10346.jpg
/home/pi/Desktop/images/02052025/03/56/image_02052025_03_56_24_9347.jpg
/home/pi/Desktop/images/02052025/03/56/image_02052025_03_56_35_10433.jpg
/home/pi/Desktop/images/02052025/03/56/image_02052025_03_56_44_9341.jpg
/home/pi/Desktop/images/02052025/03/56/image_02052025_03_56_54_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355229504","1355229488","1355229496","1355229498","1355229502","1355229492"],"photo_ids_order":["1355229488","1355229492","1355229496","1355229498","1355229502","1355229504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/46c8e6688eb590757949af90fba4a887.jpg","text":"TemporaryFile(/tmp/multipartBody4304541242937614791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164432792,"filename":"image_02052025_03_56_54_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/59d795fec494fab8e0e4c9e161ddbf3d.jpg","text":"TemporaryFile(/tmp/multipartBody6380324349958085926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164432792,"filename":"image_02052025_03_56_04_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b5d01d4a1b2a39afde3406422534423b.jpg","text":"TemporaryFile(/tmp/multipartBody6992475267394756871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164432792,"filename":"image_02052025_03_56_24_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f10981373e410ab7209210634b86dd32.jpg","text":"TemporaryFile(/tmp/multipartBody7623377888371924072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164432792,"filename":"image_02052025_03_56_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/5/2/b6e54056813a4169935fa5cb7520d9e9.jpg","text":"TemporaryFile(/tmp/multipartBody8857812469175813210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164432792,"filename":"image_02052025_03_56_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/923e94faac7a2a5af73919079f7564fb.jpg","text":"TemporaryFile(/tmp/multipartBody3756508795109647053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164432792,"filename":"image_02052025_03_56_15_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229496","file1":"1355229492","file0":"1355229488","file4":"1355229502","file5":"1355229504","file3":"1355229498"},"map_files_photo_id_array":[{"photo_id":"1355229504","filename":"file5"},{"photo_id":"1355229496","filename":"file2"},{"photo_id":"1355229502","filename":"file4"},{"photo_id":"1355229492","filename":"file1"},{"photo_id":"1355229488","filename":"file0"},{"photo_id":"1355229498","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229504":["hashtag1","hashtag2"]},{"1355229488":["hashtag1","hashtag2"]},{"1355229496":["hashtag1","hashtag2"]},{"1355229498":["hashtag1","hashtag2"]},{"1355229502":["hashtag1","hashtag2"]},{"1355229492":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229504, 1355229488, 1355229496, 1355229498, 1355229502, 1355229492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.153566122055054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:40:32.402222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/56/image_02052025_03_57_05_10336.jpg', '/home/pi/Desktop/images/02052025/03/57/image_02052025_03_57_14_9337.jpg', '/home/pi/Desktop/images/02052025/03/57/image_02052025_03_57_25_10443.jpg', '/home/pi/Desktop/images/02052025/03/57/image_02052025_03_57_34_9426.jpg', '/home/pi/Desktop/images/02052025/03/57/image_02052025_03_57_44_10463.jpg', '/home/pi/Desktop/images/02052025/03/57/image_02052025_03_57_55_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/56/image_02052025_03_57_05_10336.jpg
/home/pi/Desktop/images/02052025/03/57/image_02052025_03_57_14_9337.jpg
/home/pi/Desktop/images/02052025/03/57/image_02052025_03_57_25_10443.jpg
/home/pi/Desktop/images/02052025/03/57/image_02052025_03_57_34_9426.jpg
/home/pi/Desktop/images/02052025/03/57/image_02052025_03_57_44_10463.jpg
/home/pi/Desktop/images/02052025/03/57/image_02052025_03_57_55_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":["1355229545","1355229548","1355229533","1355229542","1355229538","1355229552"],"photo_ids_order":["1355229533","1355229538","1355229542","1355229545","1355229548","1355229552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9af2a8bec2a21b98d81795abe4ad050b.jpg","text":"TemporaryFile(/tmp/multipartBody2887828384643139892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164492946,"filename":"image_02052025_03_57_34_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c621f8e62fb82adce563ffd912328f3c.jpg","text":"TemporaryFile(/tmp/multipartBody4051433561404464997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164492946,"filename":"image_02052025_03_57_44_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d315b038c908f5ee9748208234641aa2.jpg","text":"TemporaryFile(/tmp/multipartBody6740159876485055375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164492946,"filename":"image_02052025_03_57_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/5/2/5458523dda76c69072f3f031e81015a4.jpg","text":"TemporaryFile(/tmp/multipartBody471039760062637686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164492946,"filename":"image_02052025_03_57_25_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ab828638bb527badc8a097a32986ebdb.jpg","text":"TemporaryFile(/tmp/multipartBody3404635456500911525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164492946,"filename":"image_02052025_03_57_14_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f3a7cadc819eb8d665ee1d1de7580b26.jpg","text":"TemporaryFile(/tmp/multipartBody4957219588472478338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164492946,"filename":"image_02052025_03_57_55_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229542","file1":"1355229538","file0":"1355229533","file4":"1355229548","file5":"1355229552","file3":"1355229545"},"map_files_photo_id_array":[{"photo_id":"1355229552","filename":"file5"},{"photo_id":"1355229542","filename":"file2"},{"photo_id":"1355229548","filename":"file4"},{"photo_id":"1355229538","filename":"file1"},{"photo_id":"1355229533","filename":"file0"},{"photo_id":"1355229545","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229545":["hashtag1","hashtag2"]},{"1355229548":["hashtag1","hashtag2"]},{"1355229533":["hashtag1","hashtag2"]},{"1355229542":["hashtag1","hashtag2"]},{"1355229538":["hashtag1","hashtag2"]},{"1355229552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229545, 1355229548, 1355229533, 1355229542, 1355229538, 1355229552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93688154220581 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:41:32.721115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/57/image_02052025_03_58_04_9345.jpg', '/home/pi/Desktop/images/02052025/03/58/image_02052025_03_58_15_10393.jpg', '/home/pi/Desktop/images/02052025/03/58/image_02052025_03_58_34_10538.jpg', '/home/pi/Desktop/images/02052025/03/58/image_02052025_03_58_45_10343.jpg', '/home/pi/Desktop/images/02052025/03/58/image_02052025_03_58_54_9377.jpg', '/home/pi/Desktop/images/02052025/03/58/image_02052025_03_59_05_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/57/image_02052025_03_58_04_9345.jpg
/home/pi/Desktop/images/02052025/03/58/image_02052025_03_58_15_10393.jpg
/home/pi/Desktop/images/02052025/03/58/image_02052025_03_58_34_10538.jpg
/home/pi/Desktop/images/02052025/03/58/image_02052025_03_58_45_10343.jpg
/home/pi/Desktop/images/02052025/03/58/image_02052025_03_58_54_9377.jpg
/home/pi/Desktop/images/02052025/03/58/image_02052025_03_59_05_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355229612","1355229606","1355229609","1355229597","1355229601","1355229594"],"photo_ids_order":["1355229594","1355229597","1355229601","1355229606","1355229609","1355229612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2803cf71f45c611bb6f86c255ae391a4.jpg","text":"TemporaryFile(/tmp/multipartBody5483248522318261390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164553280,"filename":"image_02052025_03_59_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/5/2/090a43444555034568cd122f74323d41.jpg","text":"TemporaryFile(/tmp/multipartBody5385184094217390794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164553280,"filename":"image_02052025_03_58_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/5/2/9f9ebad457a311ac2cccc0b45e17ab00.jpg","text":"TemporaryFile(/tmp/multipartBody6135632787504903256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164553280,"filename":"image_02052025_03_58_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/5/2/54e3b0408c37ef9e68214788dc9c2ffc.jpg","text":"TemporaryFile(/tmp/multipartBody2675915455677747062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164553280,"filename":"image_02052025_03_58_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/5/2/ae0a31ba0aed79fd78abea54ac58dc6d.jpg","text":"TemporaryFile(/tmp/multipartBody1618246791088407127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164553280,"filename":"image_02052025_03_58_34_10538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5486b92eca540a02652fd2406ddd9e6a.jpg","text":"TemporaryFile(/tmp/multipartBody2199796849838020206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164553280,"filename":"image_02052025_03_58_04_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229601","file1":"1355229597","file0":"1355229594","file4":"1355229609","file5":"1355229612","file3":"1355229606"},"map_files_photo_id_array":[{"photo_id":"1355229612","filename":"file5"},{"photo_id":"1355229601","filename":"file2"},{"photo_id":"1355229609","filename":"file4"},{"photo_id":"1355229597","filename":"file1"},{"photo_id":"1355229594","filename":"file0"},{"photo_id":"1355229606","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229612":["hashtag1","hashtag2"]},{"1355229606":["hashtag1","hashtag2"]},{"1355229609":["hashtag1","hashtag2"]},{"1355229597":["hashtag1","hashtag2"]},{"1355229601":["hashtag1","hashtag2"]},{"1355229594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229612, 1355229606, 1355229609, 1355229597, 1355229601, 1355229594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80107283592224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:42:32.788132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/03/59/image_02052025_03_59_14_9384.jpg', '/home/pi/Desktop/images/02052025/03/59/image_02052025_03_59_24_10539.jpg', '/home/pi/Desktop/images/02052025/03/59/image_02052025_03_59_35_10358.jpg', '/home/pi/Desktop/images/02052025/03/59/image_02052025_03_59_55_10381.jpg', '/home/pi/Desktop/images/02052025/04/01/image_02052025_04_01_15_10064.jpg', '/home/pi/Desktop/images/02052025/04/01/image_02052025_04_01_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/03/59/image_02052025_03_59_14_9384.jpg
/home/pi/Desktop/images/02052025/03/59/image_02052025_03_59_24_10539.jpg
/home/pi/Desktop/images/02052025/03/59/image_02052025_03_59_35_10358.jpg
/home/pi/Desktop/images/02052025/03/59/image_02052025_03_59_55_10381.jpg
/home/pi/Desktop/images/02052025/04/01/image_02052025_04_01_15_10064.jpg
/home/pi/Desktop/images/02052025/04/01/image_02052025_04_01_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355229704","1355229694","1355229706","1355229699","1355229681","1355229675"],"photo_ids_order":["1355229675","1355229681","1355229694","1355229699","1355229704","1355229706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/27a5676b1df4ba42d4631482a915e051.jpg","text":"TemporaryFile(/tmp/multipartBody7642085944085624638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164613269,"filename":"image_02052025_04_01_15_10064.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d25b312b28c20c8b57c6276ecd6117a4.jpg","text":"TemporaryFile(/tmp/multipartBody9149238082159322295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164613269,"filename":"image_02052025_03_59_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/5/2/ae92683bfbbd5fa3c3064ea022ac077f.jpg","text":"TemporaryFile(/tmp/multipartBody2878745236188959487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164613269,"filename":"image_02052025_04_01_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3593893d0aa15012037b3f5d4fe64aa.jpg","text":"TemporaryFile(/tmp/multipartBody3000970086093612100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164613269,"filename":"image_02052025_03_59_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/870e82ea2e1f608b1581ef34b8b83685.jpg","text":"TemporaryFile(/tmp/multipartBody617258513710113438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164613269,"filename":"image_02052025_03_59_24_10539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16994a673e836f327269e982d719eb76.jpg","text":"TemporaryFile(/tmp/multipartBody8942605112922728055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164613269,"filename":"image_02052025_03_59_14_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229694","file1":"1355229681","file0":"1355229675","file4":"1355229704","file5":"1355229706","file3":"1355229699"},"map_files_photo_id_array":[{"photo_id":"1355229706","filename":"file5"},{"photo_id":"1355229694","filename":"file2"},{"photo_id":"1355229704","filename":"file4"},{"photo_id":"1355229681","filename":"file1"},{"photo_id":"1355229675","filename":"file0"},{"photo_id":"1355229699","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229704":["hashtag1","hashtag2"]},{"1355229694":["hashtag1","hashtag2"]},{"1355229706":["hashtag1","hashtag2"]},{"1355229699":["hashtag1","hashtag2"]},{"1355229681":["hashtag1","hashtag2"]},{"1355229675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229704, 1355229694, 1355229706, 1355229699, 1355229681, 1355229675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.52680540084839 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:43:33.021538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/01/image_02052025_04_01_35_10355.jpg', '/home/pi/Desktop/images/02052025/04/01/image_02052025_04_01_45_9354.jpg', '/home/pi/Desktop/images/02052025/04/01/image_02052025_04_01_55_10373.jpg', '/home/pi/Desktop/images/02052025/04/01/image_02052025_04_02_05_10432.jpg', '/home/pi/Desktop/images/02052025/04/02/image_02052025_04_02_15_9333.jpg', '/home/pi/Desktop/images/02052025/04/02/image_02052025_04_02_25_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/01/image_02052025_04_01_35_10355.jpg
/home/pi/Desktop/images/02052025/04/01/image_02052025_04_01_45_9354.jpg
/home/pi/Desktop/images/02052025/04/01/image_02052025_04_01_55_10373.jpg
/home/pi/Desktop/images/02052025/04/01/image_02052025_04_02_05_10432.jpg
/home/pi/Desktop/images/02052025/04/02/image_02052025_04_02_15_9333.jpg
/home/pi/Desktop/images/02052025/04/02/image_02052025_04_02_25_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355229782","1355229752","1355229772","1355229748","1355229757","1355229762"],"photo_ids_order":["1355229748","1355229752","1355229757","1355229762","1355229772","1355229782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc3152332da39d019236f017e11cf7b2.jpg","text":"TemporaryFile(/tmp/multipartBody9218041460178792372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164673501,"filename":"image_02052025_04_02_25_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f97a83a1043017169b4603b0bf885f7.jpg","text":"TemporaryFile(/tmp/multipartBody8498615384922586809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164673501,"filename":"image_02052025_04_01_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/5/2/b6420348bf379e17b5ad5d5c81c593d4.jpg","text":"TemporaryFile(/tmp/multipartBody6442942384207085298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164673501,"filename":"image_02052025_04_02_15_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/06561cb2742b14643d0a2e2bf263f813.jpg","text":"TemporaryFile(/tmp/multipartBody6314428744458953407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164673501,"filename":"image_02052025_04_01_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/00a7088143fa01b7f4e212d7034ba033.jpg","text":"TemporaryFile(/tmp/multipartBody2925319131987454306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164673501,"filename":"image_02052025_04_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/5/2/e867ea2ea8cfaa8fc3ffa82ba0ef1a6f.jpg","text":"TemporaryFile(/tmp/multipartBody706081104523956976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164673501,"filename":"image_02052025_04_02_05_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229757","file1":"1355229752","file0":"1355229748","file4":"1355229772","file5":"1355229782","file3":"1355229762"},"map_files_photo_id_array":[{"photo_id":"1355229782","filename":"file5"},{"photo_id":"1355229757","filename":"file2"},{"photo_id":"1355229772","filename":"file4"},{"photo_id":"1355229752","filename":"file1"},{"photo_id":"1355229748","filename":"file0"},{"photo_id":"1355229762","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229782":["hashtag1","hashtag2"]},{"1355229752":["hashtag1","hashtag2"]},{"1355229772":["hashtag1","hashtag2"]},{"1355229748":["hashtag1","hashtag2"]},{"1355229757":["hashtag1","hashtag2"]},{"1355229762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229782, 1355229752, 1355229772, 1355229748, 1355229757, 1355229762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.85139799118042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:44:32.243003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/02/image_02052025_04_02_35_9432.jpg', '/home/pi/Desktop/images/02052025/04/02/image_02052025_04_02_45_10364.jpg', '/home/pi/Desktop/images/02052025/04/02/image_02052025_04_02_56_10434.jpg', '/home/pi/Desktop/images/02052025/04/02/image_02052025_04_03_05_9346.jpg', '/home/pi/Desktop/images/02052025/04/03/image_02052025_04_03_15_10434.jpg', '/home/pi/Desktop/images/02052025/04/03/image_02052025_04_03_25_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/02/image_02052025_04_02_35_9432.jpg
/home/pi/Desktop/images/02052025/04/02/image_02052025_04_02_45_10364.jpg
/home/pi/Desktop/images/02052025/04/02/image_02052025_04_02_56_10434.jpg
/home/pi/Desktop/images/02052025/04/02/image_02052025_04_03_05_9346.jpg
/home/pi/Desktop/images/02052025/04/03/image_02052025_04_03_15_10434.jpg
/home/pi/Desktop/images/02052025/04/03/image_02052025_04_03_25_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":["1355229899","1355229893","1355229884","1355229851","1355229897","1355229846"],"photo_ids_order":["1355229846","1355229851","1355229884","1355229893","1355229897","1355229899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21e377bb1f3fd4336b9d44d60ca62f94.jpg","text":"TemporaryFile(/tmp/multipartBody8443973413013616120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164732729,"filename":"image_02052025_04_03_25_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5038fb15fc5dbf41c1656594cb67c2da.jpg","text":"TemporaryFile(/tmp/multipartBody5866054998582014404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164732729,"filename":"image_02052025_04_03_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e940518ae856f647cb60dbd7bc9c1d7.jpg","text":"TemporaryFile(/tmp/multipartBody8163113855012671635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164732729,"filename":"image_02052025_04_02_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/5/2/8ca4846c4c3d02f2751ee31d9aace739.jpg","text":"TemporaryFile(/tmp/multipartBody8868190879882969391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164732729,"filename":"image_02052025_04_02_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/5/2/35415de0ab57e61f0cad136bf7e4097c.jpg","text":"TemporaryFile(/tmp/multipartBody4010867738447627040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164732729,"filename":"image_02052025_04_03_15_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65768b61a55fea08592e69ea6064dcc5.jpg","text":"TemporaryFile(/tmp/multipartBody4936589259297237965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164732729,"filename":"image_02052025_04_02_35_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229884","file1":"1355229851","file0":"1355229846","file4":"1355229897","file5":"1355229899","file3":"1355229893"},"map_files_photo_id_array":[{"photo_id":"1355229899","filename":"file5"},{"photo_id":"1355229884","filename":"file2"},{"photo_id":"1355229897","filename":"file4"},{"photo_id":"1355229851","filename":"file1"},{"photo_id":"1355229846","filename":"file0"},{"photo_id":"1355229893","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229899":["hashtag1","hashtag2"]},{"1355229893":["hashtag1","hashtag2"]},{"1355229884":["hashtag1","hashtag2"]},{"1355229851":["hashtag1","hashtag2"]},{"1355229897":["hashtag1","hashtag2"]},{"1355229846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229899, 1355229893, 1355229884, 1355229851, 1355229897, 1355229846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.914188861846924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:45:32.411215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/03/image_02052025_04_03_35_10428.jpg', '/home/pi/Desktop/images/02052025/04/03/image_02052025_04_03_46_10446.jpg', '/home/pi/Desktop/images/02052025/04/03/image_02052025_04_03_55_9441.jpg', '/home/pi/Desktop/images/02052025/04/03/image_02052025_04_04_05_10391.jpg', '/home/pi/Desktop/images/02052025/04/04/image_02052025_04_04_15_9349.jpg', '/home/pi/Desktop/images/02052025/04/04/image_02052025_04_04_25_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/03/image_02052025_04_03_35_10428.jpg
/home/pi/Desktop/images/02052025/04/03/image_02052025_04_03_46_10446.jpg
/home/pi/Desktop/images/02052025/04/03/image_02052025_04_03_55_9441.jpg
/home/pi/Desktop/images/02052025/04/03/image_02052025_04_04_05_10391.jpg
/home/pi/Desktop/images/02052025/04/04/image_02052025_04_04_15_9349.jpg
/home/pi/Desktop/images/02052025/04/04/image_02052025_04_04_25_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355229980","1355230029","1355229970","1355229967","1355230051","1355229975"],"photo_ids_order":["1355229967","1355229970","1355229975","1355229980","1355230029","1355230051"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2170c5fb32067aacfa8a28858ba4e742.jpg","text":"TemporaryFile(/tmp/multipartBody311542973602007589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164792878,"filename":"image_02052025_04_04_05_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/012930fcc9499a674c26c9400c0edd08.jpg","text":"TemporaryFile(/tmp/multipartBody1861573923091383560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164792878,"filename":"image_02052025_04_04_15_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0840dd90a91345266b3b1074e4a21ebc.jpg","text":"TemporaryFile(/tmp/multipartBody8841053113259769338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164792878,"filename":"image_02052025_04_03_46_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/71d310955f86789710e14a1ad91e7d74.jpg","text":"TemporaryFile(/tmp/multipartBody5657160434199339325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164792878,"filename":"image_02052025_04_03_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/5/2/8580eb5a4ff612060396f1728cab1f5d.jpg","text":"TemporaryFile(/tmp/multipartBody1738448535412569017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164792878,"filename":"image_02052025_04_04_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4541abc0088f8b6858bf7189ed9ec4fc.jpg","text":"TemporaryFile(/tmp/multipartBody7448288607881305917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164792878,"filename":"image_02052025_04_03_55_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355229975","file1":"1355229970","file0":"1355229967","file4":"1355230029","file5":"1355230051","file3":"1355229980"},"map_files_photo_id_array":[{"photo_id":"1355230051","filename":"file5"},{"photo_id":"1355229975","filename":"file2"},{"photo_id":"1355230029","filename":"file4"},{"photo_id":"1355229970","filename":"file1"},{"photo_id":"1355229967","filename":"file0"},{"photo_id":"1355229980","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355229980":["hashtag1","hashtag2"]},{"1355230029":["hashtag1","hashtag2"]},{"1355229970":["hashtag1","hashtag2"]},{"1355229967":["hashtag1","hashtag2"]},{"1355230051":["hashtag1","hashtag2"]},{"1355229975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355229980, 1355230029, 1355229970, 1355229967, 1355230051, 1355229975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24505686759949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:46:32.720249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/04/image_02052025_04_04_35_9418.jpg', '/home/pi/Desktop/images/02052025/04/04/image_02052025_04_04_45_10387.jpg', '/home/pi/Desktop/images/02052025/04/04/image_02052025_04_04_55_10391.jpg', '/home/pi/Desktop/images/02052025/04/04/image_02052025_04_05_05_9375.jpg', '/home/pi/Desktop/images/02052025/04/05/image_02052025_04_05_15_10321.jpg', '/home/pi/Desktop/images/02052025/04/05/image_02052025_04_05_25_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/04/image_02052025_04_04_35_9418.jpg
/home/pi/Desktop/images/02052025/04/04/image_02052025_04_04_45_10387.jpg
/home/pi/Desktop/images/02052025/04/04/image_02052025_04_04_55_10391.jpg
/home/pi/Desktop/images/02052025/04/04/image_02052025_04_05_05_9375.jpg
/home/pi/Desktop/images/02052025/04/05/image_02052025_04_05_15_10321.jpg
/home/pi/Desktop/images/02052025/04/05/image_02052025_04_05_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":["1355230083","1355230104","1355230088","1355230099","1355230080","1355230074"],"photo_ids_order":["1355230074","1355230080","1355230083","1355230088","1355230099","1355230104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fe1eff6c53ea8064bebd628888d7a040.jpg","text":"TemporaryFile(/tmp/multipartBody1405080792842429444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164853192,"filename":"image_02052025_04_04_55_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/836731177e20559b07371eda3633a4ca.jpg","text":"TemporaryFile(/tmp/multipartBody4929348742194689918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164853192,"filename":"image_02052025_04_05_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/5/2/f60f9c7b185dc28f51aa5c3e5ac03b73.jpg","text":"TemporaryFile(/tmp/multipartBody2928003469391747943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164853192,"filename":"image_02052025_04_05_05_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/966917070160a59d12435a4ff9336693.jpg","text":"TemporaryFile(/tmp/multipartBody4148718609006554063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164853192,"filename":"image_02052025_04_05_15_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7732cc406d232aa7deb9da1c1e504ab9.jpg","text":"TemporaryFile(/tmp/multipartBody6092096394543782792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164853192,"filename":"image_02052025_04_04_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/5/2/9d8cbeef8020574827b1c32865d13044.jpg","text":"TemporaryFile(/tmp/multipartBody2299475604558709103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164853192,"filename":"image_02052025_04_04_35_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355230083","file1":"1355230080","file0":"1355230074","file4":"1355230099","file5":"1355230104","file3":"1355230088"},"map_files_photo_id_array":[{"photo_id":"1355230104","filename":"file5"},{"photo_id":"1355230083","filename":"file2"},{"photo_id":"1355230099","filename":"file4"},{"photo_id":"1355230080","filename":"file1"},{"photo_id":"1355230074","filename":"file0"},{"photo_id":"1355230088","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355230083":["hashtag1","hashtag2"]},{"1355230104":["hashtag1","hashtag2"]},{"1355230088":["hashtag1","hashtag2"]},{"1355230099":["hashtag1","hashtag2"]},{"1355230080":["hashtag1","hashtag2"]},{"1355230074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355230083, 1355230104, 1355230088, 1355230099, 1355230080, 1355230074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.706264972686768 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:47:32.815294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/05/image_02052025_04_05_35_9360.jpg', '/home/pi/Desktop/images/02052025/04/05/image_02052025_04_05_45_10380.jpg', '/home/pi/Desktop/images/02052025/04/05/image_02052025_04_05_55_9349.jpg', '/home/pi/Desktop/images/02052025/04/05/image_02052025_04_06_05_10404.jpg', '/home/pi/Desktop/images/02052025/04/06/image_02052025_04_06_15_10430.jpg', '/home/pi/Desktop/images/02052025/04/06/image_02052025_04_06_25_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/05/image_02052025_04_05_35_9360.jpg
/home/pi/Desktop/images/02052025/04/05/image_02052025_04_05_45_10380.jpg
/home/pi/Desktop/images/02052025/04/05/image_02052025_04_05_55_9349.jpg
/home/pi/Desktop/images/02052025/04/05/image_02052025_04_06_05_10404.jpg
/home/pi/Desktop/images/02052025/04/06/image_02052025_04_06_15_10430.jpg
/home/pi/Desktop/images/02052025/04/06/image_02052025_04_06_25_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355230148","1355230145","1355230130","1355230153","1355230141","1355230135"],"photo_ids_order":["1355230130","1355230135","1355230141","1355230145","1355230148","1355230153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/171ffb97edc2e171c33cb645bc08f873.jpg","text":"TemporaryFile(/tmp/multipartBody1575873276841880671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164913347,"filename":"image_02052025_04_06_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/5/2/3f95402f8624cb51e1986ae4a635634e.jpg","text":"TemporaryFile(/tmp/multipartBody4524580560409298124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164913347,"filename":"image_02052025_04_06_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/661ead08a9b7291c32602e5a334aaf82.jpg","text":"TemporaryFile(/tmp/multipartBody4664204122152357284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164913347,"filename":"image_02052025_04_05_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/5/2/fe26c5a07b98f77f3ebb1dd5bee4d917.jpg","text":"TemporaryFile(/tmp/multipartBody1641026986972992135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164913347,"filename":"image_02052025_04_06_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/66754c923cdff3f070907515ff791c0a.jpg","text":"TemporaryFile(/tmp/multipartBody6239732961021048434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164913347,"filename":"image_02052025_04_05_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/5/2/4654f0b3bddbeb947dd11ffaa56094c5.jpg","text":"TemporaryFile(/tmp/multipartBody144819316831474875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164913347,"filename":"image_02052025_04_05_45_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355230141","file1":"1355230135","file0":"1355230130","file4":"1355230148","file5":"1355230153","file3":"1355230145"},"map_files_photo_id_array":[{"photo_id":"1355230153","filename":"file5"},{"photo_id":"1355230141","filename":"file2"},{"photo_id":"1355230148","filename":"file4"},{"photo_id":"1355230135","filename":"file1"},{"photo_id":"1355230130","filename":"file0"},{"photo_id":"1355230145","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355230148":["hashtag1","hashtag2"]},{"1355230145":["hashtag1","hashtag2"]},{"1355230130":["hashtag1","hashtag2"]},{"1355230153":["hashtag1","hashtag2"]},{"1355230141":["hashtag1","hashtag2"]},{"1355230135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355230148, 1355230145, 1355230130, 1355230153, 1355230141, 1355230135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.309723138809204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:48:33.103038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/06/image_02052025_04_06_35_10363.jpg', '/home/pi/Desktop/images/02052025/04/06/image_02052025_04_06_45_9428.jpg', '/home/pi/Desktop/images/02052025/04/06/image_02052025_04_06_55_10364.jpg', '/home/pi/Desktop/images/02052025/04/06/image_02052025_04_07_05_10450.jpg', '/home/pi/Desktop/images/02052025/04/07/image_02052025_04_07_15_9333.jpg', '/home/pi/Desktop/images/02052025/04/07/image_02052025_04_07_25_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/06/image_02052025_04_06_35_10363.jpg
/home/pi/Desktop/images/02052025/04/06/image_02052025_04_06_45_9428.jpg
/home/pi/Desktop/images/02052025/04/06/image_02052025_04_06_55_10364.jpg
/home/pi/Desktop/images/02052025/04/06/image_02052025_04_07_05_10450.jpg
/home/pi/Desktop/images/02052025/04/07/image_02052025_04_07_15_9333.jpg
/home/pi/Desktop/images/02052025/04/07/image_02052025_04_07_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":["1355230221","1355230184","1355230214","1355230216","1355230219","1355230194"],"photo_ids_order":["1355230184","1355230194","1355230214","1355230216","1355230219","1355230221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30c1f0b62e35d296f77d91bf74b58e6c.jpg","text":"TemporaryFile(/tmp/multipartBody5274087393962344116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164973650,"filename":"image_02052025_04_07_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/5/2/b8dd8e1378df2a82f0ff4972fc5beb6e.jpg","text":"TemporaryFile(/tmp/multipartBody1728706791653526034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164973650,"filename":"image_02052025_04_06_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/5/2/48fee9a0cf697c051d80b6ee0999fa31.jpg","text":"TemporaryFile(/tmp/multipartBody948304037119678080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164973650,"filename":"image_02052025_04_06_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/5/2/4898aef0bb44dde3233b82a31b957b63.jpg","text":"TemporaryFile(/tmp/multipartBody5441607323059330658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164973650,"filename":"image_02052025_04_07_05_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3530cd36b07a8d33c11a19cf51196cf7.jpg","text":"TemporaryFile(/tmp/multipartBody3281501184380091630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164973650,"filename":"image_02052025_04_07_15_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/04b889de40657b8c7433b25172844574.jpg","text":"TemporaryFile(/tmp/multipartBody9148798049568402482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746164973650,"filename":"image_02052025_04_06_45_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355230214","file1":"1355230194","file0":"1355230184","file4":"1355230219","file5":"1355230221","file3":"1355230216"},"map_files_photo_id_array":[{"photo_id":"1355230221","filename":"file5"},{"photo_id":"1355230214","filename":"file2"},{"photo_id":"1355230219","filename":"file4"},{"photo_id":"1355230194","filename":"file1"},{"photo_id":"1355230184","filename":"file0"},{"photo_id":"1355230216","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355230221":["hashtag1","hashtag2"]},{"1355230184":["hashtag1","hashtag2"]},{"1355230214":["hashtag1","hashtag2"]},{"1355230216":["hashtag1","hashtag2"]},{"1355230219":["hashtag1","hashtag2"]},{"1355230194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355230221, 1355230184, 1355230214, 1355230216, 1355230219, 1355230194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.475017786026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:49:32.398238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/07/image_02052025_04_07_35_10356.jpg', '/home/pi/Desktop/images/02052025/04/07/image_02052025_04_07_45_9360.jpg', '/home/pi/Desktop/images/02052025/04/07/image_02052025_04_07_55_10502.jpg', '/home/pi/Desktop/images/02052025/04/07/image_02052025_04_08_05_9369.jpg', '/home/pi/Desktop/images/02052025/04/08/image_02052025_04_08_15_10323.jpg', '/home/pi/Desktop/images/02052025/04/08/image_02052025_04_08_25_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/07/image_02052025_04_07_35_10356.jpg
/home/pi/Desktop/images/02052025/04/07/image_02052025_04_07_45_9360.jpg
/home/pi/Desktop/images/02052025/04/07/image_02052025_04_07_55_10502.jpg
/home/pi/Desktop/images/02052025/04/07/image_02052025_04_08_05_9369.jpg
/home/pi/Desktop/images/02052025/04/08/image_02052025_04_08_15_10323.jpg
/home/pi/Desktop/images/02052025/04/08/image_02052025_04_08_25_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355230275","1355230292","1355230286","1355230282","1355230333","1355230303"],"photo_ids_order":["1355230275","1355230282","1355230286","1355230292","1355230303","1355230333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a7cfb217cabaed0bab9ef693f1310af9.jpg","text":"TemporaryFile(/tmp/multipartBody4431639034218961505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165032952,"filename":"image_02052025_04_07_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cc499f8b6eb08d8694985f6dc8584584.jpg","text":"TemporaryFile(/tmp/multipartBody5514426606394397237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165032952,"filename":"image_02052025_04_08_05_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4cfa0877d61fe65afc95468ad8738cb2.jpg","text":"TemporaryFile(/tmp/multipartBody9115038562736262594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165032952,"filename":"image_02052025_04_07_55_10502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d2c74ae1cd20844bd0e5d2d26c2d0f6.jpg","text":"TemporaryFile(/tmp/multipartBody7363604770369681447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165032952,"filename":"image_02052025_04_07_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/5/2/49f72f572c49c3f83f23a10169237b0e.jpg","text":"TemporaryFile(/tmp/multipartBody420157507521983559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165032952,"filename":"image_02052025_04_08_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/14e8364021f397139805e9113e028349.jpg","text":"TemporaryFile(/tmp/multipartBody4276864821843220355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165032952,"filename":"image_02052025_04_08_15_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355230286","file1":"1355230282","file0":"1355230275","file4":"1355230303","file5":"1355230333","file3":"1355230292"},"map_files_photo_id_array":[{"photo_id":"1355230333","filename":"file5"},{"photo_id":"1355230286","filename":"file2"},{"photo_id":"1355230303","filename":"file4"},{"photo_id":"1355230282","filename":"file1"},{"photo_id":"1355230275","filename":"file0"},{"photo_id":"1355230292","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355230275":["hashtag1","hashtag2"]},{"1355230292":["hashtag1","hashtag2"]},{"1355230286":["hashtag1","hashtag2"]},{"1355230282":["hashtag1","hashtag2"]},{"1355230333":["hashtag1","hashtag2"]},{"1355230303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355230275, 1355230292, 1355230286, 1355230282, 1355230333, 1355230303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9073531627655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:50:32.652505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/08/image_02052025_04_08_35_9413.jpg', '/home/pi/Desktop/images/02052025/04/08/image_02052025_04_08_45_10349.jpg', '/home/pi/Desktop/images/02052025/04/08/image_02052025_04_08_56_10369.jpg', '/home/pi/Desktop/images/02052025/04/08/image_02052025_04_09_05_9379.jpg', '/home/pi/Desktop/images/02052025/04/09/image_02052025_04_09_15_10387.jpg', '/home/pi/Desktop/images/02052025/04/09/image_02052025_04_09_25_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/08/image_02052025_04_08_35_9413.jpg
/home/pi/Desktop/images/02052025/04/08/image_02052025_04_08_45_10349.jpg
/home/pi/Desktop/images/02052025/04/08/image_02052025_04_08_56_10369.jpg
/home/pi/Desktop/images/02052025/04/08/image_02052025_04_09_05_9379.jpg
/home/pi/Desktop/images/02052025/04/09/image_02052025_04_09_15_10387.jpg
/home/pi/Desktop/images/02052025/04/09/image_02052025_04_09_25_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355230446","1355230461","1355230440","1355230465","1355230450","1355230453"],"photo_ids_order":["1355230440","1355230446","1355230450","1355230453","1355230461","1355230465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/54322b19dcc5a569139fcbe7cf7b6295.jpg","text":"TemporaryFile(/tmp/multipartBody4062858908715839577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165093484,"filename":"image_02052025_04_08_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/5/2/35b1b0eb331b716572c788bf440c8cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1528543647373812354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165093484,"filename":"image_02052025_04_09_15_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/443a7a150077ed04b3ff379a96fbd0fc.jpg","text":"TemporaryFile(/tmp/multipartBody7789259631129048051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165093484,"filename":"image_02052025_04_08_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c78252e49b2b72031c1d558a2a65551f.jpg","text":"TemporaryFile(/tmp/multipartBody1638868753554446113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165093484,"filename":"image_02052025_04_09_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/5/2/926bcdaafe5d5d55295ad9be0799ebbc.jpg","text":"TemporaryFile(/tmp/multipartBody2727052801782092481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165093484,"filename":"image_02052025_04_08_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/5/2/259e495f6533142c187ecdf1bdfd1843.jpg","text":"TemporaryFile(/tmp/multipartBody5762266269470950967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165093484,"filename":"image_02052025_04_09_05_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355230450","file1":"1355230446","file0":"1355230440","file4":"1355230461","file5":"1355230465","file3":"1355230453"},"map_files_photo_id_array":[{"photo_id":"1355230465","filename":"file5"},{"photo_id":"1355230450","filename":"file2"},{"photo_id":"1355230461","filename":"file4"},{"photo_id":"1355230446","filename":"file1"},{"photo_id":"1355230440","filename":"file0"},{"photo_id":"1355230453","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355230446":["hashtag1","hashtag2"]},{"1355230461":["hashtag1","hashtag2"]},{"1355230440":["hashtag1","hashtag2"]},{"1355230465":["hashtag1","hashtag2"]},{"1355230450":["hashtag1","hashtag2"]},{"1355230453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355230446, 1355230461, 1355230440, 1355230465, 1355230450, 1355230453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97850728034973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:51:33.064342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/09/image_02052025_04_09_45_10359.jpg', '/home/pi/Desktop/images/02052025/04/09/image_02052025_04_09_55_9363.jpg', '/home/pi/Desktop/images/02052025/04/09/image_02052025_04_10_05_10362.jpg', '/home/pi/Desktop/images/02052025/04/10/image_02052025_04_10_16_10352.jpg', '/home/pi/Desktop/images/02052025/04/10/image_02052025_04_10_25_9354.jpg', '/home/pi/Desktop/images/02052025/04/10/image_02052025_04_10_35_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/09/image_02052025_04_09_45_10359.jpg
/home/pi/Desktop/images/02052025/04/09/image_02052025_04_09_55_9363.jpg
/home/pi/Desktop/images/02052025/04/09/image_02052025_04_10_05_10362.jpg
/home/pi/Desktop/images/02052025/04/10/image_02052025_04_10_16_10352.jpg
/home/pi/Desktop/images/02052025/04/10/image_02052025_04_10_25_9354.jpg
/home/pi/Desktop/images/02052025/04/10/image_02052025_04_10_35_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355230566","1355230557","1355230561","1355230555","1355230564","1355230558"],"photo_ids_order":["1355230555","1355230557","1355230558","1355230561","1355230564","1355230566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6c7511cd62f2b052d9ae3a421e0537c8.jpg","text":"TemporaryFile(/tmp/multipartBody2271625413781716990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165153616,"filename":"image_02052025_04_10_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/5/2/d6511f908ba551e79d23de94a5ff8296.jpg","text":"TemporaryFile(/tmp/multipartBody8270050877089968353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165153616,"filename":"image_02052025_04_09_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/5/2/e02079cf91ac9422eb5c686f8d21841a.jpg","text":"TemporaryFile(/tmp/multipartBody1206050655375491998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165153616,"filename":"image_02052025_04_10_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d32c2cc98bbff7c6aabf7f0f68959bd8.jpg","text":"TemporaryFile(/tmp/multipartBody1246908895011991993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165153616,"filename":"image_02052025_04_09_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/5/2/1a8784fc4d8620bc5d2a533ab5185794.jpg","text":"TemporaryFile(/tmp/multipartBody4751224089372352998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165153616,"filename":"image_02052025_04_10_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/5/2/553a17ed442494461f5b3b9ef625a6fb.jpg","text":"TemporaryFile(/tmp/multipartBody3372014763087813615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165153616,"filename":"image_02052025_04_10_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355230558","file1":"1355230557","file0":"1355230555","file4":"1355230564","file5":"1355230566","file3":"1355230561"},"map_files_photo_id_array":[{"photo_id":"1355230566","filename":"file5"},{"photo_id":"1355230558","filename":"file2"},{"photo_id":"1355230564","filename":"file4"},{"photo_id":"1355230557","filename":"file1"},{"photo_id":"1355230555","filename":"file0"},{"photo_id":"1355230561","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355230566":["hashtag1","hashtag2"]},{"1355230557":["hashtag1","hashtag2"]},{"1355230561":["hashtag1","hashtag2"]},{"1355230555":["hashtag1","hashtag2"]},{"1355230564":["hashtag1","hashtag2"]},{"1355230558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355230566, 1355230557, 1355230561, 1355230555, 1355230564, 1355230558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.090197563171387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:52:32.332204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/10/image_02052025_04_10_45_9350.jpg', '/home/pi/Desktop/images/02052025/04/10/image_02052025_04_10_55_10384.jpg', '/home/pi/Desktop/images/02052025/04/10/image_02052025_04_11_05_10365.jpg', '/home/pi/Desktop/images/02052025/04/11/image_02052025_04_11_15_9342.jpg', '/home/pi/Desktop/images/02052025/04/11/image_02052025_04_11_25_10408.jpg', '/home/pi/Desktop/images/02052025/04/11/image_02052025_04_11_35_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/10/image_02052025_04_10_45_9350.jpg
/home/pi/Desktop/images/02052025/04/10/image_02052025_04_10_55_10384.jpg
/home/pi/Desktop/images/02052025/04/10/image_02052025_04_11_05_10365.jpg
/home/pi/Desktop/images/02052025/04/11/image_02052025_04_11_15_9342.jpg
/home/pi/Desktop/images/02052025/04/11/image_02052025_04_11_25_10408.jpg
/home/pi/Desktop/images/02052025/04/11/image_02052025_04_11_35_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":["1355230613","1355230606","1355230596","1355230615","1355230609","1355230600"],"photo_ids_order":["1355230596","1355230600","1355230606","1355230609","1355230613","1355230615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/43262f7cacecbb327b77b9d8fcc4f503.jpg","text":"TemporaryFile(/tmp/multipartBody5914183345936178574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165212889,"filename":"image_02052025_04_11_25_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/867d7ebe5af5d6ae0961e39765c7567a.jpg","text":"TemporaryFile(/tmp/multipartBody4787896941550614185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165212889,"filename":"image_02052025_04_11_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/5/2/67171bab51554e52044a2ed47c18c091.jpg","text":"TemporaryFile(/tmp/multipartBody5512115274234995753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165212889,"filename":"image_02052025_04_10_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/06ebac82d78b795acdcbf85f112c051e.jpg","text":"TemporaryFile(/tmp/multipartBody1211911980249008791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165212889,"filename":"image_02052025_04_11_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/5/2/5095a411b1c925abcda6105a30aa48eb.jpg","text":"TemporaryFile(/tmp/multipartBody7044422773825473691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165212889,"filename":"image_02052025_04_11_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/5/2/f838b95b71787365ad26f4fa37a8abad.jpg","text":"TemporaryFile(/tmp/multipartBody6183250461574994539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165212889,"filename":"image_02052025_04_10_55_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355230606","file1":"1355230600","file0":"1355230596","file4":"1355230613","file5":"1355230615","file3":"1355230609"},"map_files_photo_id_array":[{"photo_id":"1355230615","filename":"file5"},{"photo_id":"1355230606","filename":"file2"},{"photo_id":"1355230613","filename":"file4"},{"photo_id":"1355230600","filename":"file1"},{"photo_id":"1355230596","filename":"file0"},{"photo_id":"1355230609","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355230613":["hashtag1","hashtag2"]},{"1355230606":["hashtag1","hashtag2"]},{"1355230596":["hashtag1","hashtag2"]},{"1355230615":["hashtag1","hashtag2"]},{"1355230609":["hashtag1","hashtag2"]},{"1355230600":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355230613, 1355230606, 1355230596, 1355230615, 1355230609, 1355230600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.258503437042236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:53:32.623525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/11/image_02052025_04_11_45_10342.jpg', '/home/pi/Desktop/images/02052025/04/11/image_02052025_04_11_55_10503.jpg', '/home/pi/Desktop/images/02052025/04/11/image_02052025_04_12_05_9348.jpg', '/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_15_10400.jpg', '/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_25_9376.jpg', '/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_35_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/11/image_02052025_04_11_45_10342.jpg
/home/pi/Desktop/images/02052025/04/11/image_02052025_04_11_55_10503.jpg
/home/pi/Desktop/images/02052025/04/11/image_02052025_04_12_05_9348.jpg
/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_15_10400.jpg
/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_25_9376.jpg
/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_35_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355230650","1355230674","1355230661","1355230643","1355230675","1355230695"],"photo_ids_order":["1355230643","1355230650","1355230661","1355230674","1355230675","1355230695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0610df6b606ba492dbd33ddd97c4fcf.jpg","text":"TemporaryFile(/tmp/multipartBody7480503329253436710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165273227,"filename":"image_02052025_04_11_55_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2400081d1540f44c1c0a3d5be9cfd3a7.jpg","text":"TemporaryFile(/tmp/multipartBody2998030164701392319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165273227,"filename":"image_02052025_04_12_15_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e71350b029d6e1fa9c2b3a45626b111.jpg","text":"TemporaryFile(/tmp/multipartBody575392551983438528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165273227,"filename":"image_02052025_04_12_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/5/2/f092c8176555c6688612722c35b45bc2.jpg","text":"TemporaryFile(/tmp/multipartBody6641146823710546673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165273227,"filename":"image_02052025_04_11_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/5/2/64b8f350edb6420fd8fdd3652b8f3084.jpg","text":"TemporaryFile(/tmp/multipartBody405837649161715124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165273227,"filename":"image_02052025_04_12_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/5/2/d60eda38b285afd23cf9f8baf3810b28.jpg","text":"TemporaryFile(/tmp/multipartBody4355204044698358475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165273227,"filename":"image_02052025_04_12_35_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355230661","file1":"1355230650","file0":"1355230643","file4":"1355230675","file5":"1355230695","file3":"1355230674"},"map_files_photo_id_array":[{"photo_id":"1355230695","filename":"file5"},{"photo_id":"1355230661","filename":"file2"},{"photo_id":"1355230675","filename":"file4"},{"photo_id":"1355230650","filename":"file1"},{"photo_id":"1355230643","filename":"file0"},{"photo_id":"1355230674","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355230650":["hashtag1","hashtag2"]},{"1355230674":["hashtag1","hashtag2"]},{"1355230661":["hashtag1","hashtag2"]},{"1355230643":["hashtag1","hashtag2"]},{"1355230675":["hashtag1","hashtag2"]},{"1355230695":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355230650, 1355230674, 1355230661, 1355230643, 1355230675, 1355230695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.710251569747925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:54:32.800916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_45_10470.jpg', '/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_55_9365.jpg', '/home/pi/Desktop/images/02052025/04/12/image_02052025_04_13_05_10366.jpg', '/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_16_10355.jpg', '/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_25_9468.jpg', '/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_45_10470.jpg
/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_55_9365.jpg
/home/pi/Desktop/images/02052025/04/12/image_02052025_04_13_05_10366.jpg
/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_16_10355.jpg
/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_25_9468.jpg
/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_35_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46502137184143066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 07:54:42.796604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_45_10470.jpg', '/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_55_9365.jpg', '/home/pi/Desktop/images/02052025/04/12/image_02052025_04_13_05_10366.jpg', '/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_16_10355.jpg', '/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_25_9468.jpg', '/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_45_10470.jpg
/home/pi/Desktop/images/02052025/04/12/image_02052025_04_12_55_9365.jpg
/home/pi/Desktop/images/02052025/04/12/image_02052025_04_13_05_10366.jpg
/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_16_10355.jpg
/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_25_9468.jpg
/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_35_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":["1355230811","1355230808","1355230798","1355230783","1355230777","1355230813"],"photo_ids_order":["1355230777","1355230783","1355230798","1355230808","1355230811","1355230813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2cbc6b6c9d0d17f90d48abf420fcec23.jpg","text":"TemporaryFile(/tmp/multipartBody2210124944367316192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165343276,"filename":"image_02052025_04_13_25_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d9018dd2ec7d5f55aae1d920b7da1059.jpg","text":"TemporaryFile(/tmp/multipartBody5749286423949639477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165343276,"filename":"image_02052025_04_13_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/5/2/9518cc10ec8955d4917d01a908c457c7.jpg","text":"TemporaryFile(/tmp/multipartBody1462514616936079139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165343276,"filename":"image_02052025_04_13_05_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3575cf8694c30edf261df0331a7b126b.jpg","text":"TemporaryFile(/tmp/multipartBody8215243711936369712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165343276,"filename":"image_02052025_04_12_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f064d19f72ace2bf63a57240948017e3.jpg","text":"TemporaryFile(/tmp/multipartBody1490733215510164631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165343276,"filename":"image_02052025_04_12_45_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc6d6867c48199246a1694a85340aecc.jpg","text":"TemporaryFile(/tmp/multipartBody4222380564828789504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165343276,"filename":"image_02052025_04_13_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355230798","file1":"1355230783","file0":"1355230777","file4":"1355230811","file5":"1355230813","file3":"1355230808"},"map_files_photo_id_array":[{"photo_id":"1355230813","filename":"file5"},{"photo_id":"1355230798","filename":"file2"},{"photo_id":"1355230811","filename":"file4"},{"photo_id":"1355230783","filename":"file1"},{"photo_id":"1355230777","filename":"file0"},{"photo_id":"1355230808","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355230811":["hashtag1","hashtag2"]},{"1355230808":["hashtag1","hashtag2"]},{"1355230798":["hashtag1","hashtag2"]},{"1355230783":["hashtag1","hashtag2"]},{"1355230777":["hashtag1","hashtag2"]},{"1355230813":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355230811, 1355230808, 1355230798, 1355230783, 1355230777, 1355230813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.855685710906982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:55:33.015062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_45_9367.jpg', '/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_55_10383.jpg', '/home/pi/Desktop/images/02052025/04/13/image_02052025_04_14_05_10362.jpg', '/home/pi/Desktop/images/02052025/04/14/image_02052025_04_14_15_9325.jpg', '/home/pi/Desktop/images/02052025/04/14/image_02052025_04_14_25_10368.jpg', '/home/pi/Desktop/images/02052025/04/14/image_02052025_04_14_35_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_45_9367.jpg
/home/pi/Desktop/images/02052025/04/13/image_02052025_04_13_55_10383.jpg
/home/pi/Desktop/images/02052025/04/13/image_02052025_04_14_05_10362.jpg
/home/pi/Desktop/images/02052025/04/14/image_02052025_04_14_15_9325.jpg
/home/pi/Desktop/images/02052025/04/14/image_02052025_04_14_25_10368.jpg
/home/pi/Desktop/images/02052025/04/14/image_02052025_04_14_35_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355231004","1355230982","1355230985","1355230973","1355230969","1355230980"],"photo_ids_order":["1355230969","1355230973","1355230980","1355230982","1355230985","1355231004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/64aab8e20da9c2492359e2eb75ee399c.jpg","text":"TemporaryFile(/tmp/multipartBody1140636310643247805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165393573,"filename":"image_02052025_04_14_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/5/2/d0b2ae123b2f0598bf3b6326f01da932.jpg","text":"TemporaryFile(/tmp/multipartBody8349669078206541112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165393573,"filename":"image_02052025_04_14_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/5/2/e687965446a7e34a12d385bd45d0a502.jpg","text":"TemporaryFile(/tmp/multipartBody2752388183389285871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165393573,"filename":"image_02052025_04_14_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/5/2/52e38b0f2052b14ce1e86d52c05a992f.jpg","text":"TemporaryFile(/tmp/multipartBody977190858462308239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165393573,"filename":"image_02052025_04_13_55_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f558eea6855b78a02bc4749bafc680c9.jpg","text":"TemporaryFile(/tmp/multipartBody4612318344436874526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165393573,"filename":"image_02052025_04_13_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/5/2/030397882ae2b8a118534f7ddbbf8601.jpg","text":"TemporaryFile(/tmp/multipartBody4492112926065039179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165393573,"filename":"image_02052025_04_14_05_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355230980","file1":"1355230973","file0":"1355230969","file4":"1355230985","file5":"1355231004","file3":"1355230982"},"map_files_photo_id_array":[{"photo_id":"1355231004","filename":"file5"},{"photo_id":"1355230980","filename":"file2"},{"photo_id":"1355230985","filename":"file4"},{"photo_id":"1355230973","filename":"file1"},{"photo_id":"1355230969","filename":"file0"},{"photo_id":"1355230982","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355231004":["hashtag1","hashtag2"]},{"1355230982":["hashtag1","hashtag2"]},{"1355230985":["hashtag1","hashtag2"]},{"1355230973":["hashtag1","hashtag2"]},{"1355230969":["hashtag1","hashtag2"]},{"1355230980":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355231004, 1355230982, 1355230985, 1355230973, 1355230969, 1355230980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.015538454055786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:56:32.228169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/14/image_02052025_04_14_45_10364.jpg', '/home/pi/Desktop/images/02052025/04/14/image_02052025_04_14_55_10426.jpg', '/home/pi/Desktop/images/02052025/04/14/image_02052025_04_15_05_9359.jpg', '/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_15_10352.jpg', '/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_26_10456.jpg', '/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_35_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/14/image_02052025_04_14_45_10364.jpg
/home/pi/Desktop/images/02052025/04/14/image_02052025_04_14_55_10426.jpg
/home/pi/Desktop/images/02052025/04/14/image_02052025_04_15_05_9359.jpg
/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_15_10352.jpg
/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_26_10456.jpg
/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_35_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355231106","1355231093","1355231102","1355231098","1355231104","1355231121"],"photo_ids_order":["1355231093","1355231098","1355231102","1355231104","1355231106","1355231121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6b50881f0350242cec9059d522b4a2c.jpg","text":"TemporaryFile(/tmp/multipartBody4724485640352030207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165452775,"filename":"image_02052025_04_15_26_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c959f8682c4a8920f94c14f1ffb9ccb4.jpg","text":"TemporaryFile(/tmp/multipartBody5059699330415384629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165452775,"filename":"image_02052025_04_14_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/5/2/070c8c9f2c6332630634e7e3b5f2f13d.jpg","text":"TemporaryFile(/tmp/multipartBody4763688814088545976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165452775,"filename":"image_02052025_04_15_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3bccb06b4a4012485bedd21b0cec7637.jpg","text":"TemporaryFile(/tmp/multipartBody8453571000049014972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165452775,"filename":"image_02052025_04_14_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/5/2/a8164821d618c9f9b4f8e2e4fbda6d19.jpg","text":"TemporaryFile(/tmp/multipartBody5567427995280168712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165452775,"filename":"image_02052025_04_15_15_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa85821000146950890175b97bf3c5d8.jpg","text":"TemporaryFile(/tmp/multipartBody7280315748204606134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165452775,"filename":"image_02052025_04_15_35_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355231102","file1":"1355231098","file0":"1355231093","file4":"1355231106","file5":"1355231121","file3":"1355231104"},"map_files_photo_id_array":[{"photo_id":"1355231121","filename":"file5"},{"photo_id":"1355231102","filename":"file2"},{"photo_id":"1355231106","filename":"file4"},{"photo_id":"1355231098","filename":"file1"},{"photo_id":"1355231093","filename":"file0"},{"photo_id":"1355231104","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355231106":["hashtag1","hashtag2"]},{"1355231093":["hashtag1","hashtag2"]},{"1355231102":["hashtag1","hashtag2"]},{"1355231098":["hashtag1","hashtag2"]},{"1355231104":["hashtag1","hashtag2"]},{"1355231121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355231106, 1355231093, 1355231102, 1355231098, 1355231104, 1355231121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.68824815750122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 07:57:32.552085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_45_10450.jpg', '/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_55_9404.jpg', '/home/pi/Desktop/images/02052025/04/15/image_02052025_04_16_05_10353.jpg', '/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_16_10427.jpg', '/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_25_9437.jpg', '/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_35_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_45_10450.jpg
/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_55_9404.jpg
/home/pi/Desktop/images/02052025/04/15/image_02052025_04_16_05_10353.jpg
/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_16_10427.jpg
/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_25_9437.jpg
/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_35_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 07:59:03.188678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_45_10450.jpg', '/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_55_9404.jpg', '/home/pi/Desktop/images/02052025/04/15/image_02052025_04_16_05_10353.jpg', '/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_16_10427.jpg', '/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_25_9437.jpg', '/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_35_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_45_10450.jpg
/home/pi/Desktop/images/02052025/04/15/image_02052025_04_15_55_9404.jpg
/home/pi/Desktop/images/02052025/04/15/image_02052025_04_16_05_10353.jpg
/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_16_10427.jpg
/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_25_9437.jpg
/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_35_10379.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355231727","1355231792","1355231855","1355231822","1355231698","1355231758"],"photo_ids_order":["1355231698","1355231727","1355231758","1355231792","1355231822","1355231855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0494113af0d6ebb65cafd2bd70c41119.jpg","text":"TemporaryFile(/tmp/multipartBody3661483967774095824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165603823,"filename":"image_02052025_04_15_55_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e5dd627863dde5a78effffbaff4a4c0.jpg","text":"TemporaryFile(/tmp/multipartBody4856869971266871558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165603823,"filename":"image_02052025_04_16_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/5/2/c2de7b72143bf4f3e07624bde321ea63.jpg","text":"TemporaryFile(/tmp/multipartBody3681346041459999094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165603823,"filename":"image_02052025_04_16_35_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d32ce12a47f2d593ae9c9b2e8a358f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1414366304073517492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165603823,"filename":"image_02052025_04_16_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/5/2/6d5f08c2d301f076f4ce139a983a9842.jpg","text":"TemporaryFile(/tmp/multipartBody4944667366089305637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165603823,"filename":"image_02052025_04_15_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eacc2cc2f4703b8bf5e92e39f286f0d4.jpg","text":"TemporaryFile(/tmp/multipartBody4656488857616162965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165603823,"filename":"image_02052025_04_16_05_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355231758","file1":"1355231727","file0":"1355231698","file4":"1355231822","file5":"1355231855","file3":"1355231792"},"map_files_photo_id_array":[{"photo_id":"1355231855","filename":"file5"},{"photo_id":"1355231758","filename":"file2"},{"photo_id":"1355231822","filename":"file4"},{"photo_id":"1355231727","filename":"file1"},{"photo_id":"1355231698","filename":"file0"},{"photo_id":"1355231792","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355231727":["hashtag1","hashtag2"]},{"1355231792":["hashtag1","hashtag2"]},{"1355231855":["hashtag1","hashtag2"]},{"1355231822":["hashtag1","hashtag2"]},{"1355231698":["hashtag1","hashtag2"]},{"1355231758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355231727, 1355231792, 1355231855, 1355231822, 1355231698, 1355231758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29342007637024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 07:59:42.223149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_45_10084.jpg', '/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_55_9387.jpg', '/home/pi/Desktop/images/02052025/04/16/image_02052025_04_17_05_10445.jpg', '/home/pi/Desktop/images/02052025/04/17/image_02052025_04_17_15_9324.jpg', '/home/pi/Desktop/images/02052025/04/17/image_02052025_04_17_25_10379.jpg', '/home/pi/Desktop/images/02052025/04/17/image_02052025_04_17_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_45_10084.jpg
/home/pi/Desktop/images/02052025/04/16/image_02052025_04_16_55_9387.jpg
/home/pi/Desktop/images/02052025/04/16/image_02052025_04_17_05_10445.jpg
/home/pi/Desktop/images/02052025/04/17/image_02052025_04_17_15_9324.jpg
/home/pi/Desktop/images/02052025/04/17/image_02052025_04_17_25_10379.jpg
/home/pi/Desktop/images/02052025/04/17/image_02052025_04_17_35_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355232251","1355232547","1355232157","1355232121","1355231991","1355232306"],"photo_ids_order":["1355231991","1355232121","1355232157","1355232251","1355232306","1355232547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e91eb5746eaaa150a7cbccb85e4db326.jpg","text":"TemporaryFile(/tmp/multipartBody3225548565267033857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165642781,"filename":"image_02052025_04_17_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/5/2/c1342bfabbf6b3d6db7bec8fe5573737.jpg","text":"TemporaryFile(/tmp/multipartBody7686328814706794171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165642781,"filename":"image_02052025_04_17_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/5/2/52b383ced9fc4cc0e6932af4c6015210.jpg","text":"TemporaryFile(/tmp/multipartBody2008315741743497464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165642781,"filename":"image_02052025_04_17_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/5/2/1801d0ae45fce5fedcfd78e5ae2fa0a7.jpg","text":"TemporaryFile(/tmp/multipartBody4556686129611556611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165642781,"filename":"image_02052025_04_16_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/5/2/c186138d4e0fd284d578c7982254edab.jpg","text":"TemporaryFile(/tmp/multipartBody7010831010622521420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165642781,"filename":"image_02052025_04_16_45_10084.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a24902382c4a35928a022ec3f4b012c6.jpg","text":"TemporaryFile(/tmp/multipartBody836430756966116061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165642781,"filename":"image_02052025_04_17_25_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355232157","file1":"1355232121","file0":"1355231991","file4":"1355232306","file5":"1355232547","file3":"1355232251"},"map_files_photo_id_array":[{"photo_id":"1355232547","filename":"file5"},{"photo_id":"1355232157","filename":"file2"},{"photo_id":"1355232306","filename":"file4"},{"photo_id":"1355232121","filename":"file1"},{"photo_id":"1355231991","filename":"file0"},{"photo_id":"1355232251","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355232251":["hashtag1","hashtag2"]},{"1355232547":["hashtag1","hashtag2"]},{"1355232157":["hashtag1","hashtag2"]},{"1355232121":["hashtag1","hashtag2"]},{"1355231991":["hashtag1","hashtag2"]},{"1355232306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355232251, 1355232547, 1355232157, 1355232121, 1355231991, 1355232306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.711915254592896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:00:52.634642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/17/image_02052025_04_17_45_9418.jpg', '/home/pi/Desktop/images/02052025/04/17/image_02052025_04_17_55_10369.jpg', '/home/pi/Desktop/images/02052025/04/17/image_02052025_04_18_05_9425.jpg', '/home/pi/Desktop/images/02052025/04/18/image_02052025_04_18_15_10358.jpg', '/home/pi/Desktop/images/02052025/04/18/image_02052025_04_18_25_10432.jpg', '/home/pi/Desktop/images/02052025/04/18/image_02052025_04_18_35_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/17/image_02052025_04_17_45_9418.jpg
/home/pi/Desktop/images/02052025/04/17/image_02052025_04_17_55_10369.jpg
/home/pi/Desktop/images/02052025/04/17/image_02052025_04_18_05_9425.jpg
/home/pi/Desktop/images/02052025/04/18/image_02052025_04_18_15_10358.jpg
/home/pi/Desktop/images/02052025/04/18/image_02052025_04_18_25_10432.jpg
/home/pi/Desktop/images/02052025/04/18/image_02052025_04_18_35_9343.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355232752","1355232781","1355232888","1355232832","1355232861","1355232807"],"photo_ids_order":["1355232752","1355232781","1355232807","1355232832","1355232861","1355232888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f5b76683f1a2c0015cf5640d99e553f.jpg","text":"TemporaryFile(/tmp/multipartBody317693114781114839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165713171,"filename":"image_02052025_04_17_45_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49f43ff153be52ba883f3c8565295987.jpg","text":"TemporaryFile(/tmp/multipartBody3190662681493473991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165713171,"filename":"image_02052025_04_17_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8a4ad3f327ea1c63e94099079a594445.jpg","text":"TemporaryFile(/tmp/multipartBody6313723585859929003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165713171,"filename":"image_02052025_04_18_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/5/2/dc4751d514c5e1e1e21275068578da1f.jpg","text":"TemporaryFile(/tmp/multipartBody2383611877752440758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165713171,"filename":"image_02052025_04_18_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/5/2/fedc08916828b7c49f7600b0243469d3.jpg","text":"TemporaryFile(/tmp/multipartBody3083182722612214064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165713171,"filename":"image_02052025_04_18_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9bb20dd5fb6aae2ddaa9589c69651c6c.jpg","text":"TemporaryFile(/tmp/multipartBody242734112570102370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165713171,"filename":"image_02052025_04_18_05_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355232807","file1":"1355232781","file0":"1355232752","file4":"1355232861","file5":"1355232888","file3":"1355232832"},"map_files_photo_id_array":[{"photo_id":"1355232888","filename":"file5"},{"photo_id":"1355232807","filename":"file2"},{"photo_id":"1355232861","filename":"file4"},{"photo_id":"1355232781","filename":"file1"},{"photo_id":"1355232752","filename":"file0"},{"photo_id":"1355232832","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355232752":["hashtag1","hashtag2"]},{"1355232781":["hashtag1","hashtag2"]},{"1355232888":["hashtag1","hashtag2"]},{"1355232832":["hashtag1","hashtag2"]},{"1355232861":["hashtag1","hashtag2"]},{"1355232807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355232752, 1355232781, 1355232888, 1355232832, 1355232861, 1355232807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.955427408218384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:01:33.301329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/18/image_02052025_04_18_45_10374.jpg', '/home/pi/Desktop/images/02052025/04/18/image_02052025_04_18_55_10426.jpg', '/home/pi/Desktop/images/02052025/04/18/image_02052025_04_19_05_9344.jpg', '/home/pi/Desktop/images/02052025/04/19/image_02052025_04_19_15_10361.jpg', '/home/pi/Desktop/images/02052025/04/19/image_02052025_04_19_25_9414.jpg', '/home/pi/Desktop/images/02052025/04/19/image_02052025_04_19_35_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/18/image_02052025_04_18_45_10374.jpg
/home/pi/Desktop/images/02052025/04/18/image_02052025_04_18_55_10426.jpg
/home/pi/Desktop/images/02052025/04/18/image_02052025_04_19_05_9344.jpg
/home/pi/Desktop/images/02052025/04/19/image_02052025_04_19_15_10361.jpg
/home/pi/Desktop/images/02052025/04/19/image_02052025_04_19_25_9414.jpg
/home/pi/Desktop/images/02052025/04/19/image_02052025_04_19_35_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355233194","1355233105","1355233143","1355233071","1355233041","1355233169"],"photo_ids_order":["1355233041","1355233071","1355233105","1355233143","1355233169","1355233194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/44745165bf4a1e385616b5723c93fe72.jpg","text":"TemporaryFile(/tmp/multipartBody4261164573700026138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165753852,"filename":"image_02052025_04_19_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/5/2/a5189e9c90de1a463dc87b2ce0e24dac.jpg","text":"TemporaryFile(/tmp/multipartBody9023719790941806624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165753852,"filename":"image_02052025_04_19_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/5/2/1486b329e68c642a991359f9e984483c.jpg","text":"TemporaryFile(/tmp/multipartBody3225783545756909149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165753852,"filename":"image_02052025_04_19_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/5/2/197b935056f9e36d9a24abfcffe59139.jpg","text":"TemporaryFile(/tmp/multipartBody121594695494310612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165753852,"filename":"image_02052025_04_18_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/5/2/320f0e3075c1d332ee2428f730559c70.jpg","text":"TemporaryFile(/tmp/multipartBody5362213487033602196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165753852,"filename":"image_02052025_04_18_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/5/2/bc9df92c6ed773d19f8dd30a332e554f.jpg","text":"TemporaryFile(/tmp/multipartBody1952322356131682034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165753852,"filename":"image_02052025_04_19_25_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355233105","file1":"1355233071","file0":"1355233041","file4":"1355233169","file5":"1355233194","file3":"1355233143"},"map_files_photo_id_array":[{"photo_id":"1355233194","filename":"file5"},{"photo_id":"1355233105","filename":"file2"},{"photo_id":"1355233169","filename":"file4"},{"photo_id":"1355233071","filename":"file1"},{"photo_id":"1355233041","filename":"file0"},{"photo_id":"1355233143","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355233194":["hashtag1","hashtag2"]},{"1355233105":["hashtag1","hashtag2"]},{"1355233143":["hashtag1","hashtag2"]},{"1355233071":["hashtag1","hashtag2"]},{"1355233041":["hashtag1","hashtag2"]},{"1355233169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355233194, 1355233105, 1355233143, 1355233071, 1355233041, 1355233169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.15915322303772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:02:32.602213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/19/image_02052025_04_19_45_10454.jpg', '/home/pi/Desktop/images/02052025/04/19/image_02052025_04_19_55_9383.jpg', '/home/pi/Desktop/images/02052025/04/19/image_02052025_04_20_05_10446.jpg', '/home/pi/Desktop/images/02052025/04/20/image_02052025_04_20_15_9385.jpg', '/home/pi/Desktop/images/02052025/04/20/image_02052025_04_20_25_10374.jpg', '/home/pi/Desktop/images/02052025/04/20/image_02052025_04_20_36_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/19/image_02052025_04_19_45_10454.jpg
/home/pi/Desktop/images/02052025/04/19/image_02052025_04_19_55_9383.jpg
/home/pi/Desktop/images/02052025/04/19/image_02052025_04_20_05_10446.jpg
/home/pi/Desktop/images/02052025/04/20/image_02052025_04_20_15_9385.jpg
/home/pi/Desktop/images/02052025/04/20/image_02052025_04_20_25_10374.jpg
/home/pi/Desktop/images/02052025/04/20/image_02052025_04_20_36_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":["1355233696","1355233678","1355233675","1355233726","1355233662","1355233671"],"photo_ids_order":["1355233662","1355233671","1355233675","1355233678","1355233696","1355233726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c88d5079784682a2bf021e8012c06b1e.jpg","text":"TemporaryFile(/tmp/multipartBody2802403816754555678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165813158,"filename":"image_02052025_04_20_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/5/2/3d371eec8de129f8c8740fc45e088b73.jpg","text":"TemporaryFile(/tmp/multipartBody7618719200692834309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165813158,"filename":"image_02052025_04_20_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/5/2/500087136f31b976d3027a9bbecf6556.jpg","text":"TemporaryFile(/tmp/multipartBody6059868614134928506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165813158,"filename":"image_02052025_04_20_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/35d8d72feacd29d2421fc5280e2694d9.jpg","text":"TemporaryFile(/tmp/multipartBody6897390691816931837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165813158,"filename":"image_02052025_04_20_36_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1604402bdd49f61b0e4789fae534a35c.jpg","text":"TemporaryFile(/tmp/multipartBody3906508115526265133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165813158,"filename":"image_02052025_04_19_45_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f5492bae0c847bb34dc7feb3a1804f5.jpg","text":"TemporaryFile(/tmp/multipartBody228223349265246642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165813158,"filename":"image_02052025_04_19_55_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355233675","file1":"1355233671","file0":"1355233662","file4":"1355233696","file5":"1355233726","file3":"1355233678"},"map_files_photo_id_array":[{"photo_id":"1355233726","filename":"file5"},{"photo_id":"1355233675","filename":"file2"},{"photo_id":"1355233696","filename":"file4"},{"photo_id":"1355233671","filename":"file1"},{"photo_id":"1355233662","filename":"file0"},{"photo_id":"1355233678","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355233696":["hashtag1","hashtag2"]},{"1355233678":["hashtag1","hashtag2"]},{"1355233675":["hashtag1","hashtag2"]},{"1355233726":["hashtag1","hashtag2"]},{"1355233662":["hashtag1","hashtag2"]},{"1355233671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355233696, 1355233678, 1355233675, 1355233726, 1355233662, 1355233671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.831810235977173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:03:32.862322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/20/image_02052025_04_20_45_9373.jpg', '/home/pi/Desktop/images/02052025/04/20/image_02052025_04_20_55_10494.jpg', '/home/pi/Desktop/images/02052025/04/20/image_02052025_04_21_05_9414.jpg', '/home/pi/Desktop/images/02052025/04/21/image_02052025_04_21_15_10356.jpg', '/home/pi/Desktop/images/02052025/04/21/image_02052025_04_21_26_10385.jpg', '/home/pi/Desktop/images/02052025/04/21/image_02052025_04_21_35_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/20/image_02052025_04_20_45_9373.jpg
/home/pi/Desktop/images/02052025/04/20/image_02052025_04_20_55_10494.jpg
/home/pi/Desktop/images/02052025/04/20/image_02052025_04_21_05_9414.jpg
/home/pi/Desktop/images/02052025/04/21/image_02052025_04_21_15_10356.jpg
/home/pi/Desktop/images/02052025/04/21/image_02052025_04_21_26_10385.jpg
/home/pi/Desktop/images/02052025/04/21/image_02052025_04_21_35_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":["1355233867","1355233869","1355233863","1355233842","1355233848","1355233853"],"photo_ids_order":["1355233842","1355233848","1355233853","1355233863","1355233867","1355233869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/736f0caac3f70c95ed1dee67d31bc209.jpg","text":"TemporaryFile(/tmp/multipartBody4017074782443434416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165873412,"filename":"image_02052025_04_21_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/5/2/9b05ae70a8673dcba1ac0b245e295c21.jpg","text":"TemporaryFile(/tmp/multipartBody4176678868118274566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165873412,"filename":"image_02052025_04_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/5/2/46366b3f3ed9fbdde80d90253fa422bd.jpg","text":"TemporaryFile(/tmp/multipartBody5384425310376248159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165873412,"filename":"image_02052025_04_21_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/5/2/bc06f57d579ccdd33faa58ce29892edc.jpg","text":"TemporaryFile(/tmp/multipartBody4363185119722126049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165873412,"filename":"image_02052025_04_20_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/5/2/2ae8ad4f2a17ce3788fdefaf99dcb0b3.jpg","text":"TemporaryFile(/tmp/multipartBody6657637720657843587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165873412,"filename":"image_02052025_04_20_55_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6d78edda099b900e3f0bb8ba9749854.jpg","text":"TemporaryFile(/tmp/multipartBody3075354851670703947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165873412,"filename":"image_02052025_04_21_05_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355233853","file1":"1355233848","file0":"1355233842","file4":"1355233867","file5":"1355233869","file3":"1355233863"},"map_files_photo_id_array":[{"photo_id":"1355233869","filename":"file5"},{"photo_id":"1355233853","filename":"file2"},{"photo_id":"1355233867","filename":"file4"},{"photo_id":"1355233848","filename":"file1"},{"photo_id":"1355233842","filename":"file0"},{"photo_id":"1355233863","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355233867":["hashtag1","hashtag2"]},{"1355233869":["hashtag1","hashtag2"]},{"1355233863":["hashtag1","hashtag2"]},{"1355233842":["hashtag1","hashtag2"]},{"1355233848":["hashtag1","hashtag2"]},{"1355233853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355233867, 1355233869, 1355233863, 1355233842, 1355233848, 1355233853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.195226907730103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:04:32.955009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/21/image_02052025_04_21_45_10424.jpg', '/home/pi/Desktop/images/02052025/04/21/image_02052025_04_21_55_9392.jpg', '/home/pi/Desktop/images/02052025/04/21/image_02052025_04_22_05_10358.jpg', '/home/pi/Desktop/images/02052025/04/22/image_02052025_04_22_15_10344.jpg', '/home/pi/Desktop/images/02052025/04/22/image_02052025_04_22_35_10406.jpg', '/home/pi/Desktop/images/02052025/04/22/image_02052025_04_22_45_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/21/image_02052025_04_21_45_10424.jpg
/home/pi/Desktop/images/02052025/04/21/image_02052025_04_21_55_9392.jpg
/home/pi/Desktop/images/02052025/04/21/image_02052025_04_22_05_10358.jpg
/home/pi/Desktop/images/02052025/04/22/image_02052025_04_22_15_10344.jpg
/home/pi/Desktop/images/02052025/04/22/image_02052025_04_22_35_10406.jpg
/home/pi/Desktop/images/02052025/04/22/image_02052025_04_22_45_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":["1355234254","1355234239","1355234116","1355234175","1355234148","1355234205"],"photo_ids_order":["1355234116","1355234148","1355234175","1355234205","1355234239","1355234254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85e7d0acda6da8446182ace25c8691c1.jpg","text":"TemporaryFile(/tmp/multipartBody9193855399496922145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165933516,"filename":"image_02052025_04_22_45_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41fdf5a213542befc426aa5d0d05ebaa.jpg","text":"TemporaryFile(/tmp/multipartBody8487160029595499955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165933516,"filename":"image_02052025_04_22_35_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f50e82006730f73034577e2212681f15.jpg","text":"TemporaryFile(/tmp/multipartBody2340409016421808126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165933516,"filename":"image_02052025_04_21_45_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e0388f1eed2b7788d45c2efa5617c7a.jpg","text":"TemporaryFile(/tmp/multipartBody8237957274571509494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165933516,"filename":"image_02052025_04_22_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/5/2/3d6ec22602bf36c8e0caefa5e5eafa1c.jpg","text":"TemporaryFile(/tmp/multipartBody4864572984141428623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165933516,"filename":"image_02052025_04_21_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/5/2/13e3e6363dcd87851e3a8f27ee54f19b.jpg","text":"TemporaryFile(/tmp/multipartBody5789894647512295172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165933516,"filename":"image_02052025_04_22_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355234175","file1":"1355234148","file0":"1355234116","file4":"1355234239","file5":"1355234254","file3":"1355234205"},"map_files_photo_id_array":[{"photo_id":"1355234254","filename":"file5"},{"photo_id":"1355234175","filename":"file2"},{"photo_id":"1355234239","filename":"file4"},{"photo_id":"1355234148","filename":"file1"},{"photo_id":"1355234116","filename":"file0"},{"photo_id":"1355234205","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355234254":["hashtag1","hashtag2"]},{"1355234239":["hashtag1","hashtag2"]},{"1355234116":["hashtag1","hashtag2"]},{"1355234175":["hashtag1","hashtag2"]},{"1355234148":["hashtag1","hashtag2"]},{"1355234205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355234254, 1355234239, 1355234116, 1355234175, 1355234148, 1355234205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.29511547088623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:05:32.260034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/22/image_02052025_04_22_55_10446.jpg', '/home/pi/Desktop/images/02052025/04/22/image_02052025_04_23_05_10353.jpg', '/home/pi/Desktop/images/02052025/04/23/image_02052025_04_23_15_9411.jpg', '/home/pi/Desktop/images/02052025/04/23/image_02052025_04_23_25_10368.jpg', '/home/pi/Desktop/images/02052025/04/23/image_02052025_04_23_35_9372.jpg', '/home/pi/Desktop/images/02052025/04/23/image_02052025_04_23_45_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/22/image_02052025_04_22_55_10446.jpg
/home/pi/Desktop/images/02052025/04/22/image_02052025_04_23_05_10353.jpg
/home/pi/Desktop/images/02052025/04/23/image_02052025_04_23_15_9411.jpg
/home/pi/Desktop/images/02052025/04/23/image_02052025_04_23_25_10368.jpg
/home/pi/Desktop/images/02052025/04/23/image_02052025_04_23_35_9372.jpg
/home/pi/Desktop/images/02052025/04/23/image_02052025_04_23_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":["1355234461","1355234449","1355234498","1355234483","1355234465","1355234411"],"photo_ids_order":["1355234411","1355234449","1355234461","1355234465","1355234483","1355234498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b7b65d67dea48dfaf25b92b79bf47ec2.jpg","text":"TemporaryFile(/tmp/multipartBody5994741177395769845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165992828,"filename":"image_02052025_04_23_15_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fce797258244272538e3b2629d9c7eb6.jpg","text":"TemporaryFile(/tmp/multipartBody5932153101165753898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165992828,"filename":"image_02052025_04_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/5/2/5681e034460c11dd12fab53984d63e5d.jpg","text":"TemporaryFile(/tmp/multipartBody8011983765376785009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165992828,"filename":"image_02052025_04_23_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/5/2/5bc78f3eb9b57f5fb7e625e1f4f5e391.jpg","text":"TemporaryFile(/tmp/multipartBody6552264477556193567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165992828,"filename":"image_02052025_04_23_35_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b1439bbb85de0a7ddd09f84e44a793da.jpg","text":"TemporaryFile(/tmp/multipartBody1309571997451174130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165992828,"filename":"image_02052025_04_23_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/5/2/3598226245a55e55b7cb388e5a12f9de.jpg","text":"TemporaryFile(/tmp/multipartBody7090570037419395837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746165992828,"filename":"image_02052025_04_22_55_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355234461","file1":"1355234449","file0":"1355234411","file4":"1355234483","file5":"1355234498","file3":"1355234465"},"map_files_photo_id_array":[{"photo_id":"1355234498","filename":"file5"},{"photo_id":"1355234461","filename":"file2"},{"photo_id":"1355234483","filename":"file4"},{"photo_id":"1355234449","filename":"file1"},{"photo_id":"1355234411","filename":"file0"},{"photo_id":"1355234465","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355234461":["hashtag1","hashtag2"]},{"1355234449":["hashtag1","hashtag2"]},{"1355234498":["hashtag1","hashtag2"]},{"1355234483":["hashtag1","hashtag2"]},{"1355234465":["hashtag1","hashtag2"]},{"1355234411":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355234461, 1355234449, 1355234498, 1355234483, 1355234465, 1355234411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46402978897095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:06:32.547123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/23/image_02052025_04_23_55_10408.jpg', '/home/pi/Desktop/images/02052025/04/23/image_02052025_04_24_05_9348.jpg', '/home/pi/Desktop/images/02052025/04/24/image_02052025_04_24_15_10348.jpg', '/home/pi/Desktop/images/02052025/04/24/image_02052025_04_24_25_10445.jpg', '/home/pi/Desktop/images/02052025/04/24/image_02052025_04_24_35_9352.jpg', '/home/pi/Desktop/images/02052025/04/24/image_02052025_04_24_45_10541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/23/image_02052025_04_23_55_10408.jpg
/home/pi/Desktop/images/02052025/04/23/image_02052025_04_24_05_9348.jpg
/home/pi/Desktop/images/02052025/04/24/image_02052025_04_24_15_10348.jpg
/home/pi/Desktop/images/02052025/04/24/image_02052025_04_24_25_10445.jpg
/home/pi/Desktop/images/02052025/04/24/image_02052025_04_24_35_9352.jpg
/home/pi/Desktop/images/02052025/04/24/image_02052025_04_24_45_10541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355234536","1355234568","1355234562","1355234541","1355234550","1355234546"],"photo_ids_order":["1355234536","1355234541","1355234546","1355234550","1355234562","1355234568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0fd4d18a5a39e48c77ebb889a50c1813.jpg","text":"TemporaryFile(/tmp/multipartBody8209676282068969707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166053082,"filename":"image_02052025_04_23_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/5/2/d56732064800c5bc7c49667376298d5d.jpg","text":"TemporaryFile(/tmp/multipartBody8092554759596162851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166053082,"filename":"image_02052025_04_24_45_10541.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/425efdad842f9b58d081bd18aa0b9d2b.jpg","text":"TemporaryFile(/tmp/multipartBody4166605382983792495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166053082,"filename":"image_02052025_04_24_35_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a2d07b372dd6451e143b319e86b7c4ca.jpg","text":"TemporaryFile(/tmp/multipartBody8333723197207956228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166053082,"filename":"image_02052025_04_24_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/5/2/4cb02e161d2a6fc8dc0f819987db9cee.jpg","text":"TemporaryFile(/tmp/multipartBody1812603975424715590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166053082,"filename":"image_02052025_04_24_25_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cae3f0cf45a78cf3dd951d975cc0e3d2.jpg","text":"TemporaryFile(/tmp/multipartBody7865450532602669557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166053082,"filename":"image_02052025_04_24_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355234546","file1":"1355234541","file0":"1355234536","file4":"1355234562","file5":"1355234568","file3":"1355234550"},"map_files_photo_id_array":[{"photo_id":"1355234568","filename":"file5"},{"photo_id":"1355234546","filename":"file2"},{"photo_id":"1355234562","filename":"file4"},{"photo_id":"1355234541","filename":"file1"},{"photo_id":"1355234536","filename":"file0"},{"photo_id":"1355234550","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355234536":["hashtag1","hashtag2"]},{"1355234568":["hashtag1","hashtag2"]},{"1355234562":["hashtag1","hashtag2"]},{"1355234541":["hashtag1","hashtag2"]},{"1355234550":["hashtag1","hashtag2"]},{"1355234546":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355234536, 1355234568, 1355234562, 1355234541, 1355234550, 1355234546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.954536199569702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:07:32.866347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/24/image_02052025_04_24_55_9446.jpg', '/home/pi/Desktop/images/02052025/04/24/image_02052025_04_25_05_10348.jpg', '/home/pi/Desktop/images/02052025/04/25/image_02052025_04_25_16_10356.jpg', '/home/pi/Desktop/images/02052025/04/25/image_02052025_04_25_25_9360.jpg', '/home/pi/Desktop/images/02052025/04/25/image_02052025_04_25_35_10422.jpg', '/home/pi/Desktop/images/02052025/04/25/image_02052025_04_25_45_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/24/image_02052025_04_24_55_9446.jpg
/home/pi/Desktop/images/02052025/04/24/image_02052025_04_25_05_10348.jpg
/home/pi/Desktop/images/02052025/04/25/image_02052025_04_25_16_10356.jpg
/home/pi/Desktop/images/02052025/04/25/image_02052025_04_25_25_9360.jpg
/home/pi/Desktop/images/02052025/04/25/image_02052025_04_25_35_10422.jpg
/home/pi/Desktop/images/02052025/04/25/image_02052025_04_25_45_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355234668","1355234653","1355234649","1355234664","1355234633","1355234642"],"photo_ids_order":["1355234633","1355234642","1355234649","1355234653","1355234664","1355234668"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/070a9282770a92a0f0ec9f12c5f4b536.jpg","text":"TemporaryFile(/tmp/multipartBody5890287084513974215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166113414,"filename":"image_02052025_04_25_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/5/2/b2994e6911c2823c902253cf3de0784d.jpg","text":"TemporaryFile(/tmp/multipartBody5892097099341632371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166113414,"filename":"image_02052025_04_25_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/5/2/dadd808717e97df2f8b2620df76ee350.jpg","text":"TemporaryFile(/tmp/multipartBody1773820001530365438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166113414,"filename":"image_02052025_04_25_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/5/2/52610f698a61a2170fa19258538dbd2f.jpg","text":"TemporaryFile(/tmp/multipartBody8532895471538708107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166113414,"filename":"image_02052025_04_25_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/5/2/d4be9d40f93d5a6f29e50df503bf1e8e.jpg","text":"TemporaryFile(/tmp/multipartBody7446094304466194301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166113414,"filename":"image_02052025_04_24_55_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/beb345d7bcbf8de4949956e3d2da08c8.jpg","text":"TemporaryFile(/tmp/multipartBody1067574332858050652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166113414,"filename":"image_02052025_04_25_05_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355234649","file1":"1355234642","file0":"1355234633","file4":"1355234664","file5":"1355234668","file3":"1355234653"},"map_files_photo_id_array":[{"photo_id":"1355234668","filename":"file5"},{"photo_id":"1355234649","filename":"file2"},{"photo_id":"1355234664","filename":"file4"},{"photo_id":"1355234642","filename":"file1"},{"photo_id":"1355234633","filename":"file0"},{"photo_id":"1355234653","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355234668":["hashtag1","hashtag2"]},{"1355234653":["hashtag1","hashtag2"]},{"1355234649":["hashtag1","hashtag2"]},{"1355234664":["hashtag1","hashtag2"]},{"1355234633":["hashtag1","hashtag2"]},{"1355234642":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355234668, 1355234653, 1355234649, 1355234664, 1355234633, 1355234642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.372873306274414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:08:33.011415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/25/image_02052025_04_25_55_10365.jpg', '/home/pi/Desktop/images/02052025/04/25/image_02052025_04_26_06_10428.jpg', '/home/pi/Desktop/images/02052025/04/26/image_02052025_04_26_15_9385.jpg', '/home/pi/Desktop/images/02052025/04/26/image_02052025_04_26_25_10477.jpg', '/home/pi/Desktop/images/02052025/04/26/image_02052025_04_26_35_9334.jpg', '/home/pi/Desktop/images/02052025/04/26/image_02052025_04_26_55_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/25/image_02052025_04_25_55_10365.jpg
/home/pi/Desktop/images/02052025/04/25/image_02052025_04_26_06_10428.jpg
/home/pi/Desktop/images/02052025/04/26/image_02052025_04_26_15_9385.jpg
/home/pi/Desktop/images/02052025/04/26/image_02052025_04_26_25_10477.jpg
/home/pi/Desktop/images/02052025/04/26/image_02052025_04_26_35_9334.jpg
/home/pi/Desktop/images/02052025/04/26/image_02052025_04_26_55_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":["1355234790","1355234778","1355234786","1355234810","1355234794","1355234782"],"photo_ids_order":["1355234778","1355234782","1355234786","1355234790","1355234794","1355234810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b7c3f99f5f2e3ba48e918088ee8870bb.jpg","text":"TemporaryFile(/tmp/multipartBody5759260741505713771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166173566,"filename":"image_02052025_04_26_25_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a378870dc8ce62c5e6bb5d8b6f8017e0.jpg","text":"TemporaryFile(/tmp/multipartBody2099590843076680373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166173566,"filename":"image_02052025_04_25_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/5/2/10881e7b80629751a356e2caaa08d941.jpg","text":"TemporaryFile(/tmp/multipartBody5288358297450655683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166173566,"filename":"image_02052025_04_26_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/5/2/55c92648101335b78c58e70e4e3c9f69.jpg","text":"TemporaryFile(/tmp/multipartBody7934075545962385759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166173566,"filename":"image_02052025_04_26_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/5/2/a4b1325b52e64bb0b5eb1b3cf108790d.jpg","text":"TemporaryFile(/tmp/multipartBody7402271292892027887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166173566,"filename":"image_02052025_04_26_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/5/2/6c3a4f4535e1247b47ab94f5d5e98045.jpg","text":"TemporaryFile(/tmp/multipartBody1057789741212046336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166173566,"filename":"image_02052025_04_26_06_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355234786","file1":"1355234782","file0":"1355234778","file4":"1355234794","file5":"1355234810","file3":"1355234790"},"map_files_photo_id_array":[{"photo_id":"1355234810","filename":"file5"},{"photo_id":"1355234786","filename":"file2"},{"photo_id":"1355234794","filename":"file4"},{"photo_id":"1355234782","filename":"file1"},{"photo_id":"1355234778","filename":"file0"},{"photo_id":"1355234790","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355234790":["hashtag1","hashtag2"]},{"1355234778":["hashtag1","hashtag2"]},{"1355234786":["hashtag1","hashtag2"]},{"1355234810":["hashtag1","hashtag2"]},{"1355234794":["hashtag1","hashtag2"]},{"1355234782":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355234790, 1355234778, 1355234786, 1355234810, 1355234794, 1355234782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.32292151451111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:09:32.299933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/26/image_02052025_04_27_05_9351.jpg', '/home/pi/Desktop/images/02052025/04/27/image_02052025_04_27_15_10345.jpg', '/home/pi/Desktop/images/02052025/04/27/image_02052025_04_27_25_9363.jpg', '/home/pi/Desktop/images/02052025/04/27/image_02052025_04_27_35_10415.jpg', '/home/pi/Desktop/images/02052025/04/27/image_02052025_04_27_45_10456.jpg', '/home/pi/Desktop/images/02052025/04/27/image_02052025_04_27_55_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/26/image_02052025_04_27_05_9351.jpg
/home/pi/Desktop/images/02052025/04/27/image_02052025_04_27_15_10345.jpg
/home/pi/Desktop/images/02052025/04/27/image_02052025_04_27_25_9363.jpg
/home/pi/Desktop/images/02052025/04/27/image_02052025_04_27_35_10415.jpg
/home/pi/Desktop/images/02052025/04/27/image_02052025_04_27_45_10456.jpg
/home/pi/Desktop/images/02052025/04/27/image_02052025_04_27_55_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":["1355235124","1355235165","1355235101","1355235145","1355235160","1355235136"],"photo_ids_order":["1355235101","1355235124","1355235136","1355235145","1355235160","1355235165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/936483b1a822706144b9c099c45f3678.jpg","text":"TemporaryFile(/tmp/multipartBody2498720461421891554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166232860,"filename":"image_02052025_04_27_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c703d45db77995c91e5124018d9300cf.jpg","text":"TemporaryFile(/tmp/multipartBody7566141263202377765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166232860,"filename":"image_02052025_04_27_55_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/36d9f1bee266a03db8a8bcb41b5383e8.jpg","text":"TemporaryFile(/tmp/multipartBody2897811228415943239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166232860,"filename":"image_02052025_04_27_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/5/2/8f4e573452d328f671e22edbb040f758.jpg","text":"TemporaryFile(/tmp/multipartBody1936422598961066865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166232860,"filename":"image_02052025_04_27_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/5/2/9a65ce3268ba19c789d28265f1b7a8dc.jpg","text":"TemporaryFile(/tmp/multipartBody8587596284531022592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166232860,"filename":"image_02052025_04_27_45_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8837751e51dd6c648a098e92bf6967d6.jpg","text":"TemporaryFile(/tmp/multipartBody8954040084510199820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166232860,"filename":"image_02052025_04_27_25_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355235136","file1":"1355235124","file0":"1355235101","file4":"1355235160","file5":"1355235165","file3":"1355235145"},"map_files_photo_id_array":[{"photo_id":"1355235165","filename":"file5"},{"photo_id":"1355235136","filename":"file2"},{"photo_id":"1355235160","filename":"file4"},{"photo_id":"1355235124","filename":"file1"},{"photo_id":"1355235101","filename":"file0"},{"photo_id":"1355235145","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355235124":["hashtag1","hashtag2"]},{"1355235165":["hashtag1","hashtag2"]},{"1355235101":["hashtag1","hashtag2"]},{"1355235145":["hashtag1","hashtag2"]},{"1355235160":["hashtag1","hashtag2"]},{"1355235136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355235124, 1355235165, 1355235101, 1355235145, 1355235160, 1355235136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.543298959732056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:10:32.538745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/27/image_02052025_04_28_05_10493.jpg', '/home/pi/Desktop/images/02052025/04/28/image_02052025_04_28_15_9337.jpg', '/home/pi/Desktop/images/02052025/04/28/image_02052025_04_28_25_10363.jpg', '/home/pi/Desktop/images/02052025/04/28/image_02052025_04_28_35_10362.jpg', '/home/pi/Desktop/images/02052025/04/28/image_02052025_04_28_45_9350.jpg', '/home/pi/Desktop/images/02052025/04/28/image_02052025_04_28_55_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/27/image_02052025_04_28_05_10493.jpg
/home/pi/Desktop/images/02052025/04/28/image_02052025_04_28_15_9337.jpg
/home/pi/Desktop/images/02052025/04/28/image_02052025_04_28_25_10363.jpg
/home/pi/Desktop/images/02052025/04/28/image_02052025_04_28_35_10362.jpg
/home/pi/Desktop/images/02052025/04/28/image_02052025_04_28_45_9350.jpg
/home/pi/Desktop/images/02052025/04/28/image_02052025_04_28_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":["1355235222","1355235260","1355235218","1355235209","1355235226","1355235229"],"photo_ids_order":["1355235209","1355235218","1355235222","1355235226","1355235229","1355235260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dee6f2ea969b47d28a359041ea6c0545.jpg","text":"TemporaryFile(/tmp/multipartBody2098745011399714486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166293088,"filename":"image_02052025_04_28_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/5/2/f582cc22a0ef050d1f18b6928b0ed413.jpg","text":"TemporaryFile(/tmp/multipartBody6417343488499867085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166293088,"filename":"image_02052025_04_28_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/5/2/845556ef15fcde3e0f4fcfec2fd38779.jpg","text":"TemporaryFile(/tmp/multipartBody8653078560922125673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166293088,"filename":"image_02052025_04_28_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/5/2/11babc794f2f84e13db2de9690f0d624.jpg","text":"TemporaryFile(/tmp/multipartBody3501045685892343763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166293088,"filename":"image_02052025_04_28_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/5/2/841cff2406317083286e83700761146a.jpg","text":"TemporaryFile(/tmp/multipartBody3803808237230280648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166293088,"filename":"image_02052025_04_28_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/5/2/b17625026e16db0d3b378ed39cbf2725.jpg","text":"TemporaryFile(/tmp/multipartBody6708217356604740875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166293088,"filename":"image_02052025_04_28_45_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355235222","file1":"1355235218","file0":"1355235209","file4":"1355235229","file5":"1355235260","file3":"1355235226"},"map_files_photo_id_array":[{"photo_id":"1355235260","filename":"file5"},{"photo_id":"1355235222","filename":"file2"},{"photo_id":"1355235229","filename":"file4"},{"photo_id":"1355235218","filename":"file1"},{"photo_id":"1355235209","filename":"file0"},{"photo_id":"1355235226","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355235222":["hashtag1","hashtag2"]},{"1355235260":["hashtag1","hashtag2"]},{"1355235218":["hashtag1","hashtag2"]},{"1355235209":["hashtag1","hashtag2"]},{"1355235226":["hashtag1","hashtag2"]},{"1355235229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355235222, 1355235260, 1355235218, 1355235209, 1355235226, 1355235229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43253183364868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:11:32.800507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/28/image_02052025_04_29_06_10351.jpg', '/home/pi/Desktop/images/02052025/04/29/image_02052025_04_29_15_9328.jpg', '/home/pi/Desktop/images/02052025/04/29/image_02052025_04_29_25_10519.jpg', '/home/pi/Desktop/images/02052025/04/29/image_02052025_04_29_35_9439.jpg', '/home/pi/Desktop/images/02052025/04/29/image_02052025_04_29_45_10372.jpg', '/home/pi/Desktop/images/02052025/04/29/image_02052025_04_29_56_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/28/image_02052025_04_29_06_10351.jpg
/home/pi/Desktop/images/02052025/04/29/image_02052025_04_29_15_9328.jpg
/home/pi/Desktop/images/02052025/04/29/image_02052025_04_29_25_10519.jpg
/home/pi/Desktop/images/02052025/04/29/image_02052025_04_29_35_9439.jpg
/home/pi/Desktop/images/02052025/04/29/image_02052025_04_29_45_10372.jpg
/home/pi/Desktop/images/02052025/04/29/image_02052025_04_29_56_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355235418","1355235369","1355235336","1355235330","1355235341","1355235407"],"photo_ids_order":["1355235330","1355235336","1355235341","1355235369","1355235407","1355235418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dad4b0880ceba82cde68d7627903ab20.jpg","text":"TemporaryFile(/tmp/multipartBody8142595333713364166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166353361,"filename":"image_02052025_04_29_56_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/46a880913df67f780b1e24419b53ae9d.jpg","text":"TemporaryFile(/tmp/multipartBody7730870117795903420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166353361,"filename":"image_02052025_04_29_35_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/64c702596b25e66d49096560df0786c9.jpg","text":"TemporaryFile(/tmp/multipartBody6324641384644296385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166353361,"filename":"image_02052025_04_29_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/5/2/7f6cec28da96dd710978c89a7d78ae01.jpg","text":"TemporaryFile(/tmp/multipartBody1906885841158212533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166353361,"filename":"image_02052025_04_29_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/5/2/65367e50d94f9363f6d8527d32a88226.jpg","text":"TemporaryFile(/tmp/multipartBody4096716148955823478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166353361,"filename":"image_02052025_04_29_25_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bebef6250b8a2a44b33bd46d8da96280.jpg","text":"TemporaryFile(/tmp/multipartBody4817330923401362382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166353361,"filename":"image_02052025_04_29_45_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355235341","file1":"1355235336","file0":"1355235330","file4":"1355235407","file5":"1355235418","file3":"1355235369"},"map_files_photo_id_array":[{"photo_id":"1355235418","filename":"file5"},{"photo_id":"1355235341","filename":"file2"},{"photo_id":"1355235407","filename":"file4"},{"photo_id":"1355235336","filename":"file1"},{"photo_id":"1355235330","filename":"file0"},{"photo_id":"1355235369","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355235418":["hashtag1","hashtag2"]},{"1355235369":["hashtag1","hashtag2"]},{"1355235336":["hashtag1","hashtag2"]},{"1355235330":["hashtag1","hashtag2"]},{"1355235341":["hashtag1","hashtag2"]},{"1355235407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355235418, 1355235369, 1355235336, 1355235330, 1355235341, 1355235407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.265562772750854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:12:32.975751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/29/image_02052025_04_30_05_9335.jpg', '/home/pi/Desktop/images/02052025/04/30/image_02052025_04_30_25_9362.jpg', '/home/pi/Desktop/images/02052025/04/30/image_02052025_04_30_55_9348.jpg', '/home/pi/Desktop/images/02052025/04/30/image_02052025_04_31_05_10418.jpg', '/home/pi/Desktop/images/02052025/04/31/image_02052025_04_31_15_9371.jpg', '/home/pi/Desktop/images/02052025/04/31/image_02052025_04_31_25_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/29/image_02052025_04_30_05_9335.jpg
/home/pi/Desktop/images/02052025/04/30/image_02052025_04_30_25_9362.jpg
/home/pi/Desktop/images/02052025/04/30/image_02052025_04_30_55_9348.jpg
/home/pi/Desktop/images/02052025/04/30/image_02052025_04_31_05_10418.jpg
/home/pi/Desktop/images/02052025/04/31/image_02052025_04_31_15_9371.jpg
/home/pi/Desktop/images/02052025/04/31/image_02052025_04_31_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":["1355235486","1355235482","1355235476","1355235491","1355235548","1355235521"],"photo_ids_order":["1355235476","1355235482","1355235486","1355235491","1355235521","1355235548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba48f60b3a56a6c1ee4ce6d293f41f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7196943318988214693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166413529,"filename":"image_02052025_04_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/5/2/b3586efb18b764fba3ea36f64ee8b812.jpg","text":"TemporaryFile(/tmp/multipartBody352210742020655025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166413529,"filename":"image_02052025_04_30_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa0fb14a52d16930717a308d2e68f29b.jpg","text":"TemporaryFile(/tmp/multipartBody3734364905073339779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166413529,"filename":"image_02052025_04_30_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/5/2/35d3f1805997db5b58554eb89c93cca9.jpg","text":"TemporaryFile(/tmp/multipartBody6151120528204712212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166413529,"filename":"image_02052025_04_31_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/5/2/7a3452b562083ff79ca7fd6f59d884c9.jpg","text":"TemporaryFile(/tmp/multipartBody1197406047052343463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166413529,"filename":"image_02052025_04_31_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/5/2/10958250854545c020c870e482cbc652.jpg","text":"TemporaryFile(/tmp/multipartBody8773581154436109512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166413529,"filename":"image_02052025_04_31_15_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355235486","file1":"1355235482","file0":"1355235476","file4":"1355235521","file5":"1355235548","file3":"1355235491"},"map_files_photo_id_array":[{"photo_id":"1355235548","filename":"file5"},{"photo_id":"1355235486","filename":"file2"},{"photo_id":"1355235521","filename":"file4"},{"photo_id":"1355235482","filename":"file1"},{"photo_id":"1355235476","filename":"file0"},{"photo_id":"1355235491","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355235486":["hashtag1","hashtag2"]},{"1355235482":["hashtag1","hashtag2"]},{"1355235476":["hashtag1","hashtag2"]},{"1355235491":["hashtag1","hashtag2"]},{"1355235548":["hashtag1","hashtag2"]},{"1355235521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355235486, 1355235482, 1355235476, 1355235491, 1355235548, 1355235521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.33535885810852 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:13:32.442144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/31/image_02052025_04_31_35_10421.jpg', '/home/pi/Desktop/images/02052025/04/31/image_02052025_04_31_45_9365.jpg', '/home/pi/Desktop/images/02052025/04/31/image_02052025_04_31_55_10498.jpg', '/home/pi/Desktop/images/02052025/04/31/image_02052025_04_32_05_9423.jpg', '/home/pi/Desktop/images/02052025/04/32/image_02052025_04_32_15_10347.jpg', '/home/pi/Desktop/images/02052025/04/32/image_02052025_04_32_25_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/31/image_02052025_04_31_35_10421.jpg
/home/pi/Desktop/images/02052025/04/31/image_02052025_04_31_45_9365.jpg
/home/pi/Desktop/images/02052025/04/31/image_02052025_04_31_55_10498.jpg
/home/pi/Desktop/images/02052025/04/31/image_02052025_04_32_05_9423.jpg
/home/pi/Desktop/images/02052025/04/32/image_02052025_04_32_15_10347.jpg
/home/pi/Desktop/images/02052025/04/32/image_02052025_04_32_25_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355235690","1355235669","1355235714","1355235702","1355235698","1355235694"],"photo_ids_order":["1355235669","1355235690","1355235694","1355235698","1355235702","1355235714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/273b8a6a035b876bcf65f4bdf74f43e0.jpg","text":"TemporaryFile(/tmp/multipartBody3614092603196507841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166472998,"filename":"image_02052025_04_31_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/5/2/ef2b29440b028561a763f7607228c339.jpg","text":"TemporaryFile(/tmp/multipartBody5789310832468861032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166472998,"filename":"image_02052025_04_31_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1ba032de7ccf49237d3350ed387a6994.jpg","text":"TemporaryFile(/tmp/multipartBody8311314058026324081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166472998,"filename":"image_02052025_04_32_25_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9945dcb9c0e2467fd0e5907a1f9eb0c.jpg","text":"TemporaryFile(/tmp/multipartBody2728036701390923371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166472998,"filename":"image_02052025_04_32_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/17d9d41ceb41de63edfa0221687dc73e.jpg","text":"TemporaryFile(/tmp/multipartBody6275074779323833411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166472998,"filename":"image_02052025_04_32_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/5/2/4f3d4914d6a167323e96994adabb8321.jpg","text":"TemporaryFile(/tmp/multipartBody1481486391630717045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166472998,"filename":"image_02052025_04_31_55_10498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355235694","file1":"1355235690","file0":"1355235669","file4":"1355235702","file5":"1355235714","file3":"1355235698"},"map_files_photo_id_array":[{"photo_id":"1355235714","filename":"file5"},{"photo_id":"1355235694","filename":"file2"},{"photo_id":"1355235702","filename":"file4"},{"photo_id":"1355235690","filename":"file1"},{"photo_id":"1355235669","filename":"file0"},{"photo_id":"1355235698","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355235690":["hashtag1","hashtag2"]},{"1355235669":["hashtag1","hashtag2"]},{"1355235714":["hashtag1","hashtag2"]},{"1355235702":["hashtag1","hashtag2"]},{"1355235698":["hashtag1","hashtag2"]},{"1355235694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355235690, 1355235669, 1355235714, 1355235702, 1355235698, 1355235694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1533408164978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:14:32.440958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/32/image_02052025_04_32_35_9342.jpg', '/home/pi/Desktop/images/02052025/04/32/image_02052025_04_32_45_10371.jpg', '/home/pi/Desktop/images/02052025/04/32/image_02052025_04_32_56_10365.jpg', '/home/pi/Desktop/images/02052025/04/32/image_02052025_04_33_05_9338.jpg', '/home/pi/Desktop/images/02052025/04/33/image_02052025_04_33_15_10451.jpg', '/home/pi/Desktop/images/02052025/04/33/image_02052025_04_33_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/32/image_02052025_04_32_35_9342.jpg
/home/pi/Desktop/images/02052025/04/32/image_02052025_04_32_45_10371.jpg
/home/pi/Desktop/images/02052025/04/32/image_02052025_04_32_56_10365.jpg
/home/pi/Desktop/images/02052025/04/32/image_02052025_04_33_05_9338.jpg
/home/pi/Desktop/images/02052025/04/33/image_02052025_04_33_15_10451.jpg
/home/pi/Desktop/images/02052025/04/33/image_02052025_04_33_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":["1355235743","1355235737","1355235766","1355235754","1355235748","1355235763"],"photo_ids_order":["1355235737","1355235743","1355235748","1355235754","1355235763","1355235766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a2fae50db45662a1be87bafe6ef2b7eb.jpg","text":"TemporaryFile(/tmp/multipartBody944592037800439562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166533008,"filename":"image_02052025_04_32_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/512e101ecf9df95dea77af5dcb55ea33.jpg","text":"TemporaryFile(/tmp/multipartBody4009010970293454199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166533008,"filename":"image_02052025_04_32_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/5/2/738f73b7686a65e0b7c3e809327660f0.jpg","text":"TemporaryFile(/tmp/multipartBody2456303608604668626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166533008,"filename":"image_02052025_04_33_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/5/2/09cce71f916eee9b94f3260e17a3730d.jpg","text":"TemporaryFile(/tmp/multipartBody605998703446449823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166533008,"filename":"image_02052025_04_33_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/5/2/0d53aa9a7ed4ea2e8c7fc2a8930c3ae3.jpg","text":"TemporaryFile(/tmp/multipartBody5155300724150396663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166533008,"filename":"image_02052025_04_32_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/5/2/d68be5a8de58b3f296dc5bf205610f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7967120595829594606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166533008,"filename":"image_02052025_04_33_15_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355235748","file1":"1355235743","file0":"1355235737","file4":"1355235763","file5":"1355235766","file3":"1355235754"},"map_files_photo_id_array":[{"photo_id":"1355235766","filename":"file5"},{"photo_id":"1355235748","filename":"file2"},{"photo_id":"1355235763","filename":"file4"},{"photo_id":"1355235743","filename":"file1"},{"photo_id":"1355235737","filename":"file0"},{"photo_id":"1355235754","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355235743":["hashtag1","hashtag2"]},{"1355235737":["hashtag1","hashtag2"]},{"1355235766":["hashtag1","hashtag2"]},{"1355235754":["hashtag1","hashtag2"]},{"1355235748":["hashtag1","hashtag2"]},{"1355235763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355235743, 1355235737, 1355235766, 1355235754, 1355235748, 1355235763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.208499431610107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:15:32.621900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/33/image_02052025_04_33_45_10373.jpg', '/home/pi/Desktop/images/02052025/04/33/image_02052025_04_33_55_9364.jpg', '/home/pi/Desktop/images/02052025/04/34/image_02052025_04_34_25_9409.jpg', '/home/pi/Desktop/images/02052025/04/34/image_02052025_04_34_35_10481.jpg', '/home/pi/Desktop/images/02052025/04/34/image_02052025_04_34_45_9438.jpg', '/home/pi/Desktop/images/02052025/04/34/image_02052025_04_34_55_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/33/image_02052025_04_33_45_10373.jpg
/home/pi/Desktop/images/02052025/04/33/image_02052025_04_33_55_9364.jpg
/home/pi/Desktop/images/02052025/04/34/image_02052025_04_34_25_9409.jpg
/home/pi/Desktop/images/02052025/04/34/image_02052025_04_34_35_10481.jpg
/home/pi/Desktop/images/02052025/04/34/image_02052025_04_34_45_9438.jpg
/home/pi/Desktop/images/02052025/04/34/image_02052025_04_34_55_10466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355235808","1355235798","1355235813","1355235791","1355235804","1355235824"],"photo_ids_order":["1355235791","1355235798","1355235804","1355235808","1355235813","1355235824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ccd45febd6fe5bfcd72846e83800fd57.jpg","text":"TemporaryFile(/tmp/multipartBody750504629832336043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166593211,"filename":"image_02052025_04_34_35_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6ffa52212a372099a82b89a63af72bbe.jpg","text":"TemporaryFile(/tmp/multipartBody5811983529251477688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166593211,"filename":"image_02052025_04_33_55_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c4612f0788941bf76630de207f3d688.jpg","text":"TemporaryFile(/tmp/multipartBody2056468403153923591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166593211,"filename":"image_02052025_04_34_45_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81c06fc2bd1e316e0eed464d05968055.jpg","text":"TemporaryFile(/tmp/multipartBody3780104946024750788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166593211,"filename":"image_02052025_04_33_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/5/2/1990634238f245b81cea31ec1d2262f4.jpg","text":"TemporaryFile(/tmp/multipartBody3923530603202430005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166593211,"filename":"image_02052025_04_34_25_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/03b3c6710441562368c5b1b1ab1ce33f.jpg","text":"TemporaryFile(/tmp/multipartBody1660848703557441581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166593211,"filename":"image_02052025_04_34_55_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355235804","file1":"1355235798","file0":"1355235791","file4":"1355235813","file5":"1355235824","file3":"1355235808"},"map_files_photo_id_array":[{"photo_id":"1355235824","filename":"file5"},{"photo_id":"1355235804","filename":"file2"},{"photo_id":"1355235813","filename":"file4"},{"photo_id":"1355235798","filename":"file1"},{"photo_id":"1355235791","filename":"file0"},{"photo_id":"1355235808","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355235808":["hashtag1","hashtag2"]},{"1355235798":["hashtag1","hashtag2"]},{"1355235813":["hashtag1","hashtag2"]},{"1355235791":["hashtag1","hashtag2"]},{"1355235804":["hashtag1","hashtag2"]},{"1355235824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355235808, 1355235798, 1355235813, 1355235791, 1355235804, 1355235824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.386712312698364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:16:32.948362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/34/image_02052025_04_35_05_9413.jpg', '/home/pi/Desktop/images/02052025/04/35/image_02052025_04_35_15_10347.jpg', '/home/pi/Desktop/images/02052025/04/35/image_02052025_04_35_25_10444.jpg', '/home/pi/Desktop/images/02052025/04/35/image_02052025_04_35_35_9340.jpg', '/home/pi/Desktop/images/02052025/04/35/image_02052025_04_35_55_9403.jpg', '/home/pi/Desktop/images/02052025/04/35/image_02052025_04_36_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/34/image_02052025_04_35_05_9413.jpg
/home/pi/Desktop/images/02052025/04/35/image_02052025_04_35_15_10347.jpg
/home/pi/Desktop/images/02052025/04/35/image_02052025_04_35_25_10444.jpg
/home/pi/Desktop/images/02052025/04/35/image_02052025_04_35_35_9340.jpg
/home/pi/Desktop/images/02052025/04/35/image_02052025_04_35_55_9403.jpg
/home/pi/Desktop/images/02052025/04/35/image_02052025_04_36_05_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355235897","1355235915","1355235918","1355235878","1355235871","1355235862"],"photo_ids_order":["1355235862","1355235871","1355235878","1355235897","1355235915","1355235918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb4ab5ed0fa6221a462ddd8d3080dcb6.jpg","text":"TemporaryFile(/tmp/multipartBody6220587279798280605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166653511,"filename":"image_02052025_04_35_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/5/2/e420e1730e111d7955d450f418855e14.jpg","text":"TemporaryFile(/tmp/multipartBody5441150571599947258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166653511,"filename":"image_02052025_04_35_55_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/865ce5043e3830d0de7fc563cb89befd.jpg","text":"TemporaryFile(/tmp/multipartBody5226284090233342195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166653511,"filename":"image_02052025_04_36_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/5/2/abbb529ebb673544ac53e45ed6880516.jpg","text":"TemporaryFile(/tmp/multipartBody3888402493562881202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166653511,"filename":"image_02052025_04_35_25_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc6e05ab6c8371a60e0a63d1612d713a.jpg","text":"TemporaryFile(/tmp/multipartBody2852953611516071690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166653511,"filename":"image_02052025_04_35_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/5/2/e21f443c2b38610ba1c7c9bc1dbf95cc.jpg","text":"TemporaryFile(/tmp/multipartBody2085232745090353080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166653511,"filename":"image_02052025_04_35_05_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355235878","file1":"1355235871","file0":"1355235862","file4":"1355235915","file5":"1355235918","file3":"1355235897"},"map_files_photo_id_array":[{"photo_id":"1355235918","filename":"file5"},{"photo_id":"1355235878","filename":"file2"},{"photo_id":"1355235915","filename":"file4"},{"photo_id":"1355235871","filename":"file1"},{"photo_id":"1355235862","filename":"file0"},{"photo_id":"1355235897","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355235897":["hashtag1","hashtag2"]},{"1355235915":["hashtag1","hashtag2"]},{"1355235918":["hashtag1","hashtag2"]},{"1355235878":["hashtag1","hashtag2"]},{"1355235871":["hashtag1","hashtag2"]},{"1355235862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355235897, 1355235915, 1355235918, 1355235878, 1355235871, 1355235862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.343996286392212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:17:33.081561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/36/image_02052025_04_36_15_10425.jpg', '/home/pi/Desktop/images/02052025/04/36/image_02052025_04_36_25_9385.jpg', '/home/pi/Desktop/images/02052025/04/36/image_02052025_04_36_35_10416.jpg', '/home/pi/Desktop/images/02052025/04/36/image_02052025_04_36_46_10365.jpg', '/home/pi/Desktop/images/02052025/04/36/image_02052025_04_36_55_9374.jpg', '/home/pi/Desktop/images/02052025/04/36/image_02052025_04_37_05_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/36/image_02052025_04_36_15_10425.jpg
/home/pi/Desktop/images/02052025/04/36/image_02052025_04_36_25_9385.jpg
/home/pi/Desktop/images/02052025/04/36/image_02052025_04_36_35_10416.jpg
/home/pi/Desktop/images/02052025/04/36/image_02052025_04_36_46_10365.jpg
/home/pi/Desktop/images/02052025/04/36/image_02052025_04_36_55_9374.jpg
/home/pi/Desktop/images/02052025/04/36/image_02052025_04_37_05_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355236005","1355236020","1355236037","1355235991","1355236009","1355236024"],"photo_ids_order":["1355235991","1355236005","1355236009","1355236020","1355236024","1355236037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/82d8e9fe450e8423f5f51f1d7b0a46f7.jpg","text":"TemporaryFile(/tmp/multipartBody7112373707702266289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166713632,"filename":"image_02052025_04_36_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/5/2/a4f2ca4c59c615779288a3b2c13a1b00.jpg","text":"TemporaryFile(/tmp/multipartBody5314045579017479425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166713632,"filename":"image_02052025_04_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/5/2/f18e03ce1c3600571e57104354566e5f.jpg","text":"TemporaryFile(/tmp/multipartBody670886438686520423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166713632,"filename":"image_02052025_04_37_05_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e0e8a393b624ee4975c70d973833eab.jpg","text":"TemporaryFile(/tmp/multipartBody7074997840309801163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166713632,"filename":"image_02052025_04_36_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11aa86be4257e91b29540b10ad089517.jpg","text":"TemporaryFile(/tmp/multipartBody4263676117136749328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166713632,"filename":"image_02052025_04_36_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/5/2/c28e74b020c542b3a4ffc0532f3e2380.jpg","text":"TemporaryFile(/tmp/multipartBody422068580635492939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166713632,"filename":"image_02052025_04_36_55_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236009","file1":"1355236005","file0":"1355235991","file4":"1355236024","file5":"1355236037","file3":"1355236020"},"map_files_photo_id_array":[{"photo_id":"1355236037","filename":"file5"},{"photo_id":"1355236009","filename":"file2"},{"photo_id":"1355236024","filename":"file4"},{"photo_id":"1355236005","filename":"file1"},{"photo_id":"1355235991","filename":"file0"},{"photo_id":"1355236020","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236005":["hashtag1","hashtag2"]},{"1355236020":["hashtag1","hashtag2"]},{"1355236037":["hashtag1","hashtag2"]},{"1355235991":["hashtag1","hashtag2"]},{"1355236009":["hashtag1","hashtag2"]},{"1355236024":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236005, 1355236020, 1355236037, 1355235991, 1355236009, 1355236024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00489807128906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:18:32.353943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/37/image_02052025_04_37_25_10372.jpg', '/home/pi/Desktop/images/02052025/04/37/image_02052025_04_37_35_9428.jpg', '/home/pi/Desktop/images/02052025/04/37/image_02052025_04_37_55_10490.jpg', '/home/pi/Desktop/images/02052025/04/37/image_02052025_04_38_05_9382.jpg', '/home/pi/Desktop/images/02052025/04/38/image_02052025_04_38_15_10353.jpg', '/home/pi/Desktop/images/02052025/04/38/image_02052025_04_38_25_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/37/image_02052025_04_37_25_10372.jpg
/home/pi/Desktop/images/02052025/04/37/image_02052025_04_37_35_9428.jpg
/home/pi/Desktop/images/02052025/04/37/image_02052025_04_37_55_10490.jpg
/home/pi/Desktop/images/02052025/04/37/image_02052025_04_38_05_9382.jpg
/home/pi/Desktop/images/02052025/04/38/image_02052025_04_38_15_10353.jpg
/home/pi/Desktop/images/02052025/04/38/image_02052025_04_38_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":["1355236131","1355236079","1355236124","1355236118","1355236075","1355236138"],"photo_ids_order":["1355236075","1355236079","1355236118","1355236124","1355236131","1355236138"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b87899e10286fd0888f8c3e67262ba24.jpg","text":"TemporaryFile(/tmp/multipartBody7524831402227518982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166772888,"filename":"image_02052025_04_38_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/5/2/cc3260fbcb708c6b846916ef602fd5e1.jpg","text":"TemporaryFile(/tmp/multipartBody7356813266659104890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166772888,"filename":"image_02052025_04_37_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/5/2/e3d1272f6e48cae157de5fdc38c56241.jpg","text":"TemporaryFile(/tmp/multipartBody3112511438620337406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166772888,"filename":"image_02052025_04_38_05_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f09463d2de6b0b7686bbf09de53f568c.jpg","text":"TemporaryFile(/tmp/multipartBody7423669809651042767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166772888,"filename":"image_02052025_04_37_55_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b89d85e34b4b4cd58eca96371f6fb805.jpg","text":"TemporaryFile(/tmp/multipartBody7924104420859145739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166772888,"filename":"image_02052025_04_37_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/5/2/f2045ecc3cb1f0de000b0723ceeea094.jpg","text":"TemporaryFile(/tmp/multipartBody2513996967671193390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166772888,"filename":"image_02052025_04_38_25_9464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236118","file1":"1355236079","file0":"1355236075","file4":"1355236131","file5":"1355236138","file3":"1355236124"},"map_files_photo_id_array":[{"photo_id":"1355236138","filename":"file5"},{"photo_id":"1355236118","filename":"file2"},{"photo_id":"1355236131","filename":"file4"},{"photo_id":"1355236079","filename":"file1"},{"photo_id":"1355236075","filename":"file0"},{"photo_id":"1355236124","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236131":["hashtag1","hashtag2"]},{"1355236079":["hashtag1","hashtag2"]},{"1355236124":["hashtag1","hashtag2"]},{"1355236118":["hashtag1","hashtag2"]},{"1355236075":["hashtag1","hashtag2"]},{"1355236138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236131, 1355236079, 1355236124, 1355236118, 1355236075, 1355236138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.540196895599365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:19:32.697700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/38/image_02052025_04_38_35_10850.jpg', '/home/pi/Desktop/images/02052025/04/38/image_02052025_04_38_45_9339.jpg', '/home/pi/Desktop/images/02052025/04/38/image_02052025_04_38_55_10469.jpg', '/home/pi/Desktop/images/02052025/04/38/image_02052025_04_39_05_9370.jpg', '/home/pi/Desktop/images/02052025/04/39/image_02052025_04_39_15_10424.jpg', '/home/pi/Desktop/images/02052025/04/39/image_02052025_04_39_25_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/38/image_02052025_04_38_35_10850.jpg
/home/pi/Desktop/images/02052025/04/38/image_02052025_04_38_45_9339.jpg
/home/pi/Desktop/images/02052025/04/38/image_02052025_04_38_55_10469.jpg
/home/pi/Desktop/images/02052025/04/38/image_02052025_04_39_05_9370.jpg
/home/pi/Desktop/images/02052025/04/39/image_02052025_04_39_15_10424.jpg
/home/pi/Desktop/images/02052025/04/39/image_02052025_04_39_25_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355236199","1355236190","1355236187","1355236192","1355236194","1355236167"],"photo_ids_order":["1355236167","1355236187","1355236190","1355236192","1355236194","1355236199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/861370b39370c1f82fc8d642c2b5b30d.jpg","text":"TemporaryFile(/tmp/multipartBody558847277311228307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166833267,"filename":"image_02052025_04_39_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/5/2/12d6e933b827ceebc1eaa29f6f92a177.jpg","text":"TemporaryFile(/tmp/multipartBody6488140996917181071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166833267,"filename":"image_02052025_04_38_55_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b8b367c172d99f08c2123e700c26591f.jpg","text":"TemporaryFile(/tmp/multipartBody5810758438962503772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166833267,"filename":"image_02052025_04_38_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/40d1595a6e66c45d9738ce9ede080e53.jpg","text":"TemporaryFile(/tmp/multipartBody2985670896096971361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166833267,"filename":"image_02052025_04_39_05_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b8d07c0b4117987dfba940a6a649115.jpg","text":"TemporaryFile(/tmp/multipartBody5904977541060552559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166833267,"filename":"image_02052025_04_39_15_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6c46aabe54789ac143c680a0864f62ee.jpg","text":"TemporaryFile(/tmp/multipartBody8997251220219101257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166833267,"filename":"image_02052025_04_38_35_10850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236190","file1":"1355236187","file0":"1355236167","file4":"1355236194","file5":"1355236199","file3":"1355236192"},"map_files_photo_id_array":[{"photo_id":"1355236199","filename":"file5"},{"photo_id":"1355236190","filename":"file2"},{"photo_id":"1355236194","filename":"file4"},{"photo_id":"1355236187","filename":"file1"},{"photo_id":"1355236167","filename":"file0"},{"photo_id":"1355236192","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236199":["hashtag1","hashtag2"]},{"1355236190":["hashtag1","hashtag2"]},{"1355236187":["hashtag1","hashtag2"]},{"1355236192":["hashtag1","hashtag2"]},{"1355236194":["hashtag1","hashtag2"]},{"1355236167":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236199, 1355236190, 1355236187, 1355236192, 1355236194, 1355236167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.637256383895874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:20:33.050300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/39/image_02052025_04_39_35_9334.jpg', '/home/pi/Desktop/images/02052025/04/39/image_02052025_04_39_45_10390.jpg', '/home/pi/Desktop/images/02052025/04/39/image_02052025_04_39_56_10365.jpg', '/home/pi/Desktop/images/02052025/04/39/image_02052025_04_40_05_9349.jpg', '/home/pi/Desktop/images/02052025/04/40/image_02052025_04_40_15_10512.jpg', '/home/pi/Desktop/images/02052025/04/40/image_02052025_04_40_25_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/39/image_02052025_04_39_35_9334.jpg
/home/pi/Desktop/images/02052025/04/39/image_02052025_04_39_45_10390.jpg
/home/pi/Desktop/images/02052025/04/39/image_02052025_04_39_56_10365.jpg
/home/pi/Desktop/images/02052025/04/39/image_02052025_04_40_05_9349.jpg
/home/pi/Desktop/images/02052025/04/40/image_02052025_04_40_15_10512.jpg
/home/pi/Desktop/images/02052025/04/40/image_02052025_04_40_25_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355236269","1355236248","1355236262","1355236238","1355236255","1355236266"],"photo_ids_order":["1355236238","1355236248","1355236255","1355236262","1355236266","1355236269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ae2b7d3903beab8b9a0581f0e1a90ba.jpg","text":"TemporaryFile(/tmp/multipartBody4500357258992121680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166893601,"filename":"image_02052025_04_40_25_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/506f4108f271b182c3bc9374e167e881.jpg","text":"TemporaryFile(/tmp/multipartBody2018474039708422089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166893601,"filename":"image_02052025_04_39_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a457f758c3fe5f3cc7dc15ec62e070db.jpg","text":"TemporaryFile(/tmp/multipartBody3670814395616291637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166893601,"filename":"image_02052025_04_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/5/2/8b9d7c0cb35665bcfb3f262e891884b8.jpg","text":"TemporaryFile(/tmp/multipartBody4839770394260427001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166893601,"filename":"image_02052025_04_39_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/5/2/695c21959b85faf59fe311a9527d622e.jpg","text":"TemporaryFile(/tmp/multipartBody3548698216409561403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166893601,"filename":"image_02052025_04_39_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/5/2/653adb392f3d499ebdde5cbfafdec33f.jpg","text":"TemporaryFile(/tmp/multipartBody7301614073132663393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166893601,"filename":"image_02052025_04_40_15_10512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236255","file1":"1355236248","file0":"1355236238","file4":"1355236266","file5":"1355236269","file3":"1355236262"},"map_files_photo_id_array":[{"photo_id":"1355236269","filename":"file5"},{"photo_id":"1355236255","filename":"file2"},{"photo_id":"1355236266","filename":"file4"},{"photo_id":"1355236248","filename":"file1"},{"photo_id":"1355236238","filename":"file0"},{"photo_id":"1355236262","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236269":["hashtag1","hashtag2"]},{"1355236248":["hashtag1","hashtag2"]},{"1355236262":["hashtag1","hashtag2"]},{"1355236238":["hashtag1","hashtag2"]},{"1355236255":["hashtag1","hashtag2"]},{"1355236266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236269, 1355236248, 1355236262, 1355236238, 1355236255, 1355236266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.330086946487427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:21:32.307659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/40/image_02052025_04_40_35_10462.jpg', '/home/pi/Desktop/images/02052025/04/40/image_02052025_04_40_45_9351.jpg', '/home/pi/Desktop/images/02052025/04/40/image_02052025_04_41_06_10394.jpg', '/home/pi/Desktop/images/02052025/04/41/image_02052025_04_41_15_9422.jpg', '/home/pi/Desktop/images/02052025/04/41/image_02052025_04_41_25_10423.jpg', '/home/pi/Desktop/images/02052025/04/41/image_02052025_04_41_35_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/40/image_02052025_04_40_35_10462.jpg
/home/pi/Desktop/images/02052025/04/40/image_02052025_04_40_45_9351.jpg
/home/pi/Desktop/images/02052025/04/40/image_02052025_04_41_06_10394.jpg
/home/pi/Desktop/images/02052025/04/41/image_02052025_04_41_15_9422.jpg
/home/pi/Desktop/images/02052025/04/41/image_02052025_04_41_25_10423.jpg
/home/pi/Desktop/images/02052025/04/41/image_02052025_04_41_35_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":["1355236388","1355236370","1355236393","1355236366","1355236348","1355236342"],"photo_ids_order":["1355236342","1355236348","1355236366","1355236370","1355236388","1355236393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/400bd9ae2715ab1b231f98bec2954403.jpg","text":"TemporaryFile(/tmp/multipartBody9093802763381372924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166952882,"filename":"image_02052025_04_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/5/2/75b46d7afb2439a760d72426f68f37e0.jpg","text":"TemporaryFile(/tmp/multipartBody6243219139027285092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166952882,"filename":"image_02052025_04_41_15_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ede269e7ba55f1887a2ca439bd552e0b.jpg","text":"TemporaryFile(/tmp/multipartBody5720439331860966277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166952882,"filename":"image_02052025_04_41_35_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7173abd48c04439391eee7e062d3a92e.jpg","text":"TemporaryFile(/tmp/multipartBody7396573072051406146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166952882,"filename":"image_02052025_04_41_06_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22ac8b410ffdf190efe61299b5ad6999.jpg","text":"TemporaryFile(/tmp/multipartBody9103839613992727163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166952882,"filename":"image_02052025_04_40_45_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/33f4989e06483c8ab4c189470bcc0c66.jpg","text":"TemporaryFile(/tmp/multipartBody2135664444112372162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746166952882,"filename":"image_02052025_04_40_35_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236366","file1":"1355236348","file0":"1355236342","file4":"1355236388","file5":"1355236393","file3":"1355236370"},"map_files_photo_id_array":[{"photo_id":"1355236393","filename":"file5"},{"photo_id":"1355236366","filename":"file2"},{"photo_id":"1355236388","filename":"file4"},{"photo_id":"1355236348","filename":"file1"},{"photo_id":"1355236342","filename":"file0"},{"photo_id":"1355236370","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236388":["hashtag1","hashtag2"]},{"1355236370":["hashtag1","hashtag2"]},{"1355236393":["hashtag1","hashtag2"]},{"1355236366":["hashtag1","hashtag2"]},{"1355236348":["hashtag1","hashtag2"]},{"1355236342":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236388, 1355236370, 1355236393, 1355236366, 1355236348, 1355236342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.098533630371094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:22:32.547585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/41/image_02052025_04_41_45_10419.jpg', '/home/pi/Desktop/images/02052025/04/41/image_02052025_04_41_55_9423.jpg', '/home/pi/Desktop/images/02052025/04/41/image_02052025_04_42_05_10474.jpg', '/home/pi/Desktop/images/02052025/04/42/image_02052025_04_42_25_9389.jpg', '/home/pi/Desktop/images/02052025/04/42/image_02052025_04_42_35_10369.jpg', '/home/pi/Desktop/images/02052025/04/42/image_02052025_04_42_46_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/41/image_02052025_04_41_45_10419.jpg
/home/pi/Desktop/images/02052025/04/41/image_02052025_04_41_55_9423.jpg
/home/pi/Desktop/images/02052025/04/41/image_02052025_04_42_05_10474.jpg
/home/pi/Desktop/images/02052025/04/42/image_02052025_04_42_25_9389.jpg
/home/pi/Desktop/images/02052025/04/42/image_02052025_04_42_35_10369.jpg
/home/pi/Desktop/images/02052025/04/42/image_02052025_04_42_46_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355236446","1355236434","1355236442","1355236430","1355236450","1355236426"],"photo_ids_order":["1355236426","1355236430","1355236434","1355236442","1355236446","1355236450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5beeb790818adead20054d1a742090ff.jpg","text":"TemporaryFile(/tmp/multipartBody3785756756339271519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167013097,"filename":"image_02052025_04_42_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6ede2c8f7da5f62d9e80011694fec92.jpg","text":"TemporaryFile(/tmp/multipartBody8956649834751768553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167013097,"filename":"image_02052025_04_42_05_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97707ab9f95d87bf19ed5b5b131c2d08.jpg","text":"TemporaryFile(/tmp/multipartBody1043361624902308269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167013097,"filename":"image_02052025_04_42_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/5/2/d04f22cc7ce88245a947d9bccf408518.jpg","text":"TemporaryFile(/tmp/multipartBody3556643159972436990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167013097,"filename":"image_02052025_04_41_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/5/2/02c594b31183adc325829ffae9e19f61.jpg","text":"TemporaryFile(/tmp/multipartBody4953210721947529851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167013097,"filename":"image_02052025_04_42_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/5/2/8606f741bb26ae3fd97bbc2d737a0888.jpg","text":"TemporaryFile(/tmp/multipartBody7838297504786182364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167013097,"filename":"image_02052025_04_41_45_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236434","file1":"1355236430","file0":"1355236426","file4":"1355236446","file5":"1355236450","file3":"1355236442"},"map_files_photo_id_array":[{"photo_id":"1355236450","filename":"file5"},{"photo_id":"1355236434","filename":"file2"},{"photo_id":"1355236446","filename":"file4"},{"photo_id":"1355236430","filename":"file1"},{"photo_id":"1355236426","filename":"file0"},{"photo_id":"1355236442","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236446":["hashtag1","hashtag2"]},{"1355236434":["hashtag1","hashtag2"]},{"1355236442":["hashtag1","hashtag2"]},{"1355236430":["hashtag1","hashtag2"]},{"1355236450":["hashtag1","hashtag2"]},{"1355236426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236446, 1355236434, 1355236442, 1355236430, 1355236450, 1355236426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.6058931350708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:23:32.628791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/42/image_02052025_04_42_55_9359.jpg', '/home/pi/Desktop/images/02052025/04/42/image_02052025_04_43_05_10404.jpg', '/home/pi/Desktop/images/02052025/04/43/image_02052025_04_43_15_9344.jpg', '/home/pi/Desktop/images/02052025/04/43/image_02052025_04_43_25_10411.jpg', '/home/pi/Desktop/images/02052025/04/43/image_02052025_04_43_35_10347.jpg', '/home/pi/Desktop/images/02052025/04/43/image_02052025_04_44_05_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/42/image_02052025_04_42_55_9359.jpg
/home/pi/Desktop/images/02052025/04/42/image_02052025_04_43_05_10404.jpg
/home/pi/Desktop/images/02052025/04/43/image_02052025_04_43_15_9344.jpg
/home/pi/Desktop/images/02052025/04/43/image_02052025_04_43_25_10411.jpg
/home/pi/Desktop/images/02052025/04/43/image_02052025_04_43_35_10347.jpg
/home/pi/Desktop/images/02052025/04/43/image_02052025_04_44_05_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":["1355236545","1355236539","1355236553","1355236559","1355236549","1355236557"],"photo_ids_order":["1355236539","1355236545","1355236549","1355236553","1355236557","1355236559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/478070a12db6bbaa51fe6c6c9cd9d608.jpg","text":"TemporaryFile(/tmp/multipartBody1927331579658704121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167073156,"filename":"image_02052025_04_43_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e94bca281828c4da3db71efd7f2fb7c6.jpg","text":"TemporaryFile(/tmp/multipartBody5401978093297078513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167073156,"filename":"image_02052025_04_42_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/5/2/128b6ec1ff72ae1aaea22d3a3b9446e4.jpg","text":"TemporaryFile(/tmp/multipartBody7926857411513976928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167073156,"filename":"image_02052025_04_43_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/5/2/62a8b0db45d492bd7bdee995ba19c374.jpg","text":"TemporaryFile(/tmp/multipartBody3270952040276353980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167073156,"filename":"image_02052025_04_44_05_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ddf10d96e35c9899a8188884c154925.jpg","text":"TemporaryFile(/tmp/multipartBody2644836215943039355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167073156,"filename":"image_02052025_04_43_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/5/2/6c9da517f1c10025e2eb220cd7deedb7.jpg","text":"TemporaryFile(/tmp/multipartBody3300611584714334919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167073156,"filename":"image_02052025_04_43_35_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236549","file1":"1355236545","file0":"1355236539","file4":"1355236557","file5":"1355236559","file3":"1355236553"},"map_files_photo_id_array":[{"photo_id":"1355236559","filename":"file5"},{"photo_id":"1355236549","filename":"file2"},{"photo_id":"1355236557","filename":"file4"},{"photo_id":"1355236545","filename":"file1"},{"photo_id":"1355236539","filename":"file0"},{"photo_id":"1355236553","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236545":["hashtag1","hashtag2"]},{"1355236539":["hashtag1","hashtag2"]},{"1355236553":["hashtag1","hashtag2"]},{"1355236559":["hashtag1","hashtag2"]},{"1355236549":["hashtag1","hashtag2"]},{"1355236557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236545, 1355236539, 1355236553, 1355236559, 1355236549, 1355236557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35325765609741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:24:32.966737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/44/image_02052025_04_44_15_10332.jpg', '/home/pi/Desktop/images/02052025/04/44/image_02052025_04_44_26_10479.jpg', '/home/pi/Desktop/images/02052025/04/44/image_02052025_04_44_35_9335.jpg', '/home/pi/Desktop/images/02052025/04/44/image_02052025_04_44_45_10423.jpg', '/home/pi/Desktop/images/02052025/04/44/image_02052025_04_44_55_9461.jpg', '/home/pi/Desktop/images/02052025/04/44/image_02052025_04_45_05_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/44/image_02052025_04_44_15_10332.jpg
/home/pi/Desktop/images/02052025/04/44/image_02052025_04_44_26_10479.jpg
/home/pi/Desktop/images/02052025/04/44/image_02052025_04_44_35_9335.jpg
/home/pi/Desktop/images/02052025/04/44/image_02052025_04_44_45_10423.jpg
/home/pi/Desktop/images/02052025/04/44/image_02052025_04_44_55_9461.jpg
/home/pi/Desktop/images/02052025/04/44/image_02052025_04_45_05_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355236613","1355236597","1355236601","1355236594","1355236609","1355236606"],"photo_ids_order":["1355236594","1355236597","1355236601","1355236606","1355236609","1355236613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5348f2b7706cbd6bc6e45a6f535a0922.jpg","text":"TemporaryFile(/tmp/multipartBody3847200006070900798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167133505,"filename":"image_02052025_04_45_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b97c03aa5b52f25f5c5fa8064ca65ed1.jpg","text":"TemporaryFile(/tmp/multipartBody8603158888286742792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167133505,"filename":"image_02052025_04_44_26_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b54d8e27ce3e27c8e8e57748ffe17a9.jpg","text":"TemporaryFile(/tmp/multipartBody2069665459791218622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167133505,"filename":"image_02052025_04_44_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/5/2/295ec19eebc3cb3d87fc94e1c6e574ba.jpg","text":"TemporaryFile(/tmp/multipartBody2859892489000154510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167133505,"filename":"image_02052025_04_44_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e724d1299bb8e81d9462af134e673d86.jpg","text":"TemporaryFile(/tmp/multipartBody7033592257762902746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167133505,"filename":"image_02052025_04_44_55_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db662d3a836009ffad7de62066816014.jpg","text":"TemporaryFile(/tmp/multipartBody4824760468515020627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167133505,"filename":"image_02052025_04_44_45_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236601","file1":"1355236597","file0":"1355236594","file4":"1355236609","file5":"1355236613","file3":"1355236606"},"map_files_photo_id_array":[{"photo_id":"1355236613","filename":"file5"},{"photo_id":"1355236601","filename":"file2"},{"photo_id":"1355236609","filename":"file4"},{"photo_id":"1355236597","filename":"file1"},{"photo_id":"1355236594","filename":"file0"},{"photo_id":"1355236606","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236613":["hashtag1","hashtag2"]},{"1355236597":["hashtag1","hashtag2"]},{"1355236601":["hashtag1","hashtag2"]},{"1355236594":["hashtag1","hashtag2"]},{"1355236609":["hashtag1","hashtag2"]},{"1355236606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236613, 1355236597, 1355236601, 1355236594, 1355236609, 1355236606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44722032546997 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:25:33.328906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/45/image_02052025_04_45_15_10354.jpg', '/home/pi/Desktop/images/02052025/04/45/image_02052025_04_45_25_9437.jpg', '/home/pi/Desktop/images/02052025/04/45/image_02052025_04_45_35_10452.jpg', '/home/pi/Desktop/images/02052025/04/45/image_02052025_04_45_45_9395.jpg', '/home/pi/Desktop/images/02052025/04/45/image_02052025_04_45_55_10375.jpg', '/home/pi/Desktop/images/02052025/04/45/image_02052025_04_46_05_9488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/45/image_02052025_04_45_15_10354.jpg
/home/pi/Desktop/images/02052025/04/45/image_02052025_04_45_25_9437.jpg
/home/pi/Desktop/images/02052025/04/45/image_02052025_04_45_35_10452.jpg
/home/pi/Desktop/images/02052025/04/45/image_02052025_04_45_45_9395.jpg
/home/pi/Desktop/images/02052025/04/45/image_02052025_04_45_55_10375.jpg
/home/pi/Desktop/images/02052025/04/45/image_02052025_04_46_05_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":["1355236697","1355236670","1355236715","1355236712","1355236693","1355236662"],"photo_ids_order":["1355236662","1355236670","1355236693","1355236697","1355236712","1355236715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49361193642c1639e21e36da700dd54b.jpg","text":"TemporaryFile(/tmp/multipartBody3068624199624763086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167193868,"filename":"image_02052025_04_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/5/2/20d019fb8c70efee60ad9f8db0cfb8f6.jpg","text":"TemporaryFile(/tmp/multipartBody5508173013774662302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167193868,"filename":"image_02052025_04_45_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/5/2/03fff11086fc8d9ae95cc088f8e81f37.jpg","text":"TemporaryFile(/tmp/multipartBody4105209721483273529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167193868,"filename":"image_02052025_04_46_05_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9fa587fd1c21e4907c1feed61b974e2d.jpg","text":"TemporaryFile(/tmp/multipartBody8447489948880540478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167193868,"filename":"image_02052025_04_45_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/930809e231c0db13353455eff1580c3c.jpg","text":"TemporaryFile(/tmp/multipartBody490597067204768955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167193868,"filename":"image_02052025_04_45_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/76a91c935e965019fa84e700f8ecb265.jpg","text":"TemporaryFile(/tmp/multipartBody7920850281649681789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167193868,"filename":"image_02052025_04_45_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236693","file1":"1355236670","file0":"1355236662","file4":"1355236712","file5":"1355236715","file3":"1355236697"},"map_files_photo_id_array":[{"photo_id":"1355236715","filename":"file5"},{"photo_id":"1355236693","filename":"file2"},{"photo_id":"1355236712","filename":"file4"},{"photo_id":"1355236670","filename":"file1"},{"photo_id":"1355236662","filename":"file0"},{"photo_id":"1355236697","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236697":["hashtag1","hashtag2"]},{"1355236670":["hashtag1","hashtag2"]},{"1355236715":["hashtag1","hashtag2"]},{"1355236712":["hashtag1","hashtag2"]},{"1355236693":["hashtag1","hashtag2"]},{"1355236662":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236697, 1355236670, 1355236715, 1355236712, 1355236693, 1355236662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.907572984695435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:26:32.479357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/46/image_02052025_04_46_15_10390.jpg', '/home/pi/Desktop/images/02052025/04/46/image_02052025_04_46_25_10384.jpg', '/home/pi/Desktop/images/02052025/04/46/image_02052025_04_46_45_10354.jpg', '/home/pi/Desktop/images/02052025/04/46/image_02052025_04_47_05_9407.jpg', '/home/pi/Desktop/images/02052025/04/47/image_02052025_04_47_35_10472.jpg', '/home/pi/Desktop/images/02052025/04/47/image_02052025_04_47_45_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/46/image_02052025_04_46_15_10390.jpg
/home/pi/Desktop/images/02052025/04/46/image_02052025_04_46_25_10384.jpg
/home/pi/Desktop/images/02052025/04/46/image_02052025_04_46_45_10354.jpg
/home/pi/Desktop/images/02052025/04/46/image_02052025_04_47_05_9407.jpg
/home/pi/Desktop/images/02052025/04/47/image_02052025_04_47_35_10472.jpg
/home/pi/Desktop/images/02052025/04/47/image_02052025_04_47_45_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":["1355236886","1355236874","1355236802","1355236894","1355236867","1355236881"],"photo_ids_order":["1355236802","1355236867","1355236874","1355236881","1355236886","1355236894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc797c513d7198f973f84e395edd6e3b.jpg","text":"TemporaryFile(/tmp/multipartBody5772100597907989445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167253020,"filename":"image_02052025_04_47_35_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95e2d0a7479ca2b459d890b0966336b7.jpg","text":"TemporaryFile(/tmp/multipartBody9108058941115772239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167253020,"filename":"image_02052025_04_46_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/5/2/b17e5f5093ecf8c2bbed045673a0aaa0.jpg","text":"TemporaryFile(/tmp/multipartBody8847451611788913457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167253020,"filename":"image_02052025_04_46_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/12a9fd0230f81df3f643710d1ef66f54.jpg","text":"TemporaryFile(/tmp/multipartBody5906458192356339231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167253020,"filename":"image_02052025_04_47_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/5/2/ea7ca60072e3a2f33edb6446911dd437.jpg","text":"TemporaryFile(/tmp/multipartBody6073139063003030172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167253020,"filename":"image_02052025_04_46_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/5/2/3305f28a9e131901212b43b597c83df9.jpg","text":"TemporaryFile(/tmp/multipartBody5805525508560320204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167253020,"filename":"image_02052025_04_47_05_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236874","file1":"1355236867","file0":"1355236802","file4":"1355236886","file5":"1355236894","file3":"1355236881"},"map_files_photo_id_array":[{"photo_id":"1355236894","filename":"file5"},{"photo_id":"1355236874","filename":"file2"},{"photo_id":"1355236886","filename":"file4"},{"photo_id":"1355236867","filename":"file1"},{"photo_id":"1355236802","filename":"file0"},{"photo_id":"1355236881","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236886":["hashtag1","hashtag2"]},{"1355236874":["hashtag1","hashtag2"]},{"1355236802":["hashtag1","hashtag2"]},{"1355236894":["hashtag1","hashtag2"]},{"1355236867":["hashtag1","hashtag2"]},{"1355236881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236886, 1355236874, 1355236802, 1355236894, 1355236867, 1355236881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.60344362258911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:27:32.679817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/47/image_02052025_04_47_55_10358.jpg', '/home/pi/Desktop/images/02052025/04/47/image_02052025_04_48_05_9444.jpg', '/home/pi/Desktop/images/02052025/04/48/image_02052025_04_48_15_10351.jpg', '/home/pi/Desktop/images/02052025/04/48/image_02052025_04_48_25_10491.jpg', '/home/pi/Desktop/images/02052025/04/48/image_02052025_04_48_35_9341.jpg', '/home/pi/Desktop/images/02052025/04/48/image_02052025_04_48_45_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/47/image_02052025_04_47_55_10358.jpg
/home/pi/Desktop/images/02052025/04/47/image_02052025_04_48_05_9444.jpg
/home/pi/Desktop/images/02052025/04/48/image_02052025_04_48_15_10351.jpg
/home/pi/Desktop/images/02052025/04/48/image_02052025_04_48_25_10491.jpg
/home/pi/Desktop/images/02052025/04/48/image_02052025_04_48_35_9341.jpg
/home/pi/Desktop/images/02052025/04/48/image_02052025_04_48_45_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355236941","1355236944","1355236932","1355236919","1355236936","1355236924"],"photo_ids_order":["1355236919","1355236924","1355236932","1355236936","1355236941","1355236944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96a817a64a70a9e984bbbc70853fe1d4.jpg","text":"TemporaryFile(/tmp/multipartBody7010216528435510366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167313217,"filename":"image_02052025_04_48_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/5/2/f7fd12b513918418850e34e07a40b072.jpg","text":"TemporaryFile(/tmp/multipartBody5615359992377027965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167313217,"filename":"image_02052025_04_48_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/5/2/827da3da0d13ebd99c4810b2a8fe347c.jpg","text":"TemporaryFile(/tmp/multipartBody3619988943146705582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167313217,"filename":"image_02052025_04_48_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/5/2/4a006cb8ed66029becbf24392d499e1a.jpg","text":"TemporaryFile(/tmp/multipartBody733654798880972292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167313217,"filename":"image_02052025_04_47_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0657b2b90b2983f58bb079b7ab61fafd.jpg","text":"TemporaryFile(/tmp/multipartBody6512432896613368502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167313217,"filename":"image_02052025_04_48_25_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9d749cee4d6137fb81cbfc9a4181af8.jpg","text":"TemporaryFile(/tmp/multipartBody2815741366541159717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167313217,"filename":"image_02052025_04_48_05_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236932","file1":"1355236924","file0":"1355236919","file4":"1355236941","file5":"1355236944","file3":"1355236936"},"map_files_photo_id_array":[{"photo_id":"1355236944","filename":"file5"},{"photo_id":"1355236932","filename":"file2"},{"photo_id":"1355236941","filename":"file4"},{"photo_id":"1355236924","filename":"file1"},{"photo_id":"1355236919","filename":"file0"},{"photo_id":"1355236936","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236941":["hashtag1","hashtag2"]},{"1355236944":["hashtag1","hashtag2"]},{"1355236932":["hashtag1","hashtag2"]},{"1355236919":["hashtag1","hashtag2"]},{"1355236936":["hashtag1","hashtag2"]},{"1355236924":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236941, 1355236944, 1355236932, 1355236919, 1355236936, 1355236924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25327515602112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:28:32.911745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/48/image_02052025_04_49_05_10389.jpg', '/home/pi/Desktop/images/02052025/04/49/image_02052025_04_49_15_10412.jpg', '/home/pi/Desktop/images/02052025/04/49/image_02052025_04_49_35_10386.jpg', '/home/pi/Desktop/images/02052025/04/49/image_02052025_04_49_45_9427.jpg', '/home/pi/Desktop/images/02052025/04/49/image_02052025_04_49_55_10373.jpg', '/home/pi/Desktop/images/02052025/04/49/image_02052025_04_50_05_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/48/image_02052025_04_49_05_10389.jpg
/home/pi/Desktop/images/02052025/04/49/image_02052025_04_49_15_10412.jpg
/home/pi/Desktop/images/02052025/04/49/image_02052025_04_49_35_10386.jpg
/home/pi/Desktop/images/02052025/04/49/image_02052025_04_49_45_9427.jpg
/home/pi/Desktop/images/02052025/04/49/image_02052025_04_49_55_10373.jpg
/home/pi/Desktop/images/02052025/04/49/image_02052025_04_50_05_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":["1355236988","1355236991","1355236979","1355237003","1355236999","1355236984"],"photo_ids_order":["1355236979","1355236984","1355236988","1355236991","1355236999","1355237003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/12194797f360b26e5e1c9fb3b394486b.jpg","text":"TemporaryFile(/tmp/multipartBody2707505288262299045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167373460,"filename":"image_02052025_04_49_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d48f6b06ae410dd2e6394f01c909fc70.jpg","text":"TemporaryFile(/tmp/multipartBody5891831856559109593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167373460,"filename":"image_02052025_04_49_45_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8596ad63a095e181ab97f4e5dd8c388.jpg","text":"TemporaryFile(/tmp/multipartBody8430547026174190814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167373460,"filename":"image_02052025_04_49_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/5/2/66b06e53e2ccf67fa489c1a487278248.jpg","text":"TemporaryFile(/tmp/multipartBody3477565981419186570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167373460,"filename":"image_02052025_04_50_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e82f739f56c517a68cc5c050b8b4d157.jpg","text":"TemporaryFile(/tmp/multipartBody7365988995049043094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167373460,"filename":"image_02052025_04_49_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f65633811c424a9c3ab3867f19302ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8049078060805261790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167373460,"filename":"image_02052025_04_49_15_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355236988","file1":"1355236984","file0":"1355236979","file4":"1355236999","file5":"1355237003","file3":"1355236991"},"map_files_photo_id_array":[{"photo_id":"1355237003","filename":"file5"},{"photo_id":"1355236988","filename":"file2"},{"photo_id":"1355236999","filename":"file4"},{"photo_id":"1355236984","filename":"file1"},{"photo_id":"1355236979","filename":"file0"},{"photo_id":"1355236991","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355236988":["hashtag1","hashtag2"]},{"1355236991":["hashtag1","hashtag2"]},{"1355236979":["hashtag1","hashtag2"]},{"1355237003":["hashtag1","hashtag2"]},{"1355236999":["hashtag1","hashtag2"]},{"1355236984":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355236988, 1355236991, 1355236979, 1355237003, 1355236999, 1355236984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.549313068389893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:29:33.208317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/50/image_02052025_04_50_15_9386.jpg', '/home/pi/Desktop/images/02052025/04/50/image_02052025_04_50_25_10366.jpg', '/home/pi/Desktop/images/02052025/04/50/image_02052025_04_50_45_10419.jpg', '/home/pi/Desktop/images/02052025/04/50/image_02052025_04_50_55_10445.jpg', '/home/pi/Desktop/images/02052025/04/50/image_02052025_04_51_05_9335.jpg', '/home/pi/Desktop/images/02052025/04/51/image_02052025_04_51_15_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/50/image_02052025_04_50_15_9386.jpg
/home/pi/Desktop/images/02052025/04/50/image_02052025_04_50_25_10366.jpg
/home/pi/Desktop/images/02052025/04/50/image_02052025_04_50_45_10419.jpg
/home/pi/Desktop/images/02052025/04/50/image_02052025_04_50_55_10445.jpg
/home/pi/Desktop/images/02052025/04/50/image_02052025_04_51_05_9335.jpg
/home/pi/Desktop/images/02052025/04/51/image_02052025_04_51_15_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":["1355237078","1355237027","1355237036","1355237059","1355237032","1355237076"],"photo_ids_order":["1355237027","1355237032","1355237036","1355237059","1355237076","1355237078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/700c3c2717161ffb5a112fd699324819.jpg","text":"TemporaryFile(/tmp/multipartBody7190183788922093829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167433744,"filename":"image_02052025_04_51_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/5/2/c5561454ef499408b77ec3d921b3cf31.jpg","text":"TemporaryFile(/tmp/multipartBody3349101262001155761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167433744,"filename":"image_02052025_04_50_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/5/2/43afb43bca70dd3c716d186c60bd3b94.jpg","text":"TemporaryFile(/tmp/multipartBody1287979503691440060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167433744,"filename":"image_02052025_04_50_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/290be6ffa2732beefc56ec30bdd7e36f.jpg","text":"TemporaryFile(/tmp/multipartBody5084686497359702490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167433744,"filename":"image_02052025_04_50_55_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a762a58e06e148dda8afb10eef0bfc5.jpg","text":"TemporaryFile(/tmp/multipartBody5389203718752317133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167433744,"filename":"image_02052025_04_50_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/5/2/a744f19f935f6d56a098d57fa338f88c.jpg","text":"TemporaryFile(/tmp/multipartBody2458418694624266899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167433744,"filename":"image_02052025_04_51_05_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237036","file1":"1355237032","file0":"1355237027","file4":"1355237076","file5":"1355237078","file3":"1355237059"},"map_files_photo_id_array":[{"photo_id":"1355237078","filename":"file5"},{"photo_id":"1355237036","filename":"file2"},{"photo_id":"1355237076","filename":"file4"},{"photo_id":"1355237032","filename":"file1"},{"photo_id":"1355237027","filename":"file0"},{"photo_id":"1355237059","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237078":["hashtag1","hashtag2"]},{"1355237027":["hashtag1","hashtag2"]},{"1355237036":["hashtag1","hashtag2"]},{"1355237059":["hashtag1","hashtag2"]},{"1355237032":["hashtag1","hashtag2"]},{"1355237076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237078, 1355237027, 1355237036, 1355237059, 1355237032, 1355237076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.256386518478394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:30:32.534048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/51/image_02052025_04_51_35_10363.jpg', '/home/pi/Desktop/images/02052025/04/51/image_02052025_04_51_45_10399.jpg', '/home/pi/Desktop/images/02052025/04/51/image_02052025_04_51_55_9358.jpg', '/home/pi/Desktop/images/02052025/04/51/image_02052025_04_52_05_10351.jpg', '/home/pi/Desktop/images/02052025/04/52/image_02052025_04_52_15_10442.jpg', '/home/pi/Desktop/images/02052025/04/52/image_02052025_04_52_25_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/51/image_02052025_04_51_35_10363.jpg
/home/pi/Desktop/images/02052025/04/51/image_02052025_04_51_45_10399.jpg
/home/pi/Desktop/images/02052025/04/51/image_02052025_04_51_55_9358.jpg
/home/pi/Desktop/images/02052025/04/51/image_02052025_04_52_05_10351.jpg
/home/pi/Desktop/images/02052025/04/52/image_02052025_04_52_15_10442.jpg
/home/pi/Desktop/images/02052025/04/52/image_02052025_04_52_25_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":["1355237118","1355237111","1355237102","1355237092","1355237095","1355237116"],"photo_ids_order":["1355237092","1355237095","1355237102","1355237111","1355237116","1355237118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c236e28ce0a9cefa6f20abc37ed780b1.jpg","text":"TemporaryFile(/tmp/multipartBody5886414676630891591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167493139,"filename":"image_02052025_04_52_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/5/2/5f808ab0f583999fbf713c92c7630cce.jpg","text":"TemporaryFile(/tmp/multipartBody8799608950455887836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167493139,"filename":"image_02052025_04_52_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/5/2/def418f5a96fb85efe301ced153d769f.jpg","text":"TemporaryFile(/tmp/multipartBody6542406729564870631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167493139,"filename":"image_02052025_04_51_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b772b694bd1cc2fb59825e01cfc33c3.jpg","text":"TemporaryFile(/tmp/multipartBody7760902854295783837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167493139,"filename":"image_02052025_04_51_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/10c9807607d17a0b930100ca30682586.jpg","text":"TemporaryFile(/tmp/multipartBody1441894339838840935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167493139,"filename":"image_02052025_04_51_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/5/2/ae47b5f5d48930983fccad98bfb3a492.jpg","text":"TemporaryFile(/tmp/multipartBody1656351522912747229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167493139,"filename":"image_02052025_04_52_15_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237102","file1":"1355237095","file0":"1355237092","file4":"1355237116","file5":"1355237118","file3":"1355237111"},"map_files_photo_id_array":[{"photo_id":"1355237118","filename":"file5"},{"photo_id":"1355237102","filename":"file2"},{"photo_id":"1355237116","filename":"file4"},{"photo_id":"1355237095","filename":"file1"},{"photo_id":"1355237092","filename":"file0"},{"photo_id":"1355237111","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237118":["hashtag1","hashtag2"]},{"1355237111":["hashtag1","hashtag2"]},{"1355237102":["hashtag1","hashtag2"]},{"1355237092":["hashtag1","hashtag2"]},{"1355237095":["hashtag1","hashtag2"]},{"1355237116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237118, 1355237111, 1355237102, 1355237092, 1355237095, 1355237116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.355369567871094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:31:32.782465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/52/image_02052025_04_52_35_10460.jpg', '/home/pi/Desktop/images/02052025/04/52/image_02052025_04_52_55_10446.jpg', '/home/pi/Desktop/images/02052025/04/52/image_02052025_04_53_05_10347.jpg', '/home/pi/Desktop/images/02052025/04/53/image_02052025_04_53_25_10457.jpg', '/home/pi/Desktop/images/02052025/04/53/image_02052025_04_53_45_10370.jpg', '/home/pi/Desktop/images/02052025/04/53/image_02052025_04_53_55_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/52/image_02052025_04_52_35_10460.jpg
/home/pi/Desktop/images/02052025/04/52/image_02052025_04_52_55_10446.jpg
/home/pi/Desktop/images/02052025/04/52/image_02052025_04_53_05_10347.jpg
/home/pi/Desktop/images/02052025/04/53/image_02052025_04_53_25_10457.jpg
/home/pi/Desktop/images/02052025/04/53/image_02052025_04_53_45_10370.jpg
/home/pi/Desktop/images/02052025/04/53/image_02052025_04_53_55_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":["1355237171","1355237173","1355237167","1355237161","1355237164","1355237169"],"photo_ids_order":["1355237161","1355237164","1355237167","1355237169","1355237171","1355237173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee5f746cdaaa6204a2249fea04c3ce13.jpg","text":"TemporaryFile(/tmp/multipartBody2989455236904571338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167553302,"filename":"image_02052025_04_53_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/5/2/22782fc627932f5d304e1f10a164cae8.jpg","text":"TemporaryFile(/tmp/multipartBody3397449773905834770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167553302,"filename":"image_02052025_04_53_55_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cb99e18d0a7ad7085d21a5e4b38f8f7c.jpg","text":"TemporaryFile(/tmp/multipartBody3881107910270386106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167553302,"filename":"image_02052025_04_53_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/5/2/ad02fba3d07d220842b0cda28396d81c.jpg","text":"TemporaryFile(/tmp/multipartBody3035065439256590342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167553302,"filename":"image_02052025_04_52_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/5/2/977193616543297e7bddc3053c700644.jpg","text":"TemporaryFile(/tmp/multipartBody8375649963447850709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167553302,"filename":"image_02052025_04_52_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/5/2/f811457f90be0ae5472460df9e3692b9.jpg","text":"TemporaryFile(/tmp/multipartBody7943047886237161607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167553302,"filename":"image_02052025_04_53_25_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237167","file1":"1355237164","file0":"1355237161","file4":"1355237171","file5":"1355237173","file3":"1355237169"},"map_files_photo_id_array":[{"photo_id":"1355237173","filename":"file5"},{"photo_id":"1355237167","filename":"file2"},{"photo_id":"1355237171","filename":"file4"},{"photo_id":"1355237164","filename":"file1"},{"photo_id":"1355237161","filename":"file0"},{"photo_id":"1355237169","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237171":["hashtag1","hashtag2"]},{"1355237173":["hashtag1","hashtag2"]},{"1355237167":["hashtag1","hashtag2"]},{"1355237161":["hashtag1","hashtag2"]},{"1355237164":["hashtag1","hashtag2"]},{"1355237169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237171, 1355237173, 1355237167, 1355237161, 1355237164, 1355237169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.860455751419067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:32:32.985310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/53/image_02052025_04_54_05_9385.jpg', '/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_15_10448.jpg', '/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_25_9393.jpg', '/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_35_10349.jpg', '/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_45_10365.jpg', '/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_55_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/53/image_02052025_04_54_05_9385.jpg
/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_15_10448.jpg
/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_25_9393.jpg
/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_35_10349.jpg
/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_45_10365.jpg
/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45189976692199707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 08:32:43.105281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/53/image_02052025_04_54_05_9385.jpg', '/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_15_10448.jpg', '/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_25_9393.jpg', '/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_35_10349.jpg', '/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_45_10365.jpg', '/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_55_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/53/image_02052025_04_54_05_9385.jpg
/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_15_10448.jpg
/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_25_9393.jpg
/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_35_10349.jpg
/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_45_10365.jpg
/home/pi/Desktop/images/02052025/04/54/image_02052025_04_54_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":["1355237301","1355237310","1355237312","1355237305","1355237308","1355237307"],"photo_ids_order":["1355237301","1355237305","1355237307","1355237308","1355237310","1355237312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55e12aecf1e72f55ec9f121665df640d.jpg","text":"TemporaryFile(/tmp/multipartBody7708272711817554685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167623579,"filename":"image_02052025_04_54_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/5/2/677a514a9a0e5728f8447e03f8924e71.jpg","text":"TemporaryFile(/tmp/multipartBody4164803196564183692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167623579,"filename":"image_02052025_04_54_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/5/2/bcbed450bae577c2d7d881201fbcd87c.jpg","text":"TemporaryFile(/tmp/multipartBody9098275262199440272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167623579,"filename":"image_02052025_04_54_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/5/2/4e874835d4146407cf6cc455c43f0398.jpg","text":"TemporaryFile(/tmp/multipartBody8714904709590724908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167623579,"filename":"image_02052025_04_54_15_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fff702ea97d5c05d7963925006e7f6fa.jpg","text":"TemporaryFile(/tmp/multipartBody3189859584722074298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167623579,"filename":"image_02052025_04_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/5/2/a46e3ceedf68b9c3447e66dff5797486.jpg","text":"TemporaryFile(/tmp/multipartBody8678697293590296564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167623579,"filename":"image_02052025_04_54_25_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237307","file1":"1355237305","file0":"1355237301","file4":"1355237310","file5":"1355237312","file3":"1355237308"},"map_files_photo_id_array":[{"photo_id":"1355237312","filename":"file5"},{"photo_id":"1355237307","filename":"file2"},{"photo_id":"1355237310","filename":"file4"},{"photo_id":"1355237305","filename":"file1"},{"photo_id":"1355237301","filename":"file0"},{"photo_id":"1355237308","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237301":["hashtag1","hashtag2"]},{"1355237310":["hashtag1","hashtag2"]},{"1355237312":["hashtag1","hashtag2"]},{"1355237305":["hashtag1","hashtag2"]},{"1355237308":["hashtag1","hashtag2"]},{"1355237307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237301, 1355237310, 1355237312, 1355237305, 1355237308, 1355237307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46765613555908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:33:32.335003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/54/image_02052025_04_55_05_10352.jpg', '/home/pi/Desktop/images/02052025/04/55/image_02052025_04_55_16_10417.jpg', '/home/pi/Desktop/images/02052025/04/55/image_02052025_04_55_25_9355.jpg', '/home/pi/Desktop/images/02052025/04/55/image_02052025_04_55_35_10538.jpg', '/home/pi/Desktop/images/02052025/04/55/image_02052025_04_55_45_9382.jpg', '/home/pi/Desktop/images/02052025/04/55/image_02052025_04_56_06_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/54/image_02052025_04_55_05_10352.jpg
/home/pi/Desktop/images/02052025/04/55/image_02052025_04_55_16_10417.jpg
/home/pi/Desktop/images/02052025/04/55/image_02052025_04_55_25_9355.jpg
/home/pi/Desktop/images/02052025/04/55/image_02052025_04_55_35_10538.jpg
/home/pi/Desktop/images/02052025/04/55/image_02052025_04_55_45_9382.jpg
/home/pi/Desktop/images/02052025/04/55/image_02052025_04_56_06_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355237336","1355237351","1355237350","1355237347","1355237343","1355237352"],"photo_ids_order":["1355237336","1355237343","1355237347","1355237350","1355237351","1355237352"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/07f069380ed037869c7423b0cc2687c5.jpg","text":"TemporaryFile(/tmp/multipartBody8951120216008182442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167672870,"filename":"image_02052025_04_55_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/5/2/359a97b8c8d509d979c3ea5029138ef8.jpg","text":"TemporaryFile(/tmp/multipartBody1566442208982439387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167672870,"filename":"image_02052025_04_55_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/5/2/f3b15d6cb87724f6380430a68eabc3dd.jpg","text":"TemporaryFile(/tmp/multipartBody497329856873543072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167672870,"filename":"image_02052025_04_55_35_10538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d9620364628a819b9e16bac2449c7a67.jpg","text":"TemporaryFile(/tmp/multipartBody2314023745811592651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167672870,"filename":"image_02052025_04_55_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/5/2/98c40b419f598b9a9481dc45d146d801.jpg","text":"TemporaryFile(/tmp/multipartBody2161358075126240269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167672870,"filename":"image_02052025_04_55_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a2037fe75d6fca8b7fe0b5dc54dd433.jpg","text":"TemporaryFile(/tmp/multipartBody6493047061984267083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167672870,"filename":"image_02052025_04_56_06_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237347","file1":"1355237343","file0":"1355237336","file4":"1355237351","file5":"1355237352","file3":"1355237350"},"map_files_photo_id_array":[{"photo_id":"1355237352","filename":"file5"},{"photo_id":"1355237347","filename":"file2"},{"photo_id":"1355237351","filename":"file4"},{"photo_id":"1355237343","filename":"file1"},{"photo_id":"1355237336","filename":"file0"},{"photo_id":"1355237350","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237336":["hashtag1","hashtag2"]},{"1355237351":["hashtag1","hashtag2"]},{"1355237350":["hashtag1","hashtag2"]},{"1355237347":["hashtag1","hashtag2"]},{"1355237343":["hashtag1","hashtag2"]},{"1355237352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237336, 1355237351, 1355237350, 1355237347, 1355237343, 1355237352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.746806144714355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:34:32.484633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/56/image_02052025_04_56_15_9351.jpg', '/home/pi/Desktop/images/02052025/04/56/image_02052025_04_56_25_10486.jpg', '/home/pi/Desktop/images/02052025/04/56/image_02052025_04_56_35_9339.jpg', '/home/pi/Desktop/images/02052025/04/56/image_02052025_04_56_45_10351.jpg', '/home/pi/Desktop/images/02052025/04/56/image_02052025_04_56_56_10472.jpg', '/home/pi/Desktop/images/02052025/04/56/image_02052025_04_57_05_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/56/image_02052025_04_56_15_9351.jpg
/home/pi/Desktop/images/02052025/04/56/image_02052025_04_56_25_10486.jpg
/home/pi/Desktop/images/02052025/04/56/image_02052025_04_56_35_9339.jpg
/home/pi/Desktop/images/02052025/04/56/image_02052025_04_56_45_10351.jpg
/home/pi/Desktop/images/02052025/04/56/image_02052025_04_56_56_10472.jpg
/home/pi/Desktop/images/02052025/04/56/image_02052025_04_57_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":["1355237390","1355237393","1355237387","1355237377","1355237392","1355237382"],"photo_ids_order":["1355237377","1355237382","1355237387","1355237390","1355237392","1355237393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce69f551af170d0ef9ab4918daae048c.jpg","text":"TemporaryFile(/tmp/multipartBody306247991062266906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167733028,"filename":"image_02052025_04_56_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/5/2/fa8e75a4108d645b0f7aed1cd064e62b.jpg","text":"TemporaryFile(/tmp/multipartBody3693399666323967615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167733028,"filename":"image_02052025_04_57_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/5/2/738cc08d7eae40a99203f92658478a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1814544964054976412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167733028,"filename":"image_02052025_04_56_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/5/2/a4f159a615c88944442a88b3e2176acd.jpg","text":"TemporaryFile(/tmp/multipartBody4259907151713831471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167733028,"filename":"image_02052025_04_56_15_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39f5cccffea1282a8b4bcece912f5ca1.jpg","text":"TemporaryFile(/tmp/multipartBody6837481014353618560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167733028,"filename":"image_02052025_04_56_56_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e1a4a53d0a59b58ce050990f4357325.jpg","text":"TemporaryFile(/tmp/multipartBody2676777843308047525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167733028,"filename":"image_02052025_04_56_25_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237387","file1":"1355237382","file0":"1355237377","file4":"1355237392","file5":"1355237393","file3":"1355237390"},"map_files_photo_id_array":[{"photo_id":"1355237393","filename":"file5"},{"photo_id":"1355237387","filename":"file2"},{"photo_id":"1355237392","filename":"file4"},{"photo_id":"1355237382","filename":"file1"},{"photo_id":"1355237377","filename":"file0"},{"photo_id":"1355237390","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237390":["hashtag1","hashtag2"]},{"1355237393":["hashtag1","hashtag2"]},{"1355237387":["hashtag1","hashtag2"]},{"1355237377":["hashtag1","hashtag2"]},{"1355237392":["hashtag1","hashtag2"]},{"1355237382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237390, 1355237393, 1355237387, 1355237377, 1355237392, 1355237382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.762462854385376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:35:32.638317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/57/image_02052025_04_57_15_10443.jpg', '/home/pi/Desktop/images/02052025/04/57/image_02052025_04_57_25_9362.jpg', '/home/pi/Desktop/images/02052025/04/57/image_02052025_04_57_35_10383.jpg', '/home/pi/Desktop/images/02052025/04/57/image_02052025_04_57_45_10344.jpg', '/home/pi/Desktop/images/02052025/04/57/image_02052025_04_57_55_9386.jpg', '/home/pi/Desktop/images/02052025/04/57/image_02052025_04_58_05_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/57/image_02052025_04_57_15_10443.jpg
/home/pi/Desktop/images/02052025/04/57/image_02052025_04_57_25_9362.jpg
/home/pi/Desktop/images/02052025/04/57/image_02052025_04_57_35_10383.jpg
/home/pi/Desktop/images/02052025/04/57/image_02052025_04_57_45_10344.jpg
/home/pi/Desktop/images/02052025/04/57/image_02052025_04_57_55_9386.jpg
/home/pi/Desktop/images/02052025/04/57/image_02052025_04_58_05_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355237415","1355237429","1355237420","1355237430","1355237424","1355237427"],"photo_ids_order":["1355237415","1355237420","1355237424","1355237427","1355237429","1355237430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/410dc3b7b7461cbe515f4e249de217b6.jpg","text":"TemporaryFile(/tmp/multipartBody3590120371655376688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167793184,"filename":"image_02052025_04_57_15_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ab459df68746646b2341f4ed0268cf6.jpg","text":"TemporaryFile(/tmp/multipartBody1190673282161194699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167793184,"filename":"image_02052025_04_57_55_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ac233b241f68f8a3afd730a859f0b488.jpg","text":"TemporaryFile(/tmp/multipartBody4481397327611367717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167793184,"filename":"image_02052025_04_57_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1643287249dc8c9cc31979c2cd9e182f.jpg","text":"TemporaryFile(/tmp/multipartBody7401953934981160716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167793184,"filename":"image_02052025_04_58_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/5/2/c9218f1c37bed237426adb30bf916263.jpg","text":"TemporaryFile(/tmp/multipartBody551950150660411209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167793184,"filename":"image_02052025_04_57_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c9b4caea9bbcab65b5ad746d82e87ac.jpg","text":"TemporaryFile(/tmp/multipartBody1410977749711748488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167793184,"filename":"image_02052025_04_57_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237424","file1":"1355237420","file0":"1355237415","file4":"1355237429","file5":"1355237430","file3":"1355237427"},"map_files_photo_id_array":[{"photo_id":"1355237430","filename":"file5"},{"photo_id":"1355237424","filename":"file2"},{"photo_id":"1355237429","filename":"file4"},{"photo_id":"1355237420","filename":"file1"},{"photo_id":"1355237415","filename":"file0"},{"photo_id":"1355237427","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237415":["hashtag1","hashtag2"]},{"1355237429":["hashtag1","hashtag2"]},{"1355237420":["hashtag1","hashtag2"]},{"1355237430":["hashtag1","hashtag2"]},{"1355237424":["hashtag1","hashtag2"]},{"1355237427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237415, 1355237429, 1355237420, 1355237430, 1355237424, 1355237427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.40490698814392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:36:32.892115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/58/image_02052025_04_58_15_10358.jpg', '/home/pi/Desktop/images/02052025/04/58/image_02052025_04_58_35_10452.jpg', '/home/pi/Desktop/images/02052025/04/58/image_02052025_04_58_45_9433.jpg', '/home/pi/Desktop/images/02052025/04/58/image_02052025_04_58_55_10370.jpg', '/home/pi/Desktop/images/02052025/04/59/image_02052025_04_59_35_9595.jpg', '/home/pi/Desktop/images/02052025/04/59/image_02052025_04_59_45_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/58/image_02052025_04_58_15_10358.jpg
/home/pi/Desktop/images/02052025/04/58/image_02052025_04_58_35_10452.jpg
/home/pi/Desktop/images/02052025/04/58/image_02052025_04_58_45_9433.jpg
/home/pi/Desktop/images/02052025/04/58/image_02052025_04_58_55_10370.jpg
/home/pi/Desktop/images/02052025/04/59/image_02052025_04_59_35_9595.jpg
/home/pi/Desktop/images/02052025/04/59/image_02052025_04_59_45_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":["1355237471","1355237474","1355237473","1355237467","1355237475","1355237460"],"photo_ids_order":["1355237460","1355237467","1355237471","1355237473","1355237474","1355237475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0c9d28b93982e9db24dfc144a803b7b3.jpg","text":"TemporaryFile(/tmp/multipartBody4979270710574541822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167853446,"filename":"image_02052025_04_58_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/5/2/9539f4325fcfb62093055c6daf901cf5.jpg","text":"TemporaryFile(/tmp/multipartBody2870226138912113566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167853446,"filename":"image_02052025_04_59_35_9595.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/98d916833dee393db0002ebd33cfd0fb.jpg","text":"TemporaryFile(/tmp/multipartBody265196152272923588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167853446,"filename":"image_02052025_04_58_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/5/2/7ea33744c862519e6c225693c4474594.jpg","text":"TemporaryFile(/tmp/multipartBody1628260087414644369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167853446,"filename":"image_02052025_04_58_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/550e65b56da787d08c747db076e7a78d.jpg","text":"TemporaryFile(/tmp/multipartBody4288234490379232142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167853446,"filename":"image_02052025_04_59_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/5/2/6fc9f451fab74599f0af215642985eed.jpg","text":"TemporaryFile(/tmp/multipartBody8679361868166614038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167853446,"filename":"image_02052025_04_58_15_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237471","file1":"1355237467","file0":"1355237460","file4":"1355237474","file5":"1355237475","file3":"1355237473"},"map_files_photo_id_array":[{"photo_id":"1355237475","filename":"file5"},{"photo_id":"1355237471","filename":"file2"},{"photo_id":"1355237474","filename":"file4"},{"photo_id":"1355237467","filename":"file1"},{"photo_id":"1355237460","filename":"file0"},{"photo_id":"1355237473","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237471":["hashtag1","hashtag2"]},{"1355237474":["hashtag1","hashtag2"]},{"1355237473":["hashtag1","hashtag2"]},{"1355237467":["hashtag1","hashtag2"]},{"1355237475":["hashtag1","hashtag2"]},{"1355237460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237471, 1355237474, 1355237473, 1355237467, 1355237475, 1355237460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44175124168396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:37:33.109486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/04/59/image_02052025_04_59_55_9381.jpg', '/home/pi/Desktop/images/02052025/05/00/image_02052025_05_00_15_10074.jpg', '/home/pi/Desktop/images/02052025/05/00/image_02052025_05_00_26_10370.jpg', '/home/pi/Desktop/images/02052025/05/00/image_02052025_05_00_36_10561.jpg', '/home/pi/Desktop/images/02052025/05/00/image_02052025_05_00_46_9345.jpg', '/home/pi/Desktop/images/02052025/05/00/image_02052025_05_00_56_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/04/59/image_02052025_04_59_55_9381.jpg
/home/pi/Desktop/images/02052025/05/00/image_02052025_05_00_15_10074.jpg
/home/pi/Desktop/images/02052025/05/00/image_02052025_05_00_26_10370.jpg
/home/pi/Desktop/images/02052025/05/00/image_02052025_05_00_36_10561.jpg
/home/pi/Desktop/images/02052025/05/00/image_02052025_05_00_46_9345.jpg
/home/pi/Desktop/images/02052025/05/00/image_02052025_05_00_56_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355237514","1355237508","1355237516","1355237501","1355237512","1355237505"],"photo_ids_order":["1355237501","1355237505","1355237508","1355237512","1355237514","1355237516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a10e0115c8949dd43e0ada9a52f31d72.jpg","text":"TemporaryFile(/tmp/multipartBody3655906562039074890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167913656,"filename":"image_02052025_05_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/5/2/97c3740f59c526566f26b0f3e67ee7bd.jpg","text":"TemporaryFile(/tmp/multipartBody3362385757021978691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167913656,"filename":"image_02052025_05_00_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/5/2/56605f6bbf475dfc811548fcd2aaf63a.jpg","text":"TemporaryFile(/tmp/multipartBody2921839313132732672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167913656,"filename":"image_02052025_05_00_56_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/50e13880d78c48186d063cd9de77febe.jpg","text":"TemporaryFile(/tmp/multipartBody7838304591022419226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167913656,"filename":"image_02052025_04_59_55_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/37c84dd5047c3820dac5ebe13ad67d79.jpg","text":"TemporaryFile(/tmp/multipartBody5307910050728144241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167913656,"filename":"image_02052025_05_00_36_10561.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1d03527adfb319fc3bd2dba94954bc6.jpg","text":"TemporaryFile(/tmp/multipartBody2682779513427141766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167913656,"filename":"image_02052025_05_00_15_10074.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237508","file1":"1355237505","file0":"1355237501","file4":"1355237514","file5":"1355237516","file3":"1355237512"},"map_files_photo_id_array":[{"photo_id":"1355237516","filename":"file5"},{"photo_id":"1355237508","filename":"file2"},{"photo_id":"1355237514","filename":"file4"},{"photo_id":"1355237505","filename":"file1"},{"photo_id":"1355237501","filename":"file0"},{"photo_id":"1355237512","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237514":["hashtag1","hashtag2"]},{"1355237508":["hashtag1","hashtag2"]},{"1355237516":["hashtag1","hashtag2"]},{"1355237501":["hashtag1","hashtag2"]},{"1355237512":["hashtag1","hashtag2"]},{"1355237505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237514, 1355237508, 1355237516, 1355237501, 1355237512, 1355237505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15849590301514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:38:32.310252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/00/image_02052025_05_01_05_9356.jpg', '/home/pi/Desktop/images/02052025/05/01/image_02052025_05_01_16_10378.jpg', '/home/pi/Desktop/images/02052025/05/01/image_02052025_05_01_26_10368.jpg', '/home/pi/Desktop/images/02052025/05/01/image_02052025_05_01_36_9366.jpg', '/home/pi/Desktop/images/02052025/05/01/image_02052025_05_01_46_10383.jpg', '/home/pi/Desktop/images/02052025/05/01/image_02052025_05_01_55_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/00/image_02052025_05_01_05_9356.jpg
/home/pi/Desktop/images/02052025/05/01/image_02052025_05_01_16_10378.jpg
/home/pi/Desktop/images/02052025/05/01/image_02052025_05_01_26_10368.jpg
/home/pi/Desktop/images/02052025/05/01/image_02052025_05_01_36_9366.jpg
/home/pi/Desktop/images/02052025/05/01/image_02052025_05_01_46_10383.jpg
/home/pi/Desktop/images/02052025/05/01/image_02052025_05_01_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":["1355237552","1355237555","1355237549","1355237545","1355237541","1355237535"],"photo_ids_order":["1355237535","1355237541","1355237545","1355237549","1355237552","1355237555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a357be2cb71942d8dd6698b0d07ef89.jpg","text":"TemporaryFile(/tmp/multipartBody4911434997626858896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167972848,"filename":"image_02052025_05_01_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/459dfa818a40fc5f8379f3749860a2f1.jpg","text":"TemporaryFile(/tmp/multipartBody6910131325794461032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167972848,"filename":"image_02052025_05_01_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/5/2/b4ac4f9c4311bb261fa36c2a97038edd.jpg","text":"TemporaryFile(/tmp/multipartBody7507105311043180989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167972848,"filename":"image_02052025_05_01_36_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41de6dbaa45e1b54980ecdf0fee61b36.jpg","text":"TemporaryFile(/tmp/multipartBody5714156344341018152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167972848,"filename":"image_02052025_05_01_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f1516f6d138e4268ac55566d614c67f3.jpg","text":"TemporaryFile(/tmp/multipartBody2200071463974463737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167972848,"filename":"image_02052025_05_01_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/5/2/b4965e412d3a453ae1f4c5a15bfb55e6.jpg","text":"TemporaryFile(/tmp/multipartBody152900570457022551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746167972848,"filename":"image_02052025_05_01_05_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237545","file1":"1355237541","file0":"1355237535","file4":"1355237552","file5":"1355237555","file3":"1355237549"},"map_files_photo_id_array":[{"photo_id":"1355237555","filename":"file5"},{"photo_id":"1355237545","filename":"file2"},{"photo_id":"1355237552","filename":"file4"},{"photo_id":"1355237541","filename":"file1"},{"photo_id":"1355237535","filename":"file0"},{"photo_id":"1355237549","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237552":["hashtag1","hashtag2"]},{"1355237555":["hashtag1","hashtag2"]},{"1355237549":["hashtag1","hashtag2"]},{"1355237545":["hashtag1","hashtag2"]},{"1355237541":["hashtag1","hashtag2"]},{"1355237535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237552, 1355237555, 1355237549, 1355237545, 1355237541, 1355237535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.660597324371338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:39:32.589833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/01/image_02052025_05_02_06_10414.jpg', '/home/pi/Desktop/images/02052025/05/02/image_02052025_05_02_16_10472.jpg', '/home/pi/Desktop/images/02052025/05/02/image_02052025_05_02_26_9365.jpg', '/home/pi/Desktop/images/02052025/05/02/image_02052025_05_02_36_10466.jpg', '/home/pi/Desktop/images/02052025/05/02/image_02052025_05_02_46_9440.jpg', '/home/pi/Desktop/images/02052025/05/02/image_02052025_05_02_56_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/01/image_02052025_05_02_06_10414.jpg
/home/pi/Desktop/images/02052025/05/02/image_02052025_05_02_16_10472.jpg
/home/pi/Desktop/images/02052025/05/02/image_02052025_05_02_26_9365.jpg
/home/pi/Desktop/images/02052025/05/02/image_02052025_05_02_36_10466.jpg
/home/pi/Desktop/images/02052025/05/02/image_02052025_05_02_46_9440.jpg
/home/pi/Desktop/images/02052025/05/02/image_02052025_05_02_56_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355237582","1355237594","1355237627","1355237602","1355237622","1355237625"],"photo_ids_order":["1355237582","1355237594","1355237602","1355237622","1355237625","1355237627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc19fc16ebb0c8538915a4521948c97e.jpg","text":"TemporaryFile(/tmp/multipartBody5330767832742999077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168033135,"filename":"image_02052025_05_02_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/5/2/930cf8262aba171cd92438fa28e9b8d4.jpg","text":"TemporaryFile(/tmp/multipartBody8916576664654910152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168033135,"filename":"image_02052025_05_02_16_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b97cfbf6fe785863bbeecffe85b07c56.jpg","text":"TemporaryFile(/tmp/multipartBody7656638410645017321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168033135,"filename":"image_02052025_05_02_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/5/2/3cc246c9f9e676595815e0aeb86405f5.jpg","text":"TemporaryFile(/tmp/multipartBody4388033597089542123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168033135,"filename":"image_02052025_05_02_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f11ce391e177a2eab00a2d5f33b102ba.jpg","text":"TemporaryFile(/tmp/multipartBody7163826822348121745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168033135,"filename":"image_02052025_05_02_36_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b6daaf43dea6e9a9ec992f014b958953.jpg","text":"TemporaryFile(/tmp/multipartBody2368088550138883654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168033135,"filename":"image_02052025_05_02_46_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237602","file1":"1355237594","file0":"1355237582","file4":"1355237625","file5":"1355237627","file3":"1355237622"},"map_files_photo_id_array":[{"photo_id":"1355237627","filename":"file5"},{"photo_id":"1355237602","filename":"file2"},{"photo_id":"1355237625","filename":"file4"},{"photo_id":"1355237594","filename":"file1"},{"photo_id":"1355237582","filename":"file0"},{"photo_id":"1355237622","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237582":["hashtag1","hashtag2"]},{"1355237594":["hashtag1","hashtag2"]},{"1355237627":["hashtag1","hashtag2"]},{"1355237602":["hashtag1","hashtag2"]},{"1355237622":["hashtag1","hashtag2"]},{"1355237625":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237582, 1355237594, 1355237627, 1355237602, 1355237622, 1355237625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62899470329285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:40:32.330279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/02/image_02052025_05_03_05_9452.jpg', '/home/pi/Desktop/images/02052025/05/03/image_02052025_05_03_16_10419.jpg', '/home/pi/Desktop/images/02052025/05/03/image_02052025_05_03_25_9660.jpg', '/home/pi/Desktop/images/02052025/05/04/image_02052025_05_04_15_9347.jpg', '/home/pi/Desktop/images/02052025/05/04/image_02052025_05_04_26_10370.jpg', '/home/pi/Desktop/images/02052025/05/04/image_02052025_05_04_46_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/02/image_02052025_05_03_05_9452.jpg
/home/pi/Desktop/images/02052025/05/03/image_02052025_05_03_16_10419.jpg
/home/pi/Desktop/images/02052025/05/03/image_02052025_05_03_25_9660.jpg
/home/pi/Desktop/images/02052025/05/04/image_02052025_05_04_15_9347.jpg
/home/pi/Desktop/images/02052025/05/04/image_02052025_05_04_26_10370.jpg
/home/pi/Desktop/images/02052025/05/04/image_02052025_05_04_46_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":["1355237666","1355237669","1355237654","1355237677","1355237659","1355237673"],"photo_ids_order":["1355237654","1355237659","1355237666","1355237669","1355237673","1355237677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f5e3cf7222577e3f56868929a83a5f7d.jpg","text":"TemporaryFile(/tmp/multipartBody7697653542452775846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168092943,"filename":"image_02052025_05_03_25_9660.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/35ef8897e6547a3594807bfb0b266da4.jpg","text":"TemporaryFile(/tmp/multipartBody476153641477038319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168092943,"filename":"image_02052025_05_04_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/5/2/3d672a982eca1c67697acf1db37977df.jpg","text":"TemporaryFile(/tmp/multipartBody147849489983694250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168092943,"filename":"image_02052025_05_03_05_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7fc2d58ac6db4d4ad48831220f212ed.jpg","text":"TemporaryFile(/tmp/multipartBody8684788362483787521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168092943,"filename":"image_02052025_05_04_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/5/2/422fe66518215cc004e66144380beb7f.jpg","text":"TemporaryFile(/tmp/multipartBody4803615205039966078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168092943,"filename":"image_02052025_05_03_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/5/2/cb14e895b0fee3dd272be99bc4fb260b.jpg","text":"TemporaryFile(/tmp/multipartBody3091312360833236964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168092943,"filename":"image_02052025_05_04_26_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237666","file1":"1355237659","file0":"1355237654","file4":"1355237673","file5":"1355237677","file3":"1355237669"},"map_files_photo_id_array":[{"photo_id":"1355237677","filename":"file5"},{"photo_id":"1355237666","filename":"file2"},{"photo_id":"1355237673","filename":"file4"},{"photo_id":"1355237659","filename":"file1"},{"photo_id":"1355237654","filename":"file0"},{"photo_id":"1355237669","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237666":["hashtag1","hashtag2"]},{"1355237669":["hashtag1","hashtag2"]},{"1355237654":["hashtag1","hashtag2"]},{"1355237677":["hashtag1","hashtag2"]},{"1355237659":["hashtag1","hashtag2"]},{"1355237673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237666, 1355237669, 1355237654, 1355237677, 1355237659, 1355237673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94829988479614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:41:32.470080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/04/image_02052025_05_04_56_10374.jpg', '/home/pi/Desktop/images/02052025/05/04/image_02052025_05_05_05_9425.jpg', '/home/pi/Desktop/images/02052025/05/05/image_02052025_05_05_16_10354.jpg', '/home/pi/Desktop/images/02052025/05/05/image_02052025_05_05_26_10464.jpg', '/home/pi/Desktop/images/02052025/05/05/image_02052025_05_05_36_9356.jpg', '/home/pi/Desktop/images/02052025/05/05/image_02052025_05_05_55_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/04/image_02052025_05_04_56_10374.jpg
/home/pi/Desktop/images/02052025/05/04/image_02052025_05_05_05_9425.jpg
/home/pi/Desktop/images/02052025/05/05/image_02052025_05_05_16_10354.jpg
/home/pi/Desktop/images/02052025/05/05/image_02052025_05_05_26_10464.jpg
/home/pi/Desktop/images/02052025/05/05/image_02052025_05_05_36_9356.jpg
/home/pi/Desktop/images/02052025/05/05/image_02052025_05_05_55_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355237732","1355237729","1355237711","1355237719","1355237701","1355237724"],"photo_ids_order":["1355237701","1355237711","1355237719","1355237724","1355237729","1355237732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd067affdbcbb6708e8d30de2e5b4ae0.jpg","text":"TemporaryFile(/tmp/multipartBody2676746856738317917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168153007,"filename":"image_02052025_05_05_55_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/071b05def6846be19c0e6cddf50490f5.jpg","text":"TemporaryFile(/tmp/multipartBody2871059608327891820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168153007,"filename":"image_02052025_05_05_36_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e167809f7c70127ab07d5fc7d3f66934.jpg","text":"TemporaryFile(/tmp/multipartBody6664931222020163814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168153007,"filename":"image_02052025_05_05_05_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8441fc3ee92d829e5f9f7511f2370dd.jpg","text":"TemporaryFile(/tmp/multipartBody5751987698754576605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168153007,"filename":"image_02052025_05_05_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/5/2/a02f70e0b3aefca8c4bd5c9ce7312acc.jpg","text":"TemporaryFile(/tmp/multipartBody5106431301772511587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168153007,"filename":"image_02052025_05_04_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c62fd0810fd99fdc92d02ec8a8d43cca.jpg","text":"TemporaryFile(/tmp/multipartBody5640587151075366679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168153007,"filename":"image_02052025_05_05_26_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237719","file1":"1355237711","file0":"1355237701","file4":"1355237729","file5":"1355237732","file3":"1355237724"},"map_files_photo_id_array":[{"photo_id":"1355237732","filename":"file5"},{"photo_id":"1355237719","filename":"file2"},{"photo_id":"1355237729","filename":"file4"},{"photo_id":"1355237711","filename":"file1"},{"photo_id":"1355237701","filename":"file0"},{"photo_id":"1355237724","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237732":["hashtag1","hashtag2"]},{"1355237729":["hashtag1","hashtag2"]},{"1355237711":["hashtag1","hashtag2"]},{"1355237719":["hashtag1","hashtag2"]},{"1355237701":["hashtag1","hashtag2"]},{"1355237724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237732, 1355237729, 1355237711, 1355237719, 1355237701, 1355237724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.682786226272583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:42:32.722192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/06/image_02052025_05_06_16_10373.jpg', '/home/pi/Desktop/images/02052025/05/06/image_02052025_05_06_26_9431.jpg', '/home/pi/Desktop/images/02052025/05/06/image_02052025_05_06_36_10385.jpg', '/home/pi/Desktop/images/02052025/05/06/image_02052025_05_06_45_9432.jpg', '/home/pi/Desktop/images/02052025/05/07/image_02052025_05_07_16_9456.jpg', '/home/pi/Desktop/images/02052025/05/07/image_02052025_05_07_26_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/06/image_02052025_05_06_16_10373.jpg
/home/pi/Desktop/images/02052025/05/06/image_02052025_05_06_26_9431.jpg
/home/pi/Desktop/images/02052025/05/06/image_02052025_05_06_36_10385.jpg
/home/pi/Desktop/images/02052025/05/06/image_02052025_05_06_45_9432.jpg
/home/pi/Desktop/images/02052025/05/07/image_02052025_05_07_16_9456.jpg
/home/pi/Desktop/images/02052025/05/07/image_02052025_05_07_26_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355237762","1355237750","1355237785","1355237779","1355237769","1355237754"],"photo_ids_order":["1355237750","1355237754","1355237762","1355237769","1355237779","1355237785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/10a933ddd024743d75938d6f86c9d100.jpg","text":"TemporaryFile(/tmp/multipartBody7213236328270002837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168213262,"filename":"image_02052025_05_06_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/5/2/c0de7363890c813b73cc7f830a587b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3255705507478969292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168213262,"filename":"image_02052025_05_06_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de787ea3d1504a835ce46e2b50d8689c.jpg","text":"TemporaryFile(/tmp/multipartBody4857658593773697353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168213262,"filename":"image_02052025_05_07_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/5/2/fb157e81418f13e439046e237a096e6d.jpg","text":"TemporaryFile(/tmp/multipartBody239772735161710388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168213262,"filename":"image_02052025_05_07_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/5/2/d3a2a73fb77e8d0ecc2698a0caaa3afd.jpg","text":"TemporaryFile(/tmp/multipartBody3232527817579895517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168213262,"filename":"image_02052025_05_06_45_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b2aa63b9e184104bd96678abc876788.jpg","text":"TemporaryFile(/tmp/multipartBody2306053670336733912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168213262,"filename":"image_02052025_05_06_26_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237762","file1":"1355237754","file0":"1355237750","file4":"1355237779","file5":"1355237785","file3":"1355237769"},"map_files_photo_id_array":[{"photo_id":"1355237785","filename":"file5"},{"photo_id":"1355237762","filename":"file2"},{"photo_id":"1355237779","filename":"file4"},{"photo_id":"1355237754","filename":"file1"},{"photo_id":"1355237750","filename":"file0"},{"photo_id":"1355237769","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237762":["hashtag1","hashtag2"]},{"1355237750":["hashtag1","hashtag2"]},{"1355237785":["hashtag1","hashtag2"]},{"1355237779":["hashtag1","hashtag2"]},{"1355237769":["hashtag1","hashtag2"]},{"1355237754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237762, 1355237750, 1355237785, 1355237779, 1355237769, 1355237754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.837223291397095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:43:33.047702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/07/image_02052025_05_07_36_10428.jpg', '/home/pi/Desktop/images/02052025/05/07/image_02052025_05_07_46_9371.jpg', '/home/pi/Desktop/images/02052025/05/07/image_02052025_05_08_05_9370.jpg', '/home/pi/Desktop/images/02052025/05/08/image_02052025_05_08_16_10364.jpg', '/home/pi/Desktop/images/02052025/05/08/image_02052025_05_08_26_10491.jpg', '/home/pi/Desktop/images/02052025/05/08/image_02052025_05_08_36_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/07/image_02052025_05_07_36_10428.jpg
/home/pi/Desktop/images/02052025/05/07/image_02052025_05_07_46_9371.jpg
/home/pi/Desktop/images/02052025/05/07/image_02052025_05_08_05_9370.jpg
/home/pi/Desktop/images/02052025/05/08/image_02052025_05_08_16_10364.jpg
/home/pi/Desktop/images/02052025/05/08/image_02052025_05_08_26_10491.jpg
/home/pi/Desktop/images/02052025/05/08/image_02052025_05_08_36_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":["1355237831","1355237833","1355237827","1355237815","1355237820","1355237823"],"photo_ids_order":["1355237815","1355237820","1355237823","1355237827","1355237831","1355237833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4c077d9a3f799edb08bbb0f66d64614.jpg","text":"TemporaryFile(/tmp/multipartBody6421983451062788695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168273603,"filename":"image_02052025_05_08_26_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd88682d2045ddef7f2b9f07544f8b51.jpg","text":"TemporaryFile(/tmp/multipartBody7208377800318487729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168273603,"filename":"image_02052025_05_08_36_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11200799c4f208e7b2bdd7a1d9bb71c2.jpg","text":"TemporaryFile(/tmp/multipartBody6400113526359996439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168273603,"filename":"image_02052025_05_08_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/375558e9eedb3451e060272900ce550a.jpg","text":"TemporaryFile(/tmp/multipartBody5443442822759497158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168273603,"filename":"image_02052025_05_07_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/125be21e1937e7d9685de7c34e72f96d.jpg","text":"TemporaryFile(/tmp/multipartBody7587932288260892915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168273603,"filename":"image_02052025_05_07_46_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34ac2f86eff92c49829df7e103d3c539.jpg","text":"TemporaryFile(/tmp/multipartBody1806297457401957495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168273603,"filename":"image_02052025_05_08_05_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237823","file1":"1355237820","file0":"1355237815","file4":"1355237831","file5":"1355237833","file3":"1355237827"},"map_files_photo_id_array":[{"photo_id":"1355237833","filename":"file5"},{"photo_id":"1355237823","filename":"file2"},{"photo_id":"1355237831","filename":"file4"},{"photo_id":"1355237820","filename":"file1"},{"photo_id":"1355237815","filename":"file0"},{"photo_id":"1355237827","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237831":["hashtag1","hashtag2"]},{"1355237833":["hashtag1","hashtag2"]},{"1355237827":["hashtag1","hashtag2"]},{"1355237815":["hashtag1","hashtag2"]},{"1355237820":["hashtag1","hashtag2"]},{"1355237823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237831, 1355237833, 1355237827, 1355237815, 1355237820, 1355237823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.073033571243286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:44:32.143458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/08/image_02052025_05_08_46_10364.jpg', '/home/pi/Desktop/images/02052025/05/08/image_02052025_05_08_55_9361.jpg', '/home/pi/Desktop/images/02052025/05/08/image_02052025_05_09_06_10420.jpg', '/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_15_9482.jpg', '/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_26_10398.jpg', '/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_36_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/08/image_02052025_05_08_46_10364.jpg
/home/pi/Desktop/images/02052025/05/08/image_02052025_05_08_55_9361.jpg
/home/pi/Desktop/images/02052025/05/08/image_02052025_05_09_06_10420.jpg
/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_15_9482.jpg
/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_26_10398.jpg
/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_36_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":["1355237925","1355237899","1355237872","1355237883","1355237877","1355237916"],"photo_ids_order":["1355237872","1355237877","1355237883","1355237899","1355237916","1355237925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/43f6e48c5d1d5b56e6761741cd63309a.jpg","text":"TemporaryFile(/tmp/multipartBody8300002584403067894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168332760,"filename":"image_02052025_05_09_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/5/2/0418855fa5402030c4dbeccd9aeeba11.jpg","text":"TemporaryFile(/tmp/multipartBody2293399973468262720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168332760,"filename":"image_02052025_05_09_15_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ea75dfc3d88a3a74075308b2849bd89.jpg","text":"TemporaryFile(/tmp/multipartBody2213766791303592776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168332760,"filename":"image_02052025_05_08_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/5/2/baaf85151f041d339008057c244eb259.jpg","text":"TemporaryFile(/tmp/multipartBody2326791346840123140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168332760,"filename":"image_02052025_05_09_06_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b6a2a9534a37a94da037f1aece8f09c.jpg","text":"TemporaryFile(/tmp/multipartBody8830951067632009765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168332760,"filename":"image_02052025_05_08_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/5/2/8276be73c34807f4e895297d1de7cf3f.jpg","text":"TemporaryFile(/tmp/multipartBody4283968232956852909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168332760,"filename":"image_02052025_05_09_26_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237883","file1":"1355237877","file0":"1355237872","file4":"1355237916","file5":"1355237925","file3":"1355237899"},"map_files_photo_id_array":[{"photo_id":"1355237925","filename":"file5"},{"photo_id":"1355237883","filename":"file2"},{"photo_id":"1355237916","filename":"file4"},{"photo_id":"1355237877","filename":"file1"},{"photo_id":"1355237872","filename":"file0"},{"photo_id":"1355237899","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237925":["hashtag1","hashtag2"]},{"1355237899":["hashtag1","hashtag2"]},{"1355237872":["hashtag1","hashtag2"]},{"1355237883":["hashtag1","hashtag2"]},{"1355237877":["hashtag1","hashtag2"]},{"1355237916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237925, 1355237899, 1355237872, 1355237883, 1355237877, 1355237916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.290095806121826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:45:32.367961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_46_9402.jpg', '/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_56_10365.jpg', '/home/pi/Desktop/images/02052025/05/09/image_02052025_05_10_06_10424.jpg', '/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_16_9337.jpg', '/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_26_10449.jpg', '/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_35_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_46_9402.jpg
/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_56_10365.jpg
/home/pi/Desktop/images/02052025/05/09/image_02052025_05_10_06_10424.jpg
/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_16_9337.jpg
/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_26_10449.jpg
/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_35_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355237987","1355237957","1355237965","1355237962","1355237970","1355237952"],"photo_ids_order":["1355237952","1355237957","1355237962","1355237965","1355237970","1355237987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b4a97156842745399cabfd86bc6e6729.jpg","text":"TemporaryFile(/tmp/multipartBody3978719403731650277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168392956,"filename":"image_02052025_05_10_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a5eea164583ee8466b82029b982b026.jpg","text":"TemporaryFile(/tmp/multipartBody6307405227293156607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168392956,"filename":"image_02052025_05_09_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/5/2/f4b5e7ac9f7fa42a4067b5acc1c8cb5f.jpg","text":"TemporaryFile(/tmp/multipartBody4710499427776539291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168392956,"filename":"image_02052025_05_10_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/5/2/037a089707bf311c56f0b5e6f80ee071.jpg","text":"TemporaryFile(/tmp/multipartBody8594453714965500940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168392956,"filename":"image_02052025_05_10_06_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/73e4482011f4aa22526cf1cfec4a92c3.jpg","text":"TemporaryFile(/tmp/multipartBody8489348231059328636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168392956,"filename":"image_02052025_05_10_26_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/02d6679142257c70c9b1f9635f35bdf9.jpg","text":"TemporaryFile(/tmp/multipartBody7723420250728215546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168392956,"filename":"image_02052025_05_09_46_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355237962","file1":"1355237957","file0":"1355237952","file4":"1355237970","file5":"1355237987","file3":"1355237965"},"map_files_photo_id_array":[{"photo_id":"1355237987","filename":"file5"},{"photo_id":"1355237962","filename":"file2"},{"photo_id":"1355237970","filename":"file4"},{"photo_id":"1355237957","filename":"file1"},{"photo_id":"1355237952","filename":"file0"},{"photo_id":"1355237965","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355237987":["hashtag1","hashtag2"]},{"1355237957":["hashtag1","hashtag2"]},{"1355237965":["hashtag1","hashtag2"]},{"1355237962":["hashtag1","hashtag2"]},{"1355237970":["hashtag1","hashtag2"]},{"1355237952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355237987, 1355237957, 1355237965, 1355237962, 1355237970, 1355237952)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1355237962 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02052025/05/09/image_02052025_05_10_06_10424.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1355237962 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02052025/05/09/image_02052025_05_10_06_10424.jpg";
uploaded 6 photos
time to upload: 59.55613970756531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 08:46:42.578670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
2025-05-02 08:46:58.154497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:47:32.401549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_46_9402.jpg', '/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_56_10365.jpg', '/home/pi/Desktop/images/02052025/05/09/image_02052025_05_10_06_10424.jpg', '/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_16_9337.jpg', '/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_26_10449.jpg', '/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_35_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_46_9402.jpg
/home/pi/Desktop/images/02052025/05/09/image_02052025_05_09_56_10365.jpg
/home/pi/Desktop/images/02052025/05/09/image_02052025_05_10_06_10424.jpg
/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_16_9337.jpg
/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_26_10449.jpg
/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_35_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355238221","1355238184","1355238175","1355238217","1355238189","1355238210"],"photo_ids_order":["1355238175","1355238184","1355238189","1355238210","1355238217","1355238221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d177be4854b097413d7c4768f3fca98.jpg","text":"TemporaryFile(/tmp/multipartBody920887480541838549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168512861,"filename":"image_02052025_05_10_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4aaafd42a7ee54ee4aba3e5c1c56665d.jpg","text":"TemporaryFile(/tmp/multipartBody4415739478113164458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168512861,"filename":"image_02052025_05_09_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/5/2/c5d5344d19a9f37564cf05ecf7002c12.jpg","text":"TemporaryFile(/tmp/multipartBody6187382217398034244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168512861,"filename":"image_02052025_05_09_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/5/2/2cb6e3eaf50b04a0f8957a74b3c41f02.jpg","text":"TemporaryFile(/tmp/multipartBody6116896013590076510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168512861,"filename":"image_02052025_05_10_26_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc9a5e57c7f1de09a8084487e0e8ef9a.jpg","text":"TemporaryFile(/tmp/multipartBody7398377617210265177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168512861,"filename":"image_02052025_05_10_06_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/837c8c3795272813b3c5539f2f101582.jpg","text":"TemporaryFile(/tmp/multipartBody442536052142632383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168512861,"filename":"image_02052025_05_10_16_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355238189","file1":"1355238184","file0":"1355238175","file4":"1355238217","file5":"1355238221","file3":"1355238210"},"map_files_photo_id_array":[{"photo_id":"1355238221","filename":"file5"},{"photo_id":"1355238189","filename":"file2"},{"photo_id":"1355238217","filename":"file4"},{"photo_id":"1355238184","filename":"file1"},{"photo_id":"1355238175","filename":"file0"},{"photo_id":"1355238210","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355238221":["hashtag1","hashtag2"]},{"1355238184":["hashtag1","hashtag2"]},{"1355238175":["hashtag1","hashtag2"]},{"1355238217":["hashtag1","hashtag2"]},{"1355238189":["hashtag1","hashtag2"]},{"1355238210":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355238221, 1355238184, 1355238175, 1355238217, 1355238189, 1355238210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.034802198410034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:48:32.533445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_46_10361.jpg', '/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_56_10427.jpg', '/home/pi/Desktop/images/02052025/05/10/image_02052025_05_11_06_9351.jpg', '/home/pi/Desktop/images/02052025/05/11/image_02052025_05_11_16_10367.jpg', '/home/pi/Desktop/images/02052025/05/11/image_02052025_05_11_25_9420.jpg', '/home/pi/Desktop/images/02052025/05/11/image_02052025_05_11_36_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_46_10361.jpg
/home/pi/Desktop/images/02052025/05/10/image_02052025_05_10_56_10427.jpg
/home/pi/Desktop/images/02052025/05/10/image_02052025_05_11_06_9351.jpg
/home/pi/Desktop/images/02052025/05/11/image_02052025_05_11_16_10367.jpg
/home/pi/Desktop/images/02052025/05/11/image_02052025_05_11_25_9420.jpg
/home/pi/Desktop/images/02052025/05/11/image_02052025_05_11_36_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":["1355238374","1355238349","1355238372","1355238369","1355238363","1355238359"],"photo_ids_order":["1355238349","1355238359","1355238363","1355238369","1355238372","1355238374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7235685248d1af806baf33c0f241095e.jpg","text":"TemporaryFile(/tmp/multipartBody6853987668520912163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168573083,"filename":"image_02052025_05_11_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/5/2/6674527a50fbbb82d3141a315f14d678.jpg","text":"TemporaryFile(/tmp/multipartBody4762014297900165691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168573083,"filename":"image_02052025_05_10_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/5/2/7a1e3043bed24815951f6c82f382a7ad.jpg","text":"TemporaryFile(/tmp/multipartBody8648074475410631746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168573083,"filename":"image_02052025_05_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/5/2/c66383819bd4b75e22c2526b018ceb13.jpg","text":"TemporaryFile(/tmp/multipartBody6679923781225117407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168573083,"filename":"image_02052025_05_11_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/5/2/0cf1faa311742e594c5a456cfb1ff763.jpg","text":"TemporaryFile(/tmp/multipartBody4605629237213086564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168573083,"filename":"image_02052025_05_11_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/5/2/f2c55dd24b0f41828df0dcc29f5ef4b1.jpg","text":"TemporaryFile(/tmp/multipartBody208982155924950254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168573083,"filename":"image_02052025_05_10_56_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355238363","file1":"1355238359","file0":"1355238349","file4":"1355238372","file5":"1355238374","file3":"1355238369"},"map_files_photo_id_array":[{"photo_id":"1355238374","filename":"file5"},{"photo_id":"1355238363","filename":"file2"},{"photo_id":"1355238372","filename":"file4"},{"photo_id":"1355238359","filename":"file1"},{"photo_id":"1355238349","filename":"file0"},{"photo_id":"1355238369","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355238374":["hashtag1","hashtag2"]},{"1355238349":["hashtag1","hashtag2"]},{"1355238372":["hashtag1","hashtag2"]},{"1355238369":["hashtag1","hashtag2"]},{"1355238363":["hashtag1","hashtag2"]},{"1355238359":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355238374, 1355238349, 1355238372, 1355238369, 1355238363, 1355238359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.377516746520996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:49:32.712215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/11/image_02052025_05_11_46_10377.jpg', '/home/pi/Desktop/images/02052025/05/11/image_02052025_05_11_56_9414.jpg', '/home/pi/Desktop/images/02052025/05/11/image_02052025_05_12_06_10355.jpg', '/home/pi/Desktop/images/02052025/05/12/image_02052025_05_12_16_10438.jpg', '/home/pi/Desktop/images/02052025/05/12/image_02052025_05_12_26_9365.jpg', '/home/pi/Desktop/images/02052025/05/12/image_02052025_05_12_36_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/11/image_02052025_05_11_46_10377.jpg
/home/pi/Desktop/images/02052025/05/11/image_02052025_05_11_56_9414.jpg
/home/pi/Desktop/images/02052025/05/11/image_02052025_05_12_06_10355.jpg
/home/pi/Desktop/images/02052025/05/12/image_02052025_05_12_16_10438.jpg
/home/pi/Desktop/images/02052025/05/12/image_02052025_05_12_26_9365.jpg
/home/pi/Desktop/images/02052025/05/12/image_02052025_05_12_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":["1355238416","1355238410","1355238404","1355238454","1355238457","1355238400"],"photo_ids_order":["1355238400","1355238404","1355238410","1355238416","1355238454","1355238457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65cdef5d74ab92e5517f27b634d6cf75.jpg","text":"TemporaryFile(/tmp/multipartBody4939542511086930961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168633240,"filename":"image_02052025_05_12_16_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/359816a8ba21cfe9571699662404004a.jpg","text":"TemporaryFile(/tmp/multipartBody201939318100147873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168633240,"filename":"image_02052025_05_12_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cc2a579286fc7455670430b06aa2d3d1.jpg","text":"TemporaryFile(/tmp/multipartBody2657716186656192357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168633240,"filename":"image_02052025_05_11_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/5/2/137fc4981ea7f20c2bce9799f90b1b2a.jpg","text":"TemporaryFile(/tmp/multipartBody2109278619046679883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168633240,"filename":"image_02052025_05_12_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fab6cb8c514743f26f3c5fc316aa28da.jpg","text":"TemporaryFile(/tmp/multipartBody5259701246256720847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168633240,"filename":"image_02052025_05_12_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/5/2/7e4aee165297f4f7aad970951b0d4a58.jpg","text":"TemporaryFile(/tmp/multipartBody7737193189875780449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168633240,"filename":"image_02052025_05_11_46_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355238410","file1":"1355238404","file0":"1355238400","file4":"1355238454","file5":"1355238457","file3":"1355238416"},"map_files_photo_id_array":[{"photo_id":"1355238457","filename":"file5"},{"photo_id":"1355238410","filename":"file2"},{"photo_id":"1355238454","filename":"file4"},{"photo_id":"1355238404","filename":"file1"},{"photo_id":"1355238400","filename":"file0"},{"photo_id":"1355238416","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355238416":["hashtag1","hashtag2"]},{"1355238410":["hashtag1","hashtag2"]},{"1355238404":["hashtag1","hashtag2"]},{"1355238454":["hashtag1","hashtag2"]},{"1355238457":["hashtag1","hashtag2"]},{"1355238400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355238416, 1355238410, 1355238404, 1355238454, 1355238457, 1355238400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7338593006134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:50:32.980584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/12/image_02052025_05_12_45_9431.jpg', '/home/pi/Desktop/images/02052025/05/12/image_02052025_05_12_56_10355.jpg', '/home/pi/Desktop/images/02052025/05/12/image_02052025_05_13_06_10409.jpg', '/home/pi/Desktop/images/02052025/05/13/image_02052025_05_13_16_9361.jpg', '/home/pi/Desktop/images/02052025/05/13/image_02052025_05_13_26_10405.jpg', '/home/pi/Desktop/images/02052025/05/13/image_02052025_05_13_35_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/12/image_02052025_05_12_45_9431.jpg
/home/pi/Desktop/images/02052025/05/12/image_02052025_05_12_56_10355.jpg
/home/pi/Desktop/images/02052025/05/12/image_02052025_05_13_06_10409.jpg
/home/pi/Desktop/images/02052025/05/13/image_02052025_05_13_16_9361.jpg
/home/pi/Desktop/images/02052025/05/13/image_02052025_05_13_26_10405.jpg
/home/pi/Desktop/images/02052025/05/13/image_02052025_05_13_35_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355238539","1355238503","1355238496","1355238529","1355238546","1355238516"],"photo_ids_order":["1355238496","1355238503","1355238516","1355238529","1355238539","1355238546"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/776390720e109c85abf77cf6576cbc9f.jpg","text":"TemporaryFile(/tmp/multipartBody639959387842294632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168693517,"filename":"image_02052025_05_13_26_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/88a6b3928d42e39565b0357aacb7243e.jpg","text":"TemporaryFile(/tmp/multipartBody1189959476493040053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168693517,"filename":"image_02052025_05_12_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/5/2/430e5d10e536f099fe3987f915358811.jpg","text":"TemporaryFile(/tmp/multipartBody2344645603543271253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168693517,"filename":"image_02052025_05_12_45_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a0df27aa017f1458252c70e28011f3b4.jpg","text":"TemporaryFile(/tmp/multipartBody297692153735162716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168693517,"filename":"image_02052025_05_13_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/5/2/9b323d5672e6de5b9aa85cc7813fa55b.jpg","text":"TemporaryFile(/tmp/multipartBody7923723148697187167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168693517,"filename":"image_02052025_05_13_35_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0b44ab142e00ab2cf15c8901cbef94d.jpg","text":"TemporaryFile(/tmp/multipartBody4624525641171132776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168693517,"filename":"image_02052025_05_13_06_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355238516","file1":"1355238503","file0":"1355238496","file4":"1355238539","file5":"1355238546","file3":"1355238529"},"map_files_photo_id_array":[{"photo_id":"1355238546","filename":"file5"},{"photo_id":"1355238516","filename":"file2"},{"photo_id":"1355238539","filename":"file4"},{"photo_id":"1355238503","filename":"file1"},{"photo_id":"1355238496","filename":"file0"},{"photo_id":"1355238529","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355238539":["hashtag1","hashtag2"]},{"1355238503":["hashtag1","hashtag2"]},{"1355238496":["hashtag1","hashtag2"]},{"1355238529":["hashtag1","hashtag2"]},{"1355238546":["hashtag1","hashtag2"]},{"1355238516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355238539, 1355238503, 1355238496, 1355238529, 1355238546, 1355238516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.191004753112793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:51:33.125698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/13/image_02052025_05_13_46_10350.jpg', '/home/pi/Desktop/images/02052025/05/13/image_02052025_05_13_56_10359.jpg', '/home/pi/Desktop/images/02052025/05/14/image_02052025_05_14_16_10365.jpg', '/home/pi/Desktop/images/02052025/05/14/image_02052025_05_14_25_9457.jpg', '/home/pi/Desktop/images/02052025/05/14/image_02052025_05_14_36_10419.jpg', '/home/pi/Desktop/images/02052025/05/14/image_02052025_05_14_46_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/13/image_02052025_05_13_46_10350.jpg
/home/pi/Desktop/images/02052025/05/13/image_02052025_05_13_56_10359.jpg
/home/pi/Desktop/images/02052025/05/14/image_02052025_05_14_16_10365.jpg
/home/pi/Desktop/images/02052025/05/14/image_02052025_05_14_25_9457.jpg
/home/pi/Desktop/images/02052025/05/14/image_02052025_05_14_36_10419.jpg
/home/pi/Desktop/images/02052025/05/14/image_02052025_05_14_46_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355238770","1355238809","1355238790","1355238763","1355238801","1355238794"],"photo_ids_order":["1355238763","1355238770","1355238790","1355238794","1355238801","1355238809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56ce56fa6bbbeea0647865be955d9e92.jpg","text":"TemporaryFile(/tmp/multipartBody4909996961650385046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168753659,"filename":"image_02052025_05_13_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/5/2/e107cff842dbcb653d00a0ce2ef1bf40.jpg","text":"TemporaryFile(/tmp/multipartBody1959955760481182421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168753659,"filename":"image_02052025_05_14_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/5/2/ed8d1fdf4dc28a6e27073cf24e8553f8.jpg","text":"TemporaryFile(/tmp/multipartBody439617389541647909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168753659,"filename":"image_02052025_05_14_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/798a19d5fa74f9651b39bc49882976c5.jpg","text":"TemporaryFile(/tmp/multipartBody6669746616426863261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168753659,"filename":"image_02052025_05_13_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/5/2/1753ebd787438cf57b494114d38b577a.jpg","text":"TemporaryFile(/tmp/multipartBody3508028432775131711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168753659,"filename":"image_02052025_05_14_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/5/2/6fe20825c3480e13127e0832d2b42136.jpg","text":"TemporaryFile(/tmp/multipartBody8166097085784628568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168753659,"filename":"image_02052025_05_14_25_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355238790","file1":"1355238770","file0":"1355238763","file4":"1355238801","file5":"1355238809","file3":"1355238794"},"map_files_photo_id_array":[{"photo_id":"1355238809","filename":"file5"},{"photo_id":"1355238790","filename":"file2"},{"photo_id":"1355238801","filename":"file4"},{"photo_id":"1355238770","filename":"file1"},{"photo_id":"1355238763","filename":"file0"},{"photo_id":"1355238794","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355238770":["hashtag1","hashtag2"]},{"1355238809":["hashtag1","hashtag2"]},{"1355238790":["hashtag1","hashtag2"]},{"1355238763":["hashtag1","hashtag2"]},{"1355238801":["hashtag1","hashtag2"]},{"1355238794":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355238770, 1355238809, 1355238790, 1355238763, 1355238801, 1355238794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.18851613998413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:52:32.544906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/14/image_02052025_05_15_06_10353.jpg', '/home/pi/Desktop/images/02052025/05/15/image_02052025_05_15_15_9473.jpg', '/home/pi/Desktop/images/02052025/05/15/image_02052025_05_15_26_10422.jpg', '/home/pi/Desktop/images/02052025/05/15/image_02052025_05_15_46_10409.jpg', '/home/pi/Desktop/images/02052025/05/15/image_02052025_05_15_56_10402.jpg', '/home/pi/Desktop/images/02052025/05/15/image_02052025_05_16_06_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/14/image_02052025_05_15_06_10353.jpg
/home/pi/Desktop/images/02052025/05/15/image_02052025_05_15_15_9473.jpg
/home/pi/Desktop/images/02052025/05/15/image_02052025_05_15_26_10422.jpg
/home/pi/Desktop/images/02052025/05/15/image_02052025_05_15_46_10409.jpg
/home/pi/Desktop/images/02052025/05/15/image_02052025_05_15_56_10402.jpg
/home/pi/Desktop/images/02052025/05/15/image_02052025_05_16_06_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":["1355239063","1355239036","1355239068","1355239077","1355239107","1355239049"],"photo_ids_order":["1355239036","1355239049","1355239063","1355239068","1355239077","1355239107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b20452c7b38b7272a1b8b96b2b2a1913.jpg","text":"TemporaryFile(/tmp/multipartBody8597181053597712894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168813108,"filename":"image_02052025_05_15_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/5/2/f79497e888d77bf1e803d2fb74405435.jpg","text":"TemporaryFile(/tmp/multipartBody6319029735418299586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168813108,"filename":"image_02052025_05_15_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/5/2/4fa2179dff464396fc03e35af3683997.jpg","text":"TemporaryFile(/tmp/multipartBody8295074534319076808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168813108,"filename":"image_02052025_05_15_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/5/2/622d67568730f0f4459d1b951347fa57.jpg","text":"TemporaryFile(/tmp/multipartBody7795888998904263394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168813108,"filename":"image_02052025_05_15_56_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/315f6d50b13b9f0a2e801a86827da57d.jpg","text":"TemporaryFile(/tmp/multipartBody6774706023458505537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168813108,"filename":"image_02052025_05_16_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/48fd432cf49f31f56bb43d3d46536e79.jpg","text":"TemporaryFile(/tmp/multipartBody2424386974608758306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168813108,"filename":"image_02052025_05_15_15_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355239063","file1":"1355239049","file0":"1355239036","file4":"1355239077","file5":"1355239107","file3":"1355239068"},"map_files_photo_id_array":[{"photo_id":"1355239107","filename":"file5"},{"photo_id":"1355239063","filename":"file2"},{"photo_id":"1355239077","filename":"file4"},{"photo_id":"1355239049","filename":"file1"},{"photo_id":"1355239036","filename":"file0"},{"photo_id":"1355239068","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355239063":["hashtag1","hashtag2"]},{"1355239036":["hashtag1","hashtag2"]},{"1355239068":["hashtag1","hashtag2"]},{"1355239077":["hashtag1","hashtag2"]},{"1355239107":["hashtag1","hashtag2"]},{"1355239049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355239063, 1355239036, 1355239068, 1355239077, 1355239107, 1355239049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.695741415023804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:53:32.700575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/16/image_02052025_05_16_25_9512.jpg', '/home/pi/Desktop/images/02052025/05/16/image_02052025_05_16_36_10352.jpg', '/home/pi/Desktop/images/02052025/05/16/image_02052025_05_16_46_10380.jpg', '/home/pi/Desktop/images/02052025/05/16/image_02052025_05_16_56_9413.jpg', '/home/pi/Desktop/images/02052025/05/16/image_02052025_05_17_06_10377.jpg', '/home/pi/Desktop/images/02052025/05/17/image_02052025_05_17_15_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/16/image_02052025_05_16_25_9512.jpg
/home/pi/Desktop/images/02052025/05/16/image_02052025_05_16_36_10352.jpg
/home/pi/Desktop/images/02052025/05/16/image_02052025_05_16_46_10380.jpg
/home/pi/Desktop/images/02052025/05/16/image_02052025_05_16_56_9413.jpg
/home/pi/Desktop/images/02052025/05/16/image_02052025_05_17_06_10377.jpg
/home/pi/Desktop/images/02052025/05/17/image_02052025_05_17_15_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355239174","1355239183","1355239191","1355239178","1355239187","1355239169"],"photo_ids_order":["1355239169","1355239174","1355239178","1355239183","1355239187","1355239191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/034bcf1c90950c3b4956e3096f555f18.jpg","text":"TemporaryFile(/tmp/multipartBody5792931022955389214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168873231,"filename":"image_02052025_05_16_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/5/2/d27cd9850a5db1dc5e7e102ca554bdba.jpg","text":"TemporaryFile(/tmp/multipartBody6663269006470677034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168873231,"filename":"image_02052025_05_16_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/5/2/d2f3e76960ea00571be5f89dd6fe1908.jpg","text":"TemporaryFile(/tmp/multipartBody3440350570923333652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168873231,"filename":"image_02052025_05_17_15_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fe2e559fca27f8ee93b68f8dd9b22560.jpg","text":"TemporaryFile(/tmp/multipartBody182201928029675397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168873231,"filename":"image_02052025_05_16_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/5/2/b867559591e9e82912a2c9a3abf8670f.jpg","text":"TemporaryFile(/tmp/multipartBody3503552620489546293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168873231,"filename":"image_02052025_05_17_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/5/2/db58017c10dbb6d40ae2939e1102967a.jpg","text":"TemporaryFile(/tmp/multipartBody3641014822407359272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168873231,"filename":"image_02052025_05_16_25_9512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355239178","file1":"1355239174","file0":"1355239169","file4":"1355239187","file5":"1355239191","file3":"1355239183"},"map_files_photo_id_array":[{"photo_id":"1355239191","filename":"file5"},{"photo_id":"1355239178","filename":"file2"},{"photo_id":"1355239187","filename":"file4"},{"photo_id":"1355239174","filename":"file1"},{"photo_id":"1355239169","filename":"file0"},{"photo_id":"1355239183","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355239174":["hashtag1","hashtag2"]},{"1355239183":["hashtag1","hashtag2"]},{"1355239191":["hashtag1","hashtag2"]},{"1355239178":["hashtag1","hashtag2"]},{"1355239187":["hashtag1","hashtag2"]},{"1355239169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355239174, 1355239183, 1355239191, 1355239178, 1355239187, 1355239169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82803916931152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:54:32.934051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/17/image_02052025_05_17_26_10427.jpg', '/home/pi/Desktop/images/02052025/05/17/image_02052025_05_17_36_10374.jpg', '/home/pi/Desktop/images/02052025/05/17/image_02052025_05_17_46_9422.jpg', '/home/pi/Desktop/images/02052025/05/17/image_02052025_05_18_05_9382.jpg', '/home/pi/Desktop/images/02052025/05/18/image_02052025_05_18_26_10366.jpg', '/home/pi/Desktop/images/02052025/05/18/image_02052025_05_18_46_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/17/image_02052025_05_17_26_10427.jpg
/home/pi/Desktop/images/02052025/05/17/image_02052025_05_17_36_10374.jpg
/home/pi/Desktop/images/02052025/05/17/image_02052025_05_17_46_9422.jpg
/home/pi/Desktop/images/02052025/05/17/image_02052025_05_18_05_9382.jpg
/home/pi/Desktop/images/02052025/05/18/image_02052025_05_18_26_10366.jpg
/home/pi/Desktop/images/02052025/05/18/image_02052025_05_18_46_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355239273","1355239264","1355239269","1355239283","1355239259","1355239253"],"photo_ids_order":["1355239253","1355239259","1355239264","1355239269","1355239273","1355239283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a11a709f4a5a006c264ac53cca57205.jpg","text":"TemporaryFile(/tmp/multipartBody4177378743007737762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168933465,"filename":"image_02052025_05_18_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/5/2/eb56998042be15321dea41e2234f03e0.jpg","text":"TemporaryFile(/tmp/multipartBody3641584054401229735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168933465,"filename":"image_02052025_05_17_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/5/2/652087f3d4d52e5f492096045bf8c777.jpg","text":"TemporaryFile(/tmp/multipartBody7770892549763574057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168933465,"filename":"image_02052025_05_18_05_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6a4619db352bd472f381ba791412c17c.jpg","text":"TemporaryFile(/tmp/multipartBody3608702181636290023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168933465,"filename":"image_02052025_05_18_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/5/2/6f8ae4dc43d8a43f84f89a517c86455f.jpg","text":"TemporaryFile(/tmp/multipartBody1433174939597186158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168933465,"filename":"image_02052025_05_17_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/5/2/d881fad22d9db09a5030062a40b76e36.jpg","text":"TemporaryFile(/tmp/multipartBody8789463272583948139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168933465,"filename":"image_02052025_05_17_26_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355239264","file1":"1355239259","file0":"1355239253","file4":"1355239273","file5":"1355239283","file3":"1355239269"},"map_files_photo_id_array":[{"photo_id":"1355239283","filename":"file5"},{"photo_id":"1355239264","filename":"file2"},{"photo_id":"1355239273","filename":"file4"},{"photo_id":"1355239259","filename":"file1"},{"photo_id":"1355239253","filename":"file0"},{"photo_id":"1355239269","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355239273":["hashtag1","hashtag2"]},{"1355239264":["hashtag1","hashtag2"]},{"1355239269":["hashtag1","hashtag2"]},{"1355239283":["hashtag1","hashtag2"]},{"1355239259":["hashtag1","hashtag2"]},{"1355239253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355239273, 1355239264, 1355239269, 1355239283, 1355239259, 1355239253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.550668716430664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:55:32.219476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/18/image_02052025_05_18_56_10479.jpg', '/home/pi/Desktop/images/02052025/05/18/image_02052025_05_19_06_9378.jpg', '/home/pi/Desktop/images/02052025/05/19/image_02052025_05_19_25_9359.jpg', '/home/pi/Desktop/images/02052025/05/19/image_02052025_05_19_36_10360.jpg', '/home/pi/Desktop/images/02052025/05/19/image_02052025_05_19_46_10378.jpg', '/home/pi/Desktop/images/02052025/05/19/image_02052025_05_19_56_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/18/image_02052025_05_18_56_10479.jpg
/home/pi/Desktop/images/02052025/05/18/image_02052025_05_19_06_9378.jpg
/home/pi/Desktop/images/02052025/05/19/image_02052025_05_19_25_9359.jpg
/home/pi/Desktop/images/02052025/05/19/image_02052025_05_19_36_10360.jpg
/home/pi/Desktop/images/02052025/05/19/image_02052025_05_19_46_10378.jpg
/home/pi/Desktop/images/02052025/05/19/image_02052025_05_19_56_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":["1355239384","1355239444","1355239524","1355239473","1355239499","1355239412"],"photo_ids_order":["1355239384","1355239412","1355239444","1355239473","1355239499","1355239524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eeddb9d0ad9d4183c46205acf95d6035.jpg","text":"TemporaryFile(/tmp/multipartBody3057482924699540601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168992875,"filename":"image_02052025_05_18_56_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f3bc5af3c07df49bec4c75c8f75a6901.jpg","text":"TemporaryFile(/tmp/multipartBody4985377346022365522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168992875,"filename":"image_02052025_05_19_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/5/2/9d0c302839b831a1416cce3ffd97c158.jpg","text":"TemporaryFile(/tmp/multipartBody2761736388108241079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168992875,"filename":"image_02052025_05_19_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/5/2/8e3ba20ff2950a0fba989b8730ad8e72.jpg","text":"TemporaryFile(/tmp/multipartBody418286712201901519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168992875,"filename":"image_02052025_05_19_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/5/2/20be8ff9f4b2ecd5913a2b7b6bab336e.jpg","text":"TemporaryFile(/tmp/multipartBody6116297891822743083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168992875,"filename":"image_02052025_05_19_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/672136bcf65f43c5d5ebbb6f026b0693.jpg","text":"TemporaryFile(/tmp/multipartBody4626965827365841245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746168992875,"filename":"image_02052025_05_19_06_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355239444","file1":"1355239412","file0":"1355239384","file4":"1355239499","file5":"1355239524","file3":"1355239473"},"map_files_photo_id_array":[{"photo_id":"1355239524","filename":"file5"},{"photo_id":"1355239444","filename":"file2"},{"photo_id":"1355239499","filename":"file4"},{"photo_id":"1355239412","filename":"file1"},{"photo_id":"1355239384","filename":"file0"},{"photo_id":"1355239473","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355239384":["hashtag1","hashtag2"]},{"1355239444":["hashtag1","hashtag2"]},{"1355239524":["hashtag1","hashtag2"]},{"1355239473":["hashtag1","hashtag2"]},{"1355239499":["hashtag1","hashtag2"]},{"1355239412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355239384, 1355239444, 1355239524, 1355239473, 1355239499, 1355239412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.611908197402954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:56:32.360194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/19/image_02052025_05_20_06_10355.jpg', '/home/pi/Desktop/images/02052025/05/20/image_02052025_05_20_15_9445.jpg', '/home/pi/Desktop/images/02052025/05/20/image_02052025_05_20_26_10391.jpg', '/home/pi/Desktop/images/02052025/05/20/image_02052025_05_20_45_9374.jpg', '/home/pi/Desktop/images/02052025/05/20/image_02052025_05_20_56_10353.jpg', '/home/pi/Desktop/images/02052025/05/20/image_02052025_05_21_06_9897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/19/image_02052025_05_20_06_10355.jpg
/home/pi/Desktop/images/02052025/05/20/image_02052025_05_20_15_9445.jpg
/home/pi/Desktop/images/02052025/05/20/image_02052025_05_20_26_10391.jpg
/home/pi/Desktop/images/02052025/05/20/image_02052025_05_20_45_9374.jpg
/home/pi/Desktop/images/02052025/05/20/image_02052025_05_20_56_10353.jpg
/home/pi/Desktop/images/02052025/05/20/image_02052025_05_21_06_9897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355240303","1355240320","1355240257","1355240142","1355240192","1355240084"],"photo_ids_order":["1355240084","1355240142","1355240192","1355240257","1355240303","1355240320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d614208a197add606cc4332bef08df4.jpg","text":"TemporaryFile(/tmp/multipartBody6134861044242437708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169054006,"filename":"image_02052025_05_20_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/5/2/824b1cf987d4f683dd84ec0996b36e43.jpg","text":"TemporaryFile(/tmp/multipartBody7886353684120899573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169054006,"filename":"image_02052025_05_21_06_9897.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/13c73a5b6f4b783dab20b571c4ac4ac9.jpg","text":"TemporaryFile(/tmp/multipartBody7114041853582437899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169054006,"filename":"image_02052025_05_20_45_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7692e09407462190a3e9122fb9d6b5bc.jpg","text":"TemporaryFile(/tmp/multipartBody5012552192691174158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169054006,"filename":"image_02052025_05_20_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/418268a04c767e92ff3aed76b4ac8587.jpg","text":"TemporaryFile(/tmp/multipartBody8521084404755032655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169054006,"filename":"image_02052025_05_20_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/5/2/804103f47578184f09ff57f6c0ed9e90.jpg","text":"TemporaryFile(/tmp/multipartBody7792118590729802939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169054006,"filename":"image_02052025_05_20_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355240192","file1":"1355240142","file0":"1355240084","file4":"1355240303","file5":"1355240320","file3":"1355240257"},"map_files_photo_id_array":[{"photo_id":"1355240320","filename":"file5"},{"photo_id":"1355240192","filename":"file2"},{"photo_id":"1355240303","filename":"file4"},{"photo_id":"1355240142","filename":"file1"},{"photo_id":"1355240084","filename":"file0"},{"photo_id":"1355240257","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355240303":["hashtag1","hashtag2"]},{"1355240320":["hashtag1","hashtag2"]},{"1355240257":["hashtag1","hashtag2"]},{"1355240142":["hashtag1","hashtag2"]},{"1355240192":["hashtag1","hashtag2"]},{"1355240084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355240303, 1355240320, 1355240257, 1355240142, 1355240192, 1355240084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15923833847046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:57:32.482925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/21/image_02052025_05_21_56_10361.jpg', '/home/pi/Desktop/images/02052025/05/21/image_02052025_05_22_06_10362.jpg', '/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_15_9341.jpg', '/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_26_10369.jpg', '/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_36_10345.jpg', '/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_46_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/21/image_02052025_05_21_56_10361.jpg
/home/pi/Desktop/images/02052025/05/21/image_02052025_05_22_06_10362.jpg
/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_15_9341.jpg
/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_26_10369.jpg
/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_36_10345.jpg
/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_46_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 08:59:03.504555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/21/image_02052025_05_21_56_10361.jpg', '/home/pi/Desktop/images/02052025/05/21/image_02052025_05_22_06_10362.jpg', '/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_15_9341.jpg', '/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_26_10369.jpg', '/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_36_10345.jpg', '/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_46_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/21/image_02052025_05_21_56_10361.jpg
/home/pi/Desktop/images/02052025/05/21/image_02052025_05_22_06_10362.jpg
/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_15_9341.jpg
/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_26_10369.jpg
/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_36_10345.jpg
/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_46_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":["1355241439","1355241505","1355241390","1355241471","1355241363","1355241357"],"photo_ids_order":["1355241357","1355241363","1355241390","1355241439","1355241471","1355241505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f5da7d522befa679902f4a912dd917a7.jpg","text":"TemporaryFile(/tmp/multipartBody699442992815632308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169204106,"filename":"image_02052025_05_22_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/5/2/25f19ecce48aed8cbad09c26a9be38c2.jpg","text":"TemporaryFile(/tmp/multipartBody766711717483913205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169204106,"filename":"image_02052025_05_22_46_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a0cc8c24445b6055ac7518cf9420223.jpg","text":"TemporaryFile(/tmp/multipartBody287867464876521181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169204106,"filename":"image_02052025_05_22_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/5/2/36e675d8b1880bfabee5abb7873592fc.jpg","text":"TemporaryFile(/tmp/multipartBody8628086839451151166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169204106,"filename":"image_02052025_05_22_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/5/2/408847ebf71cbe93a962baddf11c9af7.jpg","text":"TemporaryFile(/tmp/multipartBody8891141080815644714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169204106,"filename":"image_02052025_05_22_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2af2873857a02f75a068e1dba0e2ee3.jpg","text":"TemporaryFile(/tmp/multipartBody8315600921898764388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169204106,"filename":"image_02052025_05_21_56_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355241390","file1":"1355241363","file0":"1355241357","file4":"1355241471","file5":"1355241505","file3":"1355241439"},"map_files_photo_id_array":[{"photo_id":"1355241505","filename":"file5"},{"photo_id":"1355241390","filename":"file2"},{"photo_id":"1355241471","filename":"file4"},{"photo_id":"1355241363","filename":"file1"},{"photo_id":"1355241357","filename":"file0"},{"photo_id":"1355241439","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355241439":["hashtag1","hashtag2"]},{"1355241505":["hashtag1","hashtag2"]},{"1355241390":["hashtag1","hashtag2"]},{"1355241471":["hashtag1","hashtag2"]},{"1355241363":["hashtag1","hashtag2"]},{"1355241357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355241439, 1355241505, 1355241390, 1355241471, 1355241363, 1355241357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78883242607117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 08:59:52.197278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_56_10454.jpg', '/home/pi/Desktop/images/02052025/05/22/image_02052025_05_23_05_9373.jpg', '/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_16_10411.jpg', '/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_26_10407.jpg', '/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_36_9452.jpg', '/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_46_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/22/image_02052025_05_22_56_10454.jpg
/home/pi/Desktop/images/02052025/05/22/image_02052025_05_23_05_9373.jpg
/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_16_10411.jpg
/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_26_10407.jpg
/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_36_9452.jpg
/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_46_10371.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355241595","1355241553","1355241627","1355241557","1355241551","1355241548"],"photo_ids_order":["1355241548","1355241551","1355241553","1355241557","1355241595","1355241627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ccff30bad3a8708157432e42660cf93.jpg","text":"TemporaryFile(/tmp/multipartBody6869676498752560246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169252727,"filename":"image_02052025_05_23_36_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/baf1294a299373c06a0b8c42e9615900.jpg","text":"TemporaryFile(/tmp/multipartBody8786434373559204530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169252727,"filename":"image_02052025_05_23_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/5/2/52ecb3659d3c8ade3b9553a773877bb4.jpg","text":"TemporaryFile(/tmp/multipartBody6146765296622215841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169252727,"filename":"image_02052025_05_23_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/5/2/130abbb46543c8fc07d93c0fd3572cdd.jpg","text":"TemporaryFile(/tmp/multipartBody5802298211362992070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169252727,"filename":"image_02052025_05_23_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/5/2/78390c58eddc24a1f36f618c11810eeb.jpg","text":"TemporaryFile(/tmp/multipartBody4488454928328563103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169252727,"filename":"image_02052025_05_23_05_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/851c63fba714dc67f822a8cc11fa0216.jpg","text":"TemporaryFile(/tmp/multipartBody6904906641079925811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169252727,"filename":"image_02052025_05_22_56_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355241553","file1":"1355241551","file0":"1355241548","file4":"1355241595","file5":"1355241627","file3":"1355241557"},"map_files_photo_id_array":[{"photo_id":"1355241627","filename":"file5"},{"photo_id":"1355241553","filename":"file2"},{"photo_id":"1355241595","filename":"file4"},{"photo_id":"1355241551","filename":"file1"},{"photo_id":"1355241548","filename":"file0"},{"photo_id":"1355241557","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355241595":["hashtag1","hashtag2"]},{"1355241553":["hashtag1","hashtag2"]},{"1355241627":["hashtag1","hashtag2"]},{"1355241557":["hashtag1","hashtag2"]},{"1355241551":["hashtag1","hashtag2"]},{"1355241548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355241595, 1355241553, 1355241627, 1355241557, 1355241551, 1355241548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75444579124451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:00:32.339058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_55_9371.jpg', '/home/pi/Desktop/images/02052025/05/23/image_02052025_05_24_06_10372.jpg', '/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_16_10358.jpg', '/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_26_9442.jpg', '/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_46_10423.jpg', '/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_56_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_55_9371.jpg
/home/pi/Desktop/images/02052025/05/23/image_02052025_05_24_06_10372.jpg
/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_16_10358.jpg
/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_26_9442.jpg
/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_46_10423.jpg
/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_56_9350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43048572540283203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 09:00:42.464942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_55_9371.jpg', '/home/pi/Desktop/images/02052025/05/23/image_02052025_05_24_06_10372.jpg', '/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_16_10358.jpg', '/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_26_9442.jpg', '/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_46_10423.jpg', '/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_56_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/23/image_02052025_05_23_55_9371.jpg
/home/pi/Desktop/images/02052025/05/23/image_02052025_05_24_06_10372.jpg
/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_16_10358.jpg
/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_26_9442.jpg
/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_46_10423.jpg
/home/pi/Desktop/images/02052025/05/24/image_02052025_05_24_56_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355242012","1355242068","1355241963","1355242101","1355242172","1355242145"],"photo_ids_order":["1355241963","1355242012","1355242068","1355242101","1355242145","1355242172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d8efc4125f785a7201dc298846f060c4.jpg","text":"TemporaryFile(/tmp/multipartBody3580861010061737468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169302939,"filename":"image_02052025_05_24_06_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af589e455587286a3e5be42735f1e77d.jpg","text":"TemporaryFile(/tmp/multipartBody461815760000411596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169302939,"filename":"image_02052025_05_24_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/5/2/757e94a134bd6cac6bec1eca4edba156.jpg","text":"TemporaryFile(/tmp/multipartBody8912081822132569879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169302939,"filename":"image_02052025_05_23_55_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3601998d925956f42f1189a494afed46.jpg","text":"TemporaryFile(/tmp/multipartBody2786889190296373456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169302939,"filename":"image_02052025_05_24_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/5/2/75293131894aeb2ef12862b72aa523e9.jpg","text":"TemporaryFile(/tmp/multipartBody7302830352700792147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169302939,"filename":"image_02052025_05_24_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b5c40df63d28ceb439c1ae7d20dfa80.jpg","text":"TemporaryFile(/tmp/multipartBody7998786239686784255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169302939,"filename":"image_02052025_05_24_46_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355242068","file1":"1355242012","file0":"1355241963","file4":"1355242145","file5":"1355242172","file3":"1355242101"},"map_files_photo_id_array":[{"photo_id":"1355242172","filename":"file5"},{"photo_id":"1355242068","filename":"file2"},{"photo_id":"1355242145","filename":"file4"},{"photo_id":"1355242012","filename":"file1"},{"photo_id":"1355241963","filename":"file0"},{"photo_id":"1355242101","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355242012":["hashtag1","hashtag2"]},{"1355242068":["hashtag1","hashtag2"]},{"1355241963":["hashtag1","hashtag2"]},{"1355242101":["hashtag1","hashtag2"]},{"1355242172":["hashtag1","hashtag2"]},{"1355242145":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355242012, 1355242068, 1355241963, 1355242101, 1355242172, 1355242145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50106382369995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:01:32.784785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/24/image_02052025_05_25_06_10351.jpg', '/home/pi/Desktop/images/02052025/05/25/image_02052025_05_25_16_9460.jpg', '/home/pi/Desktop/images/02052025/05/25/image_02052025_05_25_26_10384.jpg', '/home/pi/Desktop/images/02052025/05/25/image_02052025_05_25_35_9472.jpg', '/home/pi/Desktop/images/02052025/05/25/image_02052025_05_25_46_10358.jpg', '/home/pi/Desktop/images/02052025/05/25/image_02052025_05_25_56_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/24/image_02052025_05_25_06_10351.jpg
/home/pi/Desktop/images/02052025/05/25/image_02052025_05_25_16_9460.jpg
/home/pi/Desktop/images/02052025/05/25/image_02052025_05_25_26_10384.jpg
/home/pi/Desktop/images/02052025/05/25/image_02052025_05_25_35_9472.jpg
/home/pi/Desktop/images/02052025/05/25/image_02052025_05_25_46_10358.jpg
/home/pi/Desktop/images/02052025/05/25/image_02052025_05_25_56_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355242534","1355242429","1355242584","1355242559","1355242607","1355242474"],"photo_ids_order":["1355242429","1355242474","1355242534","1355242559","1355242584","1355242607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b87224adf161854d52e56bbb4edc12b0.jpg","text":"TemporaryFile(/tmp/multipartBody4272022063304238931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169353319,"filename":"image_02052025_05_25_26_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/314d0d3568e48392d2414e0595019254.jpg","text":"TemporaryFile(/tmp/multipartBody1671909971397796655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169353319,"filename":"image_02052025_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/5/2/ca840318ae0c6ead17db6e12af622426.jpg","text":"TemporaryFile(/tmp/multipartBody814854917746218772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169353319,"filename":"image_02052025_05_25_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/5/2/af7e110e7758f65635b162d07c2fa8ff.jpg","text":"TemporaryFile(/tmp/multipartBody5238964656991146694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169353319,"filename":"image_02052025_05_25_35_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b1aad4ad2dc706ad03e7f678ddf07414.jpg","text":"TemporaryFile(/tmp/multipartBody2644734523329271827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169353319,"filename":"image_02052025_05_25_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/5/2/59238cb439d7592900b8b3b46e4765b4.jpg","text":"TemporaryFile(/tmp/multipartBody9005827677896272710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169353319,"filename":"image_02052025_05_25_16_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355242534","file1":"1355242474","file0":"1355242429","file4":"1355242584","file5":"1355242607","file3":"1355242559"},"map_files_photo_id_array":[{"photo_id":"1355242607","filename":"file5"},{"photo_id":"1355242534","filename":"file2"},{"photo_id":"1355242584","filename":"file4"},{"photo_id":"1355242474","filename":"file1"},{"photo_id":"1355242429","filename":"file0"},{"photo_id":"1355242559","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355242534":["hashtag1","hashtag2"]},{"1355242429":["hashtag1","hashtag2"]},{"1355242584":["hashtag1","hashtag2"]},{"1355242559":["hashtag1","hashtag2"]},{"1355242607":["hashtag1","hashtag2"]},{"1355242474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355242534, 1355242429, 1355242584, 1355242559, 1355242607, 1355242474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.220438718795776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:02:33.028404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/25/image_02052025_05_26_06_9438.jpg', '/home/pi/Desktop/images/02052025/05/26/image_02052025_05_26_16_10370.jpg', '/home/pi/Desktop/images/02052025/05/26/image_02052025_05_26_26_10435.jpg', '/home/pi/Desktop/images/02052025/05/26/image_02052025_05_26_36_9338.jpg', '/home/pi/Desktop/images/02052025/05/26/image_02052025_05_26_46_10410.jpg', '/home/pi/Desktop/images/02052025/05/26/image_02052025_05_26_56_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/25/image_02052025_05_26_06_9438.jpg
/home/pi/Desktop/images/02052025/05/26/image_02052025_05_26_16_10370.jpg
/home/pi/Desktop/images/02052025/05/26/image_02052025_05_26_26_10435.jpg
/home/pi/Desktop/images/02052025/05/26/image_02052025_05_26_36_9338.jpg
/home/pi/Desktop/images/02052025/05/26/image_02052025_05_26_46_10410.jpg
/home/pi/Desktop/images/02052025/05/26/image_02052025_05_26_56_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355243154","1355243148","1355243061","1355243121","1355243093","1355242853"],"photo_ids_order":["1355242853","1355243061","1355243093","1355243121","1355243148","1355243154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58ed7e6d61d776ee84aba94fe10e17f5.jpg","text":"TemporaryFile(/tmp/multipartBody3503339933978863690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169413566,"filename":"image_02052025_05_26_56_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f990850c1148fdb3a7ad3b4103aee59.jpg","text":"TemporaryFile(/tmp/multipartBody8450178769998226230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169413566,"filename":"image_02052025_05_26_46_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8423b7670a1d7ec131213c26402efd3c.jpg","text":"TemporaryFile(/tmp/multipartBody1604088921205415864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169413566,"filename":"image_02052025_05_26_16_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a12f6a198695775d9c6abc56f643dd2b.jpg","text":"TemporaryFile(/tmp/multipartBody8158055378998124996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169413566,"filename":"image_02052025_05_26_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f8895873d3880cd631fdf5147839549b.jpg","text":"TemporaryFile(/tmp/multipartBody505628767435833613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169413566,"filename":"image_02052025_05_26_26_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a30e12c7df3e964edec189849e88e950.jpg","text":"TemporaryFile(/tmp/multipartBody6621021679417690396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169413566,"filename":"image_02052025_05_26_06_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355243093","file1":"1355243061","file0":"1355242853","file4":"1355243148","file5":"1355243154","file3":"1355243121"},"map_files_photo_id_array":[{"photo_id":"1355243154","filename":"file5"},{"photo_id":"1355243093","filename":"file2"},{"photo_id":"1355243148","filename":"file4"},{"photo_id":"1355243061","filename":"file1"},{"photo_id":"1355242853","filename":"file0"},{"photo_id":"1355243121","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355243154":["hashtag1","hashtag2"]},{"1355243148":["hashtag1","hashtag2"]},{"1355243061":["hashtag1","hashtag2"]},{"1355243121":["hashtag1","hashtag2"]},{"1355243093":["hashtag1","hashtag2"]},{"1355242853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355243154, 1355243148, 1355243061, 1355243121, 1355243093, 1355242853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27675533294678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:03:32.185010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/26/image_02052025_05_27_06_10350.jpg', '/home/pi/Desktop/images/02052025/05/27/image_02052025_05_27_16_10410.jpg', '/home/pi/Desktop/images/02052025/05/27/image_02052025_05_27_26_9366.jpg', '/home/pi/Desktop/images/02052025/05/27/image_02052025_05_27_36_10345.jpg', '/home/pi/Desktop/images/02052025/05/27/image_02052025_05_27_56_10345.jpg', '/home/pi/Desktop/images/02052025/05/27/image_02052025_05_28_06_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/26/image_02052025_05_27_06_10350.jpg
/home/pi/Desktop/images/02052025/05/27/image_02052025_05_27_16_10410.jpg
/home/pi/Desktop/images/02052025/05/27/image_02052025_05_27_26_9366.jpg
/home/pi/Desktop/images/02052025/05/27/image_02052025_05_27_36_10345.jpg
/home/pi/Desktop/images/02052025/05/27/image_02052025_05_27_56_10345.jpg
/home/pi/Desktop/images/02052025/05/27/image_02052025_05_28_06_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355243172","1355243192","1355243195","1355243180","1355243183","1355243176"],"photo_ids_order":["1355243172","1355243176","1355243180","1355243183","1355243192","1355243195"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/619f68151b814552621b8fb396adbfba.jpg","text":"TemporaryFile(/tmp/multipartBody5255202125595091428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169472715,"filename":"image_02052025_05_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/5/2/7ea29bc61ab55b062ab7347750f76e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6904747676482669585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169472715,"filename":"image_02052025_05_27_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/5/2/edf5742495e7a88d32bd4103bf9f89f2.jpg","text":"TemporaryFile(/tmp/multipartBody7749696172126746756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169472715,"filename":"image_02052025_05_28_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2cd3ed0860a1f9615c8506aeb1acbe1c.jpg","text":"TemporaryFile(/tmp/multipartBody298708332959575291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169472715,"filename":"image_02052025_05_27_26_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6955dcc79c9c1c215573c47c3cbd8cd0.jpg","text":"TemporaryFile(/tmp/multipartBody6257765747117853953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169472715,"filename":"image_02052025_05_27_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/5/2/3037e1695f09b080e12c2bc46cf4406f.jpg","text":"TemporaryFile(/tmp/multipartBody7119368535399726036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169472715,"filename":"image_02052025_05_27_16_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355243180","file1":"1355243176","file0":"1355243172","file4":"1355243192","file5":"1355243195","file3":"1355243183"},"map_files_photo_id_array":[{"photo_id":"1355243195","filename":"file5"},{"photo_id":"1355243180","filename":"file2"},{"photo_id":"1355243192","filename":"file4"},{"photo_id":"1355243176","filename":"file1"},{"photo_id":"1355243172","filename":"file0"},{"photo_id":"1355243183","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355243172":["hashtag1","hashtag2"]},{"1355243192":["hashtag1","hashtag2"]},{"1355243195":["hashtag1","hashtag2"]},{"1355243180":["hashtag1","hashtag2"]},{"1355243183":["hashtag1","hashtag2"]},{"1355243176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355243172, 1355243192, 1355243195, 1355243180, 1355243183, 1355243176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3541796207428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:04:32.412838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/28/image_02052025_05_28_15_9343.jpg', '/home/pi/Desktop/images/02052025/05/28/image_02052025_05_28_26_10350.jpg', '/home/pi/Desktop/images/02052025/05/28/image_02052025_05_28_36_10351.jpg', '/home/pi/Desktop/images/02052025/05/28/image_02052025_05_28_46_9441.jpg', '/home/pi/Desktop/images/02052025/05/28/image_02052025_05_28_56_10364.jpg', '/home/pi/Desktop/images/02052025/05/28/image_02052025_05_29_06_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/28/image_02052025_05_28_15_9343.jpg
/home/pi/Desktop/images/02052025/05/28/image_02052025_05_28_26_10350.jpg
/home/pi/Desktop/images/02052025/05/28/image_02052025_05_28_36_10351.jpg
/home/pi/Desktop/images/02052025/05/28/image_02052025_05_28_46_9441.jpg
/home/pi/Desktop/images/02052025/05/28/image_02052025_05_28_56_10364.jpg
/home/pi/Desktop/images/02052025/05/28/image_02052025_05_29_06_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355243451","1355243495","1355243520","1355243488","1355243476","1355243485"],"photo_ids_order":["1355243451","1355243476","1355243485","1355243488","1355243495","1355243520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e2e3d2190adb58775e1ca1b7d3600c0a.jpg","text":"TemporaryFile(/tmp/multipartBody8762780629754167829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169532947,"filename":"image_02052025_05_28_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/5/2/c58075f4154b5379b1a2c3a7a42b7372.jpg","text":"TemporaryFile(/tmp/multipartBody1686747850832711484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169532947,"filename":"image_02052025_05_28_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/5/2/2a4b5a5a2af05a3f8fee0fcc3138de01.jpg","text":"TemporaryFile(/tmp/multipartBody5464362092106619098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169532947,"filename":"image_02052025_05_29_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/5/2/8c2cdbe1405f37f6946783c5f7486e0f.jpg","text":"TemporaryFile(/tmp/multipartBody5474490073478990735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169532947,"filename":"image_02052025_05_28_46_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a903e1852b2cb200d890dd4123857a5b.jpg","text":"TemporaryFile(/tmp/multipartBody7020222927278644296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169532947,"filename":"image_02052025_05_28_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/5/2/fcad2599abd7b213a17719290e164a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1609084400886733603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169532947,"filename":"image_02052025_05_28_36_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355243485","file1":"1355243476","file0":"1355243451","file4":"1355243495","file5":"1355243520","file3":"1355243488"},"map_files_photo_id_array":[{"photo_id":"1355243520","filename":"file5"},{"photo_id":"1355243485","filename":"file2"},{"photo_id":"1355243495","filename":"file4"},{"photo_id":"1355243476","filename":"file1"},{"photo_id":"1355243451","filename":"file0"},{"photo_id":"1355243488","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355243451":["hashtag1","hashtag2"]},{"1355243495":["hashtag1","hashtag2"]},{"1355243520":["hashtag1","hashtag2"]},{"1355243488":["hashtag1","hashtag2"]},{"1355243476":["hashtag1","hashtag2"]},{"1355243485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355243451, 1355243495, 1355243520, 1355243488, 1355243476, 1355243485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.146825313568115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:05:32.716640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/29/image_02052025_05_29_16_9353.jpg', '/home/pi/Desktop/images/02052025/05/29/image_02052025_05_29_26_10362.jpg', '/home/pi/Desktop/images/02052025/05/29/image_02052025_05_29_35_9343.jpg', '/home/pi/Desktop/images/02052025/05/29/image_02052025_05_29_46_10415.jpg', '/home/pi/Desktop/images/02052025/05/29/image_02052025_05_30_06_9457.jpg', '/home/pi/Desktop/images/02052025/05/30/image_02052025_05_30_16_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/29/image_02052025_05_29_16_9353.jpg
/home/pi/Desktop/images/02052025/05/29/image_02052025_05_29_26_10362.jpg
/home/pi/Desktop/images/02052025/05/29/image_02052025_05_29_35_9343.jpg
/home/pi/Desktop/images/02052025/05/29/image_02052025_05_29_46_10415.jpg
/home/pi/Desktop/images/02052025/05/29/image_02052025_05_30_06_9457.jpg
/home/pi/Desktop/images/02052025/05/30/image_02052025_05_30_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":["1355243640","1355243658","1355243643","1355243660","1355243654","1355243656"],"photo_ids_order":["1355243640","1355243643","1355243654","1355243656","1355243658","1355243660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f3d8f5e5200b4701cbd9a2235e5b0fa9.jpg","text":"TemporaryFile(/tmp/multipartBody6552371416468122860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169593256,"filename":"image_02052025_05_29_16_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/473de9ba144d7fb7e0b64cfbeeeb3965.jpg","text":"TemporaryFile(/tmp/multipartBody6975041096966710026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169593256,"filename":"image_02052025_05_30_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/5/2/8ddb26a5c6d683bdb5297ba50d2edfbf.jpg","text":"TemporaryFile(/tmp/multipartBody2135476078701285692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169593256,"filename":"image_02052025_05_29_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/5/2/53f9d0b2f8e55599a5dba9c50fcdebb0.jpg","text":"TemporaryFile(/tmp/multipartBody8238094091355069550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169593256,"filename":"image_02052025_05_30_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/5/2/b83113e96a6c354bbc26ac39eb0a2df3.jpg","text":"TemporaryFile(/tmp/multipartBody5511734093088989880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169593256,"filename":"image_02052025_05_29_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/5/2/143aaafe0539a8294e556819eec441b9.jpg","text":"TemporaryFile(/tmp/multipartBody3003453754451546396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169593256,"filename":"image_02052025_05_29_46_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355243654","file1":"1355243643","file0":"1355243640","file4":"1355243658","file5":"1355243660","file3":"1355243656"},"map_files_photo_id_array":[{"photo_id":"1355243660","filename":"file5"},{"photo_id":"1355243654","filename":"file2"},{"photo_id":"1355243658","filename":"file4"},{"photo_id":"1355243643","filename":"file1"},{"photo_id":"1355243640","filename":"file0"},{"photo_id":"1355243656","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355243640":["hashtag1","hashtag2"]},{"1355243658":["hashtag1","hashtag2"]},{"1355243643":["hashtag1","hashtag2"]},{"1355243660":["hashtag1","hashtag2"]},{"1355243654":["hashtag1","hashtag2"]},{"1355243656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355243640, 1355243658, 1355243643, 1355243660, 1355243654, 1355243656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02726674079895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:06:32.882711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/30/image_02052025_05_30_36_10369.jpg', '/home/pi/Desktop/images/02052025/05/30/image_02052025_05_30_46_10377.jpg', '/home/pi/Desktop/images/02052025/05/30/image_02052025_05_30_56_9440.jpg', '/home/pi/Desktop/images/02052025/05/30/image_02052025_05_31_06_10353.jpg', '/home/pi/Desktop/images/02052025/05/31/image_02052025_05_31_26_10435.jpg', '/home/pi/Desktop/images/02052025/05/31/image_02052025_05_31_36_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/30/image_02052025_05_30_36_10369.jpg
/home/pi/Desktop/images/02052025/05/30/image_02052025_05_30_46_10377.jpg
/home/pi/Desktop/images/02052025/05/30/image_02052025_05_30_56_9440.jpg
/home/pi/Desktop/images/02052025/05/30/image_02052025_05_31_06_10353.jpg
/home/pi/Desktop/images/02052025/05/31/image_02052025_05_31_26_10435.jpg
/home/pi/Desktop/images/02052025/05/31/image_02052025_05_31_36_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":["1355243685","1355243694","1355243681","1355243692","1355243689","1355243697"],"photo_ids_order":["1355243681","1355243685","1355243689","1355243692","1355243694","1355243697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d1645a8ae20c82e14a46b5a95a70a0d.jpg","text":"TemporaryFile(/tmp/multipartBody1880998196505090283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169653419,"filename":"image_02052025_05_30_46_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1d639322e759e6aa715fb1cd43bf60b.jpg","text":"TemporaryFile(/tmp/multipartBody2218101452824405402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169653419,"filename":"image_02052025_05_31_26_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/27257690103c1844c3bdf875a98c31f4.jpg","text":"TemporaryFile(/tmp/multipartBody2982630635801508935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169653419,"filename":"image_02052025_05_30_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/5/2/34b0bf13dde62e13601fea474cb34e84.jpg","text":"TemporaryFile(/tmp/multipartBody5265197458564591204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169653419,"filename":"image_02052025_05_31_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/5/2/78af06de0e334634fcc17d45110e7575.jpg","text":"TemporaryFile(/tmp/multipartBody8269186072703235927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169653419,"filename":"image_02052025_05_30_56_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/086f29005877b52c6716e48498df242a.jpg","text":"TemporaryFile(/tmp/multipartBody5482457102533765238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169653419,"filename":"image_02052025_05_31_36_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355243689","file1":"1355243685","file0":"1355243681","file4":"1355243694","file5":"1355243697","file3":"1355243692"},"map_files_photo_id_array":[{"photo_id":"1355243697","filename":"file5"},{"photo_id":"1355243689","filename":"file2"},{"photo_id":"1355243694","filename":"file4"},{"photo_id":"1355243685","filename":"file1"},{"photo_id":"1355243681","filename":"file0"},{"photo_id":"1355243692","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355243685":["hashtag1","hashtag2"]},{"1355243694":["hashtag1","hashtag2"]},{"1355243681":["hashtag1","hashtag2"]},{"1355243692":["hashtag1","hashtag2"]},{"1355243689":["hashtag1","hashtag2"]},{"1355243697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355243685, 1355243694, 1355243681, 1355243692, 1355243689, 1355243697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72282409667969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:07:33.100060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/31/image_02052025_05_31_46_9454.jpg', '/home/pi/Desktop/images/02052025/05/31/image_02052025_05_31_56_10376.jpg', '/home/pi/Desktop/images/02052025/05/31/image_02052025_05_32_06_10368.jpg', '/home/pi/Desktop/images/02052025/05/32/image_02052025_05_32_26_10440.jpg', '/home/pi/Desktop/images/02052025/05/32/image_02052025_05_32_36_9430.jpg', '/home/pi/Desktop/images/02052025/05/32/image_02052025_05_32_56_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/31/image_02052025_05_31_46_9454.jpg
/home/pi/Desktop/images/02052025/05/31/image_02052025_05_31_56_10376.jpg
/home/pi/Desktop/images/02052025/05/31/image_02052025_05_32_06_10368.jpg
/home/pi/Desktop/images/02052025/05/32/image_02052025_05_32_26_10440.jpg
/home/pi/Desktop/images/02052025/05/32/image_02052025_05_32_36_9430.jpg
/home/pi/Desktop/images/02052025/05/32/image_02052025_05_32_56_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355243751","1355243754","1355243739","1355243735","1355243743","1355243731"],"photo_ids_order":["1355243731","1355243735","1355243739","1355243743","1355243751","1355243754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b7b386a53d9f8a594db939d0521f7c6.jpg","text":"TemporaryFile(/tmp/multipartBody7267600127886688694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169713618,"filename":"image_02052025_05_32_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/5/2/db78a86f2efdc9c7ca1a5ff6b4599265.jpg","text":"TemporaryFile(/tmp/multipartBody5952647551599927701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169713618,"filename":"image_02052025_05_32_56_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec66162e4677c79d7b593519c688addb.jpg","text":"TemporaryFile(/tmp/multipartBody2458698218666724547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169713618,"filename":"image_02052025_05_32_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/5/2/206efdcf8c0b69cc2906f2519cd64424.jpg","text":"TemporaryFile(/tmp/multipartBody6109638120311715828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169713618,"filename":"image_02052025_05_31_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53936fba389c57b2697f567b2b3b9a81.jpg","text":"TemporaryFile(/tmp/multipartBody7558670548261950027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169713618,"filename":"image_02052025_05_32_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8be510022ea26bd203e6eea94f469930.jpg","text":"TemporaryFile(/tmp/multipartBody5748725111730856385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169713618,"filename":"image_02052025_05_31_46_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355243739","file1":"1355243735","file0":"1355243731","file4":"1355243751","file5":"1355243754","file3":"1355243743"},"map_files_photo_id_array":[{"photo_id":"1355243754","filename":"file5"},{"photo_id":"1355243739","filename":"file2"},{"photo_id":"1355243751","filename":"file4"},{"photo_id":"1355243735","filename":"file1"},{"photo_id":"1355243731","filename":"file0"},{"photo_id":"1355243743","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355243751":["hashtag1","hashtag2"]},{"1355243754":["hashtag1","hashtag2"]},{"1355243739":["hashtag1","hashtag2"]},{"1355243735":["hashtag1","hashtag2"]},{"1355243743":["hashtag1","hashtag2"]},{"1355243731":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355243751, 1355243754, 1355243739, 1355243735, 1355243743, 1355243731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06903338432312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:08:32.413561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/32/image_02052025_05_33_06_9376.jpg', '/home/pi/Desktop/images/02052025/05/33/image_02052025_05_33_16_10345.jpg', '/home/pi/Desktop/images/02052025/05/33/image_02052025_05_33_25_9365.jpg', '/home/pi/Desktop/images/02052025/05/33/image_02052025_05_33_36_10429.jpg', '/home/pi/Desktop/images/02052025/05/33/image_02052025_05_33_56_9412.jpg', '/home/pi/Desktop/images/02052025/05/33/image_02052025_05_34_06_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/32/image_02052025_05_33_06_9376.jpg
/home/pi/Desktop/images/02052025/05/33/image_02052025_05_33_16_10345.jpg
/home/pi/Desktop/images/02052025/05/33/image_02052025_05_33_25_9365.jpg
/home/pi/Desktop/images/02052025/05/33/image_02052025_05_33_36_10429.jpg
/home/pi/Desktop/images/02052025/05/33/image_02052025_05_33_56_9412.jpg
/home/pi/Desktop/images/02052025/05/33/image_02052025_05_34_06_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355243800","1355243790","1355243793","1355243803","1355243806","1355243796"],"photo_ids_order":["1355243790","1355243793","1355243796","1355243800","1355243803","1355243806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5b82766fdd2105dbd2399c82a18e8213.jpg","text":"TemporaryFile(/tmp/multipartBody2714041331823669769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169772947,"filename":"image_02052025_05_33_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/5/2/58a378e1be7ac6eeff1872a3405d5699.jpg","text":"TemporaryFile(/tmp/multipartBody1304919289074202419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169772947,"filename":"image_02052025_05_33_06_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a56e996f2c852119346fc7540624774.jpg","text":"TemporaryFile(/tmp/multipartBody4006689166133473744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169772947,"filename":"image_02052025_05_33_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/5/2/421335c7a0aedb8831f4e3fa31bd9b77.jpg","text":"TemporaryFile(/tmp/multipartBody574250134334882916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169772947,"filename":"image_02052025_05_33_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f233145304422380dba838606222760.jpg","text":"TemporaryFile(/tmp/multipartBody587419657703665768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169772947,"filename":"image_02052025_05_34_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/5/2/c7ba00c1ce3f2d05693665c4d8a223b1.jpg","text":"TemporaryFile(/tmp/multipartBody3061162969835803566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169772947,"filename":"image_02052025_05_33_25_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355243796","file1":"1355243793","file0":"1355243790","file4":"1355243803","file5":"1355243806","file3":"1355243800"},"map_files_photo_id_array":[{"photo_id":"1355243806","filename":"file5"},{"photo_id":"1355243796","filename":"file2"},{"photo_id":"1355243803","filename":"file4"},{"photo_id":"1355243793","filename":"file1"},{"photo_id":"1355243790","filename":"file0"},{"photo_id":"1355243800","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355243800":["hashtag1","hashtag2"]},{"1355243790":["hashtag1","hashtag2"]},{"1355243793":["hashtag1","hashtag2"]},{"1355243803":["hashtag1","hashtag2"]},{"1355243806":["hashtag1","hashtag2"]},{"1355243796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355243800, 1355243790, 1355243793, 1355243803, 1355243806, 1355243796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.28849172592163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:09:32.623396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/34/image_02052025_05_34_15_9441.jpg', '/home/pi/Desktop/images/02052025/05/34/image_02052025_05_34_26_10500.jpg', '/home/pi/Desktop/images/02052025/05/34/image_02052025_05_34_35_9486.jpg', '/home/pi/Desktop/images/02052025/05/34/image_02052025_05_34_46_10344.jpg', '/home/pi/Desktop/images/02052025/05/34/image_02052025_05_34_56_10400.jpg', '/home/pi/Desktop/images/02052025/05/34/image_02052025_05_35_06_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/34/image_02052025_05_34_15_9441.jpg
/home/pi/Desktop/images/02052025/05/34/image_02052025_05_34_26_10500.jpg
/home/pi/Desktop/images/02052025/05/34/image_02052025_05_34_35_9486.jpg
/home/pi/Desktop/images/02052025/05/34/image_02052025_05_34_46_10344.jpg
/home/pi/Desktop/images/02052025/05/34/image_02052025_05_34_56_10400.jpg
/home/pi/Desktop/images/02052025/05/34/image_02052025_05_35_06_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":["1355243928","1355243901","1355243885","1355243906","1355243921","1355243929"],"photo_ids_order":["1355243885","1355243901","1355243906","1355243921","1355243928","1355243929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/605077a1af9bee486d7094fe1c0331d3.jpg","text":"TemporaryFile(/tmp/multipartBody6746932183423103695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169833151,"filename":"image_02052025_05_34_56_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5e7ff88a3e11ae79b20553bc0fe0fd01.jpg","text":"TemporaryFile(/tmp/multipartBody3501248124839205293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169833151,"filename":"image_02052025_05_34_26_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/467c44f8cec9c79aef14b1212481744b.jpg","text":"TemporaryFile(/tmp/multipartBody7653348766105079046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169833151,"filename":"image_02052025_05_34_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/5/2/3922a3dd8bfb85b823f7aa679e7b1fce.jpg","text":"TemporaryFile(/tmp/multipartBody8744663543479985053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169833151,"filename":"image_02052025_05_34_35_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae30d25527912b43bcddcb268fcad196.jpg","text":"TemporaryFile(/tmp/multipartBody4616331624649969873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169833151,"filename":"image_02052025_05_34_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/5/2/f50accfbce29d442fe34f01da716195f.jpg","text":"TemporaryFile(/tmp/multipartBody4557448319598535174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169833151,"filename":"image_02052025_05_35_06_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355243906","file1":"1355243901","file0":"1355243885","file4":"1355243928","file5":"1355243929","file3":"1355243921"},"map_files_photo_id_array":[{"photo_id":"1355243929","filename":"file5"},{"photo_id":"1355243906","filename":"file2"},{"photo_id":"1355243928","filename":"file4"},{"photo_id":"1355243901","filename":"file1"},{"photo_id":"1355243885","filename":"file0"},{"photo_id":"1355243921","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355243928":["hashtag1","hashtag2"]},{"1355243901":["hashtag1","hashtag2"]},{"1355243885":["hashtag1","hashtag2"]},{"1355243906":["hashtag1","hashtag2"]},{"1355243921":["hashtag1","hashtag2"]},{"1355243929":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355243928, 1355243901, 1355243885, 1355243906, 1355243921, 1355243929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.1715989112854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:10:32.928223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/35/image_02052025_05_35_16_10348.jpg', '/home/pi/Desktop/images/02052025/05/35/image_02052025_05_35_25_9489.jpg', '/home/pi/Desktop/images/02052025/05/35/image_02052025_05_35_36_10353.jpg', '/home/pi/Desktop/images/02052025/05/35/image_02052025_05_35_56_9396.jpg', '/home/pi/Desktop/images/02052025/05/35/image_02052025_05_36_06_10358.jpg', '/home/pi/Desktop/images/02052025/05/36/image_02052025_05_36_16_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/35/image_02052025_05_35_16_10348.jpg
/home/pi/Desktop/images/02052025/05/35/image_02052025_05_35_25_9489.jpg
/home/pi/Desktop/images/02052025/05/35/image_02052025_05_35_36_10353.jpg
/home/pi/Desktop/images/02052025/05/35/image_02052025_05_35_56_9396.jpg
/home/pi/Desktop/images/02052025/05/35/image_02052025_05_36_06_10358.jpg
/home/pi/Desktop/images/02052025/05/36/image_02052025_05_36_16_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355244003","1355244011","1355244014","1355244001","1355244007","1355243994"],"photo_ids_order":["1355243994","1355244001","1355244003","1355244007","1355244011","1355244014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ca55f49b2df0d58c16b33b1834c28674.jpg","text":"TemporaryFile(/tmp/multipartBody6278406257493174848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169893463,"filename":"image_02052025_05_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/5/2/244f8dd41eae91a94712502c6c7cfb74.jpg","text":"TemporaryFile(/tmp/multipartBody7176673420034834097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169893463,"filename":"image_02052025_05_36_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/69a35bb1b226bd08381153e82f5e997b.jpg","text":"TemporaryFile(/tmp/multipartBody8909058427788271071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169893463,"filename":"image_02052025_05_36_16_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d67ffdab3080803b469dba4f410c180.jpg","text":"TemporaryFile(/tmp/multipartBody1272118470968181469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169893463,"filename":"image_02052025_05_35_25_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/859bc983750b06bbe0d7f523dd833315.jpg","text":"TemporaryFile(/tmp/multipartBody8767875923145728504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169893463,"filename":"image_02052025_05_35_56_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/292b8157b36a3dbd039ccd4418b84deb.jpg","text":"TemporaryFile(/tmp/multipartBody6487217548176125350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169893463,"filename":"image_02052025_05_35_16_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244003","file1":"1355244001","file0":"1355243994","file4":"1355244011","file5":"1355244014","file3":"1355244007"},"map_files_photo_id_array":[{"photo_id":"1355244014","filename":"file5"},{"photo_id":"1355244003","filename":"file2"},{"photo_id":"1355244011","filename":"file4"},{"photo_id":"1355244001","filename":"file1"},{"photo_id":"1355243994","filename":"file0"},{"photo_id":"1355244007","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244003":["hashtag1","hashtag2"]},{"1355244011":["hashtag1","hashtag2"]},{"1355244014":["hashtag1","hashtag2"]},{"1355244001":["hashtag1","hashtag2"]},{"1355244007":["hashtag1","hashtag2"]},{"1355243994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244003, 1355244011, 1355244014, 1355244001, 1355244007, 1355243994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.40131950378418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:11:33.195634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/36/image_02052025_05_36_26_9480.jpg', '/home/pi/Desktop/images/02052025/05/36/image_02052025_05_36_36_10369.jpg', '/home/pi/Desktop/images/02052025/05/36/image_02052025_05_36_46_9360.jpg', '/home/pi/Desktop/images/02052025/05/36/image_02052025_05_36_56_10364.jpg', '/home/pi/Desktop/images/02052025/05/36/image_02052025_05_37_06_10402.jpg', '/home/pi/Desktop/images/02052025/05/37/image_02052025_05_37_16_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/36/image_02052025_05_36_26_9480.jpg
/home/pi/Desktop/images/02052025/05/36/image_02052025_05_36_36_10369.jpg
/home/pi/Desktop/images/02052025/05/36/image_02052025_05_36_46_9360.jpg
/home/pi/Desktop/images/02052025/05/36/image_02052025_05_36_56_10364.jpg
/home/pi/Desktop/images/02052025/05/36/image_02052025_05_37_06_10402.jpg
/home/pi/Desktop/images/02052025/05/37/image_02052025_05_37_16_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":["1355244051","1355244054","1355244044","1355244047","1355244055","1355244040"],"photo_ids_order":["1355244040","1355244044","1355244047","1355244051","1355244054","1355244055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/25c275fa5fce13b1db3028848253f70a.jpg","text":"TemporaryFile(/tmp/multipartBody2597071396575915969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169953722,"filename":"image_02052025_05_36_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/5/2/017a129cca71594873d5c675a680c4b8.jpg","text":"TemporaryFile(/tmp/multipartBody7370428211085456866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169953722,"filename":"image_02052025_05_37_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/5/2/7886ee942625874b66da71be0672b770.jpg","text":"TemporaryFile(/tmp/multipartBody5039098307801659271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169953722,"filename":"image_02052025_05_36_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/5/2/f00b113298b6dc348f7dc036fddc7b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5171407080791437291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169953722,"filename":"image_02052025_05_36_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/5/2/ca305d1043c25fce508c3e345e1f1701.jpg","text":"TemporaryFile(/tmp/multipartBody1173060037282276429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169953722,"filename":"image_02052025_05_37_16_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/122af7ef59590436aeed2646c43365f8.jpg","text":"TemporaryFile(/tmp/multipartBody2527309300352652279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746169953722,"filename":"image_02052025_05_36_26_9480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244047","file1":"1355244044","file0":"1355244040","file4":"1355244054","file5":"1355244055","file3":"1355244051"},"map_files_photo_id_array":[{"photo_id":"1355244055","filename":"file5"},{"photo_id":"1355244047","filename":"file2"},{"photo_id":"1355244054","filename":"file4"},{"photo_id":"1355244044","filename":"file1"},{"photo_id":"1355244040","filename":"file0"},{"photo_id":"1355244051","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244051":["hashtag1","hashtag2"]},{"1355244054":["hashtag1","hashtag2"]},{"1355244044":["hashtag1","hashtag2"]},{"1355244047":["hashtag1","hashtag2"]},{"1355244055":["hashtag1","hashtag2"]},{"1355244040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244051, 1355244054, 1355244044, 1355244047, 1355244055, 1355244040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.269704341888428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:12:32.476041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/37/image_02052025_05_37_26_10357.jpg', '/home/pi/Desktop/images/02052025/05/37/image_02052025_05_37_36_9457.jpg', '/home/pi/Desktop/images/02052025/05/37/image_02052025_05_37_46_10379.jpg', '/home/pi/Desktop/images/02052025/05/37/image_02052025_05_37_55_9449.jpg', '/home/pi/Desktop/images/02052025/05/37/image_02052025_05_38_06_10357.jpg', '/home/pi/Desktop/images/02052025/05/38/image_02052025_05_38_16_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/37/image_02052025_05_37_26_10357.jpg
/home/pi/Desktop/images/02052025/05/37/image_02052025_05_37_36_9457.jpg
/home/pi/Desktop/images/02052025/05/37/image_02052025_05_37_46_10379.jpg
/home/pi/Desktop/images/02052025/05/37/image_02052025_05_37_55_9449.jpg
/home/pi/Desktop/images/02052025/05/37/image_02052025_05_38_06_10357.jpg
/home/pi/Desktop/images/02052025/05/38/image_02052025_05_38_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":["1355244092","1355244088","1355244081","1355244090","1355244084","1355244078"],"photo_ids_order":["1355244078","1355244081","1355244084","1355244088","1355244090","1355244092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3579f991d44d04c9dff9f9cb595ee49f.jpg","text":"TemporaryFile(/tmp/multipartBody581246222095632575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170013007,"filename":"image_02052025_05_38_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/5/2/4768142a629af16d5908655edd883f52.jpg","text":"TemporaryFile(/tmp/multipartBody4026351922928413484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170013007,"filename":"image_02052025_05_37_55_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/148618e1a291801d3e5f81d5522ab720.jpg","text":"TemporaryFile(/tmp/multipartBody8578559060852519417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170013007,"filename":"image_02052025_05_37_36_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dfd9f43cee4c5a7d6a9880768212f5c5.jpg","text":"TemporaryFile(/tmp/multipartBody7055898004943994612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170013007,"filename":"image_02052025_05_38_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/5/2/691b7ec775547d7736038281000b6379.jpg","text":"TemporaryFile(/tmp/multipartBody7150242860996131340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170013007,"filename":"image_02052025_05_37_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/5/2/df824b7ec43742d94e44e16fc9f84e39.jpg","text":"TemporaryFile(/tmp/multipartBody2011812532539990733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170013007,"filename":"image_02052025_05_37_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244084","file1":"1355244081","file0":"1355244078","file4":"1355244090","file5":"1355244092","file3":"1355244088"},"map_files_photo_id_array":[{"photo_id":"1355244092","filename":"file5"},{"photo_id":"1355244084","filename":"file2"},{"photo_id":"1355244090","filename":"file4"},{"photo_id":"1355244081","filename":"file1"},{"photo_id":"1355244078","filename":"file0"},{"photo_id":"1355244088","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244092":["hashtag1","hashtag2"]},{"1355244088":["hashtag1","hashtag2"]},{"1355244081":["hashtag1","hashtag2"]},{"1355244090":["hashtag1","hashtag2"]},{"1355244084":["hashtag1","hashtag2"]},{"1355244078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244092, 1355244088, 1355244081, 1355244090, 1355244084, 1355244078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48303723335266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:13:32.728612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/38/image_02052025_05_38_26_9468.jpg', '/home/pi/Desktop/images/02052025/05/38/image_02052025_05_38_36_10362.jpg', '/home/pi/Desktop/images/02052025/05/38/image_02052025_05_38_45_9427.jpg', '/home/pi/Desktop/images/02052025/05/38/image_02052025_05_38_56_10370.jpg', '/home/pi/Desktop/images/02052025/05/38/image_02052025_05_39_06_10425.jpg', '/home/pi/Desktop/images/02052025/05/39/image_02052025_05_39_16_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/38/image_02052025_05_38_26_9468.jpg
/home/pi/Desktop/images/02052025/05/38/image_02052025_05_38_36_10362.jpg
/home/pi/Desktop/images/02052025/05/38/image_02052025_05_38_45_9427.jpg
/home/pi/Desktop/images/02052025/05/38/image_02052025_05_38_56_10370.jpg
/home/pi/Desktop/images/02052025/05/38/image_02052025_05_39_06_10425.jpg
/home/pi/Desktop/images/02052025/05/39/image_02052025_05_39_16_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":["1355244132","1355244129","1355244120","1355244134","1355244122","1355244125"],"photo_ids_order":["1355244120","1355244122","1355244125","1355244129","1355244132","1355244134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f626d981f4796be56633d2209653d7de.jpg","text":"TemporaryFile(/tmp/multipartBody5453358104740921565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170073261,"filename":"image_02052025_05_39_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/5/2/a5b235d0e989da601da9e6411ba9c335.jpg","text":"TemporaryFile(/tmp/multipartBody1458167910027364492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170073261,"filename":"image_02052025_05_38_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/714004176c1ff91dabb016488a98bb53.jpg","text":"TemporaryFile(/tmp/multipartBody8271280326479482218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170073261,"filename":"image_02052025_05_38_26_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d83d388079804109b2628253236ca14a.jpg","text":"TemporaryFile(/tmp/multipartBody5320329168215034201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170073261,"filename":"image_02052025_05_39_16_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0d71cdb3b0d732f5251b96ece72c96a.jpg","text":"TemporaryFile(/tmp/multipartBody2349886713153810211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170073261,"filename":"image_02052025_05_38_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/5/2/af83030f27dcfbd08ac606d281616b48.jpg","text":"TemporaryFile(/tmp/multipartBody8460777333877365293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170073261,"filename":"image_02052025_05_38_45_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244125","file1":"1355244122","file0":"1355244120","file4":"1355244132","file5":"1355244134","file3":"1355244129"},"map_files_photo_id_array":[{"photo_id":"1355244134","filename":"file5"},{"photo_id":"1355244125","filename":"file2"},{"photo_id":"1355244132","filename":"file4"},{"photo_id":"1355244122","filename":"file1"},{"photo_id":"1355244120","filename":"file0"},{"photo_id":"1355244129","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244132":["hashtag1","hashtag2"]},{"1355244129":["hashtag1","hashtag2"]},{"1355244120":["hashtag1","hashtag2"]},{"1355244134":["hashtag1","hashtag2"]},{"1355244122":["hashtag1","hashtag2"]},{"1355244125":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244132, 1355244129, 1355244120, 1355244134, 1355244122, 1355244125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.106205463409424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:14:32.836911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/39/image_02052025_05_39_26_10360.jpg', '/home/pi/Desktop/images/02052025/05/39/image_02052025_05_39_35_9433.jpg', '/home/pi/Desktop/images/02052025/05/39/image_02052025_05_39_46_10359.jpg', '/home/pi/Desktop/images/02052025/05/39/image_02052025_05_39_56_10376.jpg', '/home/pi/Desktop/images/02052025/05/39/image_02052025_05_40_06_9438.jpg', '/home/pi/Desktop/images/02052025/05/40/image_02052025_05_40_16_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/39/image_02052025_05_39_26_10360.jpg
/home/pi/Desktop/images/02052025/05/39/image_02052025_05_39_35_9433.jpg
/home/pi/Desktop/images/02052025/05/39/image_02052025_05_39_46_10359.jpg
/home/pi/Desktop/images/02052025/05/39/image_02052025_05_39_56_10376.jpg
/home/pi/Desktop/images/02052025/05/39/image_02052025_05_40_06_9438.jpg
/home/pi/Desktop/images/02052025/05/40/image_02052025_05_40_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":["1355244182","1355244179","1355244176","1355244184","1355244187","1355244180"],"photo_ids_order":["1355244176","1355244179","1355244180","1355244182","1355244184","1355244187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1331deaeba03bcfe001487f6e6d2f2bd.jpg","text":"TemporaryFile(/tmp/multipartBody4360113740538041298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170133372,"filename":"image_02052025_05_39_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0cec3359c760bfb4def0b38aed27d54.jpg","text":"TemporaryFile(/tmp/multipartBody2296220001374679040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170133372,"filename":"image_02052025_05_39_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/5/2/e62782000bd6a0fdf66f8e549ca43248.jpg","text":"TemporaryFile(/tmp/multipartBody8644329835997336039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170133372,"filename":"image_02052025_05_39_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/5/2/6630f2d9b519d175631c43dbb7bb56bb.jpg","text":"TemporaryFile(/tmp/multipartBody4727571242570153631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170133372,"filename":"image_02052025_05_40_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/5/2/1ba6144cb0714b3360efb7c5d5ece4a7.jpg","text":"TemporaryFile(/tmp/multipartBody1499785784317834232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170133372,"filename":"image_02052025_05_40_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/5/2/04c1ce1f438e5165a7c4607fe2a6f2fe.jpg","text":"TemporaryFile(/tmp/multipartBody3449640682477214533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170133372,"filename":"image_02052025_05_39_46_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244180","file1":"1355244179","file0":"1355244176","file4":"1355244184","file5":"1355244187","file3":"1355244182"},"map_files_photo_id_array":[{"photo_id":"1355244187","filename":"file5"},{"photo_id":"1355244180","filename":"file2"},{"photo_id":"1355244184","filename":"file4"},{"photo_id":"1355244179","filename":"file1"},{"photo_id":"1355244176","filename":"file0"},{"photo_id":"1355244182","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244182":["hashtag1","hashtag2"]},{"1355244179":["hashtag1","hashtag2"]},{"1355244176":["hashtag1","hashtag2"]},{"1355244184":["hashtag1","hashtag2"]},{"1355244187":["hashtag1","hashtag2"]},{"1355244180":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244182, 1355244179, 1355244176, 1355244184, 1355244187, 1355244180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32330846786499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:15:33.226686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/40/image_02052025_05_40_26_10415.jpg', '/home/pi/Desktop/images/02052025/05/40/image_02052025_05_40_55_9349.jpg', '/home/pi/Desktop/images/02052025/05/40/image_02052025_05_41_06_10421.jpg', '/home/pi/Desktop/images/02052025/05/41/image_02052025_05_41_15_9469.jpg', '/home/pi/Desktop/images/02052025/05/41/image_02052025_05_41_26_10377.jpg', '/home/pi/Desktop/images/02052025/05/41/image_02052025_05_41_36_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/40/image_02052025_05_40_26_10415.jpg
/home/pi/Desktop/images/02052025/05/40/image_02052025_05_40_55_9349.jpg
/home/pi/Desktop/images/02052025/05/40/image_02052025_05_41_06_10421.jpg
/home/pi/Desktop/images/02052025/05/41/image_02052025_05_41_15_9469.jpg
/home/pi/Desktop/images/02052025/05/41/image_02052025_05_41_26_10377.jpg
/home/pi/Desktop/images/02052025/05/41/image_02052025_05_41_36_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355244233","1355244224","1355244218","1355244211","1355244235","1355244214"],"photo_ids_order":["1355244211","1355244214","1355244218","1355244224","1355244233","1355244235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e1c90dcf5848cfcb3477f9627d109b5.jpg","text":"TemporaryFile(/tmp/multipartBody3625797858788913366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170193777,"filename":"image_02052025_05_41_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c0cc61d074006ed59ec24c58e49c6be.jpg","text":"TemporaryFile(/tmp/multipartBody3846916064045022323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170193777,"filename":"image_02052025_05_41_15_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11de8f2b45adc5adae2331ce1438083c.jpg","text":"TemporaryFile(/tmp/multipartBody5440217352345239437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170193777,"filename":"image_02052025_05_41_06_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b46efb63d93a7c1d2eba75775a4305c4.jpg","text":"TemporaryFile(/tmp/multipartBody3839178989474642727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170193777,"filename":"image_02052025_05_40_26_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1845293fb2f6fbf8286fb92e8fc5fe3.jpg","text":"TemporaryFile(/tmp/multipartBody295455028866818134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170193777,"filename":"image_02052025_05_41_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28661751a64ee91f6465bcce93648acd.jpg","text":"TemporaryFile(/tmp/multipartBody3576808482709543069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170193777,"filename":"image_02052025_05_40_55_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244218","file1":"1355244214","file0":"1355244211","file4":"1355244233","file5":"1355244235","file3":"1355244224"},"map_files_photo_id_array":[{"photo_id":"1355244235","filename":"file5"},{"photo_id":"1355244218","filename":"file2"},{"photo_id":"1355244233","filename":"file4"},{"photo_id":"1355244214","filename":"file1"},{"photo_id":"1355244211","filename":"file0"},{"photo_id":"1355244224","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244233":["hashtag1","hashtag2"]},{"1355244224":["hashtag1","hashtag2"]},{"1355244218":["hashtag1","hashtag2"]},{"1355244211":["hashtag1","hashtag2"]},{"1355244235":["hashtag1","hashtag2"]},{"1355244214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244233, 1355244224, 1355244218, 1355244211, 1355244235, 1355244214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16234612464905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:16:32.384703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/41/image_02052025_05_41_46_9403.jpg', '/home/pi/Desktop/images/02052025/05/41/image_02052025_05_41_56_10377.jpg', '/home/pi/Desktop/images/02052025/05/41/image_02052025_05_42_06_10417.jpg', '/home/pi/Desktop/images/02052025/05/42/image_02052025_05_42_16_9337.jpg', '/home/pi/Desktop/images/02052025/05/42/image_02052025_05_42_26_10359.jpg', '/home/pi/Desktop/images/02052025/05/42/image_02052025_05_42_46_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/41/image_02052025_05_41_46_9403.jpg
/home/pi/Desktop/images/02052025/05/41/image_02052025_05_41_56_10377.jpg
/home/pi/Desktop/images/02052025/05/41/image_02052025_05_42_06_10417.jpg
/home/pi/Desktop/images/02052025/05/42/image_02052025_05_42_16_9337.jpg
/home/pi/Desktop/images/02052025/05/42/image_02052025_05_42_26_10359.jpg
/home/pi/Desktop/images/02052025/05/42/image_02052025_05_42_46_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355244262","1355244265","1355244259","1355244285","1355244273","1355244282"],"photo_ids_order":["1355244259","1355244262","1355244265","1355244273","1355244282","1355244285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/241bcdfa4a44f34dfa0d286fdb31a966.jpg","text":"TemporaryFile(/tmp/multipartBody2861156642884799811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170253004,"filename":"image_02052025_05_41_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/91927487f395682c86cc53b152b10bda.jpg","text":"TemporaryFile(/tmp/multipartBody8396467077666632365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170253004,"filename":"image_02052025_05_42_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/5/2/3aed6efafcd1c5839697a2543279e98b.jpg","text":"TemporaryFile(/tmp/multipartBody8247916300038365715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170253004,"filename":"image_02052025_05_41_46_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5cb571ea5a9c3eb6d5c608f37030f3ce.jpg","text":"TemporaryFile(/tmp/multipartBody869224806964605960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170253004,"filename":"image_02052025_05_42_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/5/2/8e82be46d3a88f5d5e221eba91dfb00d.jpg","text":"TemporaryFile(/tmp/multipartBody6494323171399068443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170253004,"filename":"image_02052025_05_42_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/5/2/4ff73891146a59646486fee77953ee70.jpg","text":"TemporaryFile(/tmp/multipartBody467277216055746034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170253004,"filename":"image_02052025_05_42_26_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244265","file1":"1355244262","file0":"1355244259","file4":"1355244282","file5":"1355244285","file3":"1355244273"},"map_files_photo_id_array":[{"photo_id":"1355244285","filename":"file5"},{"photo_id":"1355244265","filename":"file2"},{"photo_id":"1355244282","filename":"file4"},{"photo_id":"1355244262","filename":"file1"},{"photo_id":"1355244259","filename":"file0"},{"photo_id":"1355244273","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244262":["hashtag1","hashtag2"]},{"1355244265":["hashtag1","hashtag2"]},{"1355244259":["hashtag1","hashtag2"]},{"1355244285":["hashtag1","hashtag2"]},{"1355244273":["hashtag1","hashtag2"]},{"1355244282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244262, 1355244265, 1355244259, 1355244285, 1355244273, 1355244282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.587536811828613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:17:32.712941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/42/image_02052025_05_42_56_10376.jpg', '/home/pi/Desktop/images/02052025/05/42/image_02052025_05_43_06_9435.jpg', '/home/pi/Desktop/images/02052025/05/43/image_02052025_05_43_16_10349.jpg', '/home/pi/Desktop/images/02052025/05/43/image_02052025_05_43_26_10407.jpg', '/home/pi/Desktop/images/02052025/05/43/image_02052025_05_43_36_9343.jpg', '/home/pi/Desktop/images/02052025/05/43/image_02052025_05_43_46_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/42/image_02052025_05_42_56_10376.jpg
/home/pi/Desktop/images/02052025/05/42/image_02052025_05_43_06_9435.jpg
/home/pi/Desktop/images/02052025/05/43/image_02052025_05_43_16_10349.jpg
/home/pi/Desktop/images/02052025/05/43/image_02052025_05_43_26_10407.jpg
/home/pi/Desktop/images/02052025/05/43/image_02052025_05_43_36_9343.jpg
/home/pi/Desktop/images/02052025/05/43/image_02052025_05_43_46_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355244357","1355244353","1355244404","1355244355","1355244384","1355244348"],"photo_ids_order":["1355244348","1355244353","1355244355","1355244357","1355244384","1355244404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/250f0ab2f5a28461f299c234e41c62bb.jpg","text":"TemporaryFile(/tmp/multipartBody359054179702310929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170313244,"filename":"image_02052025_05_43_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/5/2/536909f60bac0acb13deba74d25daea6.jpg","text":"TemporaryFile(/tmp/multipartBody2129104578704041764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170313244,"filename":"image_02052025_05_43_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/5/2/1c60becf444a5a3b84a58ee248cf45af.jpg","text":"TemporaryFile(/tmp/multipartBody6060450843077978850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170313244,"filename":"image_02052025_05_43_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/5/2/c8ca7ec07cd8e36c9c1a68e8245ca687.jpg","text":"TemporaryFile(/tmp/multipartBody8780417088568950791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170313244,"filename":"image_02052025_05_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/5/2/1db3156e49ae73a84d52ebcc677929dd.jpg","text":"TemporaryFile(/tmp/multipartBody1793956587073276895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170313244,"filename":"image_02052025_05_43_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/5/2/3980613197a16d8b62052cfb806c8ba4.jpg","text":"TemporaryFile(/tmp/multipartBody7709174868784080286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170313244,"filename":"image_02052025_05_42_56_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244355","file1":"1355244353","file0":"1355244348","file4":"1355244384","file5":"1355244404","file3":"1355244357"},"map_files_photo_id_array":[{"photo_id":"1355244404","filename":"file5"},{"photo_id":"1355244355","filename":"file2"},{"photo_id":"1355244384","filename":"file4"},{"photo_id":"1355244353","filename":"file1"},{"photo_id":"1355244348","filename":"file0"},{"photo_id":"1355244357","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244357":["hashtag1","hashtag2"]},{"1355244353":["hashtag1","hashtag2"]},{"1355244404":["hashtag1","hashtag2"]},{"1355244355":["hashtag1","hashtag2"]},{"1355244384":["hashtag1","hashtag2"]},{"1355244348":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244357, 1355244353, 1355244404, 1355244355, 1355244384, 1355244348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42894411087036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:18:32.977470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/43/image_02052025_05_43_55_9397.jpg', '/home/pi/Desktop/images/02052025/05/43/image_02052025_05_44_06_10352.jpg', '/home/pi/Desktop/images/02052025/05/44/image_02052025_05_44_16_10356.jpg', '/home/pi/Desktop/images/02052025/05/44/image_02052025_05_44_26_9444.jpg', '/home/pi/Desktop/images/02052025/05/44/image_02052025_05_44_36_10381.jpg', '/home/pi/Desktop/images/02052025/05/44/image_02052025_05_44_46_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/43/image_02052025_05_43_55_9397.jpg
/home/pi/Desktop/images/02052025/05/43/image_02052025_05_44_06_10352.jpg
/home/pi/Desktop/images/02052025/05/44/image_02052025_05_44_16_10356.jpg
/home/pi/Desktop/images/02052025/05/44/image_02052025_05_44_26_9444.jpg
/home/pi/Desktop/images/02052025/05/44/image_02052025_05_44_36_10381.jpg
/home/pi/Desktop/images/02052025/05/44/image_02052025_05_44_46_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":["1355244443","1355244425","1355244422","1355244436","1355244439","1355244430"],"photo_ids_order":["1355244422","1355244425","1355244430","1355244436","1355244439","1355244443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e246327035ab76b9e7adc25a4346ec3.jpg","text":"TemporaryFile(/tmp/multipartBody2731751786184964163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170373524,"filename":"image_02052025_05_44_46_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e68a82cc70a34e965703977933efb1e7.jpg","text":"TemporaryFile(/tmp/multipartBody3399667751474342768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170373524,"filename":"image_02052025_05_44_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a657a637110263eb538b75442abffa06.jpg","text":"TemporaryFile(/tmp/multipartBody8141835145087099791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170373524,"filename":"image_02052025_05_43_55_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7eae97ff2aef0d03e629d88c7eb49309.jpg","text":"TemporaryFile(/tmp/multipartBody5120683768108961024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170373524,"filename":"image_02052025_05_44_26_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f83bb77b913f62d92368be0bc93938e.jpg","text":"TemporaryFile(/tmp/multipartBody2426588988255524466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170373524,"filename":"image_02052025_05_44_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/5/2/20a48245409b5abcacbb32a39c2b8285.jpg","text":"TemporaryFile(/tmp/multipartBody6632963766764200870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170373524,"filename":"image_02052025_05_44_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244430","file1":"1355244425","file0":"1355244422","file4":"1355244439","file5":"1355244443","file3":"1355244436"},"map_files_photo_id_array":[{"photo_id":"1355244443","filename":"file5"},{"photo_id":"1355244430","filename":"file2"},{"photo_id":"1355244439","filename":"file4"},{"photo_id":"1355244425","filename":"file1"},{"photo_id":"1355244422","filename":"file0"},{"photo_id":"1355244436","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244443":["hashtag1","hashtag2"]},{"1355244425":["hashtag1","hashtag2"]},{"1355244422":["hashtag1","hashtag2"]},{"1355244436":["hashtag1","hashtag2"]},{"1355244439":["hashtag1","hashtag2"]},{"1355244430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244443, 1355244425, 1355244422, 1355244436, 1355244439, 1355244430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.704996585845947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:19:33.215582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/44/image_02052025_05_44_56_9344.jpg', '/home/pi/Desktop/images/02052025/05/44/image_02052025_05_45_06_10363.jpg', '/home/pi/Desktop/images/02052025/05/45/image_02052025_05_45_15_9354.jpg', '/home/pi/Desktop/images/02052025/05/45/image_02052025_05_45_26_10446.jpg', '/home/pi/Desktop/images/02052025/05/45/image_02052025_05_45_36_10407.jpg', '/home/pi/Desktop/images/02052025/05/45/image_02052025_05_45_46_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/44/image_02052025_05_44_56_9344.jpg
/home/pi/Desktop/images/02052025/05/44/image_02052025_05_45_06_10363.jpg
/home/pi/Desktop/images/02052025/05/45/image_02052025_05_45_15_9354.jpg
/home/pi/Desktop/images/02052025/05/45/image_02052025_05_45_26_10446.jpg
/home/pi/Desktop/images/02052025/05/45/image_02052025_05_45_36_10407.jpg
/home/pi/Desktop/images/02052025/05/45/image_02052025_05_45_46_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":["1355244462","1355244497","1355244493","1355244498","1355244474","1355244468"],"photo_ids_order":["1355244462","1355244468","1355244474","1355244493","1355244497","1355244498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/25021620a7d4b69f8119774b2289e0ca.jpg","text":"TemporaryFile(/tmp/multipartBody67429598731787361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170433746,"filename":"image_02052025_05_44_56_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b1e8678ae2956679850120c0ce99fb0.jpg","text":"TemporaryFile(/tmp/multipartBody3289789916751327101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170433746,"filename":"image_02052025_05_45_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/5/2/25590cfcd76b18e416da74a5b9a0da2d.jpg","text":"TemporaryFile(/tmp/multipartBody5499529262475752749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170433746,"filename":"image_02052025_05_45_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/5/2/6182e42f210bc4d0a4b7e3ea0ce55b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8479331272454973480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170433746,"filename":"image_02052025_05_45_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/5/2/3953043452e635370184eade8f307c02.jpg","text":"TemporaryFile(/tmp/multipartBody6229435160598679742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170433746,"filename":"image_02052025_05_45_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4c0ac8a004da1f6bee7c98639cd0083a.jpg","text":"TemporaryFile(/tmp/multipartBody4808111635292721217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170433746,"filename":"image_02052025_05_45_06_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244474","file1":"1355244468","file0":"1355244462","file4":"1355244497","file5":"1355244498","file3":"1355244493"},"map_files_photo_id_array":[{"photo_id":"1355244498","filename":"file5"},{"photo_id":"1355244474","filename":"file2"},{"photo_id":"1355244497","filename":"file4"},{"photo_id":"1355244468","filename":"file1"},{"photo_id":"1355244462","filename":"file0"},{"photo_id":"1355244493","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244462":["hashtag1","hashtag2"]},{"1355244497":["hashtag1","hashtag2"]},{"1355244493":["hashtag1","hashtag2"]},{"1355244498":["hashtag1","hashtag2"]},{"1355244474":["hashtag1","hashtag2"]},{"1355244468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244462, 1355244497, 1355244493, 1355244498, 1355244474, 1355244468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0838189125061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:20:32.390416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/45/image_02052025_05_45_56_10486.jpg', '/home/pi/Desktop/images/02052025/05/45/image_02052025_05_46_06_9472.jpg', '/home/pi/Desktop/images/02052025/05/46/image_02052025_05_46_26_10406.jpg', '/home/pi/Desktop/images/02052025/05/46/image_02052025_05_46_36_9341.jpg', '/home/pi/Desktop/images/02052025/05/46/image_02052025_05_46_46_10368.jpg', '/home/pi/Desktop/images/02052025/05/46/image_02052025_05_46_55_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/45/image_02052025_05_45_56_10486.jpg
/home/pi/Desktop/images/02052025/05/45/image_02052025_05_46_06_9472.jpg
/home/pi/Desktop/images/02052025/05/46/image_02052025_05_46_26_10406.jpg
/home/pi/Desktop/images/02052025/05/46/image_02052025_05_46_36_9341.jpg
/home/pi/Desktop/images/02052025/05/46/image_02052025_05_46_46_10368.jpg
/home/pi/Desktop/images/02052025/05/46/image_02052025_05_46_55_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":["1355244522","1355244519","1355244527","1355244535","1355244538","1355244532"],"photo_ids_order":["1355244519","1355244522","1355244527","1355244532","1355244535","1355244538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c87a649f75810080148084814de0db6c.jpg","text":"TemporaryFile(/tmp/multipartBody4099140456756447783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170492927,"filename":"image_02052025_05_46_06_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b20743e72e3265b2692489ce00de30dc.jpg","text":"TemporaryFile(/tmp/multipartBody5146634559795393790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170492927,"filename":"image_02052025_05_45_56_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d69a6eddb3ff735266bb35c8469ef32b.jpg","text":"TemporaryFile(/tmp/multipartBody4585213880687923468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170492927,"filename":"image_02052025_05_46_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/5/2/af8e2a6c6d19bb74c8dc255c7b37cd31.jpg","text":"TemporaryFile(/tmp/multipartBody8700638477439585046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170492927,"filename":"image_02052025_05_46_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/5/2/e15bf4ac54844800c1712289f77da297.jpg","text":"TemporaryFile(/tmp/multipartBody5088952426410617825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170492927,"filename":"image_02052025_05_46_55_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/690a831156c7131dc6408ce8343cf14f.jpg","text":"TemporaryFile(/tmp/multipartBody4083194450316547128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170492927,"filename":"image_02052025_05_46_36_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244527","file1":"1355244522","file0":"1355244519","file4":"1355244535","file5":"1355244538","file3":"1355244532"},"map_files_photo_id_array":[{"photo_id":"1355244538","filename":"file5"},{"photo_id":"1355244527","filename":"file2"},{"photo_id":"1355244535","filename":"file4"},{"photo_id":"1355244522","filename":"file1"},{"photo_id":"1355244519","filename":"file0"},{"photo_id":"1355244532","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244522":["hashtag1","hashtag2"]},{"1355244519":["hashtag1","hashtag2"]},{"1355244527":["hashtag1","hashtag2"]},{"1355244535":["hashtag1","hashtag2"]},{"1355244538":["hashtag1","hashtag2"]},{"1355244532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244522, 1355244519, 1355244527, 1355244535, 1355244538, 1355244532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.710764169692993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:21:32.632360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/46/image_02052025_05_47_06_10452.jpg', '/home/pi/Desktop/images/02052025/05/47/image_02052025_05_47_16_10473.jpg', '/home/pi/Desktop/images/02052025/05/47/image_02052025_05_47_26_9370.jpg', '/home/pi/Desktop/images/02052025/05/47/image_02052025_05_47_36_10356.jpg', '/home/pi/Desktop/images/02052025/05/47/image_02052025_05_47_45_9360.jpg', '/home/pi/Desktop/images/02052025/05/47/image_02052025_05_47_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/46/image_02052025_05_47_06_10452.jpg
/home/pi/Desktop/images/02052025/05/47/image_02052025_05_47_16_10473.jpg
/home/pi/Desktop/images/02052025/05/47/image_02052025_05_47_26_9370.jpg
/home/pi/Desktop/images/02052025/05/47/image_02052025_05_47_36_10356.jpg
/home/pi/Desktop/images/02052025/05/47/image_02052025_05_47_45_9360.jpg
/home/pi/Desktop/images/02052025/05/47/image_02052025_05_47_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":["1355244561","1355244581","1355244575","1355244572","1355244579","1355244567"],"photo_ids_order":["1355244561","1355244567","1355244572","1355244575","1355244579","1355244581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6dc240e8a3f591b7f9d8020d23d2002c.jpg","text":"TemporaryFile(/tmp/multipartBody160803629759780126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170556577,"filename":"image_02052025_05_47_06_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d08be8ed6f22f674567ad2c81741698.jpg","text":"TemporaryFile(/tmp/multipartBody1186707873770943492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170556577,"filename":"image_02052025_05_47_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/5/2/f3675fcb26437bc9635c3a34602f7a30.jpg","text":"TemporaryFile(/tmp/multipartBody6414882886469771239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170556577,"filename":"image_02052025_05_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/5/2/f518b264a67545652dbe95cca7265ca8.jpg","text":"TemporaryFile(/tmp/multipartBody6144422637814438433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170556577,"filename":"image_02052025_05_47_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/5/2/519a11f1a542e6d590d2c184c70dbd1b.jpg","text":"TemporaryFile(/tmp/multipartBody7396324477068256550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170556577,"filename":"image_02052025_05_47_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/5/2/5b72d91d11a603b94177e8cd4aa181dc.jpg","text":"TemporaryFile(/tmp/multipartBody9008525857533410100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170556577,"filename":"image_02052025_05_47_16_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244572","file1":"1355244567","file0":"1355244561","file4":"1355244579","file5":"1355244581","file3":"1355244575"},"map_files_photo_id_array":[{"photo_id":"1355244581","filename":"file5"},{"photo_id":"1355244572","filename":"file2"},{"photo_id":"1355244579","filename":"file4"},{"photo_id":"1355244567","filename":"file1"},{"photo_id":"1355244561","filename":"file0"},{"photo_id":"1355244575","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244561":["hashtag1","hashtag2"]},{"1355244581":["hashtag1","hashtag2"]},{"1355244575":["hashtag1","hashtag2"]},{"1355244572":["hashtag1","hashtag2"]},{"1355244579":["hashtag1","hashtag2"]},{"1355244567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244561, 1355244581, 1355244575, 1355244572, 1355244579, 1355244567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75147819519043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:22:32.898438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/48/image_02052025_05_48_15_9326.jpg', '/home/pi/Desktop/images/02052025/05/48/image_02052025_05_48_26_10389.jpg', '/home/pi/Desktop/images/02052025/05/48/image_02052025_05_48_36_10401.jpg', '/home/pi/Desktop/images/02052025/05/48/image_02052025_05_48_46_9450.jpg', '/home/pi/Desktop/images/02052025/05/48/image_02052025_05_48_56_10382.jpg', '/home/pi/Desktop/images/02052025/05/48/image_02052025_05_49_05_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/48/image_02052025_05_48_15_9326.jpg
/home/pi/Desktop/images/02052025/05/48/image_02052025_05_48_26_10389.jpg
/home/pi/Desktop/images/02052025/05/48/image_02052025_05_48_36_10401.jpg
/home/pi/Desktop/images/02052025/05/48/image_02052025_05_48_46_9450.jpg
/home/pi/Desktop/images/02052025/05/48/image_02052025_05_48_56_10382.jpg
/home/pi/Desktop/images/02052025/05/48/image_02052025_05_49_05_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355244600","1355244602","1355244595","1355244610","1355244607","1355244591"],"photo_ids_order":["1355244591","1355244595","1355244600","1355244602","1355244607","1355244610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f374bae88795717311fd8a6ed6d7f58.jpg","text":"TemporaryFile(/tmp/multipartBody5930609969312432046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170613449,"filename":"image_02052025_05_48_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/5/2/46b638bd5726ca1b8a93c5cbd6e4b510.jpg","text":"TemporaryFile(/tmp/multipartBody3491090268271134868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170613449,"filename":"image_02052025_05_48_46_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/478ce14e6e1778d85eb9adf713dc5192.jpg","text":"TemporaryFile(/tmp/multipartBody1966633996643923054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170613449,"filename":"image_02052025_05_48_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/5/2/ccd53f4e16618a3b9bd13cd8b42cb12b.jpg","text":"TemporaryFile(/tmp/multipartBody2556524841971854895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170613449,"filename":"image_02052025_05_49_05_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee7a9ee652cf186c7e827fe6841077f5.jpg","text":"TemporaryFile(/tmp/multipartBody506591476240696782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170613449,"filename":"image_02052025_05_48_56_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/70e15e332a67e357a26280407d645bcb.jpg","text":"TemporaryFile(/tmp/multipartBody4696926535855201913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170613449,"filename":"image_02052025_05_48_15_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244600","file1":"1355244595","file0":"1355244591","file4":"1355244607","file5":"1355244610","file3":"1355244602"},"map_files_photo_id_array":[{"photo_id":"1355244610","filename":"file5"},{"photo_id":"1355244600","filename":"file2"},{"photo_id":"1355244607","filename":"file4"},{"photo_id":"1355244595","filename":"file1"},{"photo_id":"1355244591","filename":"file0"},{"photo_id":"1355244602","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244600":["hashtag1","hashtag2"]},{"1355244602":["hashtag1","hashtag2"]},{"1355244595":["hashtag1","hashtag2"]},{"1355244610":["hashtag1","hashtag2"]},{"1355244607":["hashtag1","hashtag2"]},{"1355244591":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244600, 1355244602, 1355244595, 1355244610, 1355244607, 1355244591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.583441734313965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:23:32.206140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/49/image_02052025_05_49_16_10357.jpg', '/home/pi/Desktop/images/02052025/05/49/image_02052025_05_49_26_10385.jpg', '/home/pi/Desktop/images/02052025/05/49/image_02052025_05_49_36_9370.jpg', '/home/pi/Desktop/images/02052025/05/49/image_02052025_05_49_46_10780.jpg', '/home/pi/Desktop/images/02052025/05/49/image_02052025_05_49_56_9526.jpg', '/home/pi/Desktop/images/02052025/05/49/image_02052025_05_50_05_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/49/image_02052025_05_49_16_10357.jpg
/home/pi/Desktop/images/02052025/05/49/image_02052025_05_49_26_10385.jpg
/home/pi/Desktop/images/02052025/05/49/image_02052025_05_49_36_9370.jpg
/home/pi/Desktop/images/02052025/05/49/image_02052025_05_49_46_10780.jpg
/home/pi/Desktop/images/02052025/05/49/image_02052025_05_49_56_9526.jpg
/home/pi/Desktop/images/02052025/05/49/image_02052025_05_50_05_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355244647","1355244635","1355244646","1355244643","1355244631","1355244639"],"photo_ids_order":["1355244631","1355244635","1355244639","1355244643","1355244646","1355244647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f523166fc4c9dc552a653832f05954a8.jpg","text":"TemporaryFile(/tmp/multipartBody6949414919465411952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170672743,"filename":"image_02052025_05_50_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/5/2/a1db743ed46377b5cdc9ee2baff81bbb.jpg","text":"TemporaryFile(/tmp/multipartBody6945911822358532158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170672743,"filename":"image_02052025_05_49_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/5/2/35a2f0af27fc0d7f267ed7d056a94854.jpg","text":"TemporaryFile(/tmp/multipartBody3263824857111117225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170672743,"filename":"image_02052025_05_49_56_9526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f01a3f2bb9170db8193bef4d54d1993.jpg","text":"TemporaryFile(/tmp/multipartBody3635147172024164514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170672743,"filename":"image_02052025_05_49_46_10780.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/45de643318ced3db8c5e99e34d1621e6.jpg","text":"TemporaryFile(/tmp/multipartBody4668791926228246784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170672743,"filename":"image_02052025_05_49_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/5/2/2fb861b10864228ca5daf72bbb7aad65.jpg","text":"TemporaryFile(/tmp/multipartBody4314208133503949557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170672743,"filename":"image_02052025_05_49_36_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244639","file1":"1355244635","file0":"1355244631","file4":"1355244646","file5":"1355244647","file3":"1355244643"},"map_files_photo_id_array":[{"photo_id":"1355244647","filename":"file5"},{"photo_id":"1355244639","filename":"file2"},{"photo_id":"1355244646","filename":"file4"},{"photo_id":"1355244635","filename":"file1"},{"photo_id":"1355244631","filename":"file0"},{"photo_id":"1355244643","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244647":["hashtag1","hashtag2"]},{"1355244635":["hashtag1","hashtag2"]},{"1355244646":["hashtag1","hashtag2"]},{"1355244643":["hashtag1","hashtag2"]},{"1355244631":["hashtag1","hashtag2"]},{"1355244639":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244647, 1355244635, 1355244646, 1355244643, 1355244631, 1355244639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.494446992874146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:24:32.367275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/50/image_02052025_05_50_16_10788.jpg', '/home/pi/Desktop/images/02052025/05/50/image_02052025_05_50_26_9419.jpg', '/home/pi/Desktop/images/02052025/05/50/image_02052025_05_50_36_10352.jpg', '/home/pi/Desktop/images/02052025/05/50/image_02052025_05_50_46_10414.jpg', '/home/pi/Desktop/images/02052025/05/50/image_02052025_05_50_56_9378.jpg', '/home/pi/Desktop/images/02052025/05/50/image_02052025_05_51_06_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/50/image_02052025_05_50_16_10788.jpg
/home/pi/Desktop/images/02052025/05/50/image_02052025_05_50_26_9419.jpg
/home/pi/Desktop/images/02052025/05/50/image_02052025_05_50_36_10352.jpg
/home/pi/Desktop/images/02052025/05/50/image_02052025_05_50_46_10414.jpg
/home/pi/Desktop/images/02052025/05/50/image_02052025_05_50_56_9378.jpg
/home/pi/Desktop/images/02052025/05/50/image_02052025_05_51_06_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355244665","1355244670","1355244661","1355244655","1355244657","1355244672"],"photo_ids_order":["1355244655","1355244657","1355244661","1355244665","1355244670","1355244672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c5d5d25e5ac23dc653797ccaba4024a8.jpg","text":"TemporaryFile(/tmp/multipartBody5598984354562706777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170732903,"filename":"image_02052025_05_50_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cebb9222ec3c0eb1dbf51c193240e7d6.jpg","text":"TemporaryFile(/tmp/multipartBody5931516870710392932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170732903,"filename":"image_02052025_05_50_56_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4eaedde8814c41deb73075f7a6dc18d6.jpg","text":"TemporaryFile(/tmp/multipartBody1364926225309305953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170732903,"filename":"image_02052025_05_50_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/5/2/ec76a456873c9c12d71208fd9bc55e67.jpg","text":"TemporaryFile(/tmp/multipartBody9141056521388596472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170732903,"filename":"image_02052025_05_50_16_10788.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9147bc0743714f6d3cf0e94f68b80bf.jpg","text":"TemporaryFile(/tmp/multipartBody5121331624372925610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170732903,"filename":"image_02052025_05_50_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/5/2/867e7dfd0960fdb1d78a375d9922e007.jpg","text":"TemporaryFile(/tmp/multipartBody2410134228349391148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170732903,"filename":"image_02052025_05_51_06_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244661","file1":"1355244657","file0":"1355244655","file4":"1355244670","file5":"1355244672","file3":"1355244665"},"map_files_photo_id_array":[{"photo_id":"1355244672","filename":"file5"},{"photo_id":"1355244661","filename":"file2"},{"photo_id":"1355244670","filename":"file4"},{"photo_id":"1355244657","filename":"file1"},{"photo_id":"1355244655","filename":"file0"},{"photo_id":"1355244665","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244665":["hashtag1","hashtag2"]},{"1355244670":["hashtag1","hashtag2"]},{"1355244661":["hashtag1","hashtag2"]},{"1355244655":["hashtag1","hashtag2"]},{"1355244657":["hashtag1","hashtag2"]},{"1355244672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244665, 1355244670, 1355244661, 1355244655, 1355244657, 1355244672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.19452404975891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:25:32.594213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/51/image_02052025_05_51_16_9447.jpg', '/home/pi/Desktop/images/02052025/05/51/image_02052025_05_51_26_10369.jpg', '/home/pi/Desktop/images/02052025/05/51/image_02052025_05_51_36_10452.jpg', '/home/pi/Desktop/images/02052025/05/51/image_02052025_05_51_46_9374.jpg', '/home/pi/Desktop/images/02052025/05/51/image_02052025_05_52_06_9449.jpg', '/home/pi/Desktop/images/02052025/05/52/image_02052025_05_52_16_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/51/image_02052025_05_51_16_9447.jpg
/home/pi/Desktop/images/02052025/05/51/image_02052025_05_51_26_10369.jpg
/home/pi/Desktop/images/02052025/05/51/image_02052025_05_51_36_10452.jpg
/home/pi/Desktop/images/02052025/05/51/image_02052025_05_51_46_9374.jpg
/home/pi/Desktop/images/02052025/05/51/image_02052025_05_52_06_9449.jpg
/home/pi/Desktop/images/02052025/05/52/image_02052025_05_52_16_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355244692","1355244695","1355244697","1355244688","1355244699","1355244684"],"photo_ids_order":["1355244684","1355244688","1355244692","1355244695","1355244697","1355244699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/48a85cb4e609c0e344d45021242fbfd5.jpg","text":"TemporaryFile(/tmp/multipartBody1391546900214591588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170793140,"filename":"image_02052025_05_51_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/5/2/60beff19344f9152c5a6445f669ea0b1.jpg","text":"TemporaryFile(/tmp/multipartBody6248926372663461026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170793140,"filename":"image_02052025_05_51_46_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ee7a9735490f1043a7cc3503e050240.jpg","text":"TemporaryFile(/tmp/multipartBody2327105352704572449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170793140,"filename":"image_02052025_05_52_06_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd201ac509fbb06e63912f4be519da18.jpg","text":"TemporaryFile(/tmp/multipartBody4189398296179752241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170793140,"filename":"image_02052025_05_51_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/5/2/ad9006b3a99fff0da2ece6365f616d7b.jpg","text":"TemporaryFile(/tmp/multipartBody7509110864639955186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170793140,"filename":"image_02052025_05_52_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/5/2/613617597af98e4cd527b26055a98b0f.jpg","text":"TemporaryFile(/tmp/multipartBody3496127412042484051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170793140,"filename":"image_02052025_05_51_16_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244692","file1":"1355244688","file0":"1355244684","file4":"1355244697","file5":"1355244699","file3":"1355244695"},"map_files_photo_id_array":[{"photo_id":"1355244699","filename":"file5"},{"photo_id":"1355244692","filename":"file2"},{"photo_id":"1355244697","filename":"file4"},{"photo_id":"1355244688","filename":"file1"},{"photo_id":"1355244684","filename":"file0"},{"photo_id":"1355244695","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244692":["hashtag1","hashtag2"]},{"1355244695":["hashtag1","hashtag2"]},{"1355244697":["hashtag1","hashtag2"]},{"1355244688":["hashtag1","hashtag2"]},{"1355244699":["hashtag1","hashtag2"]},{"1355244684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244692, 1355244695, 1355244697, 1355244688, 1355244699, 1355244684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.343212842941284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:26:32.639244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/52/image_02052025_05_52_26_10430.jpg', '/home/pi/Desktop/images/02052025/05/52/image_02052025_05_52_36_9330.jpg', '/home/pi/Desktop/images/02052025/05/52/image_02052025_05_52_46_10422.jpg', '/home/pi/Desktop/images/02052025/05/52/image_02052025_05_52_55_9397.jpg', '/home/pi/Desktop/images/02052025/05/52/image_02052025_05_53_06_10351.jpg', '/home/pi/Desktop/images/02052025/05/53/image_02052025_05_53_16_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/52/image_02052025_05_52_26_10430.jpg
/home/pi/Desktop/images/02052025/05/52/image_02052025_05_52_36_9330.jpg
/home/pi/Desktop/images/02052025/05/52/image_02052025_05_52_46_10422.jpg
/home/pi/Desktop/images/02052025/05/52/image_02052025_05_52_55_9397.jpg
/home/pi/Desktop/images/02052025/05/52/image_02052025_05_53_06_10351.jpg
/home/pi/Desktop/images/02052025/05/53/image_02052025_05_53_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":["1355244747","1355244752","1355244764","1355244781","1355244769","1355244760"],"photo_ids_order":["1355244747","1355244752","1355244760","1355244764","1355244769","1355244781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bdca94a2203e68670a6c8ede0367efde.jpg","text":"TemporaryFile(/tmp/multipartBody8508536876974035496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170853175,"filename":"image_02052025_05_52_26_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b7a69233a98d02a0e4e132cb413b668f.jpg","text":"TemporaryFile(/tmp/multipartBody8684662750995420710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170853175,"filename":"image_02052025_05_52_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/5/2/b42546f7a8044b294b4d57f049edfd1b.jpg","text":"TemporaryFile(/tmp/multipartBody2789502158662855464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170853175,"filename":"image_02052025_05_52_55_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3aad0196c08a8458b4827121007968df.jpg","text":"TemporaryFile(/tmp/multipartBody7664314577261190376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170853175,"filename":"image_02052025_05_53_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/5/2/c00ce97fec7a275fdc85d5b0a46aa846.jpg","text":"TemporaryFile(/tmp/multipartBody1521686591041179203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170853175,"filename":"image_02052025_05_53_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/5/2/64c11c5252e2b20b9e1a85631017c0da.jpg","text":"TemporaryFile(/tmp/multipartBody2531568472056825019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170853175,"filename":"image_02052025_05_52_46_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244760","file1":"1355244752","file0":"1355244747","file4":"1355244769","file5":"1355244781","file3":"1355244764"},"map_files_photo_id_array":[{"photo_id":"1355244781","filename":"file5"},{"photo_id":"1355244760","filename":"file2"},{"photo_id":"1355244769","filename":"file4"},{"photo_id":"1355244752","filename":"file1"},{"photo_id":"1355244747","filename":"file0"},{"photo_id":"1355244764","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244747":["hashtag1","hashtag2"]},{"1355244752":["hashtag1","hashtag2"]},{"1355244764":["hashtag1","hashtag2"]},{"1355244781":["hashtag1","hashtag2"]},{"1355244769":["hashtag1","hashtag2"]},{"1355244760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244747, 1355244752, 1355244764, 1355244781, 1355244769, 1355244760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.31577181816101 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:27:32.844384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/53/image_02052025_05_53_26_9437.jpg', '/home/pi/Desktop/images/02052025/05/53/image_02052025_05_53_56_10362.jpg', '/home/pi/Desktop/images/02052025/05/53/image_02052025_05_54_06_10364.jpg', '/home/pi/Desktop/images/02052025/05/54/image_02052025_05_54_16_9352.jpg', '/home/pi/Desktop/images/02052025/05/54/image_02052025_05_54_26_10374.jpg', '/home/pi/Desktop/images/02052025/05/54/image_02052025_05_54_36_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/53/image_02052025_05_53_26_9437.jpg
/home/pi/Desktop/images/02052025/05/53/image_02052025_05_53_56_10362.jpg
/home/pi/Desktop/images/02052025/05/53/image_02052025_05_54_06_10364.jpg
/home/pi/Desktop/images/02052025/05/54/image_02052025_05_54_16_9352.jpg
/home/pi/Desktop/images/02052025/05/54/image_02052025_05_54_26_10374.jpg
/home/pi/Desktop/images/02052025/05/54/image_02052025_05_54_36_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":["1355244884","1355244893","1355244898","1355244901","1355244904","1355244888"],"photo_ids_order":["1355244884","1355244888","1355244893","1355244898","1355244901","1355244904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f217a455d2aea1a72d6b59163d968453.jpg","text":"TemporaryFile(/tmp/multipartBody8936258422638037888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170913390,"filename":"image_02052025_05_53_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/5/2/fa90c212a01ea7ece443f2ecdc7b0fdf.jpg","text":"TemporaryFile(/tmp/multipartBody5324288365230472597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170913390,"filename":"image_02052025_05_54_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/5/2/58f7e32d749018695c7918daf0f35428.jpg","text":"TemporaryFile(/tmp/multipartBody2158910607793018547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170913390,"filename":"image_02052025_05_54_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/5/2/ca12434df42c885ad881839e64f3b4e9.jpg","text":"TemporaryFile(/tmp/multipartBody1450140279817862133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170913390,"filename":"image_02052025_05_54_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/5/2/d08bc0a35ad477699dbd9a201bf97d06.jpg","text":"TemporaryFile(/tmp/multipartBody2500668840699082279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170913390,"filename":"image_02052025_05_54_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/5/2/d44e3fe1f32251fa0df09d483d8d4b63.jpg","text":"TemporaryFile(/tmp/multipartBody8213068747285033733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170913390,"filename":"image_02052025_05_53_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244893","file1":"1355244888","file0":"1355244884","file4":"1355244901","file5":"1355244904","file3":"1355244898"},"map_files_photo_id_array":[{"photo_id":"1355244904","filename":"file5"},{"photo_id":"1355244893","filename":"file2"},{"photo_id":"1355244901","filename":"file4"},{"photo_id":"1355244888","filename":"file1"},{"photo_id":"1355244884","filename":"file0"},{"photo_id":"1355244898","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244884":["hashtag1","hashtag2"]},{"1355244893":["hashtag1","hashtag2"]},{"1355244898":["hashtag1","hashtag2"]},{"1355244901":["hashtag1","hashtag2"]},{"1355244904":["hashtag1","hashtag2"]},{"1355244888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244884, 1355244893, 1355244898, 1355244901, 1355244904, 1355244888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.062030792236328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:28:33.108789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/54/image_02052025_05_54_46_9360.jpg', '/home/pi/Desktop/images/02052025/05/54/image_02052025_05_54_56_10361.jpg', '/home/pi/Desktop/images/02052025/05/54/image_02052025_05_55_05_9363.jpg', '/home/pi/Desktop/images/02052025/05/55/image_02052025_05_55_16_10360.jpg', '/home/pi/Desktop/images/02052025/05/55/image_02052025_05_55_26_10367.jpg', '/home/pi/Desktop/images/02052025/05/55/image_02052025_05_55_36_10206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/54/image_02052025_05_54_46_9360.jpg
/home/pi/Desktop/images/02052025/05/54/image_02052025_05_54_56_10361.jpg
/home/pi/Desktop/images/02052025/05/54/image_02052025_05_55_05_9363.jpg
/home/pi/Desktop/images/02052025/05/55/image_02052025_05_55_16_10360.jpg
/home/pi/Desktop/images/02052025/05/55/image_02052025_05_55_26_10367.jpg
/home/pi/Desktop/images/02052025/05/55/image_02052025_05_55_36_10206.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355244939","1355244930","1355244926","1355244934","1355244937","1355244922"],"photo_ids_order":["1355244922","1355244926","1355244930","1355244934","1355244937","1355244939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cc06069043282ea9a39df6cc8bb1e530.jpg","text":"TemporaryFile(/tmp/multipartBody3846353058674131879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170973664,"filename":"image_02052025_05_55_36_10206.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5c69ac435cd1c4fdd38c878b37d30300.jpg","text":"TemporaryFile(/tmp/multipartBody6209584426096860031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170973664,"filename":"image_02052025_05_55_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d2c8b6364fec7c3e93bc188ea8d39019.jpg","text":"TemporaryFile(/tmp/multipartBody4115104355151224530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170973664,"filename":"image_02052025_05_54_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/5/2/4fe667b581b2fa36be59b6a66fce6a48.jpg","text":"TemporaryFile(/tmp/multipartBody1026733994575187361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170973664,"filename":"image_02052025_05_55_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/5/2/9040245f45e12cfd25939a49f24df84b.jpg","text":"TemporaryFile(/tmp/multipartBody4032791784864543544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170973664,"filename":"image_02052025_05_55_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/5/2/8f2862122ff1c3d525c903483ca1f3e3.jpg","text":"TemporaryFile(/tmp/multipartBody4702890922319894149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746170973664,"filename":"image_02052025_05_54_46_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244930","file1":"1355244926","file0":"1355244922","file4":"1355244937","file5":"1355244939","file3":"1355244934"},"map_files_photo_id_array":[{"photo_id":"1355244939","filename":"file5"},{"photo_id":"1355244930","filename":"file2"},{"photo_id":"1355244937","filename":"file4"},{"photo_id":"1355244926","filename":"file1"},{"photo_id":"1355244922","filename":"file0"},{"photo_id":"1355244934","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244939":["hashtag1","hashtag2"]},{"1355244930":["hashtag1","hashtag2"]},{"1355244926":["hashtag1","hashtag2"]},{"1355244934":["hashtag1","hashtag2"]},{"1355244937":["hashtag1","hashtag2"]},{"1355244922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244939, 1355244930, 1355244926, 1355244934, 1355244937, 1355244922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.702200412750244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:29:32.387644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/55/image_02052025_05_55_46_9437.jpg', '/home/pi/Desktop/images/02052025/05/55/image_02052025_05_55_56_10353.jpg', '/home/pi/Desktop/images/02052025/05/55/image_02052025_05_56_06_9691.jpg', '/home/pi/Desktop/images/02052025/05/56/image_02052025_05_56_16_10363.jpg', '/home/pi/Desktop/images/02052025/05/56/image_02052025_05_56_26_9438.jpg', '/home/pi/Desktop/images/02052025/05/56/image_02052025_05_56_36_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/55/image_02052025_05_55_46_9437.jpg
/home/pi/Desktop/images/02052025/05/55/image_02052025_05_55_56_10353.jpg
/home/pi/Desktop/images/02052025/05/55/image_02052025_05_56_06_9691.jpg
/home/pi/Desktop/images/02052025/05/56/image_02052025_05_56_16_10363.jpg
/home/pi/Desktop/images/02052025/05/56/image_02052025_05_56_26_9438.jpg
/home/pi/Desktop/images/02052025/05/56/image_02052025_05_56_36_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":["1355244956","1355244988","1355244964","1355244987","1355244972","1355244960"],"photo_ids_order":["1355244956","1355244960","1355244964","1355244972","1355244987","1355244988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1ee7dab17ae589a37a858c919718acfe.jpg","text":"TemporaryFile(/tmp/multipartBody6307434473976045081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171032922,"filename":"image_02052025_05_55_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/5/2/32d3091ca0b0e6002bb3d2c571783dc7.jpg","text":"TemporaryFile(/tmp/multipartBody5950297212327494491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171032922,"filename":"image_02052025_05_56_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/5/2/3c0569d76d5c5d330b8b863e5d4de194.jpg","text":"TemporaryFile(/tmp/multipartBody4989621027869099489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171032922,"filename":"image_02052025_05_56_06_9691.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75ecade048c242630aef5ca83f00a37b.jpg","text":"TemporaryFile(/tmp/multipartBody4634082068188710889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171032922,"filename":"image_02052025_05_56_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/5/2/8cf12e97b38f6326fa01660c8626a02b.jpg","text":"TemporaryFile(/tmp/multipartBody1222547724751316217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171032922,"filename":"image_02052025_05_56_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/5/2/ab0321dab08952aa37fae2236d86decf.jpg","text":"TemporaryFile(/tmp/multipartBody4162620719742507525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171032922,"filename":"image_02052025_05_55_56_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355244964","file1":"1355244960","file0":"1355244956","file4":"1355244987","file5":"1355244988","file3":"1355244972"},"map_files_photo_id_array":[{"photo_id":"1355244988","filename":"file5"},{"photo_id":"1355244964","filename":"file2"},{"photo_id":"1355244987","filename":"file4"},{"photo_id":"1355244960","filename":"file1"},{"photo_id":"1355244956","filename":"file0"},{"photo_id":"1355244972","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355244956":["hashtag1","hashtag2"]},{"1355244988":["hashtag1","hashtag2"]},{"1355244964":["hashtag1","hashtag2"]},{"1355244987":["hashtag1","hashtag2"]},{"1355244972":["hashtag1","hashtag2"]},{"1355244960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355244956, 1355244988, 1355244964, 1355244987, 1355244972, 1355244960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.018009662628174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:30:32.718144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/56/image_02052025_05_56_45_9400.jpg', '/home/pi/Desktop/images/02052025/05/56/image_02052025_05_56_56_10439.jpg', '/home/pi/Desktop/images/02052025/05/56/image_02052025_05_57_05_9550.jpg', '/home/pi/Desktop/images/02052025/05/57/image_02052025_05_57_16_10367.jpg', '/home/pi/Desktop/images/02052025/05/57/image_02052025_05_57_26_10371.jpg', '/home/pi/Desktop/images/02052025/05/57/image_02052025_05_57_35_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/56/image_02052025_05_56_45_9400.jpg
/home/pi/Desktop/images/02052025/05/56/image_02052025_05_56_56_10439.jpg
/home/pi/Desktop/images/02052025/05/56/image_02052025_05_57_05_9550.jpg
/home/pi/Desktop/images/02052025/05/57/image_02052025_05_57_16_10367.jpg
/home/pi/Desktop/images/02052025/05/57/image_02052025_05_57_26_10371.jpg
/home/pi/Desktop/images/02052025/05/57/image_02052025_05_57_35_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":["1355245014","1355245016","1355245007","1355245024","1355245023","1355245011"],"photo_ids_order":["1355245007","1355245011","1355245014","1355245016","1355245023","1355245024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a21c90c7ca75c1500c4945597f534365.jpg","text":"TemporaryFile(/tmp/multipartBody6743714589832765546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171093323,"filename":"image_02052025_05_57_05_9550.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb1c78d5c3277374f4b19b1b654345f1.jpg","text":"TemporaryFile(/tmp/multipartBody8537736931113166756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171093323,"filename":"image_02052025_05_57_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/5/2/f814b8cdec31b3adc88709298013b0e1.jpg","text":"TemporaryFile(/tmp/multipartBody1845210859398907268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171093323,"filename":"image_02052025_05_56_45_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e1abeb0dde1d996d7974914fc4dcc24e.jpg","text":"TemporaryFile(/tmp/multipartBody4879453296817988786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171093323,"filename":"image_02052025_05_57_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/5/2/587e4eb15c1382907404200eea7c5eae.jpg","text":"TemporaryFile(/tmp/multipartBody319846036412241983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171093323,"filename":"image_02052025_05_57_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d63a043b69ad3a1f2fac85471cdeb5a9.jpg","text":"TemporaryFile(/tmp/multipartBody5028120119479452183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171093323,"filename":"image_02052025_05_56_56_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355245014","file1":"1355245011","file0":"1355245007","file4":"1355245023","file5":"1355245024","file3":"1355245016"},"map_files_photo_id_array":[{"photo_id":"1355245024","filename":"file5"},{"photo_id":"1355245014","filename":"file2"},{"photo_id":"1355245023","filename":"file4"},{"photo_id":"1355245011","filename":"file1"},{"photo_id":"1355245007","filename":"file0"},{"photo_id":"1355245016","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355245014":["hashtag1","hashtag2"]},{"1355245016":["hashtag1","hashtag2"]},{"1355245007":["hashtag1","hashtag2"]},{"1355245024":["hashtag1","hashtag2"]},{"1355245023":["hashtag1","hashtag2"]},{"1355245011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355245014, 1355245016, 1355245007, 1355245024, 1355245023, 1355245011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.932427406311035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:31:32.834838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/57/image_02052025_05_57_46_10347.jpg', '/home/pi/Desktop/images/02052025/05/57/image_02052025_05_57_56_10364.jpg', '/home/pi/Desktop/images/02052025/05/57/image_02052025_05_58_06_9450.jpg', '/home/pi/Desktop/images/02052025/05/58/image_02052025_05_58_16_10334.jpg', '/home/pi/Desktop/images/02052025/05/58/image_02052025_05_58_26_10378.jpg', '/home/pi/Desktop/images/02052025/05/58/image_02052025_05_58_36_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/57/image_02052025_05_57_46_10347.jpg
/home/pi/Desktop/images/02052025/05/57/image_02052025_05_57_56_10364.jpg
/home/pi/Desktop/images/02052025/05/57/image_02052025_05_58_06_9450.jpg
/home/pi/Desktop/images/02052025/05/58/image_02052025_05_58_16_10334.jpg
/home/pi/Desktop/images/02052025/05/58/image_02052025_05_58_26_10378.jpg
/home/pi/Desktop/images/02052025/05/58/image_02052025_05_58_36_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":["1355245196","1355245199","1355245198","1355245142","1355245195","1355245047"],"photo_ids_order":["1355245047","1355245142","1355245195","1355245196","1355245198","1355245199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/205357ddfecca805c4c0273fddf332d3.jpg","text":"TemporaryFile(/tmp/multipartBody1859131029545588848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171153366,"filename":"image_02052025_05_58_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/5/2/388e87ef9c76a12ffef35a3d77f2c21c.jpg","text":"TemporaryFile(/tmp/multipartBody5644281151277789420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171153366,"filename":"image_02052025_05_58_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/5/2/4e2c45cdab616998b9e25b91eb6f6019.jpg","text":"TemporaryFile(/tmp/multipartBody4031678751288025200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171153366,"filename":"image_02052025_05_58_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/122d858921c776fde122e62201451741.jpg","text":"TemporaryFile(/tmp/multipartBody6486060482768730475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171153366,"filename":"image_02052025_05_57_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1552af52abae54b02b5f22069595cd23.jpg","text":"TemporaryFile(/tmp/multipartBody4741674299091080234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171153366,"filename":"image_02052025_05_58_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/5/2/89f9c28452d66faec882304ef5376a10.jpg","text":"TemporaryFile(/tmp/multipartBody8266701282325075258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171153366,"filename":"image_02052025_05_57_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355245195","file1":"1355245142","file0":"1355245047","file4":"1355245198","file5":"1355245199","file3":"1355245196"},"map_files_photo_id_array":[{"photo_id":"1355245199","filename":"file5"},{"photo_id":"1355245195","filename":"file2"},{"photo_id":"1355245198","filename":"file4"},{"photo_id":"1355245142","filename":"file1"},{"photo_id":"1355245047","filename":"file0"},{"photo_id":"1355245196","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355245196":["hashtag1","hashtag2"]},{"1355245199":["hashtag1","hashtag2"]},{"1355245198":["hashtag1","hashtag2"]},{"1355245142":["hashtag1","hashtag2"]},{"1355245195":["hashtag1","hashtag2"]},{"1355245047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355245196, 1355245199, 1355245198, 1355245142, 1355245195, 1355245047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60454225540161 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:32:33.088623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/58/image_02052025_05_58_46_10363.jpg', '/home/pi/Desktop/images/02052025/05/58/image_02052025_05_58_55_9355.jpg', '/home/pi/Desktop/images/02052025/05/58/image_02052025_05_59_06_10362.jpg', '/home/pi/Desktop/images/02052025/05/59/image_02052025_05_59_16_10365.jpg', '/home/pi/Desktop/images/02052025/05/59/image_02052025_05_59_25_9366.jpg', '/home/pi/Desktop/images/02052025/05/59/image_02052025_05_59_36_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/58/image_02052025_05_58_46_10363.jpg
/home/pi/Desktop/images/02052025/05/58/image_02052025_05_58_55_9355.jpg
/home/pi/Desktop/images/02052025/05/58/image_02052025_05_59_06_10362.jpg
/home/pi/Desktop/images/02052025/05/59/image_02052025_05_59_16_10365.jpg
/home/pi/Desktop/images/02052025/05/59/image_02052025_05_59_25_9366.jpg
/home/pi/Desktop/images/02052025/05/59/image_02052025_05_59_36_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355245238","1355245240","1355245234","1355245243","1355245246","1355245245"],"photo_ids_order":["1355245234","1355245238","1355245240","1355245243","1355245245","1355245246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed17c5156db4019b9825a40da1c4f63a.jpg","text":"TemporaryFile(/tmp/multipartBody638143286654952315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171213619,"filename":"image_02052025_05_58_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/5/2/ca496f3f949ad2e15d562f758b209e75.jpg","text":"TemporaryFile(/tmp/multipartBody8654603721967623185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171213619,"filename":"image_02052025_05_59_06_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/10ef98a766a32724e423f003aec0f074.jpg","text":"TemporaryFile(/tmp/multipartBody2997913131669009837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171213619,"filename":"image_02052025_05_58_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/5/2/0763b1bf6267871b6300c3596aa8c6ae.jpg","text":"TemporaryFile(/tmp/multipartBody4914318336951071938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171213619,"filename":"image_02052025_05_59_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/054b1de00a61eab69ce4860ae2848339.jpg","text":"TemporaryFile(/tmp/multipartBody6006699403420598625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171213619,"filename":"image_02052025_05_59_36_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/285ed0e178eb9d65992cae1a8271f2a8.jpg","text":"TemporaryFile(/tmp/multipartBody2586790617072977675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171213619,"filename":"image_02052025_05_59_25_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355245240","file1":"1355245238","file0":"1355245234","file4":"1355245245","file5":"1355245246","file3":"1355245243"},"map_files_photo_id_array":[{"photo_id":"1355245246","filename":"file5"},{"photo_id":"1355245240","filename":"file2"},{"photo_id":"1355245245","filename":"file4"},{"photo_id":"1355245238","filename":"file1"},{"photo_id":"1355245234","filename":"file0"},{"photo_id":"1355245243","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355245238":["hashtag1","hashtag2"]},{"1355245240":["hashtag1","hashtag2"]},{"1355245234":["hashtag1","hashtag2"]},{"1355245243":["hashtag1","hashtag2"]},{"1355245246":["hashtag1","hashtag2"]},{"1355245245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355245238, 1355245240, 1355245234, 1355245243, 1355245246, 1355245245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.352774143218994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:33:32.254966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/05/59/image_02052025_05_59_45_9484.jpg', '/home/pi/Desktop/images/02052025/05/59/image_02052025_05_59_56_10361.jpg', '/home/pi/Desktop/images/02052025/06/01/image_02052025_06_01_14_10076.jpg', '/home/pi/Desktop/images/02052025/06/01/image_02052025_06_01_25_10374.jpg', '/home/pi/Desktop/images/02052025/06/01/image_02052025_06_01_35_10366.jpg', '/home/pi/Desktop/images/02052025/06/01/image_02052025_06_01_44_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/05/59/image_02052025_05_59_45_9484.jpg
/home/pi/Desktop/images/02052025/05/59/image_02052025_05_59_56_10361.jpg
/home/pi/Desktop/images/02052025/06/01/image_02052025_06_01_14_10076.jpg
/home/pi/Desktop/images/02052025/06/01/image_02052025_06_01_25_10374.jpg
/home/pi/Desktop/images/02052025/06/01/image_02052025_06_01_35_10366.jpg
/home/pi/Desktop/images/02052025/06/01/image_02052025_06_01_44_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355245295","1355245289","1355245294","1355245282","1355245287","1355245292"],"photo_ids_order":["1355245282","1355245287","1355245289","1355245292","1355245294","1355245295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/acb8c9ce59a738c7e606e5f702054120.jpg","text":"TemporaryFile(/tmp/multipartBody3182233592958553611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171272789,"filename":"image_02052025_06_01_44_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b0cae784463758dedd9db56bf0a3f8a1.jpg","text":"TemporaryFile(/tmp/multipartBody3296008610487400202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171272789,"filename":"image_02052025_06_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/5/2/79bd341c071ecaf21f046c5daa677aa6.jpg","text":"TemporaryFile(/tmp/multipartBody6207179135610453376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171272789,"filename":"image_02052025_06_01_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5785d48d0aa6be718c4e3281934af1f8.jpg","text":"TemporaryFile(/tmp/multipartBody6018822818772952501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171272789,"filename":"image_02052025_05_59_45_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da6f235d98c77c77b8d4debcb8bd43b5.jpg","text":"TemporaryFile(/tmp/multipartBody6260587863153534838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171272789,"filename":"image_02052025_05_59_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/5/2/212e51973d4bf853c7f92c16dfcb5c2e.jpg","text":"TemporaryFile(/tmp/multipartBody7900022781868612920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171272789,"filename":"image_02052025_06_01_25_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355245289","file1":"1355245287","file0":"1355245282","file4":"1355245294","file5":"1355245295","file3":"1355245292"},"map_files_photo_id_array":[{"photo_id":"1355245295","filename":"file5"},{"photo_id":"1355245289","filename":"file2"},{"photo_id":"1355245294","filename":"file4"},{"photo_id":"1355245287","filename":"file1"},{"photo_id":"1355245282","filename":"file0"},{"photo_id":"1355245292","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355245295":["hashtag1","hashtag2"]},{"1355245289":["hashtag1","hashtag2"]},{"1355245294":["hashtag1","hashtag2"]},{"1355245282":["hashtag1","hashtag2"]},{"1355245287":["hashtag1","hashtag2"]},{"1355245292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355245295, 1355245289, 1355245294, 1355245282, 1355245287, 1355245292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.111970901489258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:34:32.505519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/01/image_02052025_06_01_55_10367.jpg', '/home/pi/Desktop/images/02052025/06/02/image_02052025_06_02_14_9348.jpg', '/home/pi/Desktop/images/02052025/06/02/image_02052025_06_02_25_10385.jpg', '/home/pi/Desktop/images/02052025/06/02/image_02052025_06_02_34_9414.jpg', '/home/pi/Desktop/images/02052025/06/02/image_02052025_06_02_45_10376.jpg', '/home/pi/Desktop/images/02052025/06/02/image_02052025_06_03_04_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/01/image_02052025_06_01_55_10367.jpg
/home/pi/Desktop/images/02052025/06/02/image_02052025_06_02_14_9348.jpg
/home/pi/Desktop/images/02052025/06/02/image_02052025_06_02_25_10385.jpg
/home/pi/Desktop/images/02052025/06/02/image_02052025_06_02_34_9414.jpg
/home/pi/Desktop/images/02052025/06/02/image_02052025_06_02_45_10376.jpg
/home/pi/Desktop/images/02052025/06/02/image_02052025_06_03_04_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355245404","1355245394","1355245403","1355245405","1355245398","1355245401"],"photo_ids_order":["1355245394","1355245398","1355245401","1355245403","1355245404","1355245405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0012fa64ebdd5e54e92b90d5ecfc250.jpg","text":"TemporaryFile(/tmp/multipartBody382241813942581064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171333027,"filename":"image_02052025_06_02_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce7f231622b49b2fec010cbeaac1d6da.jpg","text":"TemporaryFile(/tmp/multipartBody2640699064975599814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171333027,"filename":"image_02052025_06_01_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/5/2/ff2001930b50996a9d885f8b8a2d976d.jpg","text":"TemporaryFile(/tmp/multipartBody449488182727527652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171333027,"filename":"image_02052025_06_02_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/5/2/03ebe454cf8d39670cba8815cb610dee.jpg","text":"TemporaryFile(/tmp/multipartBody2359590348945612710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171333027,"filename":"image_02052025_06_03_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e77bcad268dac50621aa7ee3b27ddb3.jpg","text":"TemporaryFile(/tmp/multipartBody4827036973655777213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171333027,"filename":"image_02052025_06_02_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/5/2/70543d026a646de174b4434ed1fa6852.jpg","text":"TemporaryFile(/tmp/multipartBody402305285665765811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171333027,"filename":"image_02052025_06_02_25_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355245401","file1":"1355245398","file0":"1355245394","file4":"1355245404","file5":"1355245405","file3":"1355245403"},"map_files_photo_id_array":[{"photo_id":"1355245405","filename":"file5"},{"photo_id":"1355245401","filename":"file2"},{"photo_id":"1355245404","filename":"file4"},{"photo_id":"1355245398","filename":"file1"},{"photo_id":"1355245394","filename":"file0"},{"photo_id":"1355245403","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355245404":["hashtag1","hashtag2"]},{"1355245394":["hashtag1","hashtag2"]},{"1355245403":["hashtag1","hashtag2"]},{"1355245405":["hashtag1","hashtag2"]},{"1355245398":["hashtag1","hashtag2"]},{"1355245401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355245404, 1355245394, 1355245403, 1355245405, 1355245398, 1355245401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.308708906173706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:35:32.853890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/03/image_02052025_06_03_15_10354.jpg', '/home/pi/Desktop/images/02052025/06/03/image_02052025_06_03_25_10379.jpg', '/home/pi/Desktop/images/02052025/06/03/image_02052025_06_03_35_9424.jpg', '/home/pi/Desktop/images/02052025/06/03/image_02052025_06_03_45_10361.jpg', '/home/pi/Desktop/images/02052025/06/03/image_02052025_06_03_54_9483.jpg', '/home/pi/Desktop/images/02052025/06/03/image_02052025_06_04_05_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/03/image_02052025_06_03_15_10354.jpg
/home/pi/Desktop/images/02052025/06/03/image_02052025_06_03_25_10379.jpg
/home/pi/Desktop/images/02052025/06/03/image_02052025_06_03_35_9424.jpg
/home/pi/Desktop/images/02052025/06/03/image_02052025_06_03_45_10361.jpg
/home/pi/Desktop/images/02052025/06/03/image_02052025_06_03_54_9483.jpg
/home/pi/Desktop/images/02052025/06/03/image_02052025_06_04_05_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355245439","1355245430","1355245427","1355245440","1355245434","1355245437"],"photo_ids_order":["1355245427","1355245430","1355245434","1355245437","1355245439","1355245440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16ba68596adf2a38a6360a60cca2fbca.jpg","text":"TemporaryFile(/tmp/multipartBody5548106515159264672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171393381,"filename":"image_02052025_06_03_54_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3b9c5bccad5005c2b6e999fe4e1cba87.jpg","text":"TemporaryFile(/tmp/multipartBody1771653516282723756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171393381,"filename":"image_02052025_06_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/5/2/3dbdce32a2cecdbd87832201d032b152.jpg","text":"TemporaryFile(/tmp/multipartBody4832814487561772672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171393381,"filename":"image_02052025_06_03_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/5/2/23e949361604e1db2d496423ddac4428.jpg","text":"TemporaryFile(/tmp/multipartBody9144673395618212867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171393381,"filename":"image_02052025_06_04_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/5/2/850c8873b0915ffc99e313f65eb38a94.jpg","text":"TemporaryFile(/tmp/multipartBody7500122701174098504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171393381,"filename":"image_02052025_06_03_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/5/2/83b694ddd78dd6dd73e8079b76379c8f.jpg","text":"TemporaryFile(/tmp/multipartBody1194336224536119448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171393381,"filename":"image_02052025_06_03_45_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355245434","file1":"1355245430","file0":"1355245427","file4":"1355245439","file5":"1355245440","file3":"1355245437"},"map_files_photo_id_array":[{"photo_id":"1355245440","filename":"file5"},{"photo_id":"1355245434","filename":"file2"},{"photo_id":"1355245439","filename":"file4"},{"photo_id":"1355245430","filename":"file1"},{"photo_id":"1355245427","filename":"file0"},{"photo_id":"1355245437","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355245439":["hashtag1","hashtag2"]},{"1355245430":["hashtag1","hashtag2"]},{"1355245427":["hashtag1","hashtag2"]},{"1355245440":["hashtag1","hashtag2"]},{"1355245434":["hashtag1","hashtag2"]},{"1355245437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355245439, 1355245430, 1355245427, 1355245440, 1355245434, 1355245437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.297489643096924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:36:33.129161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/04/image_02052025_06_04_24_9363.jpg', '/home/pi/Desktop/images/02052025/06/04/image_02052025_06_04_35_10364.jpg', '/home/pi/Desktop/images/02052025/06/04/image_02052025_06_04_44_9399.jpg', '/home/pi/Desktop/images/02052025/06/04/image_02052025_06_04_55_10386.jpg', '/home/pi/Desktop/images/02052025/06/04/image_02052025_06_05_05_10453.jpg', '/home/pi/Desktop/images/02052025/06/05/image_02052025_06_05_14_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/04/image_02052025_06_04_24_9363.jpg
/home/pi/Desktop/images/02052025/06/04/image_02052025_06_04_35_10364.jpg
/home/pi/Desktop/images/02052025/06/04/image_02052025_06_04_44_9399.jpg
/home/pi/Desktop/images/02052025/06/04/image_02052025_06_04_55_10386.jpg
/home/pi/Desktop/images/02052025/06/04/image_02052025_06_05_05_10453.jpg
/home/pi/Desktop/images/02052025/06/05/image_02052025_06_05_14_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":["1355245487","1355245481","1355245475","1355245494","1355245470","1355245490"],"photo_ids_order":["1355245470","1355245475","1355245481","1355245487","1355245490","1355245494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/800679a7fc4397f463677f868109f1ef.jpg","text":"TemporaryFile(/tmp/multipartBody544252951933479392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171453672,"filename":"image_02052025_06_04_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/5/2/13e94abde4ced2805d82b5889f124bec.jpg","text":"TemporaryFile(/tmp/multipartBody3157425979795289964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171453672,"filename":"image_02052025_06_04_44_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c89bbe8db74b0ffb694e168a864c306.jpg","text":"TemporaryFile(/tmp/multipartBody5108315183054414003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171453672,"filename":"image_02052025_06_04_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/5/2/f541bc0514d49590168d34bd2aacf8da.jpg","text":"TemporaryFile(/tmp/multipartBody8456905605068718015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171453672,"filename":"image_02052025_06_05_14_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af70b113328b479698c191ee7489dbd0.jpg","text":"TemporaryFile(/tmp/multipartBody1295907769798094625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171453672,"filename":"image_02052025_06_04_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dcfcc4b0edd719b6127cc93f009066bc.jpg","text":"TemporaryFile(/tmp/multipartBody8049280630397377544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171453672,"filename":"image_02052025_06_05_05_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355245481","file1":"1355245475","file0":"1355245470","file4":"1355245490","file5":"1355245494","file3":"1355245487"},"map_files_photo_id_array":[{"photo_id":"1355245494","filename":"file5"},{"photo_id":"1355245481","filename":"file2"},{"photo_id":"1355245490","filename":"file4"},{"photo_id":"1355245475","filename":"file1"},{"photo_id":"1355245470","filename":"file0"},{"photo_id":"1355245487","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355245487":["hashtag1","hashtag2"]},{"1355245481":["hashtag1","hashtag2"]},{"1355245475":["hashtag1","hashtag2"]},{"1355245494":["hashtag1","hashtag2"]},{"1355245470":["hashtag1","hashtag2"]},{"1355245490":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355245487, 1355245481, 1355245475, 1355245494, 1355245470, 1355245490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.972783088684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:37:32.343669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/05/image_02052025_06_05_34_9445.jpg', '/home/pi/Desktop/images/02052025/06/05/image_02052025_06_05_45_10413.jpg', '/home/pi/Desktop/images/02052025/06/05/image_02052025_06_05_55_10419.jpg', '/home/pi/Desktop/images/02052025/06/05/image_02052025_06_06_05_9447.jpg', '/home/pi/Desktop/images/02052025/06/06/image_02052025_06_06_15_10370.jpg', '/home/pi/Desktop/images/02052025/06/06/image_02052025_06_06_24_9469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/05/image_02052025_06_05_34_9445.jpg
/home/pi/Desktop/images/02052025/06/05/image_02052025_06_05_45_10413.jpg
/home/pi/Desktop/images/02052025/06/05/image_02052025_06_05_55_10419.jpg
/home/pi/Desktop/images/02052025/06/05/image_02052025_06_06_05_9447.jpg
/home/pi/Desktop/images/02052025/06/06/image_02052025_06_06_15_10370.jpg
/home/pi/Desktop/images/02052025/06/06/image_02052025_06_06_24_9469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355245529","1355245517","1355245526","1355245531","1355245513","1355245522"],"photo_ids_order":["1355245513","1355245517","1355245522","1355245526","1355245529","1355245531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e1b2b2becb9cf5e2c25b43e91245c788.jpg","text":"TemporaryFile(/tmp/multipartBody9206368696074798510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171512880,"filename":"image_02052025_06_06_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/5/2/2bbc2be098cfab7a9f45d5d17d76f98c.jpg","text":"TemporaryFile(/tmp/multipartBody1389902511433816024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171512880,"filename":"image_02052025_06_05_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/5/2/b6e331de7c9ad8297fed3b6bd9ce326d.jpg","text":"TemporaryFile(/tmp/multipartBody5017363875211088107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171512880,"filename":"image_02052025_06_06_05_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb84ab9f631dbfb84efae4def64061cc.jpg","text":"TemporaryFile(/tmp/multipartBody8343460804120322859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171512880,"filename":"image_02052025_06_06_24_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/453118aa347f15f04c3f2a0a7b031cea.jpg","text":"TemporaryFile(/tmp/multipartBody6880747605505625507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171512880,"filename":"image_02052025_06_05_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/5/2/719c1113797ce62dc69c94981a440dc7.jpg","text":"TemporaryFile(/tmp/multipartBody4607157070672479404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171512880,"filename":"image_02052025_06_05_55_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355245522","file1":"1355245517","file0":"1355245513","file4":"1355245529","file5":"1355245531","file3":"1355245526"},"map_files_photo_id_array":[{"photo_id":"1355245531","filename":"file5"},{"photo_id":"1355245522","filename":"file2"},{"photo_id":"1355245529","filename":"file4"},{"photo_id":"1355245517","filename":"file1"},{"photo_id":"1355245513","filename":"file0"},{"photo_id":"1355245526","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355245529":["hashtag1","hashtag2"]},{"1355245517":["hashtag1","hashtag2"]},{"1355245526":["hashtag1","hashtag2"]},{"1355245531":["hashtag1","hashtag2"]},{"1355245513":["hashtag1","hashtag2"]},{"1355245522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355245529, 1355245517, 1355245526, 1355245531, 1355245513, 1355245522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.40220332145691 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:38:32.543356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/06/image_02052025_06_06_35_10389.jpg', '/home/pi/Desktop/images/02052025/06/06/image_02052025_06_06_45_10349.jpg', '/home/pi/Desktop/images/02052025/06/06/image_02052025_06_06_55_9412.jpg', '/home/pi/Desktop/images/02052025/06/06/image_02052025_06_07_05_10398.jpg', '/home/pi/Desktop/images/02052025/06/07/image_02052025_06_07_14_9440.jpg', '/home/pi/Desktop/images/02052025/06/07/image_02052025_06_07_25_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/06/image_02052025_06_06_35_10389.jpg
/home/pi/Desktop/images/02052025/06/06/image_02052025_06_06_45_10349.jpg
/home/pi/Desktop/images/02052025/06/06/image_02052025_06_06_55_9412.jpg
/home/pi/Desktop/images/02052025/06/06/image_02052025_06_07_05_10398.jpg
/home/pi/Desktop/images/02052025/06/07/image_02052025_06_07_14_9440.jpg
/home/pi/Desktop/images/02052025/06/07/image_02052025_06_07_25_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355245565","1355245582","1355245576","1355245585","1355245588","1355245569"],"photo_ids_order":["1355245565","1355245569","1355245576","1355245582","1355245585","1355245588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/528b038aebe9277f1b34ad76ad53c2af.jpg","text":"TemporaryFile(/tmp/multipartBody5119047344304689278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171573076,"filename":"image_02052025_06_06_35_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce0644b6826738376024b27dbe7c20a7.jpg","text":"TemporaryFile(/tmp/multipartBody973600154200170171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171573076,"filename":"image_02052025_06_07_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/141ab771fc9794a8aaf8826304cea858.jpg","text":"TemporaryFile(/tmp/multipartBody8816790198857421029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171573076,"filename":"image_02052025_06_06_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/5/2/b86441a79a14b33e771dc9f0fb938331.jpg","text":"TemporaryFile(/tmp/multipartBody3360485867297384963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171573076,"filename":"image_02052025_06_07_14_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eff158f583969f2579bc9faea6ec2097.jpg","text":"TemporaryFile(/tmp/multipartBody2598046361353391989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171573076,"filename":"image_02052025_06_07_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8cc303150155905eb325c51568d41af5.jpg","text":"TemporaryFile(/tmp/multipartBody5115027108711910804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171573076,"filename":"image_02052025_06_06_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355245576","file1":"1355245569","file0":"1355245565","file4":"1355245585","file5":"1355245588","file3":"1355245582"},"map_files_photo_id_array":[{"photo_id":"1355245588","filename":"file5"},{"photo_id":"1355245576","filename":"file2"},{"photo_id":"1355245585","filename":"file4"},{"photo_id":"1355245569","filename":"file1"},{"photo_id":"1355245565","filename":"file0"},{"photo_id":"1355245582","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355245565":["hashtag1","hashtag2"]},{"1355245582":["hashtag1","hashtag2"]},{"1355245576":["hashtag1","hashtag2"]},{"1355245585":["hashtag1","hashtag2"]},{"1355245588":["hashtag1","hashtag2"]},{"1355245569":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355245565, 1355245582, 1355245576, 1355245585, 1355245588, 1355245569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36501479148865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:39:32.844511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/07/image_02052025_06_07_35_10343.jpg', '/home/pi/Desktop/images/02052025/06/07/image_02052025_06_07_45_9449.jpg', '/home/pi/Desktop/images/02052025/06/07/image_02052025_06_07_55_10448.jpg', '/home/pi/Desktop/images/02052025/06/07/image_02052025_06_08_04_9348.jpg', '/home/pi/Desktop/images/02052025/06/08/image_02052025_06_08_15_10410.jpg', '/home/pi/Desktop/images/02052025/06/08/image_02052025_06_08_25_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/07/image_02052025_06_07_35_10343.jpg
/home/pi/Desktop/images/02052025/06/07/image_02052025_06_07_45_9449.jpg
/home/pi/Desktop/images/02052025/06/07/image_02052025_06_07_55_10448.jpg
/home/pi/Desktop/images/02052025/06/07/image_02052025_06_08_04_9348.jpg
/home/pi/Desktop/images/02052025/06/08/image_02052025_06_08_15_10410.jpg
/home/pi/Desktop/images/02052025/06/08/image_02052025_06_08_25_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355245622","1355245630","1355245633","1355245615","1355245609","1355245626"],"photo_ids_order":["1355245609","1355245615","1355245622","1355245626","1355245630","1355245633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/416b7047706d2dc3534546557872398b.jpg","text":"TemporaryFile(/tmp/multipartBody1664260387739321505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171633446,"filename":"image_02052025_06_07_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/5/2/4e2b8a6f87d127e900b7726513ca97bd.jpg","text":"TemporaryFile(/tmp/multipartBody3397770179620481187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171633446,"filename":"image_02052025_06_08_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/5/2/11648ad3b4590aa3522fccdf78b9af58.jpg","text":"TemporaryFile(/tmp/multipartBody6970058206869342343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171633446,"filename":"image_02052025_06_08_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/5/2/fd6a6780235e7ccefdf08d9ffcc8aa84.jpg","text":"TemporaryFile(/tmp/multipartBody233373572136890170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171633446,"filename":"image_02052025_06_07_45_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/64f473caf54b1c6a92d72d4d6e4b6191.jpg","text":"TemporaryFile(/tmp/multipartBody8658263962722773885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171633446,"filename":"image_02052025_06_07_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/5/2/77cff3db7796ccb01d33336b21559784.jpg","text":"TemporaryFile(/tmp/multipartBody1590977877467273121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171633446,"filename":"image_02052025_06_08_04_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355245622","file1":"1355245615","file0":"1355245609","file4":"1355245630","file5":"1355245633","file3":"1355245626"},"map_files_photo_id_array":[{"photo_id":"1355245633","filename":"file5"},{"photo_id":"1355245622","filename":"file2"},{"photo_id":"1355245630","filename":"file4"},{"photo_id":"1355245615","filename":"file1"},{"photo_id":"1355245609","filename":"file0"},{"photo_id":"1355245626","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355245622":["hashtag1","hashtag2"]},{"1355245630":["hashtag1","hashtag2"]},{"1355245633":["hashtag1","hashtag2"]},{"1355245615":["hashtag1","hashtag2"]},{"1355245609":["hashtag1","hashtag2"]},{"1355245626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355245622, 1355245630, 1355245633, 1355245615, 1355245609, 1355245626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.681697845458984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:40:33.126386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/08/image_02052025_06_08_35_9369.jpg', '/home/pi/Desktop/images/02052025/06/08/image_02052025_06_08_45_10368.jpg', '/home/pi/Desktop/images/02052025/06/08/image_02052025_06_08_54_9473.jpg', '/home/pi/Desktop/images/02052025/06/08/image_02052025_06_09_05_10349.jpg', '/home/pi/Desktop/images/02052025/06/09/image_02052025_06_09_35_10352.jpg', '/home/pi/Desktop/images/02052025/06/09/image_02052025_06_09_44_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/08/image_02052025_06_08_35_9369.jpg
/home/pi/Desktop/images/02052025/06/08/image_02052025_06_08_45_10368.jpg
/home/pi/Desktop/images/02052025/06/08/image_02052025_06_08_54_9473.jpg
/home/pi/Desktop/images/02052025/06/08/image_02052025_06_09_05_10349.jpg
/home/pi/Desktop/images/02052025/06/09/image_02052025_06_09_35_10352.jpg
/home/pi/Desktop/images/02052025/06/09/image_02052025_06_09_44_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355245709","1355245724","1355245718","1355245768","1355245705","1355245734"],"photo_ids_order":["1355245705","1355245709","1355245718","1355245724","1355245734","1355245768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cbecefc42be04a38a3fdab818f05b322.jpg","text":"TemporaryFile(/tmp/multipartBody8158449495961601602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171694501,"filename":"image_02052025_06_08_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/5/2/40c8b3dbf73d9a4a30eac24fecf62f70.jpg","text":"TemporaryFile(/tmp/multipartBody5931151283302899701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171694501,"filename":"image_02052025_06_09_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3987390ef88a3488736be3c229cf8bc3.jpg","text":"TemporaryFile(/tmp/multipartBody6253084585945651830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171694501,"filename":"image_02052025_06_08_54_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0454990f47c9b0e438130f84a2033701.jpg","text":"TemporaryFile(/tmp/multipartBody2520491228374377169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171694501,"filename":"image_02052025_06_09_44_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56f6eae5ada5f167f3d373711ab0968d.jpg","text":"TemporaryFile(/tmp/multipartBody8347366554664080478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171694501,"filename":"image_02052025_06_08_35_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f17c911f8408290d9a2fa09d3c5962a5.jpg","text":"TemporaryFile(/tmp/multipartBody2901890523007857693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171694501,"filename":"image_02052025_06_09_35_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355245718","file1":"1355245709","file0":"1355245705","file4":"1355245734","file5":"1355245768","file3":"1355245724"},"map_files_photo_id_array":[{"photo_id":"1355245768","filename":"file5"},{"photo_id":"1355245718","filename":"file2"},{"photo_id":"1355245734","filename":"file4"},{"photo_id":"1355245709","filename":"file1"},{"photo_id":"1355245705","filename":"file0"},{"photo_id":"1355245724","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355245709":["hashtag1","hashtag2"]},{"1355245724":["hashtag1","hashtag2"]},{"1355245718":["hashtag1","hashtag2"]},{"1355245768":["hashtag1","hashtag2"]},{"1355245705":["hashtag1","hashtag2"]},{"1355245734":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355245709, 1355245724, 1355245718, 1355245768, 1355245705, 1355245734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.854774951934814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:41:32.325759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/09/image_02052025_06_09_55_10356.jpg', '/home/pi/Desktop/images/02052025/06/09/image_02052025_06_10_05_10359.jpg', '/home/pi/Desktop/images/02052025/06/10/image_02052025_06_10_55_10368.jpg', '/home/pi/Desktop/images/02052025/06/10/image_02052025_06_11_04_9481.jpg', '/home/pi/Desktop/images/02052025/06/11/image_02052025_06_11_15_10351.jpg', '/home/pi/Desktop/images/02052025/06/11/image_02052025_06_11_25_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/09/image_02052025_06_09_55_10356.jpg
/home/pi/Desktop/images/02052025/06/09/image_02052025_06_10_05_10359.jpg
/home/pi/Desktop/images/02052025/06/10/image_02052025_06_10_55_10368.jpg
/home/pi/Desktop/images/02052025/06/10/image_02052025_06_11_04_9481.jpg
/home/pi/Desktop/images/02052025/06/11/image_02052025_06_11_15_10351.jpg
/home/pi/Desktop/images/02052025/06/11/image_02052025_06_11_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":["1355246030","1355246035","1355246050","1355246038","1355246043","1355246025"],"photo_ids_order":["1355246025","1355246030","1355246035","1355246038","1355246043","1355246050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/acf42e3108cc707bce386877fe3bfa96.jpg","text":"TemporaryFile(/tmp/multipartBody8133963587715851283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171752944,"filename":"image_02052025_06_10_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/5/2/d9c8047a0789232b5378f6df67e70bb5.jpg","text":"TemporaryFile(/tmp/multipartBody5872828453831594384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171752944,"filename":"image_02052025_06_10_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/132c96b8aba316260aea332a22cf90e7.jpg","text":"TemporaryFile(/tmp/multipartBody7516090840101985062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171752944,"filename":"image_02052025_06_11_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/5/2/ac9da1183d30b5a5154c3ad421f7f0c6.jpg","text":"TemporaryFile(/tmp/multipartBody2249708494286611208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171752944,"filename":"image_02052025_06_11_04_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/839ea0642a5ef95b02e8d2b200953bdd.jpg","text":"TemporaryFile(/tmp/multipartBody1597471943501060208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171752944,"filename":"image_02052025_06_11_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/637d507985e64d11c857901a9a219b0a.jpg","text":"TemporaryFile(/tmp/multipartBody3976000852400846199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171752944,"filename":"image_02052025_06_09_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355246035","file1":"1355246030","file0":"1355246025","file4":"1355246043","file5":"1355246050","file3":"1355246038"},"map_files_photo_id_array":[{"photo_id":"1355246050","filename":"file5"},{"photo_id":"1355246035","filename":"file2"},{"photo_id":"1355246043","filename":"file4"},{"photo_id":"1355246030","filename":"file1"},{"photo_id":"1355246025","filename":"file0"},{"photo_id":"1355246038","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355246030":["hashtag1","hashtag2"]},{"1355246035":["hashtag1","hashtag2"]},{"1355246050":["hashtag1","hashtag2"]},{"1355246038":["hashtag1","hashtag2"]},{"1355246043":["hashtag1","hashtag2"]},{"1355246025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355246030, 1355246035, 1355246050, 1355246038, 1355246043, 1355246025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.045210361480713 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:42:32.503675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/11/image_02052025_06_11_34_9341.jpg', '/home/pi/Desktop/images/02052025/06/11/image_02052025_06_11_45_10363.jpg', '/home/pi/Desktop/images/02052025/06/11/image_02052025_06_11_54_9447.jpg', '/home/pi/Desktop/images/02052025/06/11/image_02052025_06_12_05_10378.jpg', '/home/pi/Desktop/images/02052025/06/12/image_02052025_06_12_25_9524.jpg', '/home/pi/Desktop/images/02052025/06/12/image_02052025_06_12_35_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/11/image_02052025_06_11_34_9341.jpg
/home/pi/Desktop/images/02052025/06/11/image_02052025_06_11_45_10363.jpg
/home/pi/Desktop/images/02052025/06/11/image_02052025_06_11_54_9447.jpg
/home/pi/Desktop/images/02052025/06/11/image_02052025_06_12_05_10378.jpg
/home/pi/Desktop/images/02052025/06/12/image_02052025_06_12_25_9524.jpg
/home/pi/Desktop/images/02052025/06/12/image_02052025_06_12_35_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355246228","1355246329","1355246271","1355246198","1355246171","1355246393"],"photo_ids_order":["1355246171","1355246198","1355246228","1355246271","1355246329","1355246393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d4cb6e3bf582c638e4a207b6bfde7595.jpg","text":"TemporaryFile(/tmp/multipartBody7940850947350311387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171813109,"filename":"image_02052025_06_11_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/5/2/5b05ecad0af789c1101266266d9d960e.jpg","text":"TemporaryFile(/tmp/multipartBody8069671613791639891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171813109,"filename":"image_02052025_06_12_25_9524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/92a21b09c2cbe2f766d9e44698378135.jpg","text":"TemporaryFile(/tmp/multipartBody2944865357674970157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171813109,"filename":"image_02052025_06_12_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/731cbe1487c74efdab0b3863fa4a662f.jpg","text":"TemporaryFile(/tmp/multipartBody5341612951206133130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171813109,"filename":"image_02052025_06_11_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9668b691dbcffb53858523095fabd103.jpg","text":"TemporaryFile(/tmp/multipartBody2865809055190988821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171813109,"filename":"image_02052025_06_11_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/133782ba03344775c6ca3329ba9f6bfa.jpg","text":"TemporaryFile(/tmp/multipartBody2370432370697488822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171813109,"filename":"image_02052025_06_12_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355246228","file1":"1355246198","file0":"1355246171","file4":"1355246329","file5":"1355246393","file3":"1355246271"},"map_files_photo_id_array":[{"photo_id":"1355246393","filename":"file5"},{"photo_id":"1355246228","filename":"file2"},{"photo_id":"1355246329","filename":"file4"},{"photo_id":"1355246198","filename":"file1"},{"photo_id":"1355246171","filename":"file0"},{"photo_id":"1355246271","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355246228":["hashtag1","hashtag2"]},{"1355246329":["hashtag1","hashtag2"]},{"1355246271":["hashtag1","hashtag2"]},{"1355246198":["hashtag1","hashtag2"]},{"1355246171":["hashtag1","hashtag2"]},{"1355246393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355246228, 1355246329, 1355246271, 1355246198, 1355246171, 1355246393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.3344509601593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:43:32.609798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/12/image_02052025_06_12_44_9497.jpg', '/home/pi/Desktop/images/02052025/06/12/image_02052025_06_12_55_10422.jpg', '/home/pi/Desktop/images/02052025/06/13/image_02052025_06_13_15_10356.jpg', '/home/pi/Desktop/images/02052025/06/13/image_02052025_06_13_25_10365.jpg', '/home/pi/Desktop/images/02052025/06/13/image_02052025_06_13_45_10383.jpg', '/home/pi/Desktop/images/02052025/06/13/image_02052025_06_13_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/12/image_02052025_06_12_44_9497.jpg
/home/pi/Desktop/images/02052025/06/12/image_02052025_06_12_55_10422.jpg
/home/pi/Desktop/images/02052025/06/13/image_02052025_06_13_15_10356.jpg
/home/pi/Desktop/images/02052025/06/13/image_02052025_06_13_25_10365.jpg
/home/pi/Desktop/images/02052025/06/13/image_02052025_06_13_45_10383.jpg
/home/pi/Desktop/images/02052025/06/13/image_02052025_06_13_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":["1355246543","1355246516","1355246488","1355246554","1355246460","1355246567"],"photo_ids_order":["1355246460","1355246488","1355246516","1355246543","1355246554","1355246567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89bb499a83e35812a690d973ecc5042b.jpg","text":"TemporaryFile(/tmp/multipartBody5582024512376789207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171873139,"filename":"image_02052025_06_13_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/5/2/a96c14586e1fe620d056d2584b3221b7.jpg","text":"TemporaryFile(/tmp/multipartBody5837553907634588188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171873139,"filename":"image_02052025_06_13_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/5/2/89b0a9f0260cb874f9314c17b2259471.jpg","text":"TemporaryFile(/tmp/multipartBody798076583603779724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171873139,"filename":"image_02052025_06_12_55_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4134158f86fd4956f9e24a65bca9fb7d.jpg","text":"TemporaryFile(/tmp/multipartBody1895854071091171965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171873139,"filename":"image_02052025_06_13_45_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/411f18d251a7c7fbfcda67ce8a51d594.jpg","text":"TemporaryFile(/tmp/multipartBody995851083080361367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171873139,"filename":"image_02052025_06_12_44_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf4212b7a6ddd66bc5d216e0e4be0bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2845995796313319188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171873139,"filename":"image_02052025_06_13_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355246516","file1":"1355246488","file0":"1355246460","file4":"1355246554","file5":"1355246567","file3":"1355246543"},"map_files_photo_id_array":[{"photo_id":"1355246567","filename":"file5"},{"photo_id":"1355246516","filename":"file2"},{"photo_id":"1355246554","filename":"file4"},{"photo_id":"1355246488","filename":"file1"},{"photo_id":"1355246460","filename":"file0"},{"photo_id":"1355246543","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355246543":["hashtag1","hashtag2"]},{"1355246516":["hashtag1","hashtag2"]},{"1355246488":["hashtag1","hashtag2"]},{"1355246554":["hashtag1","hashtag2"]},{"1355246460":["hashtag1","hashtag2"]},{"1355246567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355246543, 1355246516, 1355246488, 1355246554, 1355246460, 1355246567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.56572675704956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:44:32.994481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/13/image_02052025_06_14_05_9441.jpg', '/home/pi/Desktop/images/02052025/06/14/image_02052025_06_14_24_9418.jpg', '/home/pi/Desktop/images/02052025/06/14/image_02052025_06_14_35_10357.jpg', '/home/pi/Desktop/images/02052025/06/14/image_02052025_06_14_45_10364.jpg', '/home/pi/Desktop/images/02052025/06/14/image_02052025_06_14_54_9369.jpg', '/home/pi/Desktop/images/02052025/06/14/image_02052025_06_15_05_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/13/image_02052025_06_14_05_9441.jpg
/home/pi/Desktop/images/02052025/06/14/image_02052025_06_14_24_9418.jpg
/home/pi/Desktop/images/02052025/06/14/image_02052025_06_14_35_10357.jpg
/home/pi/Desktop/images/02052025/06/14/image_02052025_06_14_45_10364.jpg
/home/pi/Desktop/images/02052025/06/14/image_02052025_06_14_54_9369.jpg
/home/pi/Desktop/images/02052025/06/14/image_02052025_06_15_05_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355246653","1355246662","1355246659","1355246650","1355246657","1355246645"],"photo_ids_order":["1355246645","1355246650","1355246653","1355246657","1355246659","1355246662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b90125f5caf5e536a31c2ff79e7653ab.jpg","text":"TemporaryFile(/tmp/multipartBody6168449277118244108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171933593,"filename":"image_02052025_06_14_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/5/2/a6f4cb097570b7854abb87f955485fb5.jpg","text":"TemporaryFile(/tmp/multipartBody2367232028684985808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171933593,"filename":"image_02052025_06_15_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ee7b0babebe44bde017e55414bf1083.jpg","text":"TemporaryFile(/tmp/multipartBody7912093224276423323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171933593,"filename":"image_02052025_06_14_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22bbe91ad186205586c40ffd4bca5930.jpg","text":"TemporaryFile(/tmp/multipartBody3898036183365903752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171933593,"filename":"image_02052025_06_14_24_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ce457682ecc0d81387f9c06b932c909.jpg","text":"TemporaryFile(/tmp/multipartBody4315680499352757729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171933593,"filename":"image_02052025_06_14_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/5/2/3dc6cc6aa7937ce07f25a160cc00e616.jpg","text":"TemporaryFile(/tmp/multipartBody407340676669246555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171933593,"filename":"image_02052025_06_14_05_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355246653","file1":"1355246650","file0":"1355246645","file4":"1355246659","file5":"1355246662","file3":"1355246657"},"map_files_photo_id_array":[{"photo_id":"1355246662","filename":"file5"},{"photo_id":"1355246653","filename":"file2"},{"photo_id":"1355246659","filename":"file4"},{"photo_id":"1355246650","filename":"file1"},{"photo_id":"1355246645","filename":"file0"},{"photo_id":"1355246657","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355246653":["hashtag1","hashtag2"]},{"1355246662":["hashtag1","hashtag2"]},{"1355246659":["hashtag1","hashtag2"]},{"1355246650":["hashtag1","hashtag2"]},{"1355246657":["hashtag1","hashtag2"]},{"1355246645":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355246653, 1355246662, 1355246659, 1355246650, 1355246657, 1355246645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.505388975143433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:45:32.308637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/15/image_02052025_06_15_15_10359.jpg', '/home/pi/Desktop/images/02052025/06/15/image_02052025_06_15_44_9345.jpg', '/home/pi/Desktop/images/02052025/06/15/image_02052025_06_15_55_10360.jpg', '/home/pi/Desktop/images/02052025/06/15/image_02052025_06_16_05_10379.jpg', '/home/pi/Desktop/images/02052025/06/16/image_02052025_06_16_14_9407.jpg', '/home/pi/Desktop/images/02052025/06/16/image_02052025_06_16_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/15/image_02052025_06_15_15_10359.jpg
/home/pi/Desktop/images/02052025/06/15/image_02052025_06_15_44_9345.jpg
/home/pi/Desktop/images/02052025/06/15/image_02052025_06_15_55_10360.jpg
/home/pi/Desktop/images/02052025/06/15/image_02052025_06_16_05_10379.jpg
/home/pi/Desktop/images/02052025/06/16/image_02052025_06_16_14_9407.jpg
/home/pi/Desktop/images/02052025/06/16/image_02052025_06_16_25_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355246711","1355246705","1355246716","1355246728","1355246721","1355246724"],"photo_ids_order":["1355246705","1355246711","1355246716","1355246721","1355246724","1355246728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f4fdd43ad9449e866ee98a9bed6d314.jpg","text":"TemporaryFile(/tmp/multipartBody4266833717187956482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171992865,"filename":"image_02052025_06_15_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/5/2/7bc8713fdb6f2d991ae2063cb994920b.jpg","text":"TemporaryFile(/tmp/multipartBody4908504184737013508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171992865,"filename":"image_02052025_06_15_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/5/2/9e0b1e26ce993e2e40cec0d683a9f4f3.jpg","text":"TemporaryFile(/tmp/multipartBody5598188272513446814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171992865,"filename":"image_02052025_06_15_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/5/2/fc8f45272d584698b44ddcebe7da1ad5.jpg","text":"TemporaryFile(/tmp/multipartBody5719898203079183188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171992865,"filename":"image_02052025_06_16_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/5/2/119524a31572b8fb4889cb7816a5ae96.jpg","text":"TemporaryFile(/tmp/multipartBody5083930116220286745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171992865,"filename":"image_02052025_06_16_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/5/2/67d6e8a0bcb90b31108d85af6a90da93.jpg","text":"TemporaryFile(/tmp/multipartBody1379022962654800447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746171992865,"filename":"image_02052025_06_16_14_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355246716","file1":"1355246711","file0":"1355246705","file4":"1355246724","file5":"1355246728","file3":"1355246721"},"map_files_photo_id_array":[{"photo_id":"1355246728","filename":"file5"},{"photo_id":"1355246716","filename":"file2"},{"photo_id":"1355246724","filename":"file4"},{"photo_id":"1355246711","filename":"file1"},{"photo_id":"1355246705","filename":"file0"},{"photo_id":"1355246721","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355246711":["hashtag1","hashtag2"]},{"1355246705":["hashtag1","hashtag2"]},{"1355246716":["hashtag1","hashtag2"]},{"1355246728":["hashtag1","hashtag2"]},{"1355246721":["hashtag1","hashtag2"]},{"1355246724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355246711, 1355246705, 1355246716, 1355246728, 1355246721, 1355246724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.411306381225586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:46:32.374453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/16/image_02052025_06_16_34_9407.jpg', '/home/pi/Desktop/images/02052025/06/16/image_02052025_06_16_45_10379.jpg', '/home/pi/Desktop/images/02052025/06/16/image_02052025_06_16_55_10365.jpg', '/home/pi/Desktop/images/02052025/06/16/image_02052025_06_17_04_9418.jpg', '/home/pi/Desktop/images/02052025/06/17/image_02052025_06_17_15_10343.jpg', '/home/pi/Desktop/images/02052025/06/17/image_02052025_06_17_25_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/16/image_02052025_06_16_34_9407.jpg
/home/pi/Desktop/images/02052025/06/16/image_02052025_06_16_45_10379.jpg
/home/pi/Desktop/images/02052025/06/16/image_02052025_06_16_55_10365.jpg
/home/pi/Desktop/images/02052025/06/16/image_02052025_06_17_04_9418.jpg
/home/pi/Desktop/images/02052025/06/17/image_02052025_06_17_15_10343.jpg
/home/pi/Desktop/images/02052025/06/17/image_02052025_06_17_25_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355246753","1355246761","1355246787","1355246777","1355246756","1355246750"],"photo_ids_order":["1355246750","1355246753","1355246756","1355246761","1355246777","1355246787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39b115b1a47746d5025ce9bd3433db6c.jpg","text":"TemporaryFile(/tmp/multipartBody6789784876993876713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172052924,"filename":"image_02052025_06_16_45_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b69647fe5ed905ba7c874bbdb7bb60d.jpg","text":"TemporaryFile(/tmp/multipartBody3484536289275067662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172052924,"filename":"image_02052025_06_17_04_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/54c11adf66c77303c5c895a02a964c12.jpg","text":"TemporaryFile(/tmp/multipartBody1564227461620066883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172052924,"filename":"image_02052025_06_17_25_9813.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/981da66e359eaa797e6e6c7351609f00.jpg","text":"TemporaryFile(/tmp/multipartBody728776140862471945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172052924,"filename":"image_02052025_06_17_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7fc64c0f8045641b82b1e539fcef4c3.jpg","text":"TemporaryFile(/tmp/multipartBody663347443382888022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172052924,"filename":"image_02052025_06_16_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/5/2/58a7cdeb7eb487460712fc9061da4f5b.jpg","text":"TemporaryFile(/tmp/multipartBody6535215746510062311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172052924,"filename":"image_02052025_06_16_34_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355246756","file1":"1355246753","file0":"1355246750","file4":"1355246777","file5":"1355246787","file3":"1355246761"},"map_files_photo_id_array":[{"photo_id":"1355246787","filename":"file5"},{"photo_id":"1355246756","filename":"file2"},{"photo_id":"1355246777","filename":"file4"},{"photo_id":"1355246753","filename":"file1"},{"photo_id":"1355246750","filename":"file0"},{"photo_id":"1355246761","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355246753":["hashtag1","hashtag2"]},{"1355246761":["hashtag1","hashtag2"]},{"1355246787":["hashtag1","hashtag2"]},{"1355246777":["hashtag1","hashtag2"]},{"1355246756":["hashtag1","hashtag2"]},{"1355246750":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355246753, 1355246761, 1355246787, 1355246777, 1355246756, 1355246750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30072569847107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:47:32.697884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/17/image_02052025_06_17_35_10340.jpg', '/home/pi/Desktop/images/02052025/06/17/image_02052025_06_17_44_9479.jpg', '/home/pi/Desktop/images/02052025/06/17/image_02052025_06_17_55_10376.jpg', '/home/pi/Desktop/images/02052025/06/17/image_02052025_06_18_05_10360.jpg', '/home/pi/Desktop/images/02052025/06/18/image_02052025_06_18_15_9420.jpg', '/home/pi/Desktop/images/02052025/06/18/image_02052025_06_18_25_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/17/image_02052025_06_17_35_10340.jpg
/home/pi/Desktop/images/02052025/06/17/image_02052025_06_17_44_9479.jpg
/home/pi/Desktop/images/02052025/06/17/image_02052025_06_17_55_10376.jpg
/home/pi/Desktop/images/02052025/06/17/image_02052025_06_18_05_10360.jpg
/home/pi/Desktop/images/02052025/06/18/image_02052025_06_18_15_9420.jpg
/home/pi/Desktop/images/02052025/06/18/image_02052025_06_18_25_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355246924","1355246953","1355246827","1355246856","1355246993","1355246888"],"photo_ids_order":["1355246827","1355246856","1355246888","1355246924","1355246953","1355246993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f84f64be108a58b6a728502fca6a532.jpg","text":"TemporaryFile(/tmp/multipartBody401508465509352459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172113233,"filename":"image_02052025_06_18_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/5/2/df596e643b836aa28d28d58c45416e0d.jpg","text":"TemporaryFile(/tmp/multipartBody8705242135993947294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172113233,"filename":"image_02052025_06_18_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/5/2/470dbd157cde502e889529e420b1d908.jpg","text":"TemporaryFile(/tmp/multipartBody4542556180373894278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172113233,"filename":"image_02052025_06_17_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/5/2/e48ea06b9d0df052314f435d3504ca84.jpg","text":"TemporaryFile(/tmp/multipartBody5552237648242664703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172113233,"filename":"image_02052025_06_17_44_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0c9a0af796bcf8840c7c855d11dcccb4.jpg","text":"TemporaryFile(/tmp/multipartBody5123716050522790670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172113233,"filename":"image_02052025_06_18_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d99067f972af52ba3d45426e39d4929.jpg","text":"TemporaryFile(/tmp/multipartBody3628974741849151573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172113233,"filename":"image_02052025_06_17_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355246888","file1":"1355246856","file0":"1355246827","file4":"1355246953","file5":"1355246993","file3":"1355246924"},"map_files_photo_id_array":[{"photo_id":"1355246993","filename":"file5"},{"photo_id":"1355246888","filename":"file2"},{"photo_id":"1355246953","filename":"file4"},{"photo_id":"1355246856","filename":"file1"},{"photo_id":"1355246827","filename":"file0"},{"photo_id":"1355246924","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355246924":["hashtag1","hashtag2"]},{"1355246953":["hashtag1","hashtag2"]},{"1355246827":["hashtag1","hashtag2"]},{"1355246856":["hashtag1","hashtag2"]},{"1355246993":["hashtag1","hashtag2"]},{"1355246888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355246924, 1355246953, 1355246827, 1355246856, 1355246993, 1355246888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0136981010437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:48:33.001234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/18/image_02052025_06_18_34_9446.jpg', '/home/pi/Desktop/images/02052025/06/18/image_02052025_06_18_45_10360.jpg', '/home/pi/Desktop/images/02052025/06/18/image_02052025_06_18_55_10376.jpg', '/home/pi/Desktop/images/02052025/06/18/image_02052025_06_19_05_9420.jpg', '/home/pi/Desktop/images/02052025/06/19/image_02052025_06_19_15_10362.jpg', '/home/pi/Desktop/images/02052025/06/19/image_02052025_06_19_24_9481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/18/image_02052025_06_18_34_9446.jpg
/home/pi/Desktop/images/02052025/06/18/image_02052025_06_18_45_10360.jpg
/home/pi/Desktop/images/02052025/06/18/image_02052025_06_18_55_10376.jpg
/home/pi/Desktop/images/02052025/06/18/image_02052025_06_19_05_9420.jpg
/home/pi/Desktop/images/02052025/06/19/image_02052025_06_19_15_10362.jpg
/home/pi/Desktop/images/02052025/06/19/image_02052025_06_19_24_9481.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355247337","1355247424","1355247495","1355247366","1355247395","1355247467"],"photo_ids_order":["1355247337","1355247366","1355247395","1355247424","1355247467","1355247495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b96638f3731748ff117c52e545bc1b6e.jpg","text":"TemporaryFile(/tmp/multipartBody6636566071958863303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172173583,"filename":"image_02052025_06_18_34_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dceb32d2b41a7ecfad6c64bc3a0434b0.jpg","text":"TemporaryFile(/tmp/multipartBody7081833338978864386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172173583,"filename":"image_02052025_06_19_05_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/68514ddad3c54680be6fb9334c1842d0.jpg","text":"TemporaryFile(/tmp/multipartBody2637241332475560909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172173583,"filename":"image_02052025_06_19_24_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4af10373a5bb0ab118ed1727fc96b9f8.jpg","text":"TemporaryFile(/tmp/multipartBody7069587156439566886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172173583,"filename":"image_02052025_06_18_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1ee302ee418cebacf46266db34834e3.jpg","text":"TemporaryFile(/tmp/multipartBody3148941871605173655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172173583,"filename":"image_02052025_06_18_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/5/2/bd74ae95fee585e0c4c38f7aff719e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1635390251841455749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172173583,"filename":"image_02052025_06_19_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355247395","file1":"1355247366","file0":"1355247337","file4":"1355247467","file5":"1355247495","file3":"1355247424"},"map_files_photo_id_array":[{"photo_id":"1355247495","filename":"file5"},{"photo_id":"1355247395","filename":"file2"},{"photo_id":"1355247467","filename":"file4"},{"photo_id":"1355247366","filename":"file1"},{"photo_id":"1355247337","filename":"file0"},{"photo_id":"1355247424","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355247337":["hashtag1","hashtag2"]},{"1355247424":["hashtag1","hashtag2"]},{"1355247495":["hashtag1","hashtag2"]},{"1355247366":["hashtag1","hashtag2"]},{"1355247395":["hashtag1","hashtag2"]},{"1355247467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355247337, 1355247424, 1355247495, 1355247366, 1355247395, 1355247467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.534382343292236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:49:32.235052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/19/image_02052025_06_19_35_10357.jpg', '/home/pi/Desktop/images/02052025/06/19/image_02052025_06_19_45_10348.jpg', '/home/pi/Desktop/images/02052025/06/19/image_02052025_06_19_55_9430.jpg', '/home/pi/Desktop/images/02052025/06/19/image_02052025_06_20_05_10346.jpg', '/home/pi/Desktop/images/02052025/06/20/image_02052025_06_20_14_9469.jpg', '/home/pi/Desktop/images/02052025/06/20/image_02052025_06_20_25_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/19/image_02052025_06_19_35_10357.jpg
/home/pi/Desktop/images/02052025/06/19/image_02052025_06_19_45_10348.jpg
/home/pi/Desktop/images/02052025/06/19/image_02052025_06_19_55_9430.jpg
/home/pi/Desktop/images/02052025/06/19/image_02052025_06_20_05_10346.jpg
/home/pi/Desktop/images/02052025/06/20/image_02052025_06_20_14_9469.jpg
/home/pi/Desktop/images/02052025/06/20/image_02052025_06_20_25_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355247679","1355247646","1355247643","1355247674","1355247653","1355247677"],"photo_ids_order":["1355247643","1355247646","1355247653","1355247674","1355247677","1355247679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3211e46bbd9efceed3aed53c79207b0f.jpg","text":"TemporaryFile(/tmp/multipartBody9132858524626573730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172232784,"filename":"image_02052025_06_20_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/5/2/7445d1d25e52450e3ec69f81ca5b66c7.jpg","text":"TemporaryFile(/tmp/multipartBody3356858756107507400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172232784,"filename":"image_02052025_06_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/5/2/db728426db2acac54f2ca48e974d698e.jpg","text":"TemporaryFile(/tmp/multipartBody7582508381423706295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172232784,"filename":"image_02052025_06_19_35_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7bf6ba8de3cd2fd2d9a1b000e8a5a186.jpg","text":"TemporaryFile(/tmp/multipartBody8150670018200317093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172232784,"filename":"image_02052025_06_20_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/5/2/e7974aca3578c6f5800e5b6e4e954999.jpg","text":"TemporaryFile(/tmp/multipartBody5040058896165771984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172232784,"filename":"image_02052025_06_19_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/5/2/f7bdca16ed053da497b4cdbd942d3d9a.jpg","text":"TemporaryFile(/tmp/multipartBody8411407551005556585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172232784,"filename":"image_02052025_06_20_14_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355247653","file1":"1355247646","file0":"1355247643","file4":"1355247677","file5":"1355247679","file3":"1355247674"},"map_files_photo_id_array":[{"photo_id":"1355247679","filename":"file5"},{"photo_id":"1355247653","filename":"file2"},{"photo_id":"1355247677","filename":"file4"},{"photo_id":"1355247646","filename":"file1"},{"photo_id":"1355247643","filename":"file0"},{"photo_id":"1355247674","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355247679":["hashtag1","hashtag2"]},{"1355247646":["hashtag1","hashtag2"]},{"1355247643":["hashtag1","hashtag2"]},{"1355247674":["hashtag1","hashtag2"]},{"1355247653":["hashtag1","hashtag2"]},{"1355247677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355247679, 1355247646, 1355247643, 1355247674, 1355247653, 1355247677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67193031311035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:50:32.417500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/20/image_02052025_06_20_35_10377.jpg', '/home/pi/Desktop/images/02052025/06/20/image_02052025_06_20_45_9415.jpg', '/home/pi/Desktop/images/02052025/06/20/image_02052025_06_20_55_10362.jpg', '/home/pi/Desktop/images/02052025/06/20/image_02052025_06_21_04_9414.jpg', '/home/pi/Desktop/images/02052025/06/21/image_02052025_06_21_15_10343.jpg', '/home/pi/Desktop/images/02052025/06/21/image_02052025_06_21_25_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/20/image_02052025_06_20_35_10377.jpg
/home/pi/Desktop/images/02052025/06/20/image_02052025_06_20_45_9415.jpg
/home/pi/Desktop/images/02052025/06/20/image_02052025_06_20_55_10362.jpg
/home/pi/Desktop/images/02052025/06/20/image_02052025_06_21_04_9414.jpg
/home/pi/Desktop/images/02052025/06/21/image_02052025_06_21_15_10343.jpg
/home/pi/Desktop/images/02052025/06/21/image_02052025_06_21_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":["1355247701","1355247721","1355247729","1355247708","1355247725","1355247728"],"photo_ids_order":["1355247701","1355247708","1355247721","1355247725","1355247728","1355247729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ac15a05a600fb80513a5913f55fdac46.jpg","text":"TemporaryFile(/tmp/multipartBody6876201210360075500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172292938,"filename":"image_02052025_06_20_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a23fc8c7df722ea65687ae4855ca14b.jpg","text":"TemporaryFile(/tmp/multipartBody4026176821738560269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172292938,"filename":"image_02052025_06_20_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/5/2/afd0e5afadc8dec45ccf535553dec720.jpg","text":"TemporaryFile(/tmp/multipartBody5443105821277404856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172292938,"filename":"image_02052025_06_21_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/5/2/060d957e6563a0ef5f9eb63c1392674c.jpg","text":"TemporaryFile(/tmp/multipartBody2831777617850989883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172292938,"filename":"image_02052025_06_20_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/5/2/1399e018bdd8576d9b7fac65b5995aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2949648192984052653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172292938,"filename":"image_02052025_06_21_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/5/2/440d943a3da12ac985c3198061c05324.jpg","text":"TemporaryFile(/tmp/multipartBody3047499855710369127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172292938,"filename":"image_02052025_06_21_15_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355247721","file1":"1355247708","file0":"1355247701","file4":"1355247728","file5":"1355247729","file3":"1355247725"},"map_files_photo_id_array":[{"photo_id":"1355247729","filename":"file5"},{"photo_id":"1355247721","filename":"file2"},{"photo_id":"1355247728","filename":"file4"},{"photo_id":"1355247708","filename":"file1"},{"photo_id":"1355247701","filename":"file0"},{"photo_id":"1355247725","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355247701":["hashtag1","hashtag2"]},{"1355247721":["hashtag1","hashtag2"]},{"1355247729":["hashtag1","hashtag2"]},{"1355247708":["hashtag1","hashtag2"]},{"1355247725":["hashtag1","hashtag2"]},{"1355247728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355247701, 1355247721, 1355247729, 1355247708, 1355247725, 1355247728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.425321102142334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:51:32.609332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/21/image_02052025_06_21_34_9386.jpg', '/home/pi/Desktop/images/02052025/06/21/image_02052025_06_21_45_10368.jpg', '/home/pi/Desktop/images/02052025/06/21/image_02052025_06_21_55_10371.jpg', '/home/pi/Desktop/images/02052025/06/21/image_02052025_06_22_04_9357.jpg', '/home/pi/Desktop/images/02052025/06/22/image_02052025_06_22_15_10357.jpg', '/home/pi/Desktop/images/02052025/06/22/image_02052025_06_22_24_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/21/image_02052025_06_21_34_9386.jpg
/home/pi/Desktop/images/02052025/06/21/image_02052025_06_21_45_10368.jpg
/home/pi/Desktop/images/02052025/06/21/image_02052025_06_21_55_10371.jpg
/home/pi/Desktop/images/02052025/06/21/image_02052025_06_22_04_9357.jpg
/home/pi/Desktop/images/02052025/06/22/image_02052025_06_22_15_10357.jpg
/home/pi/Desktop/images/02052025/06/22/image_02052025_06_22_24_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":["1355247757","1355247768","1355247771","1355247759","1355247749","1355247764"],"photo_ids_order":["1355247749","1355247757","1355247759","1355247764","1355247768","1355247771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6de6baa11ab001ba2b6dcbaf1ab6b31d.jpg","text":"TemporaryFile(/tmp/multipartBody7093309667715305026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172353075,"filename":"image_02052025_06_21_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/5/2/c936369af09c7c94cb56d12a3d67eb85.jpg","text":"TemporaryFile(/tmp/multipartBody2221156599978173469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172353075,"filename":"image_02052025_06_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/5/2/ed22b23d35ef037db77f7f7e7c7e505d.jpg","text":"TemporaryFile(/tmp/multipartBody7630752903371040427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172353075,"filename":"image_02052025_06_22_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d79a1d77b49be8b8a5b993ccf722bac.jpg","text":"TemporaryFile(/tmp/multipartBody4334833050236048556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172353075,"filename":"image_02052025_06_21_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/5/2/1b003785bab50a831168a9bfbd10b757.jpg","text":"TemporaryFile(/tmp/multipartBody3603451206252952053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172353075,"filename":"image_02052025_06_21_34_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/470df9f49c89bc26d2aa25c23a7f501e.jpg","text":"TemporaryFile(/tmp/multipartBody1226115416694453892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172353075,"filename":"image_02052025_06_22_04_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355247759","file1":"1355247757","file0":"1355247749","file4":"1355247768","file5":"1355247771","file3":"1355247764"},"map_files_photo_id_array":[{"photo_id":"1355247771","filename":"file5"},{"photo_id":"1355247759","filename":"file2"},{"photo_id":"1355247768","filename":"file4"},{"photo_id":"1355247757","filename":"file1"},{"photo_id":"1355247749","filename":"file0"},{"photo_id":"1355247764","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355247757":["hashtag1","hashtag2"]},{"1355247768":["hashtag1","hashtag2"]},{"1355247771":["hashtag1","hashtag2"]},{"1355247759":["hashtag1","hashtag2"]},{"1355247749":["hashtag1","hashtag2"]},{"1355247764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355247757, 1355247768, 1355247771, 1355247759, 1355247749, 1355247764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52007794380188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:52:32.878392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/22/image_02052025_06_22_35_10392.jpg', '/home/pi/Desktop/images/02052025/06/22/image_02052025_06_22_45_10349.jpg', '/home/pi/Desktop/images/02052025/06/22/image_02052025_06_22_54_9437.jpg', '/home/pi/Desktop/images/02052025/06/22/image_02052025_06_23_05_10350.jpg', '/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_15_10335.jpg', '/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_25_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/22/image_02052025_06_22_35_10392.jpg
/home/pi/Desktop/images/02052025/06/22/image_02052025_06_22_45_10349.jpg
/home/pi/Desktop/images/02052025/06/22/image_02052025_06_22_54_9437.jpg
/home/pi/Desktop/images/02052025/06/22/image_02052025_06_23_05_10350.jpg
/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_15_10335.jpg
/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_25_9476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355247799","1355247790","1355247813","1355247809","1355247793","1355247806"],"photo_ids_order":["1355247790","1355247793","1355247799","1355247806","1355247809","1355247813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc3c5ffefa3a7f877706f477fd01b5ea.jpg","text":"TemporaryFile(/tmp/multipartBody5425117505196536879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172413340,"filename":"image_02052025_06_22_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/5/2/ded3b365da596ea714e84c1464f208e6.jpg","text":"TemporaryFile(/tmp/multipartBody5393878751865704580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172413340,"filename":"image_02052025_06_22_35_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9efb849126c614597dc8ee70c1db644.jpg","text":"TemporaryFile(/tmp/multipartBody7701687038264617225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172413340,"filename":"image_02052025_06_23_25_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea5402138e5f38047884e66c14ddcbe3.jpg","text":"TemporaryFile(/tmp/multipartBody3599529617555823082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172413340,"filename":"image_02052025_06_23_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/5/2/c4ffc9842be67267f31929a46633547d.jpg","text":"TemporaryFile(/tmp/multipartBody247039181690553738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172413340,"filename":"image_02052025_06_22_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/5/2/3baa5c3cb69f2093f72209ea634b3b75.jpg","text":"TemporaryFile(/tmp/multipartBody3974216861678363014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172413340,"filename":"image_02052025_06_23_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355247799","file1":"1355247793","file0":"1355247790","file4":"1355247809","file5":"1355247813","file3":"1355247806"},"map_files_photo_id_array":[{"photo_id":"1355247813","filename":"file5"},{"photo_id":"1355247799","filename":"file2"},{"photo_id":"1355247809","filename":"file4"},{"photo_id":"1355247793","filename":"file1"},{"photo_id":"1355247790","filename":"file0"},{"photo_id":"1355247806","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355247799":["hashtag1","hashtag2"]},{"1355247790":["hashtag1","hashtag2"]},{"1355247813":["hashtag1","hashtag2"]},{"1355247809":["hashtag1","hashtag2"]},{"1355247793":["hashtag1","hashtag2"]},{"1355247806":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355247799, 1355247790, 1355247813, 1355247809, 1355247793, 1355247806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.285788536071777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:53:32.216979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_35_10366.jpg', '/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_44_9392.jpg', '/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_55_10378.jpg', '/home/pi/Desktop/images/02052025/06/23/image_02052025_06_24_05_10360.jpg', '/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_14_9424.jpg', '/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_35_10366.jpg
/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_44_9392.jpg
/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_55_10378.jpg
/home/pi/Desktop/images/02052025/06/23/image_02052025_06_24_05_10360.jpg
/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_14_9424.jpg
/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_25_10372.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3942129611968994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 09:53:42.235837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_35_10366.jpg', '/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_44_9392.jpg', '/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_55_10378.jpg', '/home/pi/Desktop/images/02052025/06/23/image_02052025_06_24_05_10360.jpg', '/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_14_9424.jpg', '/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_35_10366.jpg
/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_44_9392.jpg
/home/pi/Desktop/images/02052025/06/23/image_02052025_06_23_55_10378.jpg
/home/pi/Desktop/images/02052025/06/23/image_02052025_06_24_05_10360.jpg
/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_14_9424.jpg
/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_25_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355248102","1355248092","1355248086","1355248104","1355248100","1355248099"],"photo_ids_order":["1355248086","1355248092","1355248099","1355248100","1355248102","1355248104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5463e8ee3e8976cfc9ecd8e43462750d.jpg","text":"TemporaryFile(/tmp/multipartBody792999616246971754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172482721,"filename":"image_02052025_06_24_14_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/32126aef033e042069716fbc44702cf9.jpg","text":"TemporaryFile(/tmp/multipartBody3387683970145031568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172482721,"filename":"image_02052025_06_23_44_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90f0c75cd3a506b28947252019b0c757.jpg","text":"TemporaryFile(/tmp/multipartBody4587956461115735129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172482721,"filename":"image_02052025_06_23_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/5/2/84a5040b1240b7f5cda709e425760146.jpg","text":"TemporaryFile(/tmp/multipartBody5276274063147208655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172482721,"filename":"image_02052025_06_24_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/25c3916db42384f86fbc5044756a7244.jpg","text":"TemporaryFile(/tmp/multipartBody7263829345179980355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172482721,"filename":"image_02052025_06_24_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/5/2/1f390dcef462ebd46f71c2cdbaf2bc9a.jpg","text":"TemporaryFile(/tmp/multipartBody834297526068042049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172482721,"filename":"image_02052025_06_23_55_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355248099","file1":"1355248092","file0":"1355248086","file4":"1355248102","file5":"1355248104","file3":"1355248100"},"map_files_photo_id_array":[{"photo_id":"1355248104","filename":"file5"},{"photo_id":"1355248099","filename":"file2"},{"photo_id":"1355248102","filename":"file4"},{"photo_id":"1355248092","filename":"file1"},{"photo_id":"1355248086","filename":"file0"},{"photo_id":"1355248100","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355248102":["hashtag1","hashtag2"]},{"1355248092":["hashtag1","hashtag2"]},{"1355248086":["hashtag1","hashtag2"]},{"1355248104":["hashtag1","hashtag2"]},{"1355248100":["hashtag1","hashtag2"]},{"1355248099":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355248102, 1355248092, 1355248086, 1355248104, 1355248100, 1355248099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.646021366119385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:54:32.370196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_35_10342.jpg', '/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_45_9399.jpg', '/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_55_10414.jpg', '/home/pi/Desktop/images/02052025/06/24/image_02052025_06_25_04_9427.jpg', '/home/pi/Desktop/images/02052025/06/25/image_02052025_06_25_15_10367.jpg', '/home/pi/Desktop/images/02052025/06/25/image_02052025_06_25_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_35_10342.jpg
/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_45_9399.jpg
/home/pi/Desktop/images/02052025/06/24/image_02052025_06_24_55_10414.jpg
/home/pi/Desktop/images/02052025/06/24/image_02052025_06_25_04_9427.jpg
/home/pi/Desktop/images/02052025/06/25/image_02052025_06_25_15_10367.jpg
/home/pi/Desktop/images/02052025/06/25/image_02052025_06_25_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355248126","1355248143","1355248137","1355248122","1355248119","1355248141"],"photo_ids_order":["1355248119","1355248122","1355248126","1355248137","1355248141","1355248143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa3af98f8a473413013df88525be3c6b.jpg","text":"TemporaryFile(/tmp/multipartBody2771531364753413276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172532829,"filename":"image_02052025_06_24_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/5/2/31b16473b40965a647e0410961f28962.jpg","text":"TemporaryFile(/tmp/multipartBody1027805464231218355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172532829,"filename":"image_02052025_06_25_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/125ac996b27a5384336fb1fd952605e1.jpg","text":"TemporaryFile(/tmp/multipartBody8251232583439039521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172532829,"filename":"image_02052025_06_25_04_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a5f18782f93078d0493e469ebb30dd13.jpg","text":"TemporaryFile(/tmp/multipartBody1695167526683043584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172532829,"filename":"image_02052025_06_24_45_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e06628998747f3e142cdc1a6e13b9258.jpg","text":"TemporaryFile(/tmp/multipartBody6490632647566393116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172532829,"filename":"image_02052025_06_24_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/5/2/2cd6640014c2113fba269df63af7e456.jpg","text":"TemporaryFile(/tmp/multipartBody4709989095085514653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172532829,"filename":"image_02052025_06_25_15_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355248126","file1":"1355248122","file0":"1355248119","file4":"1355248141","file5":"1355248143","file3":"1355248137"},"map_files_photo_id_array":[{"photo_id":"1355248143","filename":"file5"},{"photo_id":"1355248126","filename":"file2"},{"photo_id":"1355248141","filename":"file4"},{"photo_id":"1355248122","filename":"file1"},{"photo_id":"1355248119","filename":"file0"},{"photo_id":"1355248137","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355248126":["hashtag1","hashtag2"]},{"1355248143":["hashtag1","hashtag2"]},{"1355248137":["hashtag1","hashtag2"]},{"1355248122":["hashtag1","hashtag2"]},{"1355248119":["hashtag1","hashtag2"]},{"1355248141":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355248126, 1355248143, 1355248137, 1355248122, 1355248119, 1355248141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.11832594871521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:55:32.480458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/25/image_02052025_06_25_35_9406.jpg', '/home/pi/Desktop/images/02052025/06/25/image_02052025_06_25_45_10352.jpg', '/home/pi/Desktop/images/02052025/06/25/image_02052025_06_25_54_9437.jpg', '/home/pi/Desktop/images/02052025/06/25/image_02052025_06_26_05_10364.jpg', '/home/pi/Desktop/images/02052025/06/26/image_02052025_06_26_15_10350.jpg', '/home/pi/Desktop/images/02052025/06/26/image_02052025_06_26_25_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/25/image_02052025_06_25_35_9406.jpg
/home/pi/Desktop/images/02052025/06/25/image_02052025_06_25_45_10352.jpg
/home/pi/Desktop/images/02052025/06/25/image_02052025_06_25_54_9437.jpg
/home/pi/Desktop/images/02052025/06/25/image_02052025_06_26_05_10364.jpg
/home/pi/Desktop/images/02052025/06/26/image_02052025_06_26_15_10350.jpg
/home/pi/Desktop/images/02052025/06/26/image_02052025_06_26_25_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":["1355248179","1355248170","1355248188","1355248173","1355248190","1355248184"],"photo_ids_order":["1355248170","1355248173","1355248179","1355248184","1355248188","1355248190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cdbead5d846865c795039dde90ced36f.jpg","text":"TemporaryFile(/tmp/multipartBody5238777428758624687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172593035,"filename":"image_02052025_06_25_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/5/2/d948785ccb9dfb2be55c44fb4a38a1bc.jpg","text":"TemporaryFile(/tmp/multipartBody85957941300512321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172593035,"filename":"image_02052025_06_25_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e5b0e0f58113572eb48a42b07042a0a.jpg","text":"TemporaryFile(/tmp/multipartBody8747171877394528397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172593035,"filename":"image_02052025_06_26_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/5/2/8dfb610b3357881bac02dca15dd575b4.jpg","text":"TemporaryFile(/tmp/multipartBody8112893761000881533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172593035,"filename":"image_02052025_06_25_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/5/2/470b10f11fa7f4fe98276ee0346dca52.jpg","text":"TemporaryFile(/tmp/multipartBody9051414964281213423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172593035,"filename":"image_02052025_06_26_25_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7f38d9f890691b41a0acd392e3c8ce5.jpg","text":"TemporaryFile(/tmp/multipartBody2355839875903167455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172593035,"filename":"image_02052025_06_26_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355248179","file1":"1355248173","file0":"1355248170","file4":"1355248188","file5":"1355248190","file3":"1355248184"},"map_files_photo_id_array":[{"photo_id":"1355248190","filename":"file5"},{"photo_id":"1355248179","filename":"file2"},{"photo_id":"1355248188","filename":"file4"},{"photo_id":"1355248173","filename":"file1"},{"photo_id":"1355248170","filename":"file0"},{"photo_id":"1355248184","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355248179":["hashtag1","hashtag2"]},{"1355248170":["hashtag1","hashtag2"]},{"1355248188":["hashtag1","hashtag2"]},{"1355248173":["hashtag1","hashtag2"]},{"1355248190":["hashtag1","hashtag2"]},{"1355248184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355248179, 1355248170, 1355248188, 1355248173, 1355248190, 1355248184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.214205265045166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:56:32.783043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/26/image_02052025_06_26_35_10346.jpg', '/home/pi/Desktop/images/02052025/06/26/image_02052025_06_26_44_9413.jpg', '/home/pi/Desktop/images/02052025/06/26/image_02052025_06_26_55_10361.jpg', '/home/pi/Desktop/images/02052025/06/26/image_02052025_06_27_05_10337.jpg', '/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_15_9868.jpg', '/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_24_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/26/image_02052025_06_26_35_10346.jpg
/home/pi/Desktop/images/02052025/06/26/image_02052025_06_26_44_9413.jpg
/home/pi/Desktop/images/02052025/06/26/image_02052025_06_26_55_10361.jpg
/home/pi/Desktop/images/02052025/06/26/image_02052025_06_27_05_10337.jpg
/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_15_9868.jpg
/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_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":["1355248491","1355248356","1355248410","1355248466","1355248439","1355248384"],"photo_ids_order":["1355248356","1355248384","1355248410","1355248439","1355248466","1355248491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e4e6379f6f1b03e2d0b0dae84fab4aa8.jpg","text":"TemporaryFile(/tmp/multipartBody4118290419307649875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172653244,"filename":"image_02052025_06_27_24_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0438625b7d66540efa049ecd433e24e2.jpg","text":"TemporaryFile(/tmp/multipartBody508412593289619748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172653244,"filename":"image_02052025_06_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/5/2/be727e0ddea4b4400f76d0636366ea26.jpg","text":"TemporaryFile(/tmp/multipartBody7631848042972531401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172653244,"filename":"image_02052025_06_26_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/5/2/ae9501e92ae24308b6c574da61c3274a.jpg","text":"TemporaryFile(/tmp/multipartBody419478718159030681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172653244,"filename":"image_02052025_06_27_15_9868.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d0a764c4ec901aa840d29c00e4d3d680.jpg","text":"TemporaryFile(/tmp/multipartBody4276554238071250764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172653244,"filename":"image_02052025_06_27_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/5/2/62621e6c175355d6a74e853806145768.jpg","text":"TemporaryFile(/tmp/multipartBody1142604979121835068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172653244,"filename":"image_02052025_06_26_44_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355248410","file1":"1355248384","file0":"1355248356","file4":"1355248466","file5":"1355248491","file3":"1355248439"},"map_files_photo_id_array":[{"photo_id":"1355248491","filename":"file5"},{"photo_id":"1355248410","filename":"file2"},{"photo_id":"1355248466","filename":"file4"},{"photo_id":"1355248384","filename":"file1"},{"photo_id":"1355248356","filename":"file0"},{"photo_id":"1355248439","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355248491":["hashtag1","hashtag2"]},{"1355248356":["hashtag1","hashtag2"]},{"1355248410":["hashtag1","hashtag2"]},{"1355248466":["hashtag1","hashtag2"]},{"1355248439":["hashtag1","hashtag2"]},{"1355248384":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355248491, 1355248356, 1355248410, 1355248466, 1355248439, 1355248384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.393774271011353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 09:57:32.922311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_35_10398.jpg', '/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_45_10357.jpg', '/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_54_9462.jpg', '/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_15_10370.jpg', '/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_35_10359.jpg', '/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_44_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_35_10398.jpg
/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_45_10357.jpg
/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_54_9462.jpg
/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_15_10370.jpg
/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_35_10359.jpg
/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_44_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 09:59:03.640100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_35_10398.jpg', '/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_45_10357.jpg', '/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_54_9462.jpg', '/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_15_10370.jpg', '/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_35_10359.jpg', '/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_44_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_35_10398.jpg
/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_45_10357.jpg
/home/pi/Desktop/images/02052025/06/27/image_02052025_06_27_54_9462.jpg
/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_15_10370.jpg
/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_35_10359.jpg
/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_44_9410.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355249480","1355249351","1355249447","1355249414","1355249516","1355249383"],"photo_ids_order":["1355249351","1355249383","1355249414","1355249447","1355249480","1355249516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/877a0d2db24f14159433a18ec4565f57.jpg","text":"TemporaryFile(/tmp/multipartBody168332417426870633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172804183,"filename":"image_02052025_06_28_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c870bcaf388957a61e7d9da4fe962740.jpg","text":"TemporaryFile(/tmp/multipartBody6368319418115574236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172804183,"filename":"image_02052025_06_27_35_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee38a022719e6aeee8ce0bcb4d7a35dc.jpg","text":"TemporaryFile(/tmp/multipartBody4158933474312920490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172804183,"filename":"image_02052025_06_28_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/5/2/bc1a1eec7b3d5acc01c2f1204f509682.jpg","text":"TemporaryFile(/tmp/multipartBody4532152199657098711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172804183,"filename":"image_02052025_06_27_54_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b0f511c6180ed444f6cab54de8f5bfda.jpg","text":"TemporaryFile(/tmp/multipartBody5791769175791810004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172804183,"filename":"image_02052025_06_28_44_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30ea3176449b55f1011c55e9b4621023.jpg","text":"TemporaryFile(/tmp/multipartBody8254261400690875431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172804183,"filename":"image_02052025_06_27_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355249414","file1":"1355249383","file0":"1355249351","file4":"1355249480","file5":"1355249516","file3":"1355249447"},"map_files_photo_id_array":[{"photo_id":"1355249516","filename":"file5"},{"photo_id":"1355249414","filename":"file2"},{"photo_id":"1355249480","filename":"file4"},{"photo_id":"1355249383","filename":"file1"},{"photo_id":"1355249351","filename":"file0"},{"photo_id":"1355249447","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355249480":["hashtag1","hashtag2"]},{"1355249351":["hashtag1","hashtag2"]},{"1355249447":["hashtag1","hashtag2"]},{"1355249414":["hashtag1","hashtag2"]},{"1355249516":["hashtag1","hashtag2"]},{"1355249383":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355249480, 1355249351, 1355249447, 1355249414, 1355249516, 1355249383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51182317733765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 09:59:42.509804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_55_10374.jpg', '/home/pi/Desktop/images/02052025/06/28/image_02052025_06_29_05_10399.jpg', '/home/pi/Desktop/images/02052025/06/29/image_02052025_06_29_14_9403.jpg', '/home/pi/Desktop/images/02052025/06/29/image_02052025_06_29_34_9395.jpg', '/home/pi/Desktop/images/02052025/06/29/image_02052025_06_29_45_10376.jpg', '/home/pi/Desktop/images/02052025/06/29/image_02052025_06_29_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/28/image_02052025_06_28_55_10374.jpg
/home/pi/Desktop/images/02052025/06/28/image_02052025_06_29_05_10399.jpg
/home/pi/Desktop/images/02052025/06/29/image_02052025_06_29_14_9403.jpg
/home/pi/Desktop/images/02052025/06/29/image_02052025_06_29_34_9395.jpg
/home/pi/Desktop/images/02052025/06/29/image_02052025_06_29_45_10376.jpg
/home/pi/Desktop/images/02052025/06/29/image_02052025_06_29_55_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":["1355249862","1355249835","1355249792","1355249888","1355249915","1355249731"],"photo_ids_order":["1355249731","1355249792","1355249835","1355249862","1355249888","1355249915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6dae2aaebb564e567ad2c1f023522479.jpg","text":"TemporaryFile(/tmp/multipartBody3119373728869569174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172842982,"filename":"image_02052025_06_29_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/5/2/498c5afa0da0df105a5a295c57201d31.jpg","text":"TemporaryFile(/tmp/multipartBody5190142834143002811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172842982,"filename":"image_02052025_06_29_14_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1a0bb28f1999c1bf2dcf33a78fa4d88.jpg","text":"TemporaryFile(/tmp/multipartBody391846760072180226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172842982,"filename":"image_02052025_06_29_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/5/2/9763113357308005e0cc01fcb41ee8f3.jpg","text":"TemporaryFile(/tmp/multipartBody6045822681085327105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172842982,"filename":"image_02052025_06_29_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22546585fb2b9d077d4e21e777f164ba.jpg","text":"TemporaryFile(/tmp/multipartBody5941890635378301673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172842982,"filename":"image_02052025_06_29_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/5/2/f90c228ba0c42369027d9cbe0b957292.jpg","text":"TemporaryFile(/tmp/multipartBody291687128458306401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172842982,"filename":"image_02052025_06_28_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355249835","file1":"1355249792","file0":"1355249731","file4":"1355249888","file5":"1355249915","file3":"1355249862"},"map_files_photo_id_array":[{"photo_id":"1355249915","filename":"file5"},{"photo_id":"1355249835","filename":"file2"},{"photo_id":"1355249888","filename":"file4"},{"photo_id":"1355249792","filename":"file1"},{"photo_id":"1355249731","filename":"file0"},{"photo_id":"1355249862","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355249862":["hashtag1","hashtag2"]},{"1355249835":["hashtag1","hashtag2"]},{"1355249792":["hashtag1","hashtag2"]},{"1355249888":["hashtag1","hashtag2"]},{"1355249915":["hashtag1","hashtag2"]},{"1355249731":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355249862, 1355249835, 1355249792, 1355249888, 1355249915, 1355249731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.722198009490967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:00:32.557406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/29/image_02052025_06_30_04_9466.jpg', '/home/pi/Desktop/images/02052025/06/30/image_02052025_06_30_15_10373.jpg', '/home/pi/Desktop/images/02052025/06/30/image_02052025_06_30_24_9372.jpg', '/home/pi/Desktop/images/02052025/06/30/image_02052025_06_30_35_10407.jpg', '/home/pi/Desktop/images/02052025/06/30/image_02052025_06_31_05_10369.jpg', '/home/pi/Desktop/images/02052025/06/31/image_02052025_06_31_15_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/29/image_02052025_06_30_04_9466.jpg
/home/pi/Desktop/images/02052025/06/30/image_02052025_06_30_15_10373.jpg
/home/pi/Desktop/images/02052025/06/30/image_02052025_06_30_24_9372.jpg
/home/pi/Desktop/images/02052025/06/30/image_02052025_06_30_35_10407.jpg
/home/pi/Desktop/images/02052025/06/30/image_02052025_06_31_05_10369.jpg
/home/pi/Desktop/images/02052025/06/31/image_02052025_06_31_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":["1355250291","1355250354","1355250236","1355250209","1355250323","1355250265"],"photo_ids_order":["1355250209","1355250236","1355250265","1355250291","1355250323","1355250354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d41d8a70a323ffae04588de2b0586046.jpg","text":"TemporaryFile(/tmp/multipartBody2330892087030687859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172893025,"filename":"image_02052025_06_30_35_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa4283b00c9a207807d07a16d6dab487.jpg","text":"TemporaryFile(/tmp/multipartBody4129679231750574228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172893025,"filename":"image_02052025_06_31_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/5/2/0bd3915bc6bd5cdf9996393e7c39c4ee.jpg","text":"TemporaryFile(/tmp/multipartBody5139132055504059953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172893025,"filename":"image_02052025_06_30_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/5/2/101ffd2962aa4cf1909e9376f41319c7.jpg","text":"TemporaryFile(/tmp/multipartBody5584867846791604444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172893025,"filename":"image_02052025_06_30_04_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b6d6b31abcfba758255a037c1bd631f.jpg","text":"TemporaryFile(/tmp/multipartBody1452294556201923329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172893025,"filename":"image_02052025_06_31_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ab190532bed0c256e78067ad242cb94d.jpg","text":"TemporaryFile(/tmp/multipartBody8027652811733263552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172893025,"filename":"image_02052025_06_30_24_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355250265","file1":"1355250236","file0":"1355250209","file4":"1355250323","file5":"1355250354","file3":"1355250291"},"map_files_photo_id_array":[{"photo_id":"1355250354","filename":"file5"},{"photo_id":"1355250265","filename":"file2"},{"photo_id":"1355250323","filename":"file4"},{"photo_id":"1355250236","filename":"file1"},{"photo_id":"1355250209","filename":"file0"},{"photo_id":"1355250291","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355250291":["hashtag1","hashtag2"]},{"1355250354":["hashtag1","hashtag2"]},{"1355250236":["hashtag1","hashtag2"]},{"1355250209":["hashtag1","hashtag2"]},{"1355250323":["hashtag1","hashtag2"]},{"1355250265":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355250291, 1355250354, 1355250236, 1355250209, 1355250323, 1355250265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.645362615585327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:01:32.758559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/31/image_02052025_06_31_25_9449.jpg', '/home/pi/Desktop/images/02052025/06/31/image_02052025_06_31_35_10347.jpg', '/home/pi/Desktop/images/02052025/06/31/image_02052025_06_31_44_9351.jpg', '/home/pi/Desktop/images/02052025/06/31/image_02052025_06_31_55_10431.jpg', '/home/pi/Desktop/images/02052025/06/31/image_02052025_06_32_05_10352.jpg', '/home/pi/Desktop/images/02052025/06/32/image_02052025_06_32_14_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/31/image_02052025_06_31_25_9449.jpg
/home/pi/Desktop/images/02052025/06/31/image_02052025_06_31_35_10347.jpg
/home/pi/Desktop/images/02052025/06/31/image_02052025_06_31_44_9351.jpg
/home/pi/Desktop/images/02052025/06/31/image_02052025_06_31_55_10431.jpg
/home/pi/Desktop/images/02052025/06/31/image_02052025_06_32_05_10352.jpg
/home/pi/Desktop/images/02052025/06/32/image_02052025_06_32_14_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355250450","1355250525","1355250479","1355250428","1355250422","1355250568"],"photo_ids_order":["1355250422","1355250428","1355250450","1355250479","1355250525","1355250568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f8f2b7670ce2895e1f2246824f7e6dfc.jpg","text":"TemporaryFile(/tmp/multipartBody3046139484615601935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172953226,"filename":"image_02052025_06_31_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/186eac8e23280b6748468ae2f678af5b.jpg","text":"TemporaryFile(/tmp/multipartBody4084288121141141785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172953226,"filename":"image_02052025_06_32_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/5/2/95e079cf072d5781192c3e1862d7e406.jpg","text":"TemporaryFile(/tmp/multipartBody1112866893871644333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172953226,"filename":"image_02052025_06_31_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f25e7d28d4fba72e41859bd7e1005afb.jpg","text":"TemporaryFile(/tmp/multipartBody9154449149545752157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172953226,"filename":"image_02052025_06_31_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/5/2/ee5fb061e4538f9d2f62896efa47a047.jpg","text":"TemporaryFile(/tmp/multipartBody6812277659630160168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172953226,"filename":"image_02052025_06_31_25_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ddb7973af8b776e0c6eaf1bee627af5e.jpg","text":"TemporaryFile(/tmp/multipartBody907049908574530249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746172953226,"filename":"image_02052025_06_32_14_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355250450","file1":"1355250428","file0":"1355250422","file4":"1355250525","file5":"1355250568","file3":"1355250479"},"map_files_photo_id_array":[{"photo_id":"1355250568","filename":"file5"},{"photo_id":"1355250450","filename":"file2"},{"photo_id":"1355250525","filename":"file4"},{"photo_id":"1355250428","filename":"file1"},{"photo_id":"1355250422","filename":"file0"},{"photo_id":"1355250479","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355250450":["hashtag1","hashtag2"]},{"1355250525":["hashtag1","hashtag2"]},{"1355250479":["hashtag1","hashtag2"]},{"1355250428":["hashtag1","hashtag2"]},{"1355250422":["hashtag1","hashtag2"]},{"1355250568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355250450, 1355250525, 1355250479, 1355250428, 1355250422, 1355250568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.813639879226685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:02:32.974296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/32/image_02052025_06_32_25_10414.jpg', '/home/pi/Desktop/images/02052025/06/32/image_02052025_06_32_34_9367.jpg', '/home/pi/Desktop/images/02052025/06/32/image_02052025_06_32_45_10352.jpg', '/home/pi/Desktop/images/02052025/06/32/image_02052025_06_32_55_10368.jpg', '/home/pi/Desktop/images/02052025/06/32/image_02052025_06_33_04_9487.jpg', '/home/pi/Desktop/images/02052025/06/33/image_02052025_06_33_25_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/32/image_02052025_06_32_25_10414.jpg
/home/pi/Desktop/images/02052025/06/32/image_02052025_06_32_34_9367.jpg
/home/pi/Desktop/images/02052025/06/32/image_02052025_06_32_45_10352.jpg
/home/pi/Desktop/images/02052025/06/32/image_02052025_06_32_55_10368.jpg
/home/pi/Desktop/images/02052025/06/32/image_02052025_06_33_04_9487.jpg
/home/pi/Desktop/images/02052025/06/33/image_02052025_06_33_25_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355250759","1355250708","1355250767","1355250755","1355250763","1355250739"],"photo_ids_order":["1355250708","1355250739","1355250755","1355250759","1355250763","1355250767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cdbabf423ed4e9aa69bf5bd211af8aa3.jpg","text":"TemporaryFile(/tmp/multipartBody8883032387773586268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173013520,"filename":"image_02052025_06_32_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9400e253cc6ec1cac3fb9200dbc5b151.jpg","text":"TemporaryFile(/tmp/multipartBody6290524633648611875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173013520,"filename":"image_02052025_06_32_25_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e03336fa4e52ef3fd6ab7cb45aca9839.jpg","text":"TemporaryFile(/tmp/multipartBody3037387130082151313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173013520,"filename":"image_02052025_06_33_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/5/2/662166491499956ebbe5eb29ab011810.jpg","text":"TemporaryFile(/tmp/multipartBody2773516660035663953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173013520,"filename":"image_02052025_06_32_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/5/2/13643a5ca0f40840d85a3259831f1627.jpg","text":"TemporaryFile(/tmp/multipartBody4117890269486444350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173013520,"filename":"image_02052025_06_33_04_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e03c803f455f6b0de0dd2cd23623e1ba.jpg","text":"TemporaryFile(/tmp/multipartBody4453972714477784085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173013520,"filename":"image_02052025_06_32_34_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355250755","file1":"1355250739","file0":"1355250708","file4":"1355250763","file5":"1355250767","file3":"1355250759"},"map_files_photo_id_array":[{"photo_id":"1355250767","filename":"file5"},{"photo_id":"1355250755","filename":"file2"},{"photo_id":"1355250763","filename":"file4"},{"photo_id":"1355250739","filename":"file1"},{"photo_id":"1355250708","filename":"file0"},{"photo_id":"1355250759","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355250759":["hashtag1","hashtag2"]},{"1355250708":["hashtag1","hashtag2"]},{"1355250767":["hashtag1","hashtag2"]},{"1355250755":["hashtag1","hashtag2"]},{"1355250763":["hashtag1","hashtag2"]},{"1355250739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355250759, 1355250708, 1355250767, 1355250755, 1355250763, 1355250739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.734392881393433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:03:32.621449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/33/image_02052025_06_33_35_9350.jpg', '/home/pi/Desktop/images/02052025/06/33/image_02052025_06_33_45_10432.jpg', '/home/pi/Desktop/images/02052025/06/33/image_02052025_06_34_05_10381.jpg', '/home/pi/Desktop/images/02052025/06/34/image_02052025_06_34_15_10366.jpg', '/home/pi/Desktop/images/02052025/06/34/image_02052025_06_34_25_9454.jpg', '/home/pi/Desktop/images/02052025/06/34/image_02052025_06_34_35_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/33/image_02052025_06_33_35_9350.jpg
/home/pi/Desktop/images/02052025/06/33/image_02052025_06_33_45_10432.jpg
/home/pi/Desktop/images/02052025/06/33/image_02052025_06_34_05_10381.jpg
/home/pi/Desktop/images/02052025/06/34/image_02052025_06_34_15_10366.jpg
/home/pi/Desktop/images/02052025/06/34/image_02052025_06_34_25_9454.jpg
/home/pi/Desktop/images/02052025/06/34/image_02052025_06_34_35_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355250855","1355250851","1355250863","1355250886","1355250859","1355250868"],"photo_ids_order":["1355250851","1355250855","1355250859","1355250863","1355250868","1355250886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0641812ca98bfadea53285b437b782b4.jpg","text":"TemporaryFile(/tmp/multipartBody6192597088384242582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173073092,"filename":"image_02052025_06_33_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/5/2/310a3e5650f51426bca9f293e752e359.jpg","text":"TemporaryFile(/tmp/multipartBody1834158639797663445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173073092,"filename":"image_02052025_06_33_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/5/2/20ab0e350e80235cbe80850ea6a163aa.jpg","text":"TemporaryFile(/tmp/multipartBody4626696136753261332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173073092,"filename":"image_02052025_06_34_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/5/2/388ddcfdc64909bde0ad4706bb8c4248.jpg","text":"TemporaryFile(/tmp/multipartBody2100824484823939436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173073092,"filename":"image_02052025_06_34_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95de3b5255b3a1906ce608988a69fb3f.jpg","text":"TemporaryFile(/tmp/multipartBody5516703433458300608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173073092,"filename":"image_02052025_06_34_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/5/2/2abd97bc943049aa6de04627bbe4a2ec.jpg","text":"TemporaryFile(/tmp/multipartBody7814280930757739266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173073092,"filename":"image_02052025_06_34_25_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355250859","file1":"1355250855","file0":"1355250851","file4":"1355250868","file5":"1355250886","file3":"1355250863"},"map_files_photo_id_array":[{"photo_id":"1355250886","filename":"file5"},{"photo_id":"1355250859","filename":"file2"},{"photo_id":"1355250868","filename":"file4"},{"photo_id":"1355250855","filename":"file1"},{"photo_id":"1355250851","filename":"file0"},{"photo_id":"1355250863","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355250855":["hashtag1","hashtag2"]},{"1355250851":["hashtag1","hashtag2"]},{"1355250863":["hashtag1","hashtag2"]},{"1355250886":["hashtag1","hashtag2"]},{"1355250859":["hashtag1","hashtag2"]},{"1355250868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355250855, 1355250851, 1355250863, 1355250886, 1355250859, 1355250868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.38709044456482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:04:32.658173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/34/image_02052025_06_34_44_9470.jpg', '/home/pi/Desktop/images/02052025/06/34/image_02052025_06_34_55_10356.jpg', '/home/pi/Desktop/images/02052025/06/34/image_02052025_06_35_05_10355.jpg', '/home/pi/Desktop/images/02052025/06/35/image_02052025_06_35_14_9347.jpg', '/home/pi/Desktop/images/02052025/06/35/image_02052025_06_35_25_10374.jpg', '/home/pi/Desktop/images/02052025/06/35/image_02052025_06_35_34_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/34/image_02052025_06_34_44_9470.jpg
/home/pi/Desktop/images/02052025/06/34/image_02052025_06_34_55_10356.jpg
/home/pi/Desktop/images/02052025/06/34/image_02052025_06_35_05_10355.jpg
/home/pi/Desktop/images/02052025/06/35/image_02052025_06_35_14_9347.jpg
/home/pi/Desktop/images/02052025/06/35/image_02052025_06_35_25_10374.jpg
/home/pi/Desktop/images/02052025/06/35/image_02052025_06_35_34_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":["1355250934","1355250913","1355250930","1355250937","1355250925","1355250919"],"photo_ids_order":["1355250913","1355250919","1355250925","1355250930","1355250934","1355250937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e1bdbb0c3f63fdcd0c5c0d4d17ccd815.jpg","text":"TemporaryFile(/tmp/multipartBody1128836685414535489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173133144,"filename":"image_02052025_06_35_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/5/2/7d7cc66204934a8d145cb327039bab15.jpg","text":"TemporaryFile(/tmp/multipartBody8720591210840007740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173133144,"filename":"image_02052025_06_34_44_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6fb5556bfbad1f971946856ca51da758.jpg","text":"TemporaryFile(/tmp/multipartBody476006916253725186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173133144,"filename":"image_02052025_06_35_14_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5186bb585f04bc24bd0370e5a5ceb128.jpg","text":"TemporaryFile(/tmp/multipartBody5493095507658310487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173133144,"filename":"image_02052025_06_35_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3ce6851bd7120423e4f4856c4fb24027.jpg","text":"TemporaryFile(/tmp/multipartBody7160393710556495482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173133144,"filename":"image_02052025_06_35_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/5/2/03bcec0fc521c71a43a2cc1bee8f4f37.jpg","text":"TemporaryFile(/tmp/multipartBody4456615743159481720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173133144,"filename":"image_02052025_06_34_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355250925","file1":"1355250919","file0":"1355250913","file4":"1355250934","file5":"1355250937","file3":"1355250930"},"map_files_photo_id_array":[{"photo_id":"1355250937","filename":"file5"},{"photo_id":"1355250925","filename":"file2"},{"photo_id":"1355250934","filename":"file4"},{"photo_id":"1355250919","filename":"file1"},{"photo_id":"1355250913","filename":"file0"},{"photo_id":"1355250930","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355250934":["hashtag1","hashtag2"]},{"1355250913":["hashtag1","hashtag2"]},{"1355250930":["hashtag1","hashtag2"]},{"1355250937":["hashtag1","hashtag2"]},{"1355250925":["hashtag1","hashtag2"]},{"1355250919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355250934, 1355250913, 1355250930, 1355250937, 1355250925, 1355250919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28665518760681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:05:32.855910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/35/image_02052025_06_35_45_10688.jpg', '/home/pi/Desktop/images/02052025/06/35/image_02052025_06_35_54_9396.jpg', '/home/pi/Desktop/images/02052025/06/35/image_02052025_06_36_05_10468.jpg', '/home/pi/Desktop/images/02052025/06/36/image_02052025_06_36_15_10345.jpg', '/home/pi/Desktop/images/02052025/06/36/image_02052025_06_36_35_10359.jpg', '/home/pi/Desktop/images/02052025/06/36/image_02052025_06_36_44_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/35/image_02052025_06_35_45_10688.jpg
/home/pi/Desktop/images/02052025/06/35/image_02052025_06_35_54_9396.jpg
/home/pi/Desktop/images/02052025/06/35/image_02052025_06_36_05_10468.jpg
/home/pi/Desktop/images/02052025/06/36/image_02052025_06_36_15_10345.jpg
/home/pi/Desktop/images/02052025/06/36/image_02052025_06_36_35_10359.jpg
/home/pi/Desktop/images/02052025/06/36/image_02052025_06_36_44_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":["1355250990","1355250984","1355250992","1355250979","1355250970","1355250964"],"photo_ids_order":["1355250964","1355250970","1355250979","1355250984","1355250990","1355250992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55c229390662175931bb026c3ed6e863.jpg","text":"TemporaryFile(/tmp/multipartBody4717003506894635059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173193318,"filename":"image_02052025_06_36_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a2b9880cd386680d3aa4cdf4a587bff9.jpg","text":"TemporaryFile(/tmp/multipartBody2504195117595739442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173193318,"filename":"image_02052025_06_36_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/abfc48a53ccc37fd985a4bdb046f6dca.jpg","text":"TemporaryFile(/tmp/multipartBody991279522344511304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173193318,"filename":"image_02052025_06_36_44_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ced9c3605e1affb69f7e526499e04f89.jpg","text":"TemporaryFile(/tmp/multipartBody340181088841849433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173193318,"filename":"image_02052025_06_36_05_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2fd355d2e5cfacf6aebf3c444a764bae.jpg","text":"TemporaryFile(/tmp/multipartBody5275374021901076361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173193318,"filename":"image_02052025_06_35_54_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c5ce99ba4cb4cd004d24c11843f87ee3.jpg","text":"TemporaryFile(/tmp/multipartBody7136227494329523538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173193318,"filename":"image_02052025_06_35_45_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355250979","file1":"1355250970","file0":"1355250964","file4":"1355250990","file5":"1355250992","file3":"1355250984"},"map_files_photo_id_array":[{"photo_id":"1355250992","filename":"file5"},{"photo_id":"1355250979","filename":"file2"},{"photo_id":"1355250990","filename":"file4"},{"photo_id":"1355250970","filename":"file1"},{"photo_id":"1355250964","filename":"file0"},{"photo_id":"1355250984","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355250990":["hashtag1","hashtag2"]},{"1355250984":["hashtag1","hashtag2"]},{"1355250992":["hashtag1","hashtag2"]},{"1355250979":["hashtag1","hashtag2"]},{"1355250970":["hashtag1","hashtag2"]},{"1355250964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355250990, 1355250984, 1355250992, 1355250979, 1355250970, 1355250964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75845527648926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:06:33.046508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/36/image_02052025_06_36_55_10364.jpg', '/home/pi/Desktop/images/02052025/06/36/image_02052025_06_37_05_10385.jpg', '/home/pi/Desktop/images/02052025/06/37/image_02052025_06_37_14_9355.jpg', '/home/pi/Desktop/images/02052025/06/37/image_02052025_06_37_25_10343.jpg', '/home/pi/Desktop/images/02052025/06/37/image_02052025_06_37_35_10364.jpg', '/home/pi/Desktop/images/02052025/06/37/image_02052025_06_37_45_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/36/image_02052025_06_36_55_10364.jpg
/home/pi/Desktop/images/02052025/06/36/image_02052025_06_37_05_10385.jpg
/home/pi/Desktop/images/02052025/06/37/image_02052025_06_37_14_9355.jpg
/home/pi/Desktop/images/02052025/06/37/image_02052025_06_37_25_10343.jpg
/home/pi/Desktop/images/02052025/06/37/image_02052025_06_37_35_10364.jpg
/home/pi/Desktop/images/02052025/06/37/image_02052025_06_37_45_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355251041","1355251029","1355251023","1355251032","1355251046","1355251049"],"photo_ids_order":["1355251023","1355251029","1355251032","1355251041","1355251046","1355251049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05598096edce96fcce5bdc9c434c55ae.jpg","text":"TemporaryFile(/tmp/multipartBody4446747927603623529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173253527,"filename":"image_02052025_06_37_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/5/2/bda9a2996dd64d856255376933df3faf.jpg","text":"TemporaryFile(/tmp/multipartBody6081421820789886156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173253527,"filename":"image_02052025_06_37_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/5/2/57242e8fed1c5bdf62ad9e0f8595777a.jpg","text":"TemporaryFile(/tmp/multipartBody4935623477355357899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173253527,"filename":"image_02052025_06_36_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/5/2/c7e5687567e54fbdd64878b61a46bbca.jpg","text":"TemporaryFile(/tmp/multipartBody8604434391946297600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173253527,"filename":"image_02052025_06_37_14_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aaab9ac6d311ddba226893ce349663f9.jpg","text":"TemporaryFile(/tmp/multipartBody3844756882853830038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173253527,"filename":"image_02052025_06_37_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/5/2/94f41d2f7f008b6f43dcedd4b0c6b71d.jpg","text":"TemporaryFile(/tmp/multipartBody364283582833425103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173253527,"filename":"image_02052025_06_37_45_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251032","file1":"1355251029","file0":"1355251023","file4":"1355251046","file5":"1355251049","file3":"1355251041"},"map_files_photo_id_array":[{"photo_id":"1355251049","filename":"file5"},{"photo_id":"1355251032","filename":"file2"},{"photo_id":"1355251046","filename":"file4"},{"photo_id":"1355251029","filename":"file1"},{"photo_id":"1355251023","filename":"file0"},{"photo_id":"1355251041","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251041":["hashtag1","hashtag2"]},{"1355251029":["hashtag1","hashtag2"]},{"1355251023":["hashtag1","hashtag2"]},{"1355251032":["hashtag1","hashtag2"]},{"1355251046":["hashtag1","hashtag2"]},{"1355251049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251041, 1355251029, 1355251023, 1355251032, 1355251046, 1355251049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09883403778076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:07:32.262683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/37/image_02052025_06_37_55_10360.jpg', '/home/pi/Desktop/images/02052025/06/37/image_02052025_06_38_04_9405.jpg', '/home/pi/Desktop/images/02052025/06/38/image_02052025_06_38_15_10361.jpg', '/home/pi/Desktop/images/02052025/06/38/image_02052025_06_38_25_10366.jpg', '/home/pi/Desktop/images/02052025/06/38/image_02052025_06_38_34_9363.jpg', '/home/pi/Desktop/images/02052025/06/38/image_02052025_06_38_45_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/37/image_02052025_06_37_55_10360.jpg
/home/pi/Desktop/images/02052025/06/37/image_02052025_06_38_04_9405.jpg
/home/pi/Desktop/images/02052025/06/38/image_02052025_06_38_15_10361.jpg
/home/pi/Desktop/images/02052025/06/38/image_02052025_06_38_25_10366.jpg
/home/pi/Desktop/images/02052025/06/38/image_02052025_06_38_34_9363.jpg
/home/pi/Desktop/images/02052025/06/38/image_02052025_06_38_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":["1355251095","1355251077","1355251091","1355251087","1355251072","1355251083"],"photo_ids_order":["1355251072","1355251077","1355251083","1355251087","1355251091","1355251095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7a201f28d59cf8d708ad3f0b08b2a84a.jpg","text":"TemporaryFile(/tmp/multipartBody5954009937364350188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173312795,"filename":"image_02052025_06_38_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/5/2/ad0b42a0c9752af9db365069ac55e040.jpg","text":"TemporaryFile(/tmp/multipartBody5604644008362921517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173312795,"filename":"image_02052025_06_38_04_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/04dc9c5519c66e615048a4c58e384ef3.jpg","text":"TemporaryFile(/tmp/multipartBody7707469387576838458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173312795,"filename":"image_02052025_06_38_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/5/2/36a778cfa1502a3b6db5984457a8bff0.jpg","text":"TemporaryFile(/tmp/multipartBody7646640510314655862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173312795,"filename":"image_02052025_06_38_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/5/2/53a8c6e78d1935d6679798238d5f4261.jpg","text":"TemporaryFile(/tmp/multipartBody8327588620635310225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173312795,"filename":"image_02052025_06_37_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/5/2/e1c71907ded82f2a45d889a37123bc72.jpg","text":"TemporaryFile(/tmp/multipartBody8722186247285044534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173312795,"filename":"image_02052025_06_38_15_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251083","file1":"1355251077","file0":"1355251072","file4":"1355251091","file5":"1355251095","file3":"1355251087"},"map_files_photo_id_array":[{"photo_id":"1355251095","filename":"file5"},{"photo_id":"1355251083","filename":"file2"},{"photo_id":"1355251091","filename":"file4"},{"photo_id":"1355251077","filename":"file1"},{"photo_id":"1355251072","filename":"file0"},{"photo_id":"1355251087","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251095":["hashtag1","hashtag2"]},{"1355251077":["hashtag1","hashtag2"]},{"1355251091":["hashtag1","hashtag2"]},{"1355251087":["hashtag1","hashtag2"]},{"1355251072":["hashtag1","hashtag2"]},{"1355251083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251095, 1355251077, 1355251091, 1355251087, 1355251072, 1355251083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.602213621139526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:08:32.403282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/38/image_02052025_06_38_54_9503.jpg', '/home/pi/Desktop/images/02052025/06/38/image_02052025_06_39_05_10345.jpg', '/home/pi/Desktop/images/02052025/06/39/image_02052025_06_39_15_10358.jpg', '/home/pi/Desktop/images/02052025/06/39/image_02052025_06_39_24_9374.jpg', '/home/pi/Desktop/images/02052025/06/39/image_02052025_06_39_35_10347.jpg', '/home/pi/Desktop/images/02052025/06/39/image_02052025_06_39_45_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/38/image_02052025_06_38_54_9503.jpg
/home/pi/Desktop/images/02052025/06/38/image_02052025_06_39_05_10345.jpg
/home/pi/Desktop/images/02052025/06/39/image_02052025_06_39_15_10358.jpg
/home/pi/Desktop/images/02052025/06/39/image_02052025_06_39_24_9374.jpg
/home/pi/Desktop/images/02052025/06/39/image_02052025_06_39_35_10347.jpg
/home/pi/Desktop/images/02052025/06/39/image_02052025_06_39_45_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":["1355251139","1355251130","1355251124","1355251133","1355251136","1355251117"],"photo_ids_order":["1355251117","1355251124","1355251130","1355251133","1355251136","1355251139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6b4ba2ae3857919d7da8ccbe38a9542.jpg","text":"TemporaryFile(/tmp/multipartBody2578142900957354908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173372875,"filename":"image_02052025_06_39_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/5/2/bb59dab01ee1efed4d71de893f6072d6.jpg","text":"TemporaryFile(/tmp/multipartBody4835090216671305021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173372875,"filename":"image_02052025_06_39_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9ff824c6d99c5f70d83346a31986550.jpg","text":"TemporaryFile(/tmp/multipartBody3862415161438121413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173372875,"filename":"image_02052025_06_39_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/5/2/a43b1cdacc8d65ee53a8208db465268f.jpg","text":"TemporaryFile(/tmp/multipartBody8717232586762083006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173372875,"filename":"image_02052025_06_39_24_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6df949f3de7c136ce552b1b42d6e632e.jpg","text":"TemporaryFile(/tmp/multipartBody4295960399812301850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173372875,"filename":"image_02052025_06_39_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/5/2/b4af1a12cc189c1fdc09b501aed48151.jpg","text":"TemporaryFile(/tmp/multipartBody1389916960067822665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173372875,"filename":"image_02052025_06_38_54_9503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251130","file1":"1355251124","file0":"1355251117","file4":"1355251136","file5":"1355251139","file3":"1355251133"},"map_files_photo_id_array":[{"photo_id":"1355251139","filename":"file5"},{"photo_id":"1355251130","filename":"file2"},{"photo_id":"1355251136","filename":"file4"},{"photo_id":"1355251124","filename":"file1"},{"photo_id":"1355251117","filename":"file0"},{"photo_id":"1355251133","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251139":["hashtag1","hashtag2"]},{"1355251130":["hashtag1","hashtag2"]},{"1355251124":["hashtag1","hashtag2"]},{"1355251133":["hashtag1","hashtag2"]},{"1355251136":["hashtag1","hashtag2"]},{"1355251117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251139, 1355251130, 1355251124, 1355251133, 1355251136, 1355251117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05545711517334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:09:32.772518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/39/image_02052025_06_39_55_9360.jpg', '/home/pi/Desktop/images/02052025/06/39/image_02052025_06_40_05_10350.jpg', '/home/pi/Desktop/images/02052025/06/40/image_02052025_06_40_14_9343.jpg', '/home/pi/Desktop/images/02052025/06/40/image_02052025_06_40_25_10422.jpg', '/home/pi/Desktop/images/02052025/06/40/image_02052025_06_40_35_10349.jpg', '/home/pi/Desktop/images/02052025/06/40/image_02052025_06_40_44_9483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/39/image_02052025_06_39_55_9360.jpg
/home/pi/Desktop/images/02052025/06/39/image_02052025_06_40_05_10350.jpg
/home/pi/Desktop/images/02052025/06/40/image_02052025_06_40_14_9343.jpg
/home/pi/Desktop/images/02052025/06/40/image_02052025_06_40_25_10422.jpg
/home/pi/Desktop/images/02052025/06/40/image_02052025_06_40_35_10349.jpg
/home/pi/Desktop/images/02052025/06/40/image_02052025_06_40_44_9483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355251221","1355251199","1355251217","1355251189","1355251225","1355251204"],"photo_ids_order":["1355251189","1355251199","1355251204","1355251217","1355251221","1355251225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad38bb6f4dc88521e99117fa02823305.jpg","text":"TemporaryFile(/tmp/multipartBody8999677038193286670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173433232,"filename":"image_02052025_06_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/5/2/4cb25c3dd10230a3a680b664bd5f0885.jpg","text":"TemporaryFile(/tmp/multipartBody6568416777297513789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173433232,"filename":"image_02052025_06_40_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/5/2/0553466fef8765afbc1b53d286f10d82.jpg","text":"TemporaryFile(/tmp/multipartBody3033762845857806927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173433232,"filename":"image_02052025_06_40_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/5/2/bfa77b42dfa3cdb89acdffab2f79e2b9.jpg","text":"TemporaryFile(/tmp/multipartBody1242611149842023482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173433232,"filename":"image_02052025_06_39_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/5/2/5cf325ff12863642bacd2e129c45e00e.jpg","text":"TemporaryFile(/tmp/multipartBody2399450664596037501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173433232,"filename":"image_02052025_06_40_44_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05dce4221c25a328ba52348bd38a6380.jpg","text":"TemporaryFile(/tmp/multipartBody2549707839390168489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173433232,"filename":"image_02052025_06_40_14_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251204","file1":"1355251199","file0":"1355251189","file4":"1355251221","file5":"1355251225","file3":"1355251217"},"map_files_photo_id_array":[{"photo_id":"1355251225","filename":"file5"},{"photo_id":"1355251204","filename":"file2"},{"photo_id":"1355251221","filename":"file4"},{"photo_id":"1355251199","filename":"file1"},{"photo_id":"1355251189","filename":"file0"},{"photo_id":"1355251217","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251221":["hashtag1","hashtag2"]},{"1355251199":["hashtag1","hashtag2"]},{"1355251217":["hashtag1","hashtag2"]},{"1355251189":["hashtag1","hashtag2"]},{"1355251225":["hashtag1","hashtag2"]},{"1355251204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251221, 1355251199, 1355251217, 1355251189, 1355251225, 1355251204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.373313903808594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:10:32.855101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/40/image_02052025_06_40_55_10374.jpg', '/home/pi/Desktop/images/02052025/06/40/image_02052025_06_41_05_10355.jpg', '/home/pi/Desktop/images/02052025/06/41/image_02052025_06_41_25_10407.jpg', '/home/pi/Desktop/images/02052025/06/41/image_02052025_06_41_34_9456.jpg', '/home/pi/Desktop/images/02052025/06/41/image_02052025_06_41_45_10338.jpg', '/home/pi/Desktop/images/02052025/06/41/image_02052025_06_41_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/40/image_02052025_06_40_55_10374.jpg
/home/pi/Desktop/images/02052025/06/40/image_02052025_06_41_05_10355.jpg
/home/pi/Desktop/images/02052025/06/41/image_02052025_06_41_25_10407.jpg
/home/pi/Desktop/images/02052025/06/41/image_02052025_06_41_34_9456.jpg
/home/pi/Desktop/images/02052025/06/41/image_02052025_06_41_45_10338.jpg
/home/pi/Desktop/images/02052025/06/41/image_02052025_06_41_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355251299","1355251290","1355251286","1355251295","1355251283","1355251276"],"photo_ids_order":["1355251276","1355251283","1355251286","1355251290","1355251295","1355251299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21eb80719036e04283acdf97eda18220.jpg","text":"TemporaryFile(/tmp/multipartBody248022515305426403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173493331,"filename":"image_02052025_06_41_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/5/2/603f732c42aa381f42c5fad71757e856.jpg","text":"TemporaryFile(/tmp/multipartBody6823970268894143207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173493331,"filename":"image_02052025_06_41_34_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/980795cc634c324b3316b571c9a34259.jpg","text":"TemporaryFile(/tmp/multipartBody7941325006755043745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173493331,"filename":"image_02052025_06_41_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22acfa3c3fca80974946d4dc4f95ca07.jpg","text":"TemporaryFile(/tmp/multipartBody5064236556595681493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173493331,"filename":"image_02052025_06_41_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/5/2/f4de0ed7275d248f3a7ff31338eedab9.jpg","text":"TemporaryFile(/tmp/multipartBody4818785671689686467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173493331,"filename":"image_02052025_06_41_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0bde55a51b9483a6609b6752d7fad20.jpg","text":"TemporaryFile(/tmp/multipartBody2619307120344645529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173493331,"filename":"image_02052025_06_40_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251286","file1":"1355251283","file0":"1355251276","file4":"1355251295","file5":"1355251299","file3":"1355251290"},"map_files_photo_id_array":[{"photo_id":"1355251299","filename":"file5"},{"photo_id":"1355251286","filename":"file2"},{"photo_id":"1355251295","filename":"file4"},{"photo_id":"1355251283","filename":"file1"},{"photo_id":"1355251276","filename":"file0"},{"photo_id":"1355251290","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251299":["hashtag1","hashtag2"]},{"1355251290":["hashtag1","hashtag2"]},{"1355251286":["hashtag1","hashtag2"]},{"1355251295":["hashtag1","hashtag2"]},{"1355251283":["hashtag1","hashtag2"]},{"1355251276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251299, 1355251290, 1355251286, 1355251295, 1355251283, 1355251276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.594130754470825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:11:33.746648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/41/image_02052025_06_42_05_9432.jpg', '/home/pi/Desktop/images/02052025/06/42/image_02052025_06_42_15_10341.jpg', '/home/pi/Desktop/images/02052025/06/42/image_02052025_06_42_24_9492.jpg', '/home/pi/Desktop/images/02052025/06/42/image_02052025_06_42_45_10347.jpg', '/home/pi/Desktop/images/02052025/06/42/image_02052025_06_42_55_9420.jpg', '/home/pi/Desktop/images/02052025/06/42/image_02052025_06_43_05_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/41/image_02052025_06_42_05_9432.jpg
/home/pi/Desktop/images/02052025/06/42/image_02052025_06_42_15_10341.jpg
/home/pi/Desktop/images/02052025/06/42/image_02052025_06_42_24_9492.jpg
/home/pi/Desktop/images/02052025/06/42/image_02052025_06_42_45_10347.jpg
/home/pi/Desktop/images/02052025/06/42/image_02052025_06_42_55_9420.jpg
/home/pi/Desktop/images/02052025/06/42/image_02052025_06_43_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":["1355251326","1355251320","1355251331","1355251334","1355251342","1355251339"],"photo_ids_order":["1355251320","1355251326","1355251331","1355251334","1355251339","1355251342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e3450218d5c767c0d82ad9ca6b2061d.jpg","text":"TemporaryFile(/tmp/multipartBody2433602240396899821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173554225,"filename":"image_02052025_06_42_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/02e586eb6b9fe663bea454495920f13e.jpg","text":"TemporaryFile(/tmp/multipartBody6115420249417642863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173554225,"filename":"image_02052025_06_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/5/2/a624b71a036079a956a411e0154dd3fd.jpg","text":"TemporaryFile(/tmp/multipartBody8526763096646396008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173554225,"filename":"image_02052025_06_42_24_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af820996724e502881d96ad543e95ccf.jpg","text":"TemporaryFile(/tmp/multipartBody3628900352032304118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173554225,"filename":"image_02052025_06_42_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/5/2/d5ab817dcf5665937dfbf15d1096582b.jpg","text":"TemporaryFile(/tmp/multipartBody1759469611401397931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173554225,"filename":"image_02052025_06_43_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c80c53cbd504fc0ef0b7790ee140dd0a.jpg","text":"TemporaryFile(/tmp/multipartBody8411294520779356740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173554225,"filename":"image_02052025_06_42_55_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251331","file1":"1355251326","file0":"1355251320","file4":"1355251339","file5":"1355251342","file3":"1355251334"},"map_files_photo_id_array":[{"photo_id":"1355251342","filename":"file5"},{"photo_id":"1355251331","filename":"file2"},{"photo_id":"1355251339","filename":"file4"},{"photo_id":"1355251326","filename":"file1"},{"photo_id":"1355251320","filename":"file0"},{"photo_id":"1355251334","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251326":["hashtag1","hashtag2"]},{"1355251320":["hashtag1","hashtag2"]},{"1355251331":["hashtag1","hashtag2"]},{"1355251334":["hashtag1","hashtag2"]},{"1355251342":["hashtag1","hashtag2"]},{"1355251339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251326, 1355251320, 1355251331, 1355251334, 1355251342, 1355251339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.112239360809326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:12:33.292037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/43/image_02052025_06_43_14_9437.jpg', '/home/pi/Desktop/images/02052025/06/43/image_02052025_06_43_25_10405.jpg', '/home/pi/Desktop/images/02052025/06/43/image_02052025_06_43_35_10355.jpg', '/home/pi/Desktop/images/02052025/06/43/image_02052025_06_43_45_9457.jpg', '/home/pi/Desktop/images/02052025/06/43/image_02052025_06_43_55_10457.jpg', '/home/pi/Desktop/images/02052025/06/43/image_02052025_06_44_04_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/43/image_02052025_06_43_14_9437.jpg
/home/pi/Desktop/images/02052025/06/43/image_02052025_06_43_25_10405.jpg
/home/pi/Desktop/images/02052025/06/43/image_02052025_06_43_35_10355.jpg
/home/pi/Desktop/images/02052025/06/43/image_02052025_06_43_45_9457.jpg
/home/pi/Desktop/images/02052025/06/43/image_02052025_06_43_55_10457.jpg
/home/pi/Desktop/images/02052025/06/43/image_02052025_06_44_04_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":["1355251386","1355251365","1355251391","1355251376","1355251370","1355251381"],"photo_ids_order":["1355251365","1355251370","1355251376","1355251381","1355251386","1355251391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/68ccf9c3d374301526942085815bcd7c.jpg","text":"TemporaryFile(/tmp/multipartBody5675686358593862523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173613767,"filename":"image_02052025_06_43_55_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d86b6949c6640e5bb7a4139e04674ab.jpg","text":"TemporaryFile(/tmp/multipartBody6540716762084274696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173613767,"filename":"image_02052025_06_43_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/5/2/dde436a5293e2b3f2e14cfc2062097bf.jpg","text":"TemporaryFile(/tmp/multipartBody502215205720772488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173613767,"filename":"image_02052025_06_44_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/80a313307c67892121df5ef31f56c0c1.jpg","text":"TemporaryFile(/tmp/multipartBody4536507459118966351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173613767,"filename":"image_02052025_06_43_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/5/2/7fbffd936afdd9a04360d14799ffe879.jpg","text":"TemporaryFile(/tmp/multipartBody1898701210265028624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173613767,"filename":"image_02052025_06_43_25_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/587cd70479658a92c2319df0225ab4bc.jpg","text":"TemporaryFile(/tmp/multipartBody4265971791846670602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173613767,"filename":"image_02052025_06_43_45_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251376","file1":"1355251370","file0":"1355251365","file4":"1355251386","file5":"1355251391","file3":"1355251381"},"map_files_photo_id_array":[{"photo_id":"1355251391","filename":"file5"},{"photo_id":"1355251376","filename":"file2"},{"photo_id":"1355251386","filename":"file4"},{"photo_id":"1355251370","filename":"file1"},{"photo_id":"1355251365","filename":"file0"},{"photo_id":"1355251381","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251386":["hashtag1","hashtag2"]},{"1355251365":["hashtag1","hashtag2"]},{"1355251391":["hashtag1","hashtag2"]},{"1355251376":["hashtag1","hashtag2"]},{"1355251370":["hashtag1","hashtag2"]},{"1355251381":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251386, 1355251365, 1355251391, 1355251376, 1355251370, 1355251381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.916194677352905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:13:32.360597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/44/image_02052025_06_44_15_10356.jpg', '/home/pi/Desktop/images/02052025/06/44/image_02052025_06_44_25_10258.jpg', '/home/pi/Desktop/images/02052025/06/44/image_02052025_06_44_34_9387.jpg', '/home/pi/Desktop/images/02052025/06/44/image_02052025_06_44_45_10372.jpg', '/home/pi/Desktop/images/02052025/06/44/image_02052025_06_44_55_10389.jpg', '/home/pi/Desktop/images/02052025/06/44/image_02052025_06_45_05_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/44/image_02052025_06_44_15_10356.jpg
/home/pi/Desktop/images/02052025/06/44/image_02052025_06_44_25_10258.jpg
/home/pi/Desktop/images/02052025/06/44/image_02052025_06_44_34_9387.jpg
/home/pi/Desktop/images/02052025/06/44/image_02052025_06_44_45_10372.jpg
/home/pi/Desktop/images/02052025/06/44/image_02052025_06_44_55_10389.jpg
/home/pi/Desktop/images/02052025/06/44/image_02052025_06_45_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":["1355251428","1355251685","1355251424","1355251432","1355251513","1355251420"],"photo_ids_order":["1355251420","1355251424","1355251428","1355251432","1355251513","1355251685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a0dc0d18e29128c33711f546fc7d969.jpg","text":"TemporaryFile(/tmp/multipartBody4689233605715779877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173672831,"filename":"image_02052025_06_44_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/5/2/db3e90cd083b1dfb100688bc155203c8.jpg","text":"TemporaryFile(/tmp/multipartBody7735752822706825161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173672831,"filename":"image_02052025_06_45_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/5/2/a0f4a2d8fd9ffe2d365c176146b04405.jpg","text":"TemporaryFile(/tmp/multipartBody757688937493337762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173672831,"filename":"image_02052025_06_44_25_10258.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/798c1af0981ff83a3adef44c0afe13d3.jpg","text":"TemporaryFile(/tmp/multipartBody2492329653160731735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173672831,"filename":"image_02052025_06_44_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/5/2/b8da69ac4325ad6daf259b1dcd27716c.jpg","text":"TemporaryFile(/tmp/multipartBody2210139133911488093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173672831,"filename":"image_02052025_06_44_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/5/2/20a15c5e2fcdbe27fff40219a71f6294.jpg","text":"TemporaryFile(/tmp/multipartBody1372162363319616096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173672831,"filename":"image_02052025_06_44_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251428","file1":"1355251424","file0":"1355251420","file4":"1355251513","file5":"1355251685","file3":"1355251432"},"map_files_photo_id_array":[{"photo_id":"1355251685","filename":"file5"},{"photo_id":"1355251428","filename":"file2"},{"photo_id":"1355251513","filename":"file4"},{"photo_id":"1355251424","filename":"file1"},{"photo_id":"1355251420","filename":"file0"},{"photo_id":"1355251432","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251428":["hashtag1","hashtag2"]},{"1355251685":["hashtag1","hashtag2"]},{"1355251424":["hashtag1","hashtag2"]},{"1355251432":["hashtag1","hashtag2"]},{"1355251513":["hashtag1","hashtag2"]},{"1355251420":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251428, 1355251685, 1355251424, 1355251432, 1355251513, 1355251420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.283804893493652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:14:32.728101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_15_10363.jpg', '/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_24_9452.jpg', '/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_45_10356.jpg', '/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_55_9450.jpg', '/home/pi/Desktop/images/02052025/06/45/image_02052025_06_46_05_10343.jpg', '/home/pi/Desktop/images/02052025/06/46/image_02052025_06_46_14_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_15_10363.jpg
/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_24_9452.jpg
/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_45_10356.jpg
/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_55_9450.jpg
/home/pi/Desktop/images/02052025/06/45/image_02052025_06_46_05_10343.jpg
/home/pi/Desktop/images/02052025/06/46/image_02052025_06_46_14_9472.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3806138038635254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 10:14:42.748480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_15_10363.jpg', '/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_24_9452.jpg', '/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_45_10356.jpg', '/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_55_9450.jpg', '/home/pi/Desktop/images/02052025/06/45/image_02052025_06_46_05_10343.jpg', '/home/pi/Desktop/images/02052025/06/46/image_02052025_06_46_14_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_15_10363.jpg
/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_24_9452.jpg
/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_45_10356.jpg
/home/pi/Desktop/images/02052025/06/45/image_02052025_06_45_55_9450.jpg
/home/pi/Desktop/images/02052025/06/45/image_02052025_06_46_05_10343.jpg
/home/pi/Desktop/images/02052025/06/46/image_02052025_06_46_14_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355251775","1355251778","1355251769","1355251760","1355251780","1355251765"],"photo_ids_order":["1355251760","1355251765","1355251769","1355251775","1355251778","1355251780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a9e09caeebf803456ac701a0368986d.jpg","text":"TemporaryFile(/tmp/multipartBody6870639181455907082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173743222,"filename":"image_02052025_06_45_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f48ab9d8abd77775ab9f63e4674e36c.jpg","text":"TemporaryFile(/tmp/multipartBody5180360199701363065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173743222,"filename":"image_02052025_06_46_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/5/2/8647876d273261f3356c78fdfd54ba18.jpg","text":"TemporaryFile(/tmp/multipartBody522856404498543755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173743222,"filename":"image_02052025_06_45_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7430a377dd56e3f9fdde3e5afac7f3c.jpg","text":"TemporaryFile(/tmp/multipartBody1803707759047357697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173743222,"filename":"image_02052025_06_45_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/5/2/df5f4251400a04a62272ca03de43c79a.jpg","text":"TemporaryFile(/tmp/multipartBody2872342149437448163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173743222,"filename":"image_02052025_06_46_14_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53893eaed29e19b8b197f8416ad9167d.jpg","text":"TemporaryFile(/tmp/multipartBody8842987611529924662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173743222,"filename":"image_02052025_06_45_24_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251769","file1":"1355251765","file0":"1355251760","file4":"1355251778","file5":"1355251780","file3":"1355251775"},"map_files_photo_id_array":[{"photo_id":"1355251780","filename":"file5"},{"photo_id":"1355251769","filename":"file2"},{"photo_id":"1355251778","filename":"file4"},{"photo_id":"1355251765","filename":"file1"},{"photo_id":"1355251760","filename":"file0"},{"photo_id":"1355251775","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251775":["hashtag1","hashtag2"]},{"1355251778":["hashtag1","hashtag2"]},{"1355251769":["hashtag1","hashtag2"]},{"1355251760":["hashtag1","hashtag2"]},{"1355251780":["hashtag1","hashtag2"]},{"1355251765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251775, 1355251778, 1355251769, 1355251760, 1355251780, 1355251765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.70759153366089 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:15:33.053716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/46/image_02052025_06_46_55_10366.jpg', '/home/pi/Desktop/images/02052025/06/46/image_02052025_06_47_05_10355.jpg', '/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_25_10463.jpg', '/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_34_9430.jpg', '/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_45_10352.jpg', '/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_54_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/46/image_02052025_06_46_55_10366.jpg
/home/pi/Desktop/images/02052025/06/46/image_02052025_06_47_05_10355.jpg
/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_25_10463.jpg
/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_34_9430.jpg
/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_45_10352.jpg
/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_54_9472.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37793612480163574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 10:15:42.931519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/46/image_02052025_06_46_55_10366.jpg', '/home/pi/Desktop/images/02052025/06/46/image_02052025_06_47_05_10355.jpg', '/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_25_10463.jpg', '/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_34_9430.jpg', '/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_45_10352.jpg', '/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_54_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/46/image_02052025_06_46_55_10366.jpg
/home/pi/Desktop/images/02052025/06/46/image_02052025_06_47_05_10355.jpg
/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_25_10463.jpg
/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_34_9430.jpg
/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_45_10352.jpg
/home/pi/Desktop/images/02052025/06/47/image_02052025_06_47_54_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355251815","1355251824","1355251818","1355251826","1355251811","1355251822"],"photo_ids_order":["1355251811","1355251815","1355251818","1355251822","1355251824","1355251826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6dba2c0b14d9b8e35a30c7545182144a.jpg","text":"TemporaryFile(/tmp/multipartBody549356426703808857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173803410,"filename":"image_02052025_06_47_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/5/2/cdc168a35f0058067d8c7b857b35f828.jpg","text":"TemporaryFile(/tmp/multipartBody8606397044131172421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173803410,"filename":"image_02052025_06_47_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d80a0bffffdf3a64181ed990d07942fc.jpg","text":"TemporaryFile(/tmp/multipartBody2968710633544578120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173803410,"filename":"image_02052025_06_47_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/5/2/3cf2851c72eeac373212c07b0e56241b.jpg","text":"TemporaryFile(/tmp/multipartBody3616293303382771728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173803410,"filename":"image_02052025_06_47_54_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34e66377735df334093e7effce4b0686.jpg","text":"TemporaryFile(/tmp/multipartBody6498687695550892427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173803410,"filename":"image_02052025_06_46_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/5/2/8b2403b0d385217844136939bec1d9d1.jpg","text":"TemporaryFile(/tmp/multipartBody8089487881274355370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173803410,"filename":"image_02052025_06_47_34_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251818","file1":"1355251815","file0":"1355251811","file4":"1355251824","file5":"1355251826","file3":"1355251822"},"map_files_photo_id_array":[{"photo_id":"1355251826","filename":"file5"},{"photo_id":"1355251818","filename":"file2"},{"photo_id":"1355251824","filename":"file4"},{"photo_id":"1355251815","filename":"file1"},{"photo_id":"1355251811","filename":"file0"},{"photo_id":"1355251822","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251815":["hashtag1","hashtag2"]},{"1355251824":["hashtag1","hashtag2"]},{"1355251818":["hashtag1","hashtag2"]},{"1355251826":["hashtag1","hashtag2"]},{"1355251811":["hashtag1","hashtag2"]},{"1355251822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251815, 1355251824, 1355251818, 1355251826, 1355251811, 1355251822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22306513786316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:16:32.323530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/47/image_02052025_06_48_05_10382.jpg', '/home/pi/Desktop/images/02052025/06/48/image_02052025_06_48_15_10370.jpg', '/home/pi/Desktop/images/02052025/06/48/image_02052025_06_48_25_9449.jpg', '/home/pi/Desktop/images/02052025/06/48/image_02052025_06_48_35_10438.jpg', '/home/pi/Desktop/images/02052025/06/48/image_02052025_06_48_44_9466.jpg', '/home/pi/Desktop/images/02052025/06/48/image_02052025_06_48_55_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/47/image_02052025_06_48_05_10382.jpg
/home/pi/Desktop/images/02052025/06/48/image_02052025_06_48_15_10370.jpg
/home/pi/Desktop/images/02052025/06/48/image_02052025_06_48_25_9449.jpg
/home/pi/Desktop/images/02052025/06/48/image_02052025_06_48_35_10438.jpg
/home/pi/Desktop/images/02052025/06/48/image_02052025_06_48_44_9466.jpg
/home/pi/Desktop/images/02052025/06/48/image_02052025_06_48_55_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355251862","1355251856","1355251859","1355251876","1355251843","1355251846"],"photo_ids_order":["1355251843","1355251846","1355251856","1355251859","1355251862","1355251876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e24c91e3bbbf4c5db706e9a05ae9d1f5.jpg","text":"TemporaryFile(/tmp/multipartBody8691478887794216809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173852798,"filename":"image_02052025_06_48_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/5/2/00619506dfbcb0357d0a5fc001870b20.jpg","text":"TemporaryFile(/tmp/multipartBody5265923574911781021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173852798,"filename":"image_02052025_06_48_25_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/be4d2e2349ca95bd7132526a9967fa74.jpg","text":"TemporaryFile(/tmp/multipartBody3108613805749583311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173852798,"filename":"image_02052025_06_48_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/5/2/0dad455b850c7af227b4cae0ca1e22c3.jpg","text":"TemporaryFile(/tmp/multipartBody2326263300421121271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173852798,"filename":"image_02052025_06_48_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/5/2/716710e3db6e4ccde52dc5fe9d924a56.jpg","text":"TemporaryFile(/tmp/multipartBody5639800068263688169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173852798,"filename":"image_02052025_06_48_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ebfacb0778d6f95e731f3f44d54d3482.jpg","text":"TemporaryFile(/tmp/multipartBody8674026602962870827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173852798,"filename":"image_02052025_06_48_15_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251856","file1":"1355251846","file0":"1355251843","file4":"1355251862","file5":"1355251876","file3":"1355251859"},"map_files_photo_id_array":[{"photo_id":"1355251876","filename":"file5"},{"photo_id":"1355251856","filename":"file2"},{"photo_id":"1355251862","filename":"file4"},{"photo_id":"1355251846","filename":"file1"},{"photo_id":"1355251843","filename":"file0"},{"photo_id":"1355251859","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251862":["hashtag1","hashtag2"]},{"1355251856":["hashtag1","hashtag2"]},{"1355251859":["hashtag1","hashtag2"]},{"1355251876":["hashtag1","hashtag2"]},{"1355251843":["hashtag1","hashtag2"]},{"1355251846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251862, 1355251856, 1355251859, 1355251876, 1355251843, 1355251846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.805535078048706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:17:32.477477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/48/image_02052025_06_49_04_9475.jpg', '/home/pi/Desktop/images/02052025/06/49/image_02052025_06_49_15_10374.jpg', '/home/pi/Desktop/images/02052025/06/49/image_02052025_06_49_25_10442.jpg', '/home/pi/Desktop/images/02052025/06/49/image_02052025_06_49_35_9424.jpg', '/home/pi/Desktop/images/02052025/06/49/image_02052025_06_49_45_10360.jpg', '/home/pi/Desktop/images/02052025/06/49/image_02052025_06_49_54_9473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/48/image_02052025_06_49_04_9475.jpg
/home/pi/Desktop/images/02052025/06/49/image_02052025_06_49_15_10374.jpg
/home/pi/Desktop/images/02052025/06/49/image_02052025_06_49_25_10442.jpg
/home/pi/Desktop/images/02052025/06/49/image_02052025_06_49_35_9424.jpg
/home/pi/Desktop/images/02052025/06/49/image_02052025_06_49_45_10360.jpg
/home/pi/Desktop/images/02052025/06/49/image_02052025_06_49_54_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":["1355251914","1355251923","1355251919","1355251940","1355251934","1355251927"],"photo_ids_order":["1355251914","1355251919","1355251923","1355251927","1355251934","1355251940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/27af863efb26435939357412d4102c3b.jpg","text":"TemporaryFile(/tmp/multipartBody8539211425160789625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173912956,"filename":"image_02052025_06_49_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/5/2/0553fd0f0a7071a24222317191acf2f7.jpg","text":"TemporaryFile(/tmp/multipartBody643368515554802017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173912956,"filename":"image_02052025_06_49_25_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96a547e5ef3ce449ad5a10b0afcb77b6.jpg","text":"TemporaryFile(/tmp/multipartBody5965388937719800057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173912956,"filename":"image_02052025_06_49_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/5/2/7b40bd06aae93583f29c7f9f1742742a.jpg","text":"TemporaryFile(/tmp/multipartBody4776161390906813275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173912956,"filename":"image_02052025_06_49_54_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1dbb0935de733584c760fe3bc075bb48.jpg","text":"TemporaryFile(/tmp/multipartBody4524647147023042554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173912956,"filename":"image_02052025_06_49_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/5/2/673fa0fa27838d226a0c53cf0b414edf.jpg","text":"TemporaryFile(/tmp/multipartBody6337213062276920025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173912956,"filename":"image_02052025_06_49_35_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251923","file1":"1355251919","file0":"1355251914","file4":"1355251934","file5":"1355251940","file3":"1355251927"},"map_files_photo_id_array":[{"photo_id":"1355251940","filename":"file5"},{"photo_id":"1355251923","filename":"file2"},{"photo_id":"1355251934","filename":"file4"},{"photo_id":"1355251919","filename":"file1"},{"photo_id":"1355251914","filename":"file0"},{"photo_id":"1355251927","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251914":["hashtag1","hashtag2"]},{"1355251923":["hashtag1","hashtag2"]},{"1355251919":["hashtag1","hashtag2"]},{"1355251940":["hashtag1","hashtag2"]},{"1355251934":["hashtag1","hashtag2"]},{"1355251927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251914, 1355251923, 1355251919, 1355251940, 1355251934, 1355251927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35927939414978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:18:32.617086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/49/image_02052025_06_50_05_10448.jpg', '/home/pi/Desktop/images/02052025/06/50/image_02052025_06_50_15_10366.jpg', '/home/pi/Desktop/images/02052025/06/50/image_02052025_06_50_25_9417.jpg', '/home/pi/Desktop/images/02052025/06/50/image_02052025_06_50_35_10396.jpg', '/home/pi/Desktop/images/02052025/06/50/image_02052025_06_50_44_9419.jpg', '/home/pi/Desktop/images/02052025/06/50/image_02052025_06_50_55_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/49/image_02052025_06_50_05_10448.jpg
/home/pi/Desktop/images/02052025/06/50/image_02052025_06_50_15_10366.jpg
/home/pi/Desktop/images/02052025/06/50/image_02052025_06_50_25_9417.jpg
/home/pi/Desktop/images/02052025/06/50/image_02052025_06_50_35_10396.jpg
/home/pi/Desktop/images/02052025/06/50/image_02052025_06_50_44_9419.jpg
/home/pi/Desktop/images/02052025/06/50/image_02052025_06_50_55_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355251992","1355252004","1355251999","1355251987","1355251975","1355251995"],"photo_ids_order":["1355251975","1355251987","1355251992","1355251995","1355251999","1355252004"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3700db175d1f0ca49ec38a09c52d53c5.jpg","text":"TemporaryFile(/tmp/multipartBody3141029170120520102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173973083,"filename":"image_02052025_06_50_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/5/2/c4388e192429ee6a5691a33ad9adbec8.jpg","text":"TemporaryFile(/tmp/multipartBody928151485494226643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173973083,"filename":"image_02052025_06_50_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7eb80dc4b289e6e48676c9165a6a07b.jpg","text":"TemporaryFile(/tmp/multipartBody8227347503437797333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173973083,"filename":"image_02052025_06_50_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/5/2/4fdc85fefc6704632fc6864991660870.jpg","text":"TemporaryFile(/tmp/multipartBody1128101945155106633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173973083,"filename":"image_02052025_06_50_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/5/2/7198bafe3fc7a0ac3eb1af692ac85037.jpg","text":"TemporaryFile(/tmp/multipartBody3079009135508450349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173973083,"filename":"image_02052025_06_50_05_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/450e3301d3fc7679b686035f6bfbcfb1.jpg","text":"TemporaryFile(/tmp/multipartBody3702470458573586156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746173973083,"filename":"image_02052025_06_50_35_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355251992","file1":"1355251987","file0":"1355251975","file4":"1355251999","file5":"1355252004","file3":"1355251995"},"map_files_photo_id_array":[{"photo_id":"1355252004","filename":"file5"},{"photo_id":"1355251992","filename":"file2"},{"photo_id":"1355251999","filename":"file4"},{"photo_id":"1355251987","filename":"file1"},{"photo_id":"1355251975","filename":"file0"},{"photo_id":"1355251995","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355251992":["hashtag1","hashtag2"]},{"1355252004":["hashtag1","hashtag2"]},{"1355251999":["hashtag1","hashtag2"]},{"1355251987":["hashtag1","hashtag2"]},{"1355251975":["hashtag1","hashtag2"]},{"1355251995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355251992, 1355252004, 1355251999, 1355251987, 1355251975, 1355251995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13822531700134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:19:32.946101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/50/image_02052025_06_51_04_9347.jpg', '/home/pi/Desktop/images/02052025/06/51/image_02052025_06_51_15_10423.jpg', '/home/pi/Desktop/images/02052025/06/51/image_02052025_06_51_25_10366.jpg', '/home/pi/Desktop/images/02052025/06/51/image_02052025_06_51_34_9362.jpg', '/home/pi/Desktop/images/02052025/06/51/image_02052025_06_51_45_10396.jpg', '/home/pi/Desktop/images/02052025/06/51/image_02052025_06_51_55_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/50/image_02052025_06_51_04_9347.jpg
/home/pi/Desktop/images/02052025/06/51/image_02052025_06_51_15_10423.jpg
/home/pi/Desktop/images/02052025/06/51/image_02052025_06_51_25_10366.jpg
/home/pi/Desktop/images/02052025/06/51/image_02052025_06_51_34_9362.jpg
/home/pi/Desktop/images/02052025/06/51/image_02052025_06_51_45_10396.jpg
/home/pi/Desktop/images/02052025/06/51/image_02052025_06_51_55_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355252028","1355252033","1355252068","1355252062","1355252038","1355252058"],"photo_ids_order":["1355252028","1355252033","1355252038","1355252058","1355252062","1355252068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cfcfb8d87aa909018a1e6f18ea452b00.jpg","text":"TemporaryFile(/tmp/multipartBody6796707541893066100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174033422,"filename":"image_02052025_06_51_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/581e98b4348285219d0467d9745da29e.jpg","text":"TemporaryFile(/tmp/multipartBody1636109888367608377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174033422,"filename":"image_02052025_06_51_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/5/2/080f8b0baff32a1c8b34df87e8d29c11.jpg","text":"TemporaryFile(/tmp/multipartBody9126291813658176378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174033422,"filename":"image_02052025_06_51_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b51d06dade0c855d48455a2b3db2fd9.jpg","text":"TemporaryFile(/tmp/multipartBody5735281337489149379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174033422,"filename":"image_02052025_06_51_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/5/2/6c4784877846196a07ad7304a3f3fcc9.jpg","text":"TemporaryFile(/tmp/multipartBody1986873342518150130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174033422,"filename":"image_02052025_06_51_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/5/2/788fc86eb4d6b8407cb8a8eda6061349.jpg","text":"TemporaryFile(/tmp/multipartBody8169800374074193736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174033422,"filename":"image_02052025_06_51_34_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252038","file1":"1355252033","file0":"1355252028","file4":"1355252062","file5":"1355252068","file3":"1355252058"},"map_files_photo_id_array":[{"photo_id":"1355252068","filename":"file5"},{"photo_id":"1355252038","filename":"file2"},{"photo_id":"1355252062","filename":"file4"},{"photo_id":"1355252033","filename":"file1"},{"photo_id":"1355252028","filename":"file0"},{"photo_id":"1355252058","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252028":["hashtag1","hashtag2"]},{"1355252033":["hashtag1","hashtag2"]},{"1355252068":["hashtag1","hashtag2"]},{"1355252062":["hashtag1","hashtag2"]},{"1355252038":["hashtag1","hashtag2"]},{"1355252058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252028, 1355252033, 1355252068, 1355252062, 1355252038, 1355252058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.210750579833984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:20:32.141696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/51/image_02052025_06_52_05_9435.jpg', '/home/pi/Desktop/images/02052025/06/52/image_02052025_06_52_15_10357.jpg', '/home/pi/Desktop/images/02052025/06/52/image_02052025_06_52_24_9475.jpg', '/home/pi/Desktop/images/02052025/06/52/image_02052025_06_52_35_10350.jpg', '/home/pi/Desktop/images/02052025/06/52/image_02052025_06_52_45_10395.jpg', '/home/pi/Desktop/images/02052025/06/52/image_02052025_06_52_55_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/51/image_02052025_06_52_05_9435.jpg
/home/pi/Desktop/images/02052025/06/52/image_02052025_06_52_15_10357.jpg
/home/pi/Desktop/images/02052025/06/52/image_02052025_06_52_24_9475.jpg
/home/pi/Desktop/images/02052025/06/52/image_02052025_06_52_35_10350.jpg
/home/pi/Desktop/images/02052025/06/52/image_02052025_06_52_45_10395.jpg
/home/pi/Desktop/images/02052025/06/52/image_02052025_06_52_55_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":["1355252115","1355252090","1355252120","1355252108","1355252102","1355252097"],"photo_ids_order":["1355252090","1355252097","1355252102","1355252108","1355252115","1355252120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8ca4d66c15a80b24962343289bd857e9.jpg","text":"TemporaryFile(/tmp/multipartBody8236982464536836300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174092612,"filename":"image_02052025_06_52_45_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0fa1195e9dbc2cac14e0920463ed575c.jpg","text":"TemporaryFile(/tmp/multipartBody8065108300705295217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174092612,"filename":"image_02052025_06_52_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0af6e98bed280657586f91f9ca1655e8.jpg","text":"TemporaryFile(/tmp/multipartBody8293754955718983519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174092612,"filename":"image_02052025_06_52_55_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/20966e70ac8c80d46e8c342d1b55e3a7.jpg","text":"TemporaryFile(/tmp/multipartBody274869258384473890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174092612,"filename":"image_02052025_06_52_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/5/2/cf87e0c0a08959995227b228f73dda96.jpg","text":"TemporaryFile(/tmp/multipartBody8347545334726438559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174092612,"filename":"image_02052025_06_52_24_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c856c5d4d6579e0c759182ee2b7570f8.jpg","text":"TemporaryFile(/tmp/multipartBody1137133656601438861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174092612,"filename":"image_02052025_06_52_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252102","file1":"1355252097","file0":"1355252090","file4":"1355252115","file5":"1355252120","file3":"1355252108"},"map_files_photo_id_array":[{"photo_id":"1355252120","filename":"file5"},{"photo_id":"1355252102","filename":"file2"},{"photo_id":"1355252115","filename":"file4"},{"photo_id":"1355252097","filename":"file1"},{"photo_id":"1355252090","filename":"file0"},{"photo_id":"1355252108","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252115":["hashtag1","hashtag2"]},{"1355252090":["hashtag1","hashtag2"]},{"1355252120":["hashtag1","hashtag2"]},{"1355252108":["hashtag1","hashtag2"]},{"1355252102":["hashtag1","hashtag2"]},{"1355252097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252115, 1355252090, 1355252120, 1355252108, 1355252102, 1355252097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.420720100402832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:21:32.353599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/52/image_02052025_06_53_05_10258.jpg', '/home/pi/Desktop/images/02052025/06/53/image_02052025_06_53_14_9479.jpg', '/home/pi/Desktop/images/02052025/06/53/image_02052025_06_53_25_10374.jpg', '/home/pi/Desktop/images/02052025/06/53/image_02052025_06_53_35_10351.jpg', '/home/pi/Desktop/images/02052025/06/53/image_02052025_06_53_45_9457.jpg', '/home/pi/Desktop/images/02052025/06/53/image_02052025_06_53_55_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/52/image_02052025_06_53_05_10258.jpg
/home/pi/Desktop/images/02052025/06/53/image_02052025_06_53_14_9479.jpg
/home/pi/Desktop/images/02052025/06/53/image_02052025_06_53_25_10374.jpg
/home/pi/Desktop/images/02052025/06/53/image_02052025_06_53_35_10351.jpg
/home/pi/Desktop/images/02052025/06/53/image_02052025_06_53_45_9457.jpg
/home/pi/Desktop/images/02052025/06/53/image_02052025_06_53_55_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":["1355252171","1355252177","1355252165","1355252159","1355252179","1355252152"],"photo_ids_order":["1355252152","1355252159","1355252165","1355252171","1355252177","1355252179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ac93f5ad825f3e946b432cc93fd2a1b6.jpg","text":"TemporaryFile(/tmp/multipartBody840926445778160723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174152822,"filename":"image_02052025_06_53_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1fb3a2a64f12e9f261a169f5e28003f.jpg","text":"TemporaryFile(/tmp/multipartBody905421784958170286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174152822,"filename":"image_02052025_06_53_45_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d493d6d79372a8d2885cd25cc552102.jpg","text":"TemporaryFile(/tmp/multipartBody6557883850460965416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174152822,"filename":"image_02052025_06_53_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/5/2/6bb6fba0a651f8752160960aa1f706d5.jpg","text":"TemporaryFile(/tmp/multipartBody8931653374914360847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174152822,"filename":"image_02052025_06_53_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/5/2/a428483eb24b87dabee8d623aa60bab1.jpg","text":"TemporaryFile(/tmp/multipartBody5570455304219290133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174152822,"filename":"image_02052025_06_53_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/5/2/d58fa24297f7efe8ab03e0bf837ea4da.jpg","text":"TemporaryFile(/tmp/multipartBody58905883674449975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174152822,"filename":"image_02052025_06_53_05_10258.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252165","file1":"1355252159","file0":"1355252152","file4":"1355252177","file5":"1355252179","file3":"1355252171"},"map_files_photo_id_array":[{"photo_id":"1355252179","filename":"file5"},{"photo_id":"1355252165","filename":"file2"},{"photo_id":"1355252177","filename":"file4"},{"photo_id":"1355252159","filename":"file1"},{"photo_id":"1355252152","filename":"file0"},{"photo_id":"1355252171","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252171":["hashtag1","hashtag2"]},{"1355252177":["hashtag1","hashtag2"]},{"1355252165":["hashtag1","hashtag2"]},{"1355252159":["hashtag1","hashtag2"]},{"1355252179":["hashtag1","hashtag2"]},{"1355252152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252171, 1355252177, 1355252165, 1355252159, 1355252179, 1355252152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.071574687957764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:22:32.468273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/53/image_02052025_06_54_04_9455.jpg', '/home/pi/Desktop/images/02052025/06/54/image_02052025_06_54_15_10464.jpg', '/home/pi/Desktop/images/02052025/06/54/image_02052025_06_54_25_10375.jpg', '/home/pi/Desktop/images/02052025/06/54/image_02052025_06_54_35_9342.jpg', '/home/pi/Desktop/images/02052025/06/54/image_02052025_06_54_45_10372.jpg', '/home/pi/Desktop/images/02052025/06/54/image_02052025_06_54_54_9460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/53/image_02052025_06_54_04_9455.jpg
/home/pi/Desktop/images/02052025/06/54/image_02052025_06_54_15_10464.jpg
/home/pi/Desktop/images/02052025/06/54/image_02052025_06_54_25_10375.jpg
/home/pi/Desktop/images/02052025/06/54/image_02052025_06_54_35_9342.jpg
/home/pi/Desktop/images/02052025/06/54/image_02052025_06_54_45_10372.jpg
/home/pi/Desktop/images/02052025/06/54/image_02052025_06_54_54_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355252220","1355252214","1355252208","1355252228","1355252233","1355252236"],"photo_ids_order":["1355252208","1355252214","1355252220","1355252228","1355252233","1355252236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85bbc154f6b03af8e92db93d380605b1.jpg","text":"TemporaryFile(/tmp/multipartBody9144637165602522909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174212947,"filename":"image_02052025_06_54_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd0f6b6a057ad80555d0bddab87c379e.jpg","text":"TemporaryFile(/tmp/multipartBody5070095677307799159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174212947,"filename":"image_02052025_06_54_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/5/2/e8337b9b3ed8847dd78fdcb146212d3e.jpg","text":"TemporaryFile(/tmp/multipartBody1087484625020396264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174212947,"filename":"image_02052025_06_54_04_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39f13bf2ed3fbff51ca206351b096cdd.jpg","text":"TemporaryFile(/tmp/multipartBody917809959319367483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174212947,"filename":"image_02052025_06_54_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/5/2/2ed911c88d8a663cec31970092c7719a.jpg","text":"TemporaryFile(/tmp/multipartBody2029387355147346397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174212947,"filename":"image_02052025_06_54_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/5/2/5accbc192c1227e03ed285ffa9d3633f.jpg","text":"TemporaryFile(/tmp/multipartBody8750904388440858059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174212947,"filename":"image_02052025_06_54_54_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252220","file1":"1355252214","file0":"1355252208","file4":"1355252233","file5":"1355252236","file3":"1355252228"},"map_files_photo_id_array":[{"photo_id":"1355252236","filename":"file5"},{"photo_id":"1355252220","filename":"file2"},{"photo_id":"1355252233","filename":"file4"},{"photo_id":"1355252214","filename":"file1"},{"photo_id":"1355252208","filename":"file0"},{"photo_id":"1355252228","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252220":["hashtag1","hashtag2"]},{"1355252214":["hashtag1","hashtag2"]},{"1355252208":["hashtag1","hashtag2"]},{"1355252228":["hashtag1","hashtag2"]},{"1355252233":["hashtag1","hashtag2"]},{"1355252236":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252220, 1355252214, 1355252208, 1355252228, 1355252233, 1355252236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56347608566284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:23:32.720539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/54/image_02052025_06_55_05_10370.jpg', '/home/pi/Desktop/images/02052025/06/55/image_02052025_06_55_15_10367.jpg', '/home/pi/Desktop/images/02052025/06/55/image_02052025_06_55_24_9384.jpg', '/home/pi/Desktop/images/02052025/06/55/image_02052025_06_55_35_10382.jpg', '/home/pi/Desktop/images/02052025/06/55/image_02052025_06_55_44_9423.jpg', '/home/pi/Desktop/images/02052025/06/55/image_02052025_06_55_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/54/image_02052025_06_55_05_10370.jpg
/home/pi/Desktop/images/02052025/06/55/image_02052025_06_55_15_10367.jpg
/home/pi/Desktop/images/02052025/06/55/image_02052025_06_55_24_9384.jpg
/home/pi/Desktop/images/02052025/06/55/image_02052025_06_55_35_10382.jpg
/home/pi/Desktop/images/02052025/06/55/image_02052025_06_55_44_9423.jpg
/home/pi/Desktop/images/02052025/06/55/image_02052025_06_55_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":["1355252267","1355252274","1355252262","1355252256","1355252271","1355252259"],"photo_ids_order":["1355252256","1355252259","1355252262","1355252267","1355252271","1355252274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cf2ce9fb1c52776bd709d4c362063b73.jpg","text":"TemporaryFile(/tmp/multipartBody7691999429573881592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174273190,"filename":"image_02052025_06_55_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/5/2/42bc7d2b7e4cbe236e1ce7c883e787e0.jpg","text":"TemporaryFile(/tmp/multipartBody6572617797456897086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174273190,"filename":"image_02052025_06_55_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/362ec36f65973ba9c2a0eeace8005adf.jpg","text":"TemporaryFile(/tmp/multipartBody9158101204486547430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174273190,"filename":"image_02052025_06_55_24_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eca756e805f5c4c2d86dbc5dd9d6883a.jpg","text":"TemporaryFile(/tmp/multipartBody5578886903935784589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174273190,"filename":"image_02052025_06_55_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7960b228e0b58f362eb441f6bc8dd0cd.jpg","text":"TemporaryFile(/tmp/multipartBody2693542341174591598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174273190,"filename":"image_02052025_06_55_44_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b1c05ec65e498ab0eb2c5daba326fb40.jpg","text":"TemporaryFile(/tmp/multipartBody3301829280411869581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174273190,"filename":"image_02052025_06_55_15_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252262","file1":"1355252259","file0":"1355252256","file4":"1355252271","file5":"1355252274","file3":"1355252267"},"map_files_photo_id_array":[{"photo_id":"1355252274","filename":"file5"},{"photo_id":"1355252262","filename":"file2"},{"photo_id":"1355252271","filename":"file4"},{"photo_id":"1355252259","filename":"file1"},{"photo_id":"1355252256","filename":"file0"},{"photo_id":"1355252267","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252267":["hashtag1","hashtag2"]},{"1355252274":["hashtag1","hashtag2"]},{"1355252262":["hashtag1","hashtag2"]},{"1355252256":["hashtag1","hashtag2"]},{"1355252271":["hashtag1","hashtag2"]},{"1355252259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252267, 1355252274, 1355252262, 1355252256, 1355252271, 1355252259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.879628896713257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:24:32.982620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/55/image_02052025_06_56_05_10351.jpg', '/home/pi/Desktop/images/02052025/06/56/image_02052025_06_56_25_10399.jpg', '/home/pi/Desktop/images/02052025/06/56/image_02052025_06_56_34_9469.jpg', '/home/pi/Desktop/images/02052025/06/56/image_02052025_06_56_45_10369.jpg', '/home/pi/Desktop/images/02052025/06/56/image_02052025_06_56_55_10372.jpg', '/home/pi/Desktop/images/02052025/06/56/image_02052025_06_57_04_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/55/image_02052025_06_56_05_10351.jpg
/home/pi/Desktop/images/02052025/06/56/image_02052025_06_56_25_10399.jpg
/home/pi/Desktop/images/02052025/06/56/image_02052025_06_56_34_9469.jpg
/home/pi/Desktop/images/02052025/06/56/image_02052025_06_56_45_10369.jpg
/home/pi/Desktop/images/02052025/06/56/image_02052025_06_56_55_10372.jpg
/home/pi/Desktop/images/02052025/06/56/image_02052025_06_57_04_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":["1355252331","1355252319","1355252328","1355252324","1355252312","1355252305"],"photo_ids_order":["1355252305","1355252312","1355252319","1355252324","1355252328","1355252331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff0b9e67ff8fc81835c92776256e2e43.jpg","text":"TemporaryFile(/tmp/multipartBody3845797055490935498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174333511,"filename":"image_02052025_06_57_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/701750528ab86ce2eae17da707a56857.jpg","text":"TemporaryFile(/tmp/multipartBody2906352662521389883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174333511,"filename":"image_02052025_06_56_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/5/2/749b4ef990c75ed25fc3e8d0bd8c4dfb.jpg","text":"TemporaryFile(/tmp/multipartBody6876503266699609868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174333511,"filename":"image_02052025_06_56_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/5/2/54552bee7a1043e6a047d02ee4948acd.jpg","text":"TemporaryFile(/tmp/multipartBody8615092861560900579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174333511,"filename":"image_02052025_06_56_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/5/2/837a2b09b170c321627b2dc165f7b9d4.jpg","text":"TemporaryFile(/tmp/multipartBody5004600974629095786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174333511,"filename":"image_02052025_06_56_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dee7d89b715d7a3b3ddd7a86b02be4a7.jpg","text":"TemporaryFile(/tmp/multipartBody5761217275423344161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174333511,"filename":"image_02052025_06_56_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252319","file1":"1355252312","file0":"1355252305","file4":"1355252328","file5":"1355252331","file3":"1355252324"},"map_files_photo_id_array":[{"photo_id":"1355252331","filename":"file5"},{"photo_id":"1355252319","filename":"file2"},{"photo_id":"1355252328","filename":"file4"},{"photo_id":"1355252312","filename":"file1"},{"photo_id":"1355252305","filename":"file0"},{"photo_id":"1355252324","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252331":["hashtag1","hashtag2"]},{"1355252319":["hashtag1","hashtag2"]},{"1355252328":["hashtag1","hashtag2"]},{"1355252324":["hashtag1","hashtag2"]},{"1355252312":["hashtag1","hashtag2"]},{"1355252305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252331, 1355252319, 1355252328, 1355252324, 1355252312, 1355252305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.238478899002075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:25:33.070038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/57/image_02052025_06_57_15_10403.jpg', '/home/pi/Desktop/images/02052025/06/57/image_02052025_06_57_45_10346.jpg', '/home/pi/Desktop/images/02052025/06/57/image_02052025_06_57_54_9418.jpg', '/home/pi/Desktop/images/02052025/06/57/image_02052025_06_58_05_10374.jpg', '/home/pi/Desktop/images/02052025/06/58/image_02052025_06_58_15_10458.jpg', '/home/pi/Desktop/images/02052025/06/58/image_02052025_06_58_25_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/57/image_02052025_06_57_15_10403.jpg
/home/pi/Desktop/images/02052025/06/57/image_02052025_06_57_45_10346.jpg
/home/pi/Desktop/images/02052025/06/57/image_02052025_06_57_54_9418.jpg
/home/pi/Desktop/images/02052025/06/57/image_02052025_06_58_05_10374.jpg
/home/pi/Desktop/images/02052025/06/58/image_02052025_06_58_15_10458.jpg
/home/pi/Desktop/images/02052025/06/58/image_02052025_06_58_25_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":["1355252381","1355252384","1355252362","1355252368","1355252373","1355252376"],"photo_ids_order":["1355252362","1355252368","1355252373","1355252376","1355252381","1355252384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/521a5318b6ec953ea0bea1515349f1fe.jpg","text":"TemporaryFile(/tmp/multipartBody851249360391163834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174393541,"filename":"image_02052025_06_58_15_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89a30b79e95f940e65cc7fdf49763e23.jpg","text":"TemporaryFile(/tmp/multipartBody5085576643754432135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174393541,"filename":"image_02052025_06_58_25_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ff0c8ecbd7b63157c15b71af36f9841.jpg","text":"TemporaryFile(/tmp/multipartBody2435665195135855826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174393541,"filename":"image_02052025_06_57_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/5/2/3db032c25ab0b28c9b611cb4b189736c.jpg","text":"TemporaryFile(/tmp/multipartBody4525106247355501773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174393541,"filename":"image_02052025_06_57_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4bd214b9897e708fe747315cffa2444b.jpg","text":"TemporaryFile(/tmp/multipartBody2313338532256761748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174393541,"filename":"image_02052025_06_57_54_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c212215e42d1796b94d4cc5773060e8.jpg","text":"TemporaryFile(/tmp/multipartBody2454795584138292369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174393541,"filename":"image_02052025_06_58_05_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252373","file1":"1355252368","file0":"1355252362","file4":"1355252381","file5":"1355252384","file3":"1355252376"},"map_files_photo_id_array":[{"photo_id":"1355252384","filename":"file5"},{"photo_id":"1355252373","filename":"file2"},{"photo_id":"1355252381","filename":"file4"},{"photo_id":"1355252368","filename":"file1"},{"photo_id":"1355252362","filename":"file0"},{"photo_id":"1355252376","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252381":["hashtag1","hashtag2"]},{"1355252384":["hashtag1","hashtag2"]},{"1355252362":["hashtag1","hashtag2"]},{"1355252368":["hashtag1","hashtag2"]},{"1355252373":["hashtag1","hashtag2"]},{"1355252376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252381, 1355252384, 1355252362, 1355252368, 1355252373, 1355252376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.960237741470337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:26:32.286599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/58/image_02052025_06_58_35_10356.jpg', '/home/pi/Desktop/images/02052025/06/58/image_02052025_06_58_44_9424.jpg', '/home/pi/Desktop/images/02052025/06/58/image_02052025_06_58_55_10373.jpg', '/home/pi/Desktop/images/02052025/06/59/image_02052025_06_59_15_9417.jpg', '/home/pi/Desktop/images/02052025/06/59/image_02052025_06_59_25_10432.jpg', '/home/pi/Desktop/images/02052025/06/59/image_02052025_06_59_34_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/58/image_02052025_06_58_35_10356.jpg
/home/pi/Desktop/images/02052025/06/58/image_02052025_06_58_44_9424.jpg
/home/pi/Desktop/images/02052025/06/58/image_02052025_06_58_55_10373.jpg
/home/pi/Desktop/images/02052025/06/59/image_02052025_06_59_15_9417.jpg
/home/pi/Desktop/images/02052025/06/59/image_02052025_06_59_25_10432.jpg
/home/pi/Desktop/images/02052025/06/59/image_02052025_06_59_34_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":["1355252451","1355252447","1355252441","1355252435","1355252429","1355252455"],"photo_ids_order":["1355252429","1355252435","1355252441","1355252447","1355252451","1355252455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3425985aa56e02532c7d2b0e5332edc7.jpg","text":"TemporaryFile(/tmp/multipartBody5467913433762241635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174452765,"filename":"image_02052025_06_59_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9a24d82180fc23ec44dee64266e40f7.jpg","text":"TemporaryFile(/tmp/multipartBody9152900422597698333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174452765,"filename":"image_02052025_06_59_15_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1725c7f428c1c368cdb0a63fed9c4cd8.jpg","text":"TemporaryFile(/tmp/multipartBody1435008483061531730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174452765,"filename":"image_02052025_06_58_55_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34eea93c65f0f9f10d70135a6ce3ac04.jpg","text":"TemporaryFile(/tmp/multipartBody2284765305365708586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174452765,"filename":"image_02052025_06_58_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/5/2/63a7ef86d55a79a306d463cc37ab9a20.jpg","text":"TemporaryFile(/tmp/multipartBody859660744286308651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174452765,"filename":"image_02052025_06_58_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cc2b16a0a72db8a9cfe4343684e967c0.jpg","text":"TemporaryFile(/tmp/multipartBody8745830861446853344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174452765,"filename":"image_02052025_06_59_34_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252441","file1":"1355252435","file0":"1355252429","file4":"1355252451","file5":"1355252455","file3":"1355252447"},"map_files_photo_id_array":[{"photo_id":"1355252455","filename":"file5"},{"photo_id":"1355252441","filename":"file2"},{"photo_id":"1355252451","filename":"file4"},{"photo_id":"1355252435","filename":"file1"},{"photo_id":"1355252429","filename":"file0"},{"photo_id":"1355252447","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252451":["hashtag1","hashtag2"]},{"1355252447":["hashtag1","hashtag2"]},{"1355252441":["hashtag1","hashtag2"]},{"1355252435":["hashtag1","hashtag2"]},{"1355252429":["hashtag1","hashtag2"]},{"1355252455":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252451, 1355252447, 1355252441, 1355252435, 1355252429, 1355252455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.138054609298706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:27:32.416387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/06/59/image_02052025_06_59_45_10443.jpg', '/home/pi/Desktop/images/02052025/06/59/image_02052025_06_59_54_9366.jpg', '/home/pi/Desktop/images/02052025/07/00/image_02052025_07_00_16_10067.jpg', '/home/pi/Desktop/images/02052025/07/00/image_02052025_07_00_27_10403.jpg', '/home/pi/Desktop/images/02052025/07/00/image_02052025_07_00_37_10359.jpg', '/home/pi/Desktop/images/02052025/07/00/image_02052025_07_00_46_9469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/06/59/image_02052025_06_59_45_10443.jpg
/home/pi/Desktop/images/02052025/06/59/image_02052025_06_59_54_9366.jpg
/home/pi/Desktop/images/02052025/07/00/image_02052025_07_00_16_10067.jpg
/home/pi/Desktop/images/02052025/07/00/image_02052025_07_00_27_10403.jpg
/home/pi/Desktop/images/02052025/07/00/image_02052025_07_00_37_10359.jpg
/home/pi/Desktop/images/02052025/07/00/image_02052025_07_00_46_9469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355252495","1355252489","1355252498","1355252492","1355252485","1355252481"],"photo_ids_order":["1355252481","1355252485","1355252489","1355252492","1355252495","1355252498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/df3b66d7465dcc62affd01a2af7391dd.jpg","text":"TemporaryFile(/tmp/multipartBody1101625569072326438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174512887,"filename":"image_02052025_07_00_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/5/2/b7d23e8e2196d2889a7a8df41f33ca68.jpg","text":"TemporaryFile(/tmp/multipartBody5038256216758411301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174512887,"filename":"image_02052025_07_00_16_10067.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/559bda4c9f9a8633b71c7d69d26a48ea.jpg","text":"TemporaryFile(/tmp/multipartBody7925507311710144656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174512887,"filename":"image_02052025_07_00_46_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4df4a2cb46ea142df7f5a2ad92ef057c.jpg","text":"TemporaryFile(/tmp/multipartBody2190997191977480855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174512887,"filename":"image_02052025_07_00_27_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1e78e6bef2eb194474eefb6f49aae22.jpg","text":"TemporaryFile(/tmp/multipartBody7603538639440269024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174512887,"filename":"image_02052025_06_59_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8748ababb71be5865e6f660256fbe6fe.jpg","text":"TemporaryFile(/tmp/multipartBody2082338566196218993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174512887,"filename":"image_02052025_06_59_45_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252489","file1":"1355252485","file0":"1355252481","file4":"1355252495","file5":"1355252498","file3":"1355252492"},"map_files_photo_id_array":[{"photo_id":"1355252498","filename":"file5"},{"photo_id":"1355252489","filename":"file2"},{"photo_id":"1355252495","filename":"file4"},{"photo_id":"1355252485","filename":"file1"},{"photo_id":"1355252481","filename":"file0"},{"photo_id":"1355252492","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252495":["hashtag1","hashtag2"]},{"1355252489":["hashtag1","hashtag2"]},{"1355252498":["hashtag1","hashtag2"]},{"1355252492":["hashtag1","hashtag2"]},{"1355252485":["hashtag1","hashtag2"]},{"1355252481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252495, 1355252489, 1355252498, 1355252492, 1355252485, 1355252481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.5925612449646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:28:32.649801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/00/image_02052025_07_00_57_10360.jpg', '/home/pi/Desktop/images/02052025/07/00/image_02052025_07_01_06_9350.jpg', '/home/pi/Desktop/images/02052025/07/01/image_02052025_07_01_17_10444.jpg', '/home/pi/Desktop/images/02052025/07/01/image_02052025_07_01_27_10354.jpg', '/home/pi/Desktop/images/02052025/07/01/image_02052025_07_01_47_10378.jpg', '/home/pi/Desktop/images/02052025/07/01/image_02052025_07_01_57_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/00/image_02052025_07_00_57_10360.jpg
/home/pi/Desktop/images/02052025/07/00/image_02052025_07_01_06_9350.jpg
/home/pi/Desktop/images/02052025/07/01/image_02052025_07_01_17_10444.jpg
/home/pi/Desktop/images/02052025/07/01/image_02052025_07_01_27_10354.jpg
/home/pi/Desktop/images/02052025/07/01/image_02052025_07_01_47_10378.jpg
/home/pi/Desktop/images/02052025/07/01/image_02052025_07_01_57_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":["1355252538","1355252546","1355252530","1355252524","1355252550","1355252541"],"photo_ids_order":["1355252524","1355252530","1355252538","1355252541","1355252546","1355252550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ebc95f357b487e64ace5a02e08385fc4.jpg","text":"TemporaryFile(/tmp/multipartBody1828163583387685350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174573210,"filename":"image_02052025_07_01_17_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff18e349c32482c3fe23006d3716046a.jpg","text":"TemporaryFile(/tmp/multipartBody4010845349104645340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174573210,"filename":"image_02052025_07_01_47_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/abea524051e46376d3c1b26629cb71ca.jpg","text":"TemporaryFile(/tmp/multipartBody4568709662043716244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174573210,"filename":"image_02052025_07_01_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/5/2/2460e60d05a0f4ae2b6550992fc29caa.jpg","text":"TemporaryFile(/tmp/multipartBody4222463737920333335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174573210,"filename":"image_02052025_07_00_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/5/2/d98a7aa7bc5a4a28377d6e69f2716229.jpg","text":"TemporaryFile(/tmp/multipartBody4439441573883049386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174573210,"filename":"image_02052025_07_01_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/5/2/c2ffe40405636957071b845a1aad670f.jpg","text":"TemporaryFile(/tmp/multipartBody5463120911323583970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174573210,"filename":"image_02052025_07_01_27_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252538","file1":"1355252530","file0":"1355252524","file4":"1355252546","file5":"1355252550","file3":"1355252541"},"map_files_photo_id_array":[{"photo_id":"1355252550","filename":"file5"},{"photo_id":"1355252538","filename":"file2"},{"photo_id":"1355252546","filename":"file4"},{"photo_id":"1355252530","filename":"file1"},{"photo_id":"1355252524","filename":"file0"},{"photo_id":"1355252541","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252538":["hashtag1","hashtag2"]},{"1355252546":["hashtag1","hashtag2"]},{"1355252530":["hashtag1","hashtag2"]},{"1355252524":["hashtag1","hashtag2"]},{"1355252550":["hashtag1","hashtag2"]},{"1355252541":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252538, 1355252546, 1355252530, 1355252524, 1355252550, 1355252541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.67386746406555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:29:32.991584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/01/image_02052025_07_02_06_9453.jpg', '/home/pi/Desktop/images/02052025/07/02/image_02052025_07_02_17_10348.jpg', '/home/pi/Desktop/images/02052025/07/02/image_02052025_07_02_26_9480.jpg', '/home/pi/Desktop/images/02052025/07/02/image_02052025_07_02_37_10427.jpg', '/home/pi/Desktop/images/02052025/07/02/image_02052025_07_02_46_9368.jpg', '/home/pi/Desktop/images/02052025/07/02/image_02052025_07_03_07_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/01/image_02052025_07_02_06_9453.jpg
/home/pi/Desktop/images/02052025/07/02/image_02052025_07_02_17_10348.jpg
/home/pi/Desktop/images/02052025/07/02/image_02052025_07_02_26_9480.jpg
/home/pi/Desktop/images/02052025/07/02/image_02052025_07_02_37_10427.jpg
/home/pi/Desktop/images/02052025/07/02/image_02052025_07_02_46_9368.jpg
/home/pi/Desktop/images/02052025/07/02/image_02052025_07_03_07_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":["1355252579","1355252573","1355252636","1355252617","1355252583","1355252589"],"photo_ids_order":["1355252573","1355252579","1355252583","1355252589","1355252617","1355252636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e74f4938464782515a6482e2af6dc510.jpg","text":"TemporaryFile(/tmp/multipartBody769745777137741809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174633543,"filename":"image_02052025_07_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/5/2/84c539c58de378e925c6225dc8b462f3.jpg","text":"TemporaryFile(/tmp/multipartBody1499141473140968496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174633543,"filename":"image_02052025_07_02_06_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e486b46973fe1d8ff99b09998071a63a.jpg","text":"TemporaryFile(/tmp/multipartBody6932119356705936632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174633543,"filename":"image_02052025_07_03_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea427ed83660e621bac1a0d0f2130ece.jpg","text":"TemporaryFile(/tmp/multipartBody6770473128130577468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174633543,"filename":"image_02052025_07_02_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/00d06e8320323ae09965a705149081ea.jpg","text":"TemporaryFile(/tmp/multipartBody5938163798230555189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174633543,"filename":"image_02052025_07_02_26_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d575353fc2700eb43020a023298f7d95.jpg","text":"TemporaryFile(/tmp/multipartBody8159865817341102867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174633543,"filename":"image_02052025_07_02_37_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252583","file1":"1355252579","file0":"1355252573","file4":"1355252617","file5":"1355252636","file3":"1355252589"},"map_files_photo_id_array":[{"photo_id":"1355252636","filename":"file5"},{"photo_id":"1355252583","filename":"file2"},{"photo_id":"1355252617","filename":"file4"},{"photo_id":"1355252579","filename":"file1"},{"photo_id":"1355252573","filename":"file0"},{"photo_id":"1355252589","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252579":["hashtag1","hashtag2"]},{"1355252573":["hashtag1","hashtag2"]},{"1355252636":["hashtag1","hashtag2"]},{"1355252617":["hashtag1","hashtag2"]},{"1355252583":["hashtag1","hashtag2"]},{"1355252589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252579, 1355252573, 1355252636, 1355252617, 1355252583, 1355252589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.061633348464966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:30:32.284549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/03/image_02052025_07_03_16_9474.jpg', '/home/pi/Desktop/images/02052025/07/03/image_02052025_07_03_27_10460.jpg', '/home/pi/Desktop/images/02052025/07/03/image_02052025_07_03_36_9359.jpg', '/home/pi/Desktop/images/02052025/07/03/image_02052025_07_03_47_10422.jpg', '/home/pi/Desktop/images/02052025/07/03/image_02052025_07_03_57_10369.jpg', '/home/pi/Desktop/images/02052025/07/03/image_02052025_07_04_06_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/03/image_02052025_07_03_16_9474.jpg
/home/pi/Desktop/images/02052025/07/03/image_02052025_07_03_27_10460.jpg
/home/pi/Desktop/images/02052025/07/03/image_02052025_07_03_36_9359.jpg
/home/pi/Desktop/images/02052025/07/03/image_02052025_07_03_47_10422.jpg
/home/pi/Desktop/images/02052025/07/03/image_02052025_07_03_57_10369.jpg
/home/pi/Desktop/images/02052025/07/03/image_02052025_07_04_06_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":["1355252696","1355252663","1355252672","1355252668","1355252677","1355252682"],"photo_ids_order":["1355252663","1355252668","1355252672","1355252677","1355252682","1355252696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e260641d78930e4c0981947b29cf11df.jpg","text":"TemporaryFile(/tmp/multipartBody2045045029278284105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174692749,"filename":"image_02052025_07_04_06_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8dccab21585665bb8573ba5fb6f54b17.jpg","text":"TemporaryFile(/tmp/multipartBody2193837025870947675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174692749,"filename":"image_02052025_07_03_16_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d93c8261714928ccd3eef10ab468c6ed.jpg","text":"TemporaryFile(/tmp/multipartBody7582550837585044402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174692749,"filename":"image_02052025_07_03_36_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0ab4eb97f3ac45839801a3a415afe84a.jpg","text":"TemporaryFile(/tmp/multipartBody1986556600492042153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174692749,"filename":"image_02052025_07_03_27_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05e2fa098ba3c845ebd5a6b8055bb884.jpg","text":"TemporaryFile(/tmp/multipartBody5100012887541437376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174692749,"filename":"image_02052025_07_03_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/5/2/581f7d388155333ff839185032be30a0.jpg","text":"TemporaryFile(/tmp/multipartBody6075687791009833169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174692749,"filename":"image_02052025_07_03_57_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252672","file1":"1355252668","file0":"1355252663","file4":"1355252682","file5":"1355252696","file3":"1355252677"},"map_files_photo_id_array":[{"photo_id":"1355252696","filename":"file5"},{"photo_id":"1355252672","filename":"file2"},{"photo_id":"1355252682","filename":"file4"},{"photo_id":"1355252668","filename":"file1"},{"photo_id":"1355252663","filename":"file0"},{"photo_id":"1355252677","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252696":["hashtag1","hashtag2"]},{"1355252663":["hashtag1","hashtag2"]},{"1355252672":["hashtag1","hashtag2"]},{"1355252668":["hashtag1","hashtag2"]},{"1355252677":["hashtag1","hashtag2"]},{"1355252682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252696, 1355252663, 1355252672, 1355252668, 1355252677, 1355252682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.596116542816162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:31:32.322501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/04/image_02052025_07_04_17_10439.jpg', '/home/pi/Desktop/images/02052025/07/04/image_02052025_07_04_26_9361.jpg', '/home/pi/Desktop/images/02052025/07/04/image_02052025_07_04_37_10447.jpg', '/home/pi/Desktop/images/02052025/07/04/image_02052025_07_04_47_10363.jpg', '/home/pi/Desktop/images/02052025/07/04/image_02052025_07_04_56_9413.jpg', '/home/pi/Desktop/images/02052025/07/04/image_02052025_07_05_07_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/04/image_02052025_07_04_17_10439.jpg
/home/pi/Desktop/images/02052025/07/04/image_02052025_07_04_26_9361.jpg
/home/pi/Desktop/images/02052025/07/04/image_02052025_07_04_37_10447.jpg
/home/pi/Desktop/images/02052025/07/04/image_02052025_07_04_47_10363.jpg
/home/pi/Desktop/images/02052025/07/04/image_02052025_07_04_56_9413.jpg
/home/pi/Desktop/images/02052025/07/04/image_02052025_07_05_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":["1355252742","1355252724","1355252738","1355252729","1355252745","1355252733"],"photo_ids_order":["1355252724","1355252729","1355252733","1355252738","1355252742","1355252745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d10fcc804008984fd3f98b5437e5c849.jpg","text":"TemporaryFile(/tmp/multipartBody4326130506948031391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174752789,"filename":"image_02052025_07_04_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/5/2/ae6ebb44eb33dd4f31185ea7aa12843d.jpg","text":"TemporaryFile(/tmp/multipartBody3755547838414850079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174752789,"filename":"image_02052025_07_04_17_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8942cb2286ef64a942b4ec356c672f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8354257993568707223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174752789,"filename":"image_02052025_07_04_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/5/2/abe74e2b8046b2c9a9ee3ef074bd3e99.jpg","text":"TemporaryFile(/tmp/multipartBody7054469352870247981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174752789,"filename":"image_02052025_07_04_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/5/2/1a66a9fccdfe3a5003473dcd42543610.jpg","text":"TemporaryFile(/tmp/multipartBody3975417535153485102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174752789,"filename":"image_02052025_07_05_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/5/2/c5d8cfedb2970581cde98ef81e333561.jpg","text":"TemporaryFile(/tmp/multipartBody8035657130320769085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174752789,"filename":"image_02052025_07_04_37_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252733","file1":"1355252729","file0":"1355252724","file4":"1355252742","file5":"1355252745","file3":"1355252738"},"map_files_photo_id_array":[{"photo_id":"1355252745","filename":"file5"},{"photo_id":"1355252733","filename":"file2"},{"photo_id":"1355252742","filename":"file4"},{"photo_id":"1355252729","filename":"file1"},{"photo_id":"1355252724","filename":"file0"},{"photo_id":"1355252738","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252742":["hashtag1","hashtag2"]},{"1355252724":["hashtag1","hashtag2"]},{"1355252738":["hashtag1","hashtag2"]},{"1355252729":["hashtag1","hashtag2"]},{"1355252745":["hashtag1","hashtag2"]},{"1355252733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252742, 1355252724, 1355252738, 1355252729, 1355252745, 1355252733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.784992694854736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:32:32.521230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/05/image_02052025_07_05_17_10408.jpg', '/home/pi/Desktop/images/02052025/07/05/image_02052025_07_05_26_9385.jpg', '/home/pi/Desktop/images/02052025/07/05/image_02052025_07_05_37_10440.jpg', '/home/pi/Desktop/images/02052025/07/05/image_02052025_07_05_46_9485.jpg', '/home/pi/Desktop/images/02052025/07/05/image_02052025_07_06_06_9355.jpg', '/home/pi/Desktop/images/02052025/07/06/image_02052025_07_06_17_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/05/image_02052025_07_05_17_10408.jpg
/home/pi/Desktop/images/02052025/07/05/image_02052025_07_05_26_9385.jpg
/home/pi/Desktop/images/02052025/07/05/image_02052025_07_05_37_10440.jpg
/home/pi/Desktop/images/02052025/07/05/image_02052025_07_05_46_9485.jpg
/home/pi/Desktop/images/02052025/07/05/image_02052025_07_06_06_9355.jpg
/home/pi/Desktop/images/02052025/07/06/image_02052025_07_06_17_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":["1355252795","1355252780","1355252804","1355252788","1355252773","1355252806"],"photo_ids_order":["1355252773","1355252780","1355252788","1355252795","1355252804","1355252806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1fde75fc484cb8446f3b4a586555fe73.jpg","text":"TemporaryFile(/tmp/multipartBody442104372773105084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174813004,"filename":"image_02052025_07_05_46_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0e4f1cf7ed27426e9e75d9917da42afe.jpg","text":"TemporaryFile(/tmp/multipartBody5539040335612874023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174813004,"filename":"image_02052025_07_05_26_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7bfe5ba5b4db8a99111e1344da49d5ba.jpg","text":"TemporaryFile(/tmp/multipartBody5213457278672710634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174813004,"filename":"image_02052025_07_06_06_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a7548060a9e88711c05ae19ab892b0d.jpg","text":"TemporaryFile(/tmp/multipartBody8000713644567931855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174813004,"filename":"image_02052025_07_05_37_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/feaeb3ba931d7215d11802f6511078b5.jpg","text":"TemporaryFile(/tmp/multipartBody6640010116309917265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174813004,"filename":"image_02052025_07_05_17_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d63f3757a54b7f9671f488484e582cb6.jpg","text":"TemporaryFile(/tmp/multipartBody5110551415764928877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174813004,"filename":"image_02052025_07_06_17_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355252788","file1":"1355252780","file0":"1355252773","file4":"1355252804","file5":"1355252806","file3":"1355252795"},"map_files_photo_id_array":[{"photo_id":"1355252806","filename":"file5"},{"photo_id":"1355252788","filename":"file2"},{"photo_id":"1355252804","filename":"file4"},{"photo_id":"1355252780","filename":"file1"},{"photo_id":"1355252773","filename":"file0"},{"photo_id":"1355252795","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355252795":["hashtag1","hashtag2"]},{"1355252780":["hashtag1","hashtag2"]},{"1355252804":["hashtag1","hashtag2"]},{"1355252788":["hashtag1","hashtag2"]},{"1355252773":["hashtag1","hashtag2"]},{"1355252806":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355252795, 1355252780, 1355252804, 1355252788, 1355252773, 1355252806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.478881120681763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:33:32.751401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/06/image_02052025_07_06_27_10381.jpg', '/home/pi/Desktop/images/02052025/07/06/image_02052025_07_06_36_9442.jpg', '/home/pi/Desktop/images/02052025/07/06/image_02052025_07_06_56_9383.jpg', '/home/pi/Desktop/images/02052025/07/07/image_02052025_07_07_17_10423.jpg', '/home/pi/Desktop/images/02052025/07/07/image_02052025_07_07_26_9444.jpg', '/home/pi/Desktop/images/02052025/07/07/image_02052025_07_07_37_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/06/image_02052025_07_06_27_10381.jpg
/home/pi/Desktop/images/02052025/07/06/image_02052025_07_06_36_9442.jpg
/home/pi/Desktop/images/02052025/07/06/image_02052025_07_06_56_9383.jpg
/home/pi/Desktop/images/02052025/07/07/image_02052025_07_07_17_10423.jpg
/home/pi/Desktop/images/02052025/07/07/image_02052025_07_07_26_9444.jpg
/home/pi/Desktop/images/02052025/07/07/image_02052025_07_07_37_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":["1355253140","1355253122","1355253101","1355253119","1355253133","1355253096"],"photo_ids_order":["1355253096","1355253101","1355253119","1355253122","1355253133","1355253140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6a123a119e76fdc015a0b672884c7d60.jpg","text":"TemporaryFile(/tmp/multipartBody3492229543352418588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174873216,"filename":"image_02052025_07_07_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/5/2/dd1b2cabbf0a5adf976c1eb4e68e6983.jpg","text":"TemporaryFile(/tmp/multipartBody346647640635939544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174873216,"filename":"image_02052025_07_07_17_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d47f50ae9cd9eca34026841b949226d.jpg","text":"TemporaryFile(/tmp/multipartBody6549074155349549369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174873216,"filename":"image_02052025_07_06_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/5/2/7bc8464a285dd3ac3dc982ed83511460.jpg","text":"TemporaryFile(/tmp/multipartBody7279812311380016412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174873216,"filename":"image_02052025_07_06_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/5/2/41ba8cf5a3ff2c5aac29ebbbc4d1e352.jpg","text":"TemporaryFile(/tmp/multipartBody8188286613378972922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174873216,"filename":"image_02052025_07_07_26_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a805e199a359db1d82c48c72f24cb43e.jpg","text":"TemporaryFile(/tmp/multipartBody1556551177597096741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174873216,"filename":"image_02052025_07_06_27_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253119","file1":"1355253101","file0":"1355253096","file4":"1355253133","file5":"1355253140","file3":"1355253122"},"map_files_photo_id_array":[{"photo_id":"1355253140","filename":"file5"},{"photo_id":"1355253119","filename":"file2"},{"photo_id":"1355253133","filename":"file4"},{"photo_id":"1355253101","filename":"file1"},{"photo_id":"1355253096","filename":"file0"},{"photo_id":"1355253122","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253140":["hashtag1","hashtag2"]},{"1355253122":["hashtag1","hashtag2"]},{"1355253101":["hashtag1","hashtag2"]},{"1355253119":["hashtag1","hashtag2"]},{"1355253133":["hashtag1","hashtag2"]},{"1355253096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253140, 1355253122, 1355253101, 1355253119, 1355253133, 1355253096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.77555537223816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:34:33.092413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/07/image_02052025_07_07_46_9366.jpg', '/home/pi/Desktop/images/02052025/07/07/image_02052025_07_07_57_10468.jpg', '/home/pi/Desktop/images/02052025/07/07/image_02052025_07_08_07_10354.jpg', '/home/pi/Desktop/images/02052025/07/08/image_02052025_07_08_16_9443.jpg', '/home/pi/Desktop/images/02052025/07/08/image_02052025_07_08_27_10379.jpg', '/home/pi/Desktop/images/02052025/07/08/image_02052025_07_08_36_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/07/image_02052025_07_07_46_9366.jpg
/home/pi/Desktop/images/02052025/07/07/image_02052025_07_07_57_10468.jpg
/home/pi/Desktop/images/02052025/07/07/image_02052025_07_08_07_10354.jpg
/home/pi/Desktop/images/02052025/07/08/image_02052025_07_08_16_9443.jpg
/home/pi/Desktop/images/02052025/07/08/image_02052025_07_08_27_10379.jpg
/home/pi/Desktop/images/02052025/07/08/image_02052025_07_08_36_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":["1355253191","1355253188","1355253175","1355253183","1355253165","1355253180"],"photo_ids_order":["1355253165","1355253175","1355253180","1355253183","1355253188","1355253191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc10ad9e45af3f80e8c5c54d0f4c6b29.jpg","text":"TemporaryFile(/tmp/multipartBody2962650708648232950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174933562,"filename":"image_02052025_07_08_36_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0a06b73c632b37d9a3ae3e6c29401bd1.jpg","text":"TemporaryFile(/tmp/multipartBody3660060953255549815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174933562,"filename":"image_02052025_07_08_27_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2fe796c4af4a2b53a0bf22f7dda6ad33.jpg","text":"TemporaryFile(/tmp/multipartBody3800714713717586347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174933562,"filename":"image_02052025_07_07_57_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d54f447cc8fc8cd376272db8b959bb2.jpg","text":"TemporaryFile(/tmp/multipartBody2728941612073775142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174933562,"filename":"image_02052025_07_08_16_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/74f93964660f1e9ea6392a85c6a4052c.jpg","text":"TemporaryFile(/tmp/multipartBody7362010537304118320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174933562,"filename":"image_02052025_07_07_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a27017e87d719b07a8f1ab39987dfc7.jpg","text":"TemporaryFile(/tmp/multipartBody6742902700645927169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174933562,"filename":"image_02052025_07_08_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253180","file1":"1355253175","file0":"1355253165","file4":"1355253188","file5":"1355253191","file3":"1355253183"},"map_files_photo_id_array":[{"photo_id":"1355253191","filename":"file5"},{"photo_id":"1355253180","filename":"file2"},{"photo_id":"1355253188","filename":"file4"},{"photo_id":"1355253175","filename":"file1"},{"photo_id":"1355253165","filename":"file0"},{"photo_id":"1355253183","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253191":["hashtag1","hashtag2"]},{"1355253188":["hashtag1","hashtag2"]},{"1355253175":["hashtag1","hashtag2"]},{"1355253183":["hashtag1","hashtag2"]},{"1355253165":["hashtag1","hashtag2"]},{"1355253180":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253191, 1355253188, 1355253175, 1355253183, 1355253165, 1355253180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.633487462997437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:35:32.246403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/08/image_02052025_07_08_47_10377.jpg', '/home/pi/Desktop/images/02052025/07/08/image_02052025_07_08_57_10360.jpg', '/home/pi/Desktop/images/02052025/07/08/image_02052025_07_09_06_9345.jpg', '/home/pi/Desktop/images/02052025/07/09/image_02052025_07_09_17_10410.jpg', '/home/pi/Desktop/images/02052025/07/09/image_02052025_07_09_36_10355.jpg', '/home/pi/Desktop/images/02052025/07/09/image_02052025_07_09_47_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/08/image_02052025_07_08_47_10377.jpg
/home/pi/Desktop/images/02052025/07/08/image_02052025_07_08_57_10360.jpg
/home/pi/Desktop/images/02052025/07/08/image_02052025_07_09_06_9345.jpg
/home/pi/Desktop/images/02052025/07/09/image_02052025_07_09_17_10410.jpg
/home/pi/Desktop/images/02052025/07/09/image_02052025_07_09_36_10355.jpg
/home/pi/Desktop/images/02052025/07/09/image_02052025_07_09_47_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355253245","1355253230","1355253226","1355253220","1355253214","1355253240"],"photo_ids_order":["1355253214","1355253220","1355253226","1355253230","1355253240","1355253245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7166db7c793003d03b3eb22f7a2cae13.jpg","text":"TemporaryFile(/tmp/multipartBody3171171579411154239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174992725,"filename":"image_02052025_07_09_47_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81472ab2a0648ea197e7a53a40c7708d.jpg","text":"TemporaryFile(/tmp/multipartBody4559245462898083363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174992725,"filename":"image_02052025_07_09_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/5/2/5b677e9897269d0c7b9f9bceb153fcac.jpg","text":"TemporaryFile(/tmp/multipartBody6687581246580500036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174992725,"filename":"image_02052025_07_09_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/5/2/ca32521222936cec385982f02ca3e307.jpg","text":"TemporaryFile(/tmp/multipartBody8735078971609007520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174992725,"filename":"image_02052025_07_08_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/5/2/bbd5e9b2a74f2383deb9dcbfd9d8e68d.jpg","text":"TemporaryFile(/tmp/multipartBody3846205292213166096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174992725,"filename":"image_02052025_07_08_47_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/32ee16e7f3f992a788cd426dd34e6fe7.jpg","text":"TemporaryFile(/tmp/multipartBody13422413175359945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746174992725,"filename":"image_02052025_07_09_36_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253226","file1":"1355253220","file0":"1355253214","file4":"1355253240","file5":"1355253245","file3":"1355253230"},"map_files_photo_id_array":[{"photo_id":"1355253245","filename":"file5"},{"photo_id":"1355253226","filename":"file2"},{"photo_id":"1355253240","filename":"file4"},{"photo_id":"1355253220","filename":"file1"},{"photo_id":"1355253214","filename":"file0"},{"photo_id":"1355253230","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253245":["hashtag1","hashtag2"]},{"1355253230":["hashtag1","hashtag2"]},{"1355253226":["hashtag1","hashtag2"]},{"1355253220":["hashtag1","hashtag2"]},{"1355253214":["hashtag1","hashtag2"]},{"1355253240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253245, 1355253230, 1355253226, 1355253220, 1355253214, 1355253240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.90114164352417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:36:32.433706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/09/image_02052025_07_09_56_9453.jpg', '/home/pi/Desktop/images/02052025/07/09/image_02052025_07_10_07_10441.jpg', '/home/pi/Desktop/images/02052025/07/10/image_02052025_07_10_17_10359.jpg', '/home/pi/Desktop/images/02052025/07/10/image_02052025_07_10_26_9351.jpg', '/home/pi/Desktop/images/02052025/07/10/image_02052025_07_10_37_10356.jpg', '/home/pi/Desktop/images/02052025/07/10/image_02052025_07_10_46_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/09/image_02052025_07_09_56_9453.jpg
/home/pi/Desktop/images/02052025/07/09/image_02052025_07_10_07_10441.jpg
/home/pi/Desktop/images/02052025/07/10/image_02052025_07_10_17_10359.jpg
/home/pi/Desktop/images/02052025/07/10/image_02052025_07_10_26_9351.jpg
/home/pi/Desktop/images/02052025/07/10/image_02052025_07_10_37_10356.jpg
/home/pi/Desktop/images/02052025/07/10/image_02052025_07_10_46_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355253305","1355253295","1355253268","1355253283","1355253291","1355253273"],"photo_ids_order":["1355253268","1355253273","1355253283","1355253291","1355253295","1355253305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce64dc554742c174c34f5b52a5ebcf48.jpg","text":"TemporaryFile(/tmp/multipartBody7657055619318793668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175052911,"filename":"image_02052025_07_10_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/5/2/18a346f3faad04d86b2da616fb8cebde.jpg","text":"TemporaryFile(/tmp/multipartBody2166371614684494224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175052911,"filename":"image_02052025_07_10_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/5/2/6e5f6bf057cc941ff621bedd6d7098b3.jpg","text":"TemporaryFile(/tmp/multipartBody612109894862492570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175052911,"filename":"image_02052025_07_09_56_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a946f650e6fcb5bd438058412e641d51.jpg","text":"TemporaryFile(/tmp/multipartBody1523955703051783113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175052911,"filename":"image_02052025_07_10_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/5/2/7f54bd09b09e837c82b1436e70cdf496.jpg","text":"TemporaryFile(/tmp/multipartBody115643949946400993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175052911,"filename":"image_02052025_07_10_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/5/2/54f7a910cf5a970fad665392209a5a12.jpg","text":"TemporaryFile(/tmp/multipartBody5249897744088796763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175052911,"filename":"image_02052025_07_10_07_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253283","file1":"1355253273","file0":"1355253268","file4":"1355253295","file5":"1355253305","file3":"1355253291"},"map_files_photo_id_array":[{"photo_id":"1355253305","filename":"file5"},{"photo_id":"1355253283","filename":"file2"},{"photo_id":"1355253295","filename":"file4"},{"photo_id":"1355253273","filename":"file1"},{"photo_id":"1355253268","filename":"file0"},{"photo_id":"1355253291","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253305":["hashtag1","hashtag2"]},{"1355253295":["hashtag1","hashtag2"]},{"1355253268":["hashtag1","hashtag2"]},{"1355253283":["hashtag1","hashtag2"]},{"1355253291":["hashtag1","hashtag2"]},{"1355253273":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253305, 1355253295, 1355253268, 1355253283, 1355253291, 1355253273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38901400566101 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:37:32.727385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/10/image_02052025_07_10_57_10463.jpg', '/home/pi/Desktop/images/02052025/07/10/image_02052025_07_11_07_10370.jpg', '/home/pi/Desktop/images/02052025/07/11/image_02052025_07_11_16_9420.jpg', '/home/pi/Desktop/images/02052025/07/11/image_02052025_07_11_27_10360.jpg', '/home/pi/Desktop/images/02052025/07/11/image_02052025_07_11_36_9336.jpg', '/home/pi/Desktop/images/02052025/07/11/image_02052025_07_11_47_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/10/image_02052025_07_10_57_10463.jpg
/home/pi/Desktop/images/02052025/07/10/image_02052025_07_11_07_10370.jpg
/home/pi/Desktop/images/02052025/07/11/image_02052025_07_11_16_9420.jpg
/home/pi/Desktop/images/02052025/07/11/image_02052025_07_11_27_10360.jpg
/home/pi/Desktop/images/02052025/07/11/image_02052025_07_11_36_9336.jpg
/home/pi/Desktop/images/02052025/07/11/image_02052025_07_11_47_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355253347","1355253361","1355253366","1355253351","1355253369","1355253357"],"photo_ids_order":["1355253347","1355253351","1355253357","1355253361","1355253366","1355253369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2646382126df2afe272a71626a54b3d1.jpg","text":"TemporaryFile(/tmp/multipartBody1598473955196311372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175113208,"filename":"image_02052025_07_10_57_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ab74b9368e477dea29f9d816679a01c.jpg","text":"TemporaryFile(/tmp/multipartBody6787562430687899441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175113208,"filename":"image_02052025_07_11_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/5/2/75e507dcda1857c2ea635a0e1a4164d1.jpg","text":"TemporaryFile(/tmp/multipartBody1848930383076631882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175113208,"filename":"image_02052025_07_11_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/33c46ae5dcba7d5fd85ea918fc9f8bfe.jpg","text":"TemporaryFile(/tmp/multipartBody2005735465882273351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175113208,"filename":"image_02052025_07_11_07_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/66eace1c4970e0edcc78bbcf3c58d9c6.jpg","text":"TemporaryFile(/tmp/multipartBody3359395568103169619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175113208,"filename":"image_02052025_07_11_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c63e2e4854d6fef4b478dbb987022d42.jpg","text":"TemporaryFile(/tmp/multipartBody8292473410434091703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175113208,"filename":"image_02052025_07_11_16_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253357","file1":"1355253351","file0":"1355253347","file4":"1355253366","file5":"1355253369","file3":"1355253361"},"map_files_photo_id_array":[{"photo_id":"1355253369","filename":"file5"},{"photo_id":"1355253357","filename":"file2"},{"photo_id":"1355253366","filename":"file4"},{"photo_id":"1355253351","filename":"file1"},{"photo_id":"1355253347","filename":"file0"},{"photo_id":"1355253361","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253347":["hashtag1","hashtag2"]},{"1355253361":["hashtag1","hashtag2"]},{"1355253366":["hashtag1","hashtag2"]},{"1355253351":["hashtag1","hashtag2"]},{"1355253369":["hashtag1","hashtag2"]},{"1355253357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253347, 1355253361, 1355253366, 1355253351, 1355253369, 1355253357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.300041437149048 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:38:32.850300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/11/image_02052025_07_11_57_10371.jpg', '/home/pi/Desktop/images/02052025/07/11/image_02052025_07_12_06_9431.jpg', '/home/pi/Desktop/images/02052025/07/12/image_02052025_07_12_17_10365.jpg', '/home/pi/Desktop/images/02052025/07/12/image_02052025_07_12_27_10371.jpg', '/home/pi/Desktop/images/02052025/07/12/image_02052025_07_12_36_9355.jpg', '/home/pi/Desktop/images/02052025/07/12/image_02052025_07_12_47_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/11/image_02052025_07_11_57_10371.jpg
/home/pi/Desktop/images/02052025/07/11/image_02052025_07_12_06_9431.jpg
/home/pi/Desktop/images/02052025/07/12/image_02052025_07_12_17_10365.jpg
/home/pi/Desktop/images/02052025/07/12/image_02052025_07_12_27_10371.jpg
/home/pi/Desktop/images/02052025/07/12/image_02052025_07_12_36_9355.jpg
/home/pi/Desktop/images/02052025/07/12/image_02052025_07_12_47_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355253397","1355253403","1355253412","1355253409","1355253414","1355253417"],"photo_ids_order":["1355253397","1355253403","1355253409","1355253412","1355253414","1355253417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e99af944fd1bb05b7f4b2a70dbc55946.jpg","text":"TemporaryFile(/tmp/multipartBody4926084749907385146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175173325,"filename":"image_02052025_07_11_57_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/665dd6675e7e62997dde67c212e8c50f.jpg","text":"TemporaryFile(/tmp/multipartBody4752659763038697761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175173325,"filename":"image_02052025_07_12_06_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/447c6511d98fc1accaa7454efdb5ecb7.jpg","text":"TemporaryFile(/tmp/multipartBody7252293351397943505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175173325,"filename":"image_02052025_07_12_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/76d8f1b52c9cffab4459816474c03bea.jpg","text":"TemporaryFile(/tmp/multipartBody3608028229137320040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175173325,"filename":"image_02052025_07_12_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/5/2/f91e0b97f3f01d6c79f80ef840f67743.jpg","text":"TemporaryFile(/tmp/multipartBody7965075387506823957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175173325,"filename":"image_02052025_07_12_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/5/2/1a88eee327620e50a984bd5c4788bd9c.jpg","text":"TemporaryFile(/tmp/multipartBody565101506857726351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175173325,"filename":"image_02052025_07_12_47_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253409","file1":"1355253403","file0":"1355253397","file4":"1355253414","file5":"1355253417","file3":"1355253412"},"map_files_photo_id_array":[{"photo_id":"1355253417","filename":"file5"},{"photo_id":"1355253409","filename":"file2"},{"photo_id":"1355253414","filename":"file4"},{"photo_id":"1355253403","filename":"file1"},{"photo_id":"1355253397","filename":"file0"},{"photo_id":"1355253412","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253397":["hashtag1","hashtag2"]},{"1355253403":["hashtag1","hashtag2"]},{"1355253412":["hashtag1","hashtag2"]},{"1355253409":["hashtag1","hashtag2"]},{"1355253414":["hashtag1","hashtag2"]},{"1355253417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253397, 1355253403, 1355253412, 1355253409, 1355253414, 1355253417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85889768600464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:39:33.102935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/12/image_02052025_07_12_56_9354.jpg', '/home/pi/Desktop/images/02052025/07/12/image_02052025_07_13_07_10437.jpg', '/home/pi/Desktop/images/02052025/07/13/image_02052025_07_13_17_10369.jpg', '/home/pi/Desktop/images/02052025/07/13/image_02052025_07_13_26_9566.jpg', '/home/pi/Desktop/images/02052025/07/13/image_02052025_07_13_37_10390.jpg', '/home/pi/Desktop/images/02052025/07/13/image_02052025_07_13_46_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/12/image_02052025_07_12_56_9354.jpg
/home/pi/Desktop/images/02052025/07/12/image_02052025_07_13_07_10437.jpg
/home/pi/Desktop/images/02052025/07/13/image_02052025_07_13_17_10369.jpg
/home/pi/Desktop/images/02052025/07/13/image_02052025_07_13_26_9566.jpg
/home/pi/Desktop/images/02052025/07/13/image_02052025_07_13_37_10390.jpg
/home/pi/Desktop/images/02052025/07/13/image_02052025_07_13_46_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355253464","1355253458","1355253499","1355253475","1355253453","1355253522"],"photo_ids_order":["1355253453","1355253458","1355253464","1355253475","1355253499","1355253522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/33ccc39935a41b682c1fa6c7cd92b0fd.jpg","text":"TemporaryFile(/tmp/multipartBody1661486345303899111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175233658,"filename":"image_02052025_07_13_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/5/2/c4903553072c79e5b2cb66a0dedab8ce.jpg","text":"TemporaryFile(/tmp/multipartBody1426909779476777131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175233658,"filename":"image_02052025_07_13_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/5/2/2e455a0237f345b4b6f30db980255f20.jpg","text":"TemporaryFile(/tmp/multipartBody2030782543101431199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175233658,"filename":"image_02052025_07_13_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/5/2/226c9152755e90933ddb2a78a45eda3d.jpg","text":"TemporaryFile(/tmp/multipartBody3371353132141412746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175233658,"filename":"image_02052025_07_13_26_9566.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aedd1e42c56c827ef4b476d5c7c2bf9f.jpg","text":"TemporaryFile(/tmp/multipartBody6686642486002536214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175233658,"filename":"image_02052025_07_12_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/62b2fe3b7a3bafacd33627e8e029d5bf.jpg","text":"TemporaryFile(/tmp/multipartBody8088180842225340391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175233658,"filename":"image_02052025_07_13_46_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253464","file1":"1355253458","file0":"1355253453","file4":"1355253499","file5":"1355253522","file3":"1355253475"},"map_files_photo_id_array":[{"photo_id":"1355253522","filename":"file5"},{"photo_id":"1355253464","filename":"file2"},{"photo_id":"1355253499","filename":"file4"},{"photo_id":"1355253458","filename":"file1"},{"photo_id":"1355253453","filename":"file0"},{"photo_id":"1355253475","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253464":["hashtag1","hashtag2"]},{"1355253458":["hashtag1","hashtag2"]},{"1355253499":["hashtag1","hashtag2"]},{"1355253475":["hashtag1","hashtag2"]},{"1355253453":["hashtag1","hashtag2"]},{"1355253522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253464, 1355253458, 1355253499, 1355253475, 1355253453, 1355253522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56876993179321 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:40:32.482523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/13/image_02052025_07_13_57_10388.jpg', '/home/pi/Desktop/images/02052025/07/13/image_02052025_07_14_07_10337.jpg', '/home/pi/Desktop/images/02052025/07/14/image_02052025_07_14_17_9441.jpg', '/home/pi/Desktop/images/02052025/07/14/image_02052025_07_14_27_10352.jpg', '/home/pi/Desktop/images/02052025/07/14/image_02052025_07_14_36_9326.jpg', '/home/pi/Desktop/images/02052025/07/14/image_02052025_07_14_47_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/13/image_02052025_07_13_57_10388.jpg
/home/pi/Desktop/images/02052025/07/13/image_02052025_07_14_07_10337.jpg
/home/pi/Desktop/images/02052025/07/14/image_02052025_07_14_17_9441.jpg
/home/pi/Desktop/images/02052025/07/14/image_02052025_07_14_27_10352.jpg
/home/pi/Desktop/images/02052025/07/14/image_02052025_07_14_36_9326.jpg
/home/pi/Desktop/images/02052025/07/14/image_02052025_07_14_47_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":["1355253578","1355253557","1355253551","1355253565","1355253561","1355253546"],"photo_ids_order":["1355253546","1355253551","1355253557","1355253561","1355253565","1355253578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41972296c4447b7fc30d280f9e710bbd.jpg","text":"TemporaryFile(/tmp/multipartBody4588756270214066233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175293028,"filename":"image_02052025_07_14_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/5/2/40e0f6ecabe99fe353b81746a38e0fe6.jpg","text":"TemporaryFile(/tmp/multipartBody6343540160279508684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175293028,"filename":"image_02052025_07_14_17_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b7ca96b906dc650a449b6978fecabb99.jpg","text":"TemporaryFile(/tmp/multipartBody386371158887637349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175293028,"filename":"image_02052025_07_14_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/5/2/2e418ca251d46f340e0d7560b391eab9.jpg","text":"TemporaryFile(/tmp/multipartBody461623035335205738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175293028,"filename":"image_02052025_07_14_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ed392fb41801811044e52c007185b70.jpg","text":"TemporaryFile(/tmp/multipartBody7461403654267077215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175293028,"filename":"image_02052025_07_14_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/5/2/7e3571ebd986c1c32bee1b58a8e107b4.jpg","text":"TemporaryFile(/tmp/multipartBody3116220172052122030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175293028,"filename":"image_02052025_07_13_57_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253557","file1":"1355253551","file0":"1355253546","file4":"1355253565","file5":"1355253578","file3":"1355253561"},"map_files_photo_id_array":[{"photo_id":"1355253578","filename":"file5"},{"photo_id":"1355253557","filename":"file2"},{"photo_id":"1355253565","filename":"file4"},{"photo_id":"1355253551","filename":"file1"},{"photo_id":"1355253546","filename":"file0"},{"photo_id":"1355253561","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253578":["hashtag1","hashtag2"]},{"1355253557":["hashtag1","hashtag2"]},{"1355253551":["hashtag1","hashtag2"]},{"1355253565":["hashtag1","hashtag2"]},{"1355253561":["hashtag1","hashtag2"]},{"1355253546":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253578, 1355253557, 1355253551, 1355253565, 1355253561, 1355253546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.92852783203125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:41:32.502615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/14/image_02052025_07_14_57_10485.jpg', '/home/pi/Desktop/images/02052025/07/14/image_02052025_07_15_06_9353.jpg', '/home/pi/Desktop/images/02052025/07/15/image_02052025_07_15_17_10360.jpg', '/home/pi/Desktop/images/02052025/07/15/image_02052025_07_15_26_9358.jpg', '/home/pi/Desktop/images/02052025/07/15/image_02052025_07_15_37_10470.jpg', '/home/pi/Desktop/images/02052025/07/15/image_02052025_07_15_47_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/14/image_02052025_07_14_57_10485.jpg
/home/pi/Desktop/images/02052025/07/14/image_02052025_07_15_06_9353.jpg
/home/pi/Desktop/images/02052025/07/15/image_02052025_07_15_17_10360.jpg
/home/pi/Desktop/images/02052025/07/15/image_02052025_07_15_26_9358.jpg
/home/pi/Desktop/images/02052025/07/15/image_02052025_07_15_37_10470.jpg
/home/pi/Desktop/images/02052025/07/15/image_02052025_07_15_47_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":["1355253641","1355253632","1355253652","1355253657","1355253612","1355253621"],"photo_ids_order":["1355253612","1355253621","1355253632","1355253641","1355253652","1355253657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c5cc27e6be9cdf1fdce17ded4683ac67.jpg","text":"TemporaryFile(/tmp/multipartBody6403349941999968204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175352967,"filename":"image_02052025_07_15_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/5/2/34d54b592f67dc0d1ccf26bfc5d97c39.jpg","text":"TemporaryFile(/tmp/multipartBody3754325832959780072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175352967,"filename":"image_02052025_07_15_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/5/2/dc894c12396aaab342174e777dac23c6.jpg","text":"TemporaryFile(/tmp/multipartBody6700339162587560035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175352967,"filename":"image_02052025_07_15_37_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd66efced60d9d691422fb17b7b19715.jpg","text":"TemporaryFile(/tmp/multipartBody1384615655131630627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175352967,"filename":"image_02052025_07_15_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/5/2/73979642d0d1a321bc70a86c66c27a48.jpg","text":"TemporaryFile(/tmp/multipartBody4329142771294787326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175352967,"filename":"image_02052025_07_14_57_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af97385e610c633c72247261cdabf3c5.jpg","text":"TemporaryFile(/tmp/multipartBody4527650741150854377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175352967,"filename":"image_02052025_07_15_06_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253632","file1":"1355253621","file0":"1355253612","file4":"1355253652","file5":"1355253657","file3":"1355253641"},"map_files_photo_id_array":[{"photo_id":"1355253657","filename":"file5"},{"photo_id":"1355253632","filename":"file2"},{"photo_id":"1355253652","filename":"file4"},{"photo_id":"1355253621","filename":"file1"},{"photo_id":"1355253612","filename":"file0"},{"photo_id":"1355253641","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253641":["hashtag1","hashtag2"]},{"1355253632":["hashtag1","hashtag2"]},{"1355253652":["hashtag1","hashtag2"]},{"1355253657":["hashtag1","hashtag2"]},{"1355253612":["hashtag1","hashtag2"]},{"1355253621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253641, 1355253632, 1355253652, 1355253657, 1355253612, 1355253621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.167991638183594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:42:32.685427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/15/image_02052025_07_15_56_9354.jpg', '/home/pi/Desktop/images/02052025/07/15/image_02052025_07_16_07_10373.jpg', '/home/pi/Desktop/images/02052025/07/16/image_02052025_07_16_17_10343.jpg', '/home/pi/Desktop/images/02052025/07/16/image_02052025_07_16_27_9452.jpg', '/home/pi/Desktop/images/02052025/07/16/image_02052025_07_16_37_10356.jpg', '/home/pi/Desktop/images/02052025/07/16/image_02052025_07_16_46_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/15/image_02052025_07_15_56_9354.jpg
/home/pi/Desktop/images/02052025/07/15/image_02052025_07_16_07_10373.jpg
/home/pi/Desktop/images/02052025/07/16/image_02052025_07_16_17_10343.jpg
/home/pi/Desktop/images/02052025/07/16/image_02052025_07_16_27_9452.jpg
/home/pi/Desktop/images/02052025/07/16/image_02052025_07_16_37_10356.jpg
/home/pi/Desktop/images/02052025/07/16/image_02052025_07_16_46_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":["1355253728","1355253722","1355253725","1355253703","1355253717","1355253708"],"photo_ids_order":["1355253703","1355253708","1355253717","1355253722","1355253725","1355253728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9c31f3713d270d9aab5e1135fbb3cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4381872816110212279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175413164,"filename":"image_02052025_07_16_46_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c582c423e0aeddbc3bc5234a520339b.jpg","text":"TemporaryFile(/tmp/multipartBody1015617621383030278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175413164,"filename":"image_02052025_07_16_27_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/baad3766d5d71e75e3e58b2644c3b756.jpg","text":"TemporaryFile(/tmp/multipartBody9004866355466087978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175413164,"filename":"image_02052025_07_16_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/5/2/eb02304e27704ec05ced9715c1e700fa.jpg","text":"TemporaryFile(/tmp/multipartBody6780200983365479180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175413164,"filename":"image_02052025_07_15_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4fe0841594b4f8912ab11d0b3df6229.jpg","text":"TemporaryFile(/tmp/multipartBody2739995102530777091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175413164,"filename":"image_02052025_07_16_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/5/2/12faa5df50ecab05b1ae800e97355fc8.jpg","text":"TemporaryFile(/tmp/multipartBody4075952000043092488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175413164,"filename":"image_02052025_07_16_07_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253717","file1":"1355253708","file0":"1355253703","file4":"1355253725","file5":"1355253728","file3":"1355253722"},"map_files_photo_id_array":[{"photo_id":"1355253728","filename":"file5"},{"photo_id":"1355253717","filename":"file2"},{"photo_id":"1355253725","filename":"file4"},{"photo_id":"1355253708","filename":"file1"},{"photo_id":"1355253703","filename":"file0"},{"photo_id":"1355253722","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253728":["hashtag1","hashtag2"]},{"1355253722":["hashtag1","hashtag2"]},{"1355253725":["hashtag1","hashtag2"]},{"1355253703":["hashtag1","hashtag2"]},{"1355253717":["hashtag1","hashtag2"]},{"1355253708":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253728, 1355253722, 1355253725, 1355253703, 1355253717, 1355253708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.301902294158936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:43:32.978598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/16/image_02052025_07_16_57_10365.jpg', '/home/pi/Desktop/images/02052025/07/16/image_02052025_07_17_07_10416.jpg', '/home/pi/Desktop/images/02052025/07/17/image_02052025_07_17_17_9423.jpg', '/home/pi/Desktop/images/02052025/07/17/image_02052025_07_17_27_10367.jpg', '/home/pi/Desktop/images/02052025/07/17/image_02052025_07_17_36_9400.jpg', '/home/pi/Desktop/images/02052025/07/17/image_02052025_07_17_47_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/16/image_02052025_07_16_57_10365.jpg
/home/pi/Desktop/images/02052025/07/16/image_02052025_07_17_07_10416.jpg
/home/pi/Desktop/images/02052025/07/17/image_02052025_07_17_17_9423.jpg
/home/pi/Desktop/images/02052025/07/17/image_02052025_07_17_27_10367.jpg
/home/pi/Desktop/images/02052025/07/17/image_02052025_07_17_36_9400.jpg
/home/pi/Desktop/images/02052025/07/17/image_02052025_07_17_47_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355253767","1355253755","1355253758","1355253763","1355253751","1355253770"],"photo_ids_order":["1355253751","1355253755","1355253758","1355253763","1355253767","1355253770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d44e48ac317dac0b5466ded4737c8be4.jpg","text":"TemporaryFile(/tmp/multipartBody6728132499575193934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175473441,"filename":"image_02052025_07_17_36_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa3d38357cf0054898558bf195f1520c.jpg","text":"TemporaryFile(/tmp/multipartBody8079751299551200530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175473441,"filename":"image_02052025_07_17_07_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce4ccb5c00651f4a1efd71c693b2018e.jpg","text":"TemporaryFile(/tmp/multipartBody4101811963821579188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175473441,"filename":"image_02052025_07_17_17_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9589fe744e47cdd72b8697c3055f6419.jpg","text":"TemporaryFile(/tmp/multipartBody942130584636794206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175473441,"filename":"image_02052025_07_17_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1519c46a87ff1637b00dc86dec9f8a3e.jpg","text":"TemporaryFile(/tmp/multipartBody484766534353933396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175473441,"filename":"image_02052025_07_16_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/5/2/aa425617e936144ca4b8837fdfa21c33.jpg","text":"TemporaryFile(/tmp/multipartBody5243431655486344741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175473441,"filename":"image_02052025_07_17_47_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253758","file1":"1355253755","file0":"1355253751","file4":"1355253767","file5":"1355253770","file3":"1355253763"},"map_files_photo_id_array":[{"photo_id":"1355253770","filename":"file5"},{"photo_id":"1355253758","filename":"file2"},{"photo_id":"1355253767","filename":"file4"},{"photo_id":"1355253755","filename":"file1"},{"photo_id":"1355253751","filename":"file0"},{"photo_id":"1355253763","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253767":["hashtag1","hashtag2"]},{"1355253755":["hashtag1","hashtag2"]},{"1355253758":["hashtag1","hashtag2"]},{"1355253763":["hashtag1","hashtag2"]},{"1355253751":["hashtag1","hashtag2"]},{"1355253770":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253767, 1355253755, 1355253758, 1355253763, 1355253751, 1355253770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.67803716659546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:44:33.209334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/17/image_02052025_07_17_56_9478.jpg', '/home/pi/Desktop/images/02052025/07/17/image_02052025_07_18_07_10372.jpg', '/home/pi/Desktop/images/02052025/07/18/image_02052025_07_18_17_10348.jpg', '/home/pi/Desktop/images/02052025/07/18/image_02052025_07_18_26_9564.jpg', '/home/pi/Desktop/images/02052025/07/18/image_02052025_07_18_37_10417.jpg', '/home/pi/Desktop/images/02052025/07/18/image_02052025_07_18_46_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/17/image_02052025_07_17_56_9478.jpg
/home/pi/Desktop/images/02052025/07/17/image_02052025_07_18_07_10372.jpg
/home/pi/Desktop/images/02052025/07/18/image_02052025_07_18_17_10348.jpg
/home/pi/Desktop/images/02052025/07/18/image_02052025_07_18_26_9564.jpg
/home/pi/Desktop/images/02052025/07/18/image_02052025_07_18_37_10417.jpg
/home/pi/Desktop/images/02052025/07/18/image_02052025_07_18_46_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355253827","1355253796","1355253811","1355253829","1355253820","1355253801"],"photo_ids_order":["1355253796","1355253801","1355253811","1355253820","1355253827","1355253829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fd4e4624aec0389952fe7901bf37d8ec.jpg","text":"TemporaryFile(/tmp/multipartBody1011557020275546471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175533671,"filename":"image_02052025_07_18_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/5/2/5f5211284e8a898476fd75293a98200b.jpg","text":"TemporaryFile(/tmp/multipartBody1265021459295391177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175533671,"filename":"image_02052025_07_17_56_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e0b7047fa5b1489be61a4831ac42ce1.jpg","text":"TemporaryFile(/tmp/multipartBody5810078042723512863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175533671,"filename":"image_02052025_07_18_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/5/2/537d7428ece8adb13d4816e5024611b6.jpg","text":"TemporaryFile(/tmp/multipartBody95726202881072782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175533671,"filename":"image_02052025_07_18_46_9588.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f4eaf82da40f78a2fe06adc4b0188d93.jpg","text":"TemporaryFile(/tmp/multipartBody943915525882159998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175533671,"filename":"image_02052025_07_18_26_9564.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a5450388e78f0bc3e18acff841528a02.jpg","text":"TemporaryFile(/tmp/multipartBody4451051317914080701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175533671,"filename":"image_02052025_07_18_07_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253811","file1":"1355253801","file0":"1355253796","file4":"1355253827","file5":"1355253829","file3":"1355253820"},"map_files_photo_id_array":[{"photo_id":"1355253829","filename":"file5"},{"photo_id":"1355253811","filename":"file2"},{"photo_id":"1355253827","filename":"file4"},{"photo_id":"1355253801","filename":"file1"},{"photo_id":"1355253796","filename":"file0"},{"photo_id":"1355253820","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253827":["hashtag1","hashtag2"]},{"1355253796":["hashtag1","hashtag2"]},{"1355253811":["hashtag1","hashtag2"]},{"1355253829":["hashtag1","hashtag2"]},{"1355253820":["hashtag1","hashtag2"]},{"1355253801":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253827, 1355253796, 1355253811, 1355253829, 1355253820, 1355253801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2800567150116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:45:32.365710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/18/image_02052025_07_18_57_10363.jpg', '/home/pi/Desktop/images/02052025/07/18/image_02052025_07_19_06_9490.jpg', '/home/pi/Desktop/images/02052025/07/19/image_02052025_07_19_47_10456.jpg', '/home/pi/Desktop/images/02052025/07/19/image_02052025_07_19_56_9499.jpg', '/home/pi/Desktop/images/02052025/07/19/image_02052025_07_20_07_10343.jpg', '/home/pi/Desktop/images/02052025/07/20/image_02052025_07_20_27_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/18/image_02052025_07_18_57_10363.jpg
/home/pi/Desktop/images/02052025/07/18/image_02052025_07_19_06_9490.jpg
/home/pi/Desktop/images/02052025/07/19/image_02052025_07_19_47_10456.jpg
/home/pi/Desktop/images/02052025/07/19/image_02052025_07_19_56_9499.jpg
/home/pi/Desktop/images/02052025/07/19/image_02052025_07_20_07_10343.jpg
/home/pi/Desktop/images/02052025/07/20/image_02052025_07_20_27_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355253902","1355253871","1355253885","1355253864","1355253881","1355253878"],"photo_ids_order":["1355253864","1355253871","1355253878","1355253881","1355253885","1355253902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34914d1834d6ab4c88f0dd073a5ce57a.jpg","text":"TemporaryFile(/tmp/multipartBody7224878626699726486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175592833,"filename":"image_02052025_07_20_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/5/2/c28ba584dffa32d856b2fe6a1e61d15d.jpg","text":"TemporaryFile(/tmp/multipartBody1605349433632133653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175592833,"filename":"image_02052025_07_19_06_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95bfd5ee5a663e4c4afc22237be5cbda.jpg","text":"TemporaryFile(/tmp/multipartBody3245056064648851915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175592833,"filename":"image_02052025_07_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/5/2/3c9cc63c6d67a4713f9be582824f6063.jpg","text":"TemporaryFile(/tmp/multipartBody2987825357463071042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175592833,"filename":"image_02052025_07_18_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6fc4622b38d560256c1bc5488707e281.jpg","text":"TemporaryFile(/tmp/multipartBody8352540721172261301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175592833,"filename":"image_02052025_07_19_56_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c9d1693a1bb67b0470598a10164a0e3.jpg","text":"TemporaryFile(/tmp/multipartBody2751644573416335031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175592833,"filename":"image_02052025_07_19_47_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253878","file1":"1355253871","file0":"1355253864","file4":"1355253885","file5":"1355253902","file3":"1355253881"},"map_files_photo_id_array":[{"photo_id":"1355253902","filename":"file5"},{"photo_id":"1355253878","filename":"file2"},{"photo_id":"1355253885","filename":"file4"},{"photo_id":"1355253871","filename":"file1"},{"photo_id":"1355253864","filename":"file0"},{"photo_id":"1355253881","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253902":["hashtag1","hashtag2"]},{"1355253871":["hashtag1","hashtag2"]},{"1355253885":["hashtag1","hashtag2"]},{"1355253864":["hashtag1","hashtag2"]},{"1355253881":["hashtag1","hashtag2"]},{"1355253878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253902, 1355253871, 1355253885, 1355253864, 1355253881, 1355253878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.997313499450684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:46:32.499348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/20/image_02052025_07_20_37_10350.jpg', '/home/pi/Desktop/images/02052025/07/20/image_02052025_07_20_46_9484.jpg', '/home/pi/Desktop/images/02052025/07/20/image_02052025_07_20_57_10361.jpg', '/home/pi/Desktop/images/02052025/07/20/image_02052025_07_21_07_10351.jpg', '/home/pi/Desktop/images/02052025/07/21/image_02052025_07_21_16_9330.jpg', '/home/pi/Desktop/images/02052025/07/23/image_02052025_07_23_17_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/20/image_02052025_07_20_37_10350.jpg
/home/pi/Desktop/images/02052025/07/20/image_02052025_07_20_46_9484.jpg
/home/pi/Desktop/images/02052025/07/20/image_02052025_07_20_57_10361.jpg
/home/pi/Desktop/images/02052025/07/20/image_02052025_07_21_07_10351.jpg
/home/pi/Desktop/images/02052025/07/21/image_02052025_07_21_16_9330.jpg
/home/pi/Desktop/images/02052025/07/23/image_02052025_07_23_17_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":["1355253929","1355253961","1355253952","1355253946","1355253957","1355253936"],"photo_ids_order":["1355253929","1355253936","1355253946","1355253952","1355253957","1355253961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba3d0e85544030a4428c7cb8cf65a407.jpg","text":"TemporaryFile(/tmp/multipartBody7526545338967736957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175653045,"filename":"image_02052025_07_20_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/5/2/b7cb40417f2f2163eadaa43d3c261cbc.jpg","text":"TemporaryFile(/tmp/multipartBody2749377475857300688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175653045,"filename":"image_02052025_07_23_17_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6e1fb3f426808bac2857999c93c113d.jpg","text":"TemporaryFile(/tmp/multipartBody6206020161580348091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175653045,"filename":"image_02052025_07_21_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/5/2/d86e347edc8356df14c58b2c9b6e0a7b.jpg","text":"TemporaryFile(/tmp/multipartBody6523212250163774845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175653045,"filename":"image_02052025_07_20_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/5/2/e3081fac3ce14e48c402f3c3683974cd.jpg","text":"TemporaryFile(/tmp/multipartBody7651734351061330576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175653045,"filename":"image_02052025_07_21_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/5/2/c5a5139455402753f117b590917cde63.jpg","text":"TemporaryFile(/tmp/multipartBody7022803014856663168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175653045,"filename":"image_02052025_07_20_46_9484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253946","file1":"1355253936","file0":"1355253929","file4":"1355253957","file5":"1355253961","file3":"1355253952"},"map_files_photo_id_array":[{"photo_id":"1355253961","filename":"file5"},{"photo_id":"1355253946","filename":"file2"},{"photo_id":"1355253957","filename":"file4"},{"photo_id":"1355253936","filename":"file1"},{"photo_id":"1355253929","filename":"file0"},{"photo_id":"1355253952","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253929":["hashtag1","hashtag2"]},{"1355253961":["hashtag1","hashtag2"]},{"1355253952":["hashtag1","hashtag2"]},{"1355253946":["hashtag1","hashtag2"]},{"1355253957":["hashtag1","hashtag2"]},{"1355253936":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253929, 1355253961, 1355253952, 1355253946, 1355253957, 1355253936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.286903619766235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:47:32.778735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/23/image_02052025_07_23_26_9434.jpg', '/home/pi/Desktop/images/02052025/07/23/image_02052025_07_23_37_10352.jpg', '/home/pi/Desktop/images/02052025/07/23/image_02052025_07_23_56_10360.jpg', '/home/pi/Desktop/images/02052025/07/23/image_02052025_07_24_07_10424.jpg', '/home/pi/Desktop/images/02052025/07/24/image_02052025_07_24_16_9393.jpg', '/home/pi/Desktop/images/02052025/07/24/image_02052025_07_24_27_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/23/image_02052025_07_23_26_9434.jpg
/home/pi/Desktop/images/02052025/07/23/image_02052025_07_23_37_10352.jpg
/home/pi/Desktop/images/02052025/07/23/image_02052025_07_23_56_10360.jpg
/home/pi/Desktop/images/02052025/07/23/image_02052025_07_24_07_10424.jpg
/home/pi/Desktop/images/02052025/07/24/image_02052025_07_24_16_9393.jpg
/home/pi/Desktop/images/02052025/07/24/image_02052025_07_24_27_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355253991","1355253999","1355253987","1355254002","1355254005","1355253995"],"photo_ids_order":["1355253987","1355253991","1355253995","1355253999","1355254002","1355254005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd96e250e5efb0fcc3377256d9747a55.jpg","text":"TemporaryFile(/tmp/multipartBody1539777904840962714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175713246,"filename":"image_02052025_07_23_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/5/2/08cc0cbfd5f8778269e28c1247b705a0.jpg","text":"TemporaryFile(/tmp/multipartBody4313240296377901452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175713246,"filename":"image_02052025_07_24_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/5/2/1d97cfeed84c989acebb0dc70d1905f4.jpg","text":"TemporaryFile(/tmp/multipartBody4163560818312531259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175713246,"filename":"image_02052025_07_23_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/5/2/cb6a1a063d58e0ac9bc87f0b048b1686.jpg","text":"TemporaryFile(/tmp/multipartBody1754076455830783303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175713246,"filename":"image_02052025_07_24_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/5/2/8c9335255c9acb833e735f9d1af79fd8.jpg","text":"TemporaryFile(/tmp/multipartBody1526957872665457961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175713246,"filename":"image_02052025_07_24_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/5/2/0c2d5e7a2c615f689b226ac24bce1e65.jpg","text":"TemporaryFile(/tmp/multipartBody5461884386049543968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175713246,"filename":"image_02052025_07_23_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355253995","file1":"1355253991","file0":"1355253987","file4":"1355254002","file5":"1355254005","file3":"1355253999"},"map_files_photo_id_array":[{"photo_id":"1355254005","filename":"file5"},{"photo_id":"1355253995","filename":"file2"},{"photo_id":"1355254002","filename":"file4"},{"photo_id":"1355253991","filename":"file1"},{"photo_id":"1355253987","filename":"file0"},{"photo_id":"1355253999","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355253991":["hashtag1","hashtag2"]},{"1355253999":["hashtag1","hashtag2"]},{"1355253987":["hashtag1","hashtag2"]},{"1355254002":["hashtag1","hashtag2"]},{"1355254005":["hashtag1","hashtag2"]},{"1355253995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355253991, 1355253999, 1355253987, 1355254002, 1355254005, 1355253995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43052649497986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:48:33.079579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/24/image_02052025_07_24_37_10402.jpg', '/home/pi/Desktop/images/02052025/07/24/image_02052025_07_24_47_9486.jpg', '/home/pi/Desktop/images/02052025/07/24/image_02052025_07_25_06_9380.jpg', '/home/pi/Desktop/images/02052025/07/25/image_02052025_07_25_17_10333.jpg', '/home/pi/Desktop/images/02052025/07/25/image_02052025_07_25_27_10364.jpg', '/home/pi/Desktop/images/02052025/07/25/image_02052025_07_25_36_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/24/image_02052025_07_24_37_10402.jpg
/home/pi/Desktop/images/02052025/07/24/image_02052025_07_24_47_9486.jpg
/home/pi/Desktop/images/02052025/07/24/image_02052025_07_25_06_9380.jpg
/home/pi/Desktop/images/02052025/07/25/image_02052025_07_25_17_10333.jpg
/home/pi/Desktop/images/02052025/07/25/image_02052025_07_25_27_10364.jpg
/home/pi/Desktop/images/02052025/07/25/image_02052025_07_25_36_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355254048","1355254071","1355254059","1355254050","1355254091","1355254043"],"photo_ids_order":["1355254043","1355254048","1355254050","1355254059","1355254071","1355254091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a12ae4b13e7c662b8f26c6cadcc4370.jpg","text":"TemporaryFile(/tmp/multipartBody140511847483888621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175773541,"filename":"image_02052025_07_24_47_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/057a8d3d2cb8587c58fe8133ff4a84e6.jpg","text":"TemporaryFile(/tmp/multipartBody7625642626692059591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175773541,"filename":"image_02052025_07_25_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/5/2/853757d83177c67327649be5e1447fb2.jpg","text":"TemporaryFile(/tmp/multipartBody5581621323614188477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175773541,"filename":"image_02052025_07_25_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/5/2/259112d0433afa1e7b2aec2fc1566a71.jpg","text":"TemporaryFile(/tmp/multipartBody8113344451316785988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175773541,"filename":"image_02052025_07_25_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/5/2/d4c1b8c441ba8a38533b9331a9f43145.jpg","text":"TemporaryFile(/tmp/multipartBody69278601279298444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175773541,"filename":"image_02052025_07_25_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/5/2/8df6dc3df5efb96453caf568803483ba.jpg","text":"TemporaryFile(/tmp/multipartBody8611310642866406216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175773541,"filename":"image_02052025_07_24_37_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355254050","file1":"1355254048","file0":"1355254043","file4":"1355254071","file5":"1355254091","file3":"1355254059"},"map_files_photo_id_array":[{"photo_id":"1355254091","filename":"file5"},{"photo_id":"1355254050","filename":"file2"},{"photo_id":"1355254071","filename":"file4"},{"photo_id":"1355254048","filename":"file1"},{"photo_id":"1355254043","filename":"file0"},{"photo_id":"1355254059","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355254048":["hashtag1","hashtag2"]},{"1355254071":["hashtag1","hashtag2"]},{"1355254059":["hashtag1","hashtag2"]},{"1355254050":["hashtag1","hashtag2"]},{"1355254091":["hashtag1","hashtag2"]},{"1355254043":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355254048, 1355254071, 1355254059, 1355254050, 1355254091, 1355254043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.41025137901306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:49:32.305900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/25/image_02052025_07_25_47_10351.jpg', '/home/pi/Desktop/images/02052025/07/25/image_02052025_07_25_57_10370.jpg', '/home/pi/Desktop/images/02052025/07/25/image_02052025_07_26_06_9373.jpg', '/home/pi/Desktop/images/02052025/07/26/image_02052025_07_26_17_10367.jpg', '/home/pi/Desktop/images/02052025/07/26/image_02052025_07_26_26_9550.jpg', '/home/pi/Desktop/images/02052025/07/26/image_02052025_07_26_37_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/25/image_02052025_07_25_47_10351.jpg
/home/pi/Desktop/images/02052025/07/25/image_02052025_07_25_57_10370.jpg
/home/pi/Desktop/images/02052025/07/25/image_02052025_07_26_06_9373.jpg
/home/pi/Desktop/images/02052025/07/26/image_02052025_07_26_17_10367.jpg
/home/pi/Desktop/images/02052025/07/26/image_02052025_07_26_26_9550.jpg
/home/pi/Desktop/images/02052025/07/26/image_02052025_07_26_37_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":["1355254168","1355254153","1355254131","1355254143","1355254137","1355254163"],"photo_ids_order":["1355254131","1355254137","1355254143","1355254153","1355254163","1355254168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a67cea0e02be4183635b011a778fd419.jpg","text":"TemporaryFile(/tmp/multipartBody4021577141183825647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175832771,"filename":"image_02052025_07_26_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/5/2/d39212ca8a355bb677be2fbcca72de17.jpg","text":"TemporaryFile(/tmp/multipartBody1149088900253717365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175832771,"filename":"image_02052025_07_26_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/5/2/71264a4ffc725f9f2d731d520b7fae09.jpg","text":"TemporaryFile(/tmp/multipartBody1234090245479438683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175832771,"filename":"image_02052025_07_25_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/5/2/95ce68b92de6db4c4fa6cdf285668270.jpg","text":"TemporaryFile(/tmp/multipartBody5307990800809908463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175832771,"filename":"image_02052025_07_26_06_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9adf2d68d8844d0270f0bcef4585b44.jpg","text":"TemporaryFile(/tmp/multipartBody1813249590612694259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175832771,"filename":"image_02052025_07_25_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/5/2/879e5772d08147b472fd5fc3b716d1d5.jpg","text":"TemporaryFile(/tmp/multipartBody7068076736850468744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175832771,"filename":"image_02052025_07_26_26_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355254143","file1":"1355254137","file0":"1355254131","file4":"1355254163","file5":"1355254168","file3":"1355254153"},"map_files_photo_id_array":[{"photo_id":"1355254168","filename":"file5"},{"photo_id":"1355254143","filename":"file2"},{"photo_id":"1355254163","filename":"file4"},{"photo_id":"1355254137","filename":"file1"},{"photo_id":"1355254131","filename":"file0"},{"photo_id":"1355254153","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355254168":["hashtag1","hashtag2"]},{"1355254153":["hashtag1","hashtag2"]},{"1355254131":["hashtag1","hashtag2"]},{"1355254143":["hashtag1","hashtag2"]},{"1355254137":["hashtag1","hashtag2"]},{"1355254163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355254168, 1355254153, 1355254131, 1355254143, 1355254137, 1355254163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.6733181476593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:50:32.558234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/26/image_02052025_07_26_47_10374.jpg', '/home/pi/Desktop/images/02052025/07/26/image_02052025_07_26_57_9496.jpg', '/home/pi/Desktop/images/02052025/07/27/image_02052025_07_27_36_9365.jpg', '/home/pi/Desktop/images/02052025/07/27/image_02052025_07_27_46_10283.jpg', '/home/pi/Desktop/images/02052025/07/27/image_02052025_07_27_57_10370.jpg', '/home/pi/Desktop/images/02052025/07/27/image_02052025_07_28_06_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/26/image_02052025_07_26_47_10374.jpg
/home/pi/Desktop/images/02052025/07/26/image_02052025_07_26_57_9496.jpg
/home/pi/Desktop/images/02052025/07/27/image_02052025_07_27_36_9365.jpg
/home/pi/Desktop/images/02052025/07/27/image_02052025_07_27_46_10283.jpg
/home/pi/Desktop/images/02052025/07/27/image_02052025_07_27_57_10370.jpg
/home/pi/Desktop/images/02052025/07/27/image_02052025_07_28_06_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355254205","1355254202","1355254195","1355254228","1355254213","1355254209"],"photo_ids_order":["1355254195","1355254202","1355254205","1355254209","1355254213","1355254228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/003a24f5fcc7c9a420bc8a8c57fc5b99.jpg","text":"TemporaryFile(/tmp/multipartBody3625407050272457144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175893073,"filename":"image_02052025_07_27_36_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/964fcda2117fe76e77b0f118bd12ce42.jpg","text":"TemporaryFile(/tmp/multipartBody1873746951392150563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175893073,"filename":"image_02052025_07_26_57_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b28982f85b8eb664345b983310bcde5.jpg","text":"TemporaryFile(/tmp/multipartBody799299353915923198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175893073,"filename":"image_02052025_07_26_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/5/2/bede89aedff1f8c6626abb3571372e17.jpg","text":"TemporaryFile(/tmp/multipartBody1908257144428723312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175893073,"filename":"image_02052025_07_28_06_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7025b5fd605a82c3689db148b975b67a.jpg","text":"TemporaryFile(/tmp/multipartBody3604988242984353538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175893073,"filename":"image_02052025_07_27_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/5/2/b588f12124b225be949f47fcf3c94255.jpg","text":"TemporaryFile(/tmp/multipartBody5804344961565421200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175893073,"filename":"image_02052025_07_27_46_10283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355254205","file1":"1355254202","file0":"1355254195","file4":"1355254213","file5":"1355254228","file3":"1355254209"},"map_files_photo_id_array":[{"photo_id":"1355254228","filename":"file5"},{"photo_id":"1355254205","filename":"file2"},{"photo_id":"1355254213","filename":"file4"},{"photo_id":"1355254202","filename":"file1"},{"photo_id":"1355254195","filename":"file0"},{"photo_id":"1355254209","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355254205":["hashtag1","hashtag2"]},{"1355254202":["hashtag1","hashtag2"]},{"1355254195":["hashtag1","hashtag2"]},{"1355254228":["hashtag1","hashtag2"]},{"1355254213":["hashtag1","hashtag2"]},{"1355254209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355254205, 1355254202, 1355254195, 1355254228, 1355254213, 1355254209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49277877807617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:51:32.736321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/28/image_02052025_07_28_17_10470.jpg', '/home/pi/Desktop/images/02052025/07/28/image_02052025_07_28_27_10350.jpg', '/home/pi/Desktop/images/02052025/07/28/image_02052025_07_28_36_9390.jpg', '/home/pi/Desktop/images/02052025/07/28/image_02052025_07_28_47_10362.jpg', '/home/pi/Desktop/images/02052025/07/28/image_02052025_07_28_56_9439.jpg', '/home/pi/Desktop/images/02052025/07/28/image_02052025_07_29_07_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/28/image_02052025_07_28_17_10470.jpg
/home/pi/Desktop/images/02052025/07/28/image_02052025_07_28_27_10350.jpg
/home/pi/Desktop/images/02052025/07/28/image_02052025_07_28_36_9390.jpg
/home/pi/Desktop/images/02052025/07/28/image_02052025_07_28_47_10362.jpg
/home/pi/Desktop/images/02052025/07/28/image_02052025_07_28_56_9439.jpg
/home/pi/Desktop/images/02052025/07/28/image_02052025_07_29_07_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":["1355254264","1355254273","1355254261","1355254275","1355254257","1355254269"],"photo_ids_order":["1355254257","1355254261","1355254264","1355254269","1355254273","1355254275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/824c5762395c4ed89bfc87f93b988d1c.jpg","text":"TemporaryFile(/tmp/multipartBody1500464352656500302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175953209,"filename":"image_02052025_07_28_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/5/2/9ba6c6eba455e8d6657053d1c01bec3c.jpg","text":"TemporaryFile(/tmp/multipartBody1716447178980601826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175953209,"filename":"image_02052025_07_28_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/5/2/7b0533f3d4a96007aa152f0f682dbee8.jpg","text":"TemporaryFile(/tmp/multipartBody8603868543644138377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175953209,"filename":"image_02052025_07_28_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/5/2/daac7a362c7b917201111bb6dc98355d.jpg","text":"TemporaryFile(/tmp/multipartBody5291580075236728959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175953209,"filename":"image_02052025_07_29_07_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e20c2627eb62c91b40cb1ef7c77859f.jpg","text":"TemporaryFile(/tmp/multipartBody7861680263428189347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175953209,"filename":"image_02052025_07_28_17_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/61b53a7fdd564dca0883d85ed1c49564.jpg","text":"TemporaryFile(/tmp/multipartBody1730722996859374545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746175953209,"filename":"image_02052025_07_28_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355254264","file1":"1355254261","file0":"1355254257","file4":"1355254273","file5":"1355254275","file3":"1355254269"},"map_files_photo_id_array":[{"photo_id":"1355254275","filename":"file5"},{"photo_id":"1355254264","filename":"file2"},{"photo_id":"1355254273","filename":"file4"},{"photo_id":"1355254261","filename":"file1"},{"photo_id":"1355254257","filename":"file0"},{"photo_id":"1355254269","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355254264":["hashtag1","hashtag2"]},{"1355254273":["hashtag1","hashtag2"]},{"1355254261":["hashtag1","hashtag2"]},{"1355254275":["hashtag1","hashtag2"]},{"1355254257":["hashtag1","hashtag2"]},{"1355254269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355254264, 1355254273, 1355254261, 1355254275, 1355254257, 1355254269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63145089149475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:52:32.919505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_17_10459.jpg', '/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_27_9473.jpg', '/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_46_9400.jpg', '/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_57_10367.jpg', '/home/pi/Desktop/images/02052025/07/29/image_02052025_07_30_07_10355.jpg', '/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_16_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_17_10459.jpg
/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_27_9473.jpg
/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_46_9400.jpg
/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_57_10367.jpg
/home/pi/Desktop/images/02052025/07/29/image_02052025_07_30_07_10355.jpg
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_16_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.380845308303833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 10:52:43.015918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_17_10459.jpg', '/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_27_9473.jpg', '/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_46_9400.jpg', '/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_57_10367.jpg', '/home/pi/Desktop/images/02052025/07/29/image_02052025_07_30_07_10355.jpg', '/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_16_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_17_10459.jpg
/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_27_9473.jpg
/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_46_9400.jpg
/home/pi/Desktop/images/02052025/07/29/image_02052025_07_29_57_10367.jpg
/home/pi/Desktop/images/02052025/07/29/image_02052025_07_30_07_10355.jpg
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_16_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":["1355254333","1355254339","1355254324","1355254335","1355254329","1355254337"],"photo_ids_order":["1355254324","1355254329","1355254333","1355254335","1355254337","1355254339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8ab0dd13c0429863f38b3921217e0862.jpg","text":"TemporaryFile(/tmp/multipartBody5448525081623914300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176023476,"filename":"image_02052025_07_29_46_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/badaa16bf2ab3b085377dde31bc58658.jpg","text":"TemporaryFile(/tmp/multipartBody7726582383448814460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176023476,"filename":"image_02052025_07_30_16_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/efa61cdbe456b74ec36cb72315de5d9d.jpg","text":"TemporaryFile(/tmp/multipartBody2706213950028025184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176023476,"filename":"image_02052025_07_29_17_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6567154f34e3d895de6f95e64ae3e75b.jpg","text":"TemporaryFile(/tmp/multipartBody5386773390082949322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176023476,"filename":"image_02052025_07_29_57_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/03d9bb8ff3fb2bba2514da555b633d96.jpg","text":"TemporaryFile(/tmp/multipartBody7875234524072573484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176023476,"filename":"image_02052025_07_29_27_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/002effde03cfb4389be34b0cee5b66b3.jpg","text":"TemporaryFile(/tmp/multipartBody712732896712092762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176023476,"filename":"image_02052025_07_30_07_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355254333","file1":"1355254329","file0":"1355254324","file4":"1355254337","file5":"1355254339","file3":"1355254335"},"map_files_photo_id_array":[{"photo_id":"1355254339","filename":"file5"},{"photo_id":"1355254333","filename":"file2"},{"photo_id":"1355254337","filename":"file4"},{"photo_id":"1355254329","filename":"file1"},{"photo_id":"1355254324","filename":"file0"},{"photo_id":"1355254335","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355254333":["hashtag1","hashtag2"]},{"1355254339":["hashtag1","hashtag2"]},{"1355254324":["hashtag1","hashtag2"]},{"1355254335":["hashtag1","hashtag2"]},{"1355254329":["hashtag1","hashtag2"]},{"1355254337":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355254333, 1355254339, 1355254324, 1355254335, 1355254329, 1355254337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.85494041442871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:53:33.104624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_27_10428.jpg', '/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_36_9398.jpg', '/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_47_10373.jpg', '/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_57_10400.jpg', '/home/pi/Desktop/images/02052025/07/30/image_02052025_07_31_06_9410.jpg', '/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_17_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_27_10428.jpg
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_36_9398.jpg
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_47_10373.jpg
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_57_10400.jpg
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_31_06_9410.jpg
/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_17_10459.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.381927490234375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 10:53:43.205939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_27_10428.jpg', '/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_36_9398.jpg', '/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_47_10373.jpg', '/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_57_10400.jpg', '/home/pi/Desktop/images/02052025/07/30/image_02052025_07_31_06_9410.jpg', '/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_17_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_27_10428.jpg
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_36_9398.jpg
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_47_10373.jpg
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_30_57_10400.jpg
/home/pi/Desktop/images/02052025/07/30/image_02052025_07_31_06_9410.jpg
/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_17_10459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355254666","1355254648","1355254653","1355254662","1355254635","1355254632"],"photo_ids_order":["1355254632","1355254635","1355254648","1355254653","1355254662","1355254666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f3a261fb3b81af2839a7814e0af6a64.jpg","text":"TemporaryFile(/tmp/multipartBody7618178909290064647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176083668,"filename":"image_02052025_07_31_17_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f94cb674e71ee706ba11b1a6e04fd05.jpg","text":"TemporaryFile(/tmp/multipartBody7700251429150850934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176083668,"filename":"image_02052025_07_30_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/5/2/b76e13af9406ad6f4dc7a2eb0d7747b4.jpg","text":"TemporaryFile(/tmp/multipartBody9112962040703039781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176083668,"filename":"image_02052025_07_30_57_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87f950d0a06baecaaca056626d5df566.jpg","text":"TemporaryFile(/tmp/multipartBody512634885004497859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176083668,"filename":"image_02052025_07_31_06_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/347422b774f7805577d593a65dd1848a.jpg","text":"TemporaryFile(/tmp/multipartBody7966076460925918419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176083668,"filename":"image_02052025_07_30_36_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/035bf3a963a6040c7c63353cccf378ba.jpg","text":"TemporaryFile(/tmp/multipartBody2471117729027306664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176083668,"filename":"image_02052025_07_30_27_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355254648","file1":"1355254635","file0":"1355254632","file4":"1355254662","file5":"1355254666","file3":"1355254653"},"map_files_photo_id_array":[{"photo_id":"1355254666","filename":"file5"},{"photo_id":"1355254648","filename":"file2"},{"photo_id":"1355254662","filename":"file4"},{"photo_id":"1355254635","filename":"file1"},{"photo_id":"1355254632","filename":"file0"},{"photo_id":"1355254653","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355254666":["hashtag1","hashtag2"]},{"1355254648":["hashtag1","hashtag2"]},{"1355254653":["hashtag1","hashtag2"]},{"1355254662":["hashtag1","hashtag2"]},{"1355254635":["hashtag1","hashtag2"]},{"1355254632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355254666, 1355254648, 1355254653, 1355254662, 1355254635, 1355254632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88729953765869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:54:32.333662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_26_9431.jpg', '/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_37_10348.jpg', '/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_47_10397.jpg', '/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_56_9363.jpg', '/home/pi/Desktop/images/02052025/07/32/image_02052025_07_32_16_9341.jpg', '/home/pi/Desktop/images/02052025/07/32/image_02052025_07_32_27_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_26_9431.jpg
/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_37_10348.jpg
/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_47_10397.jpg
/home/pi/Desktop/images/02052025/07/31/image_02052025_07_31_56_9363.jpg
/home/pi/Desktop/images/02052025/07/32/image_02052025_07_32_16_9341.jpg
/home/pi/Desktop/images/02052025/07/32/image_02052025_07_32_27_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355254700","1355254690","1355254703","1355254706","1355254696","1355254705"],"photo_ids_order":["1355254690","1355254696","1355254700","1355254703","1355254705","1355254706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/490ae2ae122a54eb0fe0e9ee42d0aa31.jpg","text":"TemporaryFile(/tmp/multipartBody1911871570326998333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176132803,"filename":"image_02052025_07_31_47_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d5aff0babf10af4ba805a8beee1ea21.jpg","text":"TemporaryFile(/tmp/multipartBody6301456105484530776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176132803,"filename":"image_02052025_07_31_26_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b9fc67b4d20ca7ec48ab557f1d400d5.jpg","text":"TemporaryFile(/tmp/multipartBody4788106147190223369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176132803,"filename":"image_02052025_07_31_56_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f406f597d4b4ad1c656f087483026d23.jpg","text":"TemporaryFile(/tmp/multipartBody4578564751430059620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176132803,"filename":"image_02052025_07_32_27_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b53d4b1aa5ffa24338cc07f9e621a33c.jpg","text":"TemporaryFile(/tmp/multipartBody506684418878530661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176132803,"filename":"image_02052025_07_31_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/5/2/caea409a1da4fac329c102fa465e35fd.jpg","text":"TemporaryFile(/tmp/multipartBody7567447823099866643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176132803,"filename":"image_02052025_07_32_16_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355254700","file1":"1355254696","file0":"1355254690","file4":"1355254705","file5":"1355254706","file3":"1355254703"},"map_files_photo_id_array":[{"photo_id":"1355254706","filename":"file5"},{"photo_id":"1355254700","filename":"file2"},{"photo_id":"1355254705","filename":"file4"},{"photo_id":"1355254696","filename":"file1"},{"photo_id":"1355254690","filename":"file0"},{"photo_id":"1355254703","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355254700":["hashtag1","hashtag2"]},{"1355254690":["hashtag1","hashtag2"]},{"1355254703":["hashtag1","hashtag2"]},{"1355254706":["hashtag1","hashtag2"]},{"1355254696":["hashtag1","hashtag2"]},{"1355254705":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355254700, 1355254690, 1355254703, 1355254706, 1355254696, 1355254705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.13548445701599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:55:32.458559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/32/image_02052025_07_32_37_10387.jpg', '/home/pi/Desktop/images/02052025/07/32/image_02052025_07_32_46_9474.jpg', '/home/pi/Desktop/images/02052025/07/32/image_02052025_07_32_57_10367.jpg', '/home/pi/Desktop/images/02052025/07/32/image_02052025_07_33_06_9395.jpg', '/home/pi/Desktop/images/02052025/07/33/image_02052025_07_33_17_10342.jpg', '/home/pi/Desktop/images/02052025/07/33/image_02052025_07_33_36_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/32/image_02052025_07_32_37_10387.jpg
/home/pi/Desktop/images/02052025/07/32/image_02052025_07_32_46_9474.jpg
/home/pi/Desktop/images/02052025/07/32/image_02052025_07_32_57_10367.jpg
/home/pi/Desktop/images/02052025/07/32/image_02052025_07_33_06_9395.jpg
/home/pi/Desktop/images/02052025/07/33/image_02052025_07_33_17_10342.jpg
/home/pi/Desktop/images/02052025/07/33/image_02052025_07_33_36_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355254744","1355254746","1355254755","1355254749","1355254739","1355254754"],"photo_ids_order":["1355254739","1355254744","1355254746","1355254749","1355254754","1355254755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea90db73681ed1d77eae31f895dc13cc.jpg","text":"TemporaryFile(/tmp/multipartBody2371954920307719236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176192928,"filename":"image_02052025_07_32_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/5/2/28f89075d6e562dad5b841f08c78efa4.jpg","text":"TemporaryFile(/tmp/multipartBody1904217210707977134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176192928,"filename":"image_02052025_07_32_57_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/88305126985d0abfa6a4d61518d68523.jpg","text":"TemporaryFile(/tmp/multipartBody1350155922535847866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176192928,"filename":"image_02052025_07_33_36_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b9f631b872b1ca5719f60466c1f223f.jpg","text":"TemporaryFile(/tmp/multipartBody8953812524195912879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176192928,"filename":"image_02052025_07_33_06_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ede558acfc186493c06b71e3c1ab08b4.jpg","text":"TemporaryFile(/tmp/multipartBody2004324134311676914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176192928,"filename":"image_02052025_07_32_37_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d78fea5130148c517c9f6ce165e54707.jpg","text":"TemporaryFile(/tmp/multipartBody2420672044260649292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176192928,"filename":"image_02052025_07_33_17_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355254746","file1":"1355254744","file0":"1355254739","file4":"1355254754","file5":"1355254755","file3":"1355254749"},"map_files_photo_id_array":[{"photo_id":"1355254755","filename":"file5"},{"photo_id":"1355254746","filename":"file2"},{"photo_id":"1355254754","filename":"file4"},{"photo_id":"1355254744","filename":"file1"},{"photo_id":"1355254739","filename":"file0"},{"photo_id":"1355254749","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355254744":["hashtag1","hashtag2"]},{"1355254746":["hashtag1","hashtag2"]},{"1355254755":["hashtag1","hashtag2"]},{"1355254749":["hashtag1","hashtag2"]},{"1355254739":["hashtag1","hashtag2"]},{"1355254754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355254744, 1355254746, 1355254755, 1355254749, 1355254739, 1355254754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.38642716407776 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:56:32.873494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/33/image_02052025_07_33_47_10349.jpg', '/home/pi/Desktop/images/02052025/07/33/image_02052025_07_33_57_10355.jpg', '/home/pi/Desktop/images/02052025/07/33/image_02052025_07_34_06_9466.jpg', '/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_17_10387.jpg', '/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_26_9459.jpg', '/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_37_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/33/image_02052025_07_33_47_10349.jpg
/home/pi/Desktop/images/02052025/07/33/image_02052025_07_33_57_10355.jpg
/home/pi/Desktop/images/02052025/07/33/image_02052025_07_34_06_9466.jpg
/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_17_10387.jpg
/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_26_9459.jpg
/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_37_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":["1355254814","1355254802","1355254792","1355254783","1355254803","1355254787"],"photo_ids_order":["1355254783","1355254787","1355254792","1355254802","1355254803","1355254814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af1f9bb4d4822efc3f204e8a6312aa8b.jpg","text":"TemporaryFile(/tmp/multipartBody6497608716841413049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176253347,"filename":"image_02052025_07_34_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/5/2/952311537dfbf85f785cee169a993b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1580340010775282263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176253347,"filename":"image_02052025_07_34_17_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/896056dfd45eab39761cd05baf960e64.jpg","text":"TemporaryFile(/tmp/multipartBody5022366653048899876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176253347,"filename":"image_02052025_07_34_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/5/2/45968f60c18ab36ae6d556fe59309b1d.jpg","text":"TemporaryFile(/tmp/multipartBody5188611937339455418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176253347,"filename":"image_02052025_07_33_47_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/739e1b37659f8a8cfb38b3d73f1c993a.jpg","text":"TemporaryFile(/tmp/multipartBody2647290442974162402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176253347,"filename":"image_02052025_07_34_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/5/2/97c924f6c61a67961125a648daa27082.jpg","text":"TemporaryFile(/tmp/multipartBody4717168051172371573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176253347,"filename":"image_02052025_07_33_57_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355254792","file1":"1355254787","file0":"1355254783","file4":"1355254803","file5":"1355254814","file3":"1355254802"},"map_files_photo_id_array":[{"photo_id":"1355254814","filename":"file5"},{"photo_id":"1355254792","filename":"file2"},{"photo_id":"1355254803","filename":"file4"},{"photo_id":"1355254787","filename":"file1"},{"photo_id":"1355254783","filename":"file0"},{"photo_id":"1355254802","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355254814":["hashtag1","hashtag2"]},{"1355254802":["hashtag1","hashtag2"]},{"1355254792":["hashtag1","hashtag2"]},{"1355254783":["hashtag1","hashtag2"]},{"1355254803":["hashtag1","hashtag2"]},{"1355254787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355254814, 1355254802, 1355254792, 1355254783, 1355254803, 1355254787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05174708366394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 10:57:32.978100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_47_10369.jpg', '/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_57_9457.jpg', '/home/pi/Desktop/images/02052025/07/34/image_02052025_07_35_07_10405.jpg', '/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_16_9446.jpg', '/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_27_10351.jpg', '/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_37_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_47_10369.jpg
/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_57_9457.jpg
/home/pi/Desktop/images/02052025/07/34/image_02052025_07_35_07_10405.jpg
/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_16_9446.jpg
/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_27_10351.jpg
/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_37_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 10:59:04.125865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_47_10369.jpg', '/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_57_9457.jpg', '/home/pi/Desktop/images/02052025/07/34/image_02052025_07_35_07_10405.jpg', '/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_16_9446.jpg', '/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_27_10351.jpg', '/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_37_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_47_10369.jpg
/home/pi/Desktop/images/02052025/07/34/image_02052025_07_34_57_9457.jpg
/home/pi/Desktop/images/02052025/07/34/image_02052025_07_35_07_10405.jpg
/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_16_9446.jpg
/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_27_10351.jpg
/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_37_10337.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355255140","1355254969","1355255034","1355255069","1355255102","1355255000"],"photo_ids_order":["1355254969","1355255000","1355255034","1355255069","1355255102","1355255140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b8909074406eb4d43445a18da753ff2b.jpg","text":"TemporaryFile(/tmp/multipartBody7536579448563388853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176404706,"filename":"image_02052025_07_35_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4e31ba77e5712ce0957fbe325ac8e81.jpg","text":"TemporaryFile(/tmp/multipartBody8062766053545387564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176404706,"filename":"image_02052025_07_34_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/5/2/146bcd368bd8cb1c60d08da6bc968c09.jpg","text":"TemporaryFile(/tmp/multipartBody8830870594038568745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176404706,"filename":"image_02052025_07_35_07_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c47b3013e62a6ce84bebe538cf3bb0e4.jpg","text":"TemporaryFile(/tmp/multipartBody6333474271335166830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176404706,"filename":"image_02052025_07_35_16_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f14a77ca0bd682934848c9a236ae481e.jpg","text":"TemporaryFile(/tmp/multipartBody6728321733323618011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176404706,"filename":"image_02052025_07_35_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/5/2/00291066ffcbd61d13ec509ba5248555.jpg","text":"TemporaryFile(/tmp/multipartBody3144603183502204159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176404706,"filename":"image_02052025_07_34_57_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355255034","file1":"1355255000","file0":"1355254969","file4":"1355255102","file5":"1355255140","file3":"1355255069"},"map_files_photo_id_array":[{"photo_id":"1355255140","filename":"file5"},{"photo_id":"1355255034","filename":"file2"},{"photo_id":"1355255102","filename":"file4"},{"photo_id":"1355255000","filename":"file1"},{"photo_id":"1355254969","filename":"file0"},{"photo_id":"1355255069","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355255140":["hashtag1","hashtag2"]},{"1355254969":["hashtag1","hashtag2"]},{"1355255034":["hashtag1","hashtag2"]},{"1355255069":["hashtag1","hashtag2"]},{"1355255102":["hashtag1","hashtag2"]},{"1355255000":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355255140, 1355254969, 1355255034, 1355255069, 1355255102, 1355255000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76916575431824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 10:59:42.505050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_46_9353.jpg', '/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_57_10353.jpg', '/home/pi/Desktop/images/02052025/07/35/image_02052025_07_36_06_9455.jpg', '/home/pi/Desktop/images/02052025/07/36/image_02052025_07_36_17_10367.jpg', '/home/pi/Desktop/images/02052025/07/36/image_02052025_07_36_27_10432.jpg', '/home/pi/Desktop/images/02052025/07/36/image_02052025_07_36_36_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_46_9353.jpg
/home/pi/Desktop/images/02052025/07/35/image_02052025_07_35_57_10353.jpg
/home/pi/Desktop/images/02052025/07/35/image_02052025_07_36_06_9455.jpg
/home/pi/Desktop/images/02052025/07/36/image_02052025_07_36_17_10367.jpg
/home/pi/Desktop/images/02052025/07/36/image_02052025_07_36_27_10432.jpg
/home/pi/Desktop/images/02052025/07/36/image_02052025_07_36_36_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355255512","1355255298","1355255349","1355255456","1355255400","1355255566"],"photo_ids_order":["1355255298","1355255349","1355255400","1355255456","1355255512","1355255566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0245f5195d23bb90190638a007222ab2.jpg","text":"TemporaryFile(/tmp/multipartBody5706951662586152392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176442993,"filename":"image_02052025_07_36_27_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6ebc201f4bb2be89bbd938faac75c334.jpg","text":"TemporaryFile(/tmp/multipartBody3862250463128883162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176442993,"filename":"image_02052025_07_35_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/5/2/376b77658108eb5a2bef7b432751a9c5.jpg","text":"TemporaryFile(/tmp/multipartBody6528613170744547547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176442993,"filename":"image_02052025_07_35_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/5/2/8479a69d6b7b54d43182c1dcbae34c79.jpg","text":"TemporaryFile(/tmp/multipartBody8003819701327196594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176442993,"filename":"image_02052025_07_36_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/5/2/ed6c0ff0bb534efd74ca36d63145dce0.jpg","text":"TemporaryFile(/tmp/multipartBody5271993207940545304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176442993,"filename":"image_02052025_07_36_06_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b806767b9f2d8a938337a485414fa73.jpg","text":"TemporaryFile(/tmp/multipartBody1664962709290356939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176442993,"filename":"image_02052025_07_36_36_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355255400","file1":"1355255349","file0":"1355255298","file4":"1355255512","file5":"1355255566","file3":"1355255456"},"map_files_photo_id_array":[{"photo_id":"1355255566","filename":"file5"},{"photo_id":"1355255400","filename":"file2"},{"photo_id":"1355255512","filename":"file4"},{"photo_id":"1355255349","filename":"file1"},{"photo_id":"1355255298","filename":"file0"},{"photo_id":"1355255456","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355255512":["hashtag1","hashtag2"]},{"1355255298":["hashtag1","hashtag2"]},{"1355255349":["hashtag1","hashtag2"]},{"1355255456":["hashtag1","hashtag2"]},{"1355255400":["hashtag1","hashtag2"]},{"1355255566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355255512, 1355255298, 1355255349, 1355255456, 1355255400, 1355255566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.567967891693115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:00:32.664626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/36/image_02052025_07_36_47_10351.jpg', '/home/pi/Desktop/images/02052025/07/36/image_02052025_07_36_56_9342.jpg', '/home/pi/Desktop/images/02052025/07/36/image_02052025_07_37_07_10408.jpg', '/home/pi/Desktop/images/02052025/07/37/image_02052025_07_37_17_10379.jpg', '/home/pi/Desktop/images/02052025/07/37/image_02052025_07_37_26_9506.jpg', '/home/pi/Desktop/images/02052025/07/37/image_02052025_07_37_37_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/36/image_02052025_07_36_47_10351.jpg
/home/pi/Desktop/images/02052025/07/36/image_02052025_07_36_56_9342.jpg
/home/pi/Desktop/images/02052025/07/36/image_02052025_07_37_07_10408.jpg
/home/pi/Desktop/images/02052025/07/37/image_02052025_07_37_17_10379.jpg
/home/pi/Desktop/images/02052025/07/37/image_02052025_07_37_26_9506.jpg
/home/pi/Desktop/images/02052025/07/37/image_02052025_07_37_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":["1355256228","1355256089","1355256164","1355256298","1355255957","1355256355"],"photo_ids_order":["1355255957","1355256089","1355256164","1355256228","1355256298","1355256355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f4e429d1f72a490f3badcc48ca8ba54e.jpg","text":"TemporaryFile(/tmp/multipartBody1470077870876385860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176493121,"filename":"image_02052025_07_37_17_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da86dbec9abad8a1695a2526c9e064fd.jpg","text":"TemporaryFile(/tmp/multipartBody6902954916128700067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176493121,"filename":"image_02052025_07_36_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/5/2/940447df6cd09287de89e7537bea90e3.jpg","text":"TemporaryFile(/tmp/multipartBody1114497617598853124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176493121,"filename":"image_02052025_07_37_07_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/36c6888b90d9535a46ed0a14969479d6.jpg","text":"TemporaryFile(/tmp/multipartBody704387736579129696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176493121,"filename":"image_02052025_07_37_26_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6e12f4ccfa4106ef042a9fb6cea682e.jpg","text":"TemporaryFile(/tmp/multipartBody2083185242792751562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176493121,"filename":"image_02052025_07_36_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/5/2/3fbe987ffdbf161324048e6fbb749358.jpg","text":"TemporaryFile(/tmp/multipartBody2497073271149584631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176493121,"filename":"image_02052025_07_37_37_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355256164","file1":"1355256089","file0":"1355255957","file4":"1355256298","file5":"1355256355","file3":"1355256228"},"map_files_photo_id_array":[{"photo_id":"1355256355","filename":"file5"},{"photo_id":"1355256164","filename":"file2"},{"photo_id":"1355256298","filename":"file4"},{"photo_id":"1355256089","filename":"file1"},{"photo_id":"1355255957","filename":"file0"},{"photo_id":"1355256228","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355256228":["hashtag1","hashtag2"]},{"1355256089":["hashtag1","hashtag2"]},{"1355256164":["hashtag1","hashtag2"]},{"1355256298":["hashtag1","hashtag2"]},{"1355255957":["hashtag1","hashtag2"]},{"1355256355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355256228, 1355256089, 1355256164, 1355256298, 1355255957, 1355256355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.331082582473755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:01:33.162711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/37/image_02052025_07_37_46_9375.jpg', '/home/pi/Desktop/images/02052025/07/37/image_02052025_07_37_57_10384.jpg', '/home/pi/Desktop/images/02052025/07/37/image_02052025_07_38_07_10355.jpg', '/home/pi/Desktop/images/02052025/07/38/image_02052025_07_38_16_9433.jpg', '/home/pi/Desktop/images/02052025/07/38/image_02052025_07_38_27_10371.jpg', '/home/pi/Desktop/images/02052025/07/38/image_02052025_07_38_37_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/37/image_02052025_07_37_46_9375.jpg
/home/pi/Desktop/images/02052025/07/37/image_02052025_07_37_57_10384.jpg
/home/pi/Desktop/images/02052025/07/37/image_02052025_07_38_07_10355.jpg
/home/pi/Desktop/images/02052025/07/38/image_02052025_07_38_16_9433.jpg
/home/pi/Desktop/images/02052025/07/38/image_02052025_07_38_27_10371.jpg
/home/pi/Desktop/images/02052025/07/38/image_02052025_07_38_37_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":["1355257152","1355257125","1355256885","1355257067","1355256938","1355257001"],"photo_ids_order":["1355256885","1355256938","1355257001","1355257067","1355257125","1355257152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3fdfbedb283db58267c3a0aaed86f68f.jpg","text":"TemporaryFile(/tmp/multipartBody3665283885023172441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176553620,"filename":"image_02052025_07_38_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/5/2/391d3d75f08433263e7087ed4c9b1fc8.jpg","text":"TemporaryFile(/tmp/multipartBody3796001826176784454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176553620,"filename":"image_02052025_07_38_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fff0eb3fcf15a5ac40f9a5a2733e823f.jpg","text":"TemporaryFile(/tmp/multipartBody4426112069445934232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176553620,"filename":"image_02052025_07_37_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/5/2/1fa5108ac17ec796a69478c1bc23f068.jpg","text":"TemporaryFile(/tmp/multipartBody2950059815822023071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176553620,"filename":"image_02052025_07_38_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/5/2/cd6ec58f2c0d6e584905aeb49abdf551.jpg","text":"TemporaryFile(/tmp/multipartBody2154820805868825724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176553620,"filename":"image_02052025_07_37_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/5/2/e0231fea56f4ff0de633cf5587424a67.jpg","text":"TemporaryFile(/tmp/multipartBody5128974947995484611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176553620,"filename":"image_02052025_07_38_07_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355257001","file1":"1355256938","file0":"1355256885","file4":"1355257125","file5":"1355257152","file3":"1355257067"},"map_files_photo_id_array":[{"photo_id":"1355257152","filename":"file5"},{"photo_id":"1355257001","filename":"file2"},{"photo_id":"1355257125","filename":"file4"},{"photo_id":"1355256938","filename":"file1"},{"photo_id":"1355256885","filename":"file0"},{"photo_id":"1355257067","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355257152":["hashtag1","hashtag2"]},{"1355257125":["hashtag1","hashtag2"]},{"1355256885":["hashtag1","hashtag2"]},{"1355257067":["hashtag1","hashtag2"]},{"1355256938":["hashtag1","hashtag2"]},{"1355257001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355257152, 1355257125, 1355256885, 1355257067, 1355256938, 1355257001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38657236099243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:02:33.209904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/38/image_02052025_07_38_47_9438.jpg', '/home/pi/Desktop/images/02052025/07/38/image_02052025_07_38_57_10358.jpg', '/home/pi/Desktop/images/02052025/07/38/image_02052025_07_39_06_9497.jpg', '/home/pi/Desktop/images/02052025/07/39/image_02052025_07_39_17_10383.jpg', '/home/pi/Desktop/images/02052025/07/39/image_02052025_07_39_26_9507.jpg', '/home/pi/Desktop/images/02052025/07/39/image_02052025_07_39_37_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/38/image_02052025_07_38_47_9438.jpg
/home/pi/Desktop/images/02052025/07/38/image_02052025_07_38_57_10358.jpg
/home/pi/Desktop/images/02052025/07/38/image_02052025_07_39_06_9497.jpg
/home/pi/Desktop/images/02052025/07/39/image_02052025_07_39_17_10383.jpg
/home/pi/Desktop/images/02052025/07/39/image_02052025_07_39_26_9507.jpg
/home/pi/Desktop/images/02052025/07/39/image_02052025_07_39_37_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":["1355257341","1355257284","1355257314","1355257381","1355257258","1355257240"],"photo_ids_order":["1355257240","1355257258","1355257284","1355257314","1355257341","1355257381"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a678d3541fe99ca21253ddf000e0a780.jpg","text":"TemporaryFile(/tmp/multipartBody7492105350357898502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176613676,"filename":"image_02052025_07_39_26_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84daea29da0a098ff0732e7647f3361b.jpg","text":"TemporaryFile(/tmp/multipartBody3725873059741085683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176613676,"filename":"image_02052025_07_39_06_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/722ded1674d13815862356c147a89e8a.jpg","text":"TemporaryFile(/tmp/multipartBody5820481778812292670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176613676,"filename":"image_02052025_07_39_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/5/2/671a1b2aa48c972917e09921e8985b76.jpg","text":"TemporaryFile(/tmp/multipartBody3661257856228553093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176613676,"filename":"image_02052025_07_39_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/5/2/06445ef4ce5ad5ae5ffaed7610bd7d15.jpg","text":"TemporaryFile(/tmp/multipartBody1605883748397890841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176613676,"filename":"image_02052025_07_38_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/5/2/5074ec47aedd96a839d1ca24677893f8.jpg","text":"TemporaryFile(/tmp/multipartBody7206099273013846111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176613676,"filename":"image_02052025_07_38_47_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355257284","file1":"1355257258","file0":"1355257240","file4":"1355257341","file5":"1355257381","file3":"1355257314"},"map_files_photo_id_array":[{"photo_id":"1355257381","filename":"file5"},{"photo_id":"1355257284","filename":"file2"},{"photo_id":"1355257341","filename":"file4"},{"photo_id":"1355257258","filename":"file1"},{"photo_id":"1355257240","filename":"file0"},{"photo_id":"1355257314","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355257341":["hashtag1","hashtag2"]},{"1355257284":["hashtag1","hashtag2"]},{"1355257314":["hashtag1","hashtag2"]},{"1355257381":["hashtag1","hashtag2"]},{"1355257258":["hashtag1","hashtag2"]},{"1355257240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355257341, 1355257284, 1355257314, 1355257381, 1355257258, 1355257240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79814624786377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:03:32.407158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/39/image_02052025_07_39_56_9442.jpg', '/home/pi/Desktop/images/02052025/07/39/image_02052025_07_40_07_10360.jpg', '/home/pi/Desktop/images/02052025/07/40/image_02052025_07_40_27_10450.jpg', '/home/pi/Desktop/images/02052025/07/40/image_02052025_07_40_37_10347.jpg', '/home/pi/Desktop/images/02052025/07/40/image_02052025_07_40_46_9360.jpg', '/home/pi/Desktop/images/02052025/07/40/image_02052025_07_40_57_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/39/image_02052025_07_39_56_9442.jpg
/home/pi/Desktop/images/02052025/07/39/image_02052025_07_40_07_10360.jpg
/home/pi/Desktop/images/02052025/07/40/image_02052025_07_40_27_10450.jpg
/home/pi/Desktop/images/02052025/07/40/image_02052025_07_40_37_10347.jpg
/home/pi/Desktop/images/02052025/07/40/image_02052025_07_40_46_9360.jpg
/home/pi/Desktop/images/02052025/07/40/image_02052025_07_40_57_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355257854","1355257812","1355257757","1355257786","1355257840","1355257729"],"photo_ids_order":["1355257729","1355257757","1355257786","1355257812","1355257840","1355257854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f65bd7b1af2e8e8573d82973b8974a59.jpg","text":"TemporaryFile(/tmp/multipartBody271995436660113068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176672943,"filename":"image_02052025_07_40_57_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cca6b9b5cedc8675eb946d27e746b06a.jpg","text":"TemporaryFile(/tmp/multipartBody7804505076711035258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176672943,"filename":"image_02052025_07_40_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/5/2/6a1910038568c79ed1cb536042f42ea6.jpg","text":"TemporaryFile(/tmp/multipartBody4889466757787725432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176672943,"filename":"image_02052025_07_40_07_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/123f9026de9a7c13fdccca231c5b0524.jpg","text":"TemporaryFile(/tmp/multipartBody2597236086008349425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176672943,"filename":"image_02052025_07_40_27_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2630e3b93e6267450c8849b04eae3e08.jpg","text":"TemporaryFile(/tmp/multipartBody1701872876410605937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176672943,"filename":"image_02052025_07_40_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/5/2/0a3bb69894217e9f7ee856296185750e.jpg","text":"TemporaryFile(/tmp/multipartBody4598834984048301675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176672943,"filename":"image_02052025_07_39_56_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355257786","file1":"1355257757","file0":"1355257729","file4":"1355257840","file5":"1355257854","file3":"1355257812"},"map_files_photo_id_array":[{"photo_id":"1355257854","filename":"file5"},{"photo_id":"1355257786","filename":"file2"},{"photo_id":"1355257840","filename":"file4"},{"photo_id":"1355257757","filename":"file1"},{"photo_id":"1355257729","filename":"file0"},{"photo_id":"1355257812","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355257854":["hashtag1","hashtag2"]},{"1355257812":["hashtag1","hashtag2"]},{"1355257757":["hashtag1","hashtag2"]},{"1355257786":["hashtag1","hashtag2"]},{"1355257840":["hashtag1","hashtag2"]},{"1355257729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355257854, 1355257812, 1355257757, 1355257786, 1355257840, 1355257729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67561197280884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:04:32.721462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/41/image_02052025_07_41_17_10458.jpg', '/home/pi/Desktop/images/02052025/07/41/image_02052025_07_41_27_10360.jpg', '/home/pi/Desktop/images/02052025/07/41/image_02052025_07_41_36_9387.jpg', '/home/pi/Desktop/images/02052025/07/41/image_02052025_07_41_47_10359.jpg', '/home/pi/Desktop/images/02052025/07/41/image_02052025_07_41_57_10373.jpg', '/home/pi/Desktop/images/02052025/07/41/image_02052025_07_42_06_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/41/image_02052025_07_41_17_10458.jpg
/home/pi/Desktop/images/02052025/07/41/image_02052025_07_41_27_10360.jpg
/home/pi/Desktop/images/02052025/07/41/image_02052025_07_41_36_9387.jpg
/home/pi/Desktop/images/02052025/07/41/image_02052025_07_41_47_10359.jpg
/home/pi/Desktop/images/02052025/07/41/image_02052025_07_41_57_10373.jpg
/home/pi/Desktop/images/02052025/07/41/image_02052025_07_42_06_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355258177","1355258162","1355258173","1355258175","1355258169","1355258139"],"photo_ids_order":["1355258139","1355258162","1355258169","1355258173","1355258175","1355258177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8ca1ee8ed19e2fa2a8cf175ac8555ed1.jpg","text":"TemporaryFile(/tmp/multipartBody3403951798519263300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176733186,"filename":"image_02052025_07_42_06_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ca91f1c69b2be489b378ef1fc88f902c.jpg","text":"TemporaryFile(/tmp/multipartBody2694544272492525183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176733186,"filename":"image_02052025_07_41_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bab2874bde642bdf33649804574b7902.jpg","text":"TemporaryFile(/tmp/multipartBody8096835810053805140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176733186,"filename":"image_02052025_07_41_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/5/2/9e43c6944ce739134573dbca878e2f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8954844219370347605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176733186,"filename":"image_02052025_07_41_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ec5e1028e6df45255e056d4525fc28c.jpg","text":"TemporaryFile(/tmp/multipartBody5050578684960085349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176733186,"filename":"image_02052025_07_41_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/5/2/15c8a6cb16330375c56b01a71ff5d8ed.jpg","text":"TemporaryFile(/tmp/multipartBody7184964643474172625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176733186,"filename":"image_02052025_07_41_17_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355258169","file1":"1355258162","file0":"1355258139","file4":"1355258175","file5":"1355258177","file3":"1355258173"},"map_files_photo_id_array":[{"photo_id":"1355258177","filename":"file5"},{"photo_id":"1355258169","filename":"file2"},{"photo_id":"1355258175","filename":"file4"},{"photo_id":"1355258162","filename":"file1"},{"photo_id":"1355258139","filename":"file0"},{"photo_id":"1355258173","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355258177":["hashtag1","hashtag2"]},{"1355258162":["hashtag1","hashtag2"]},{"1355258173":["hashtag1","hashtag2"]},{"1355258175":["hashtag1","hashtag2"]},{"1355258169":["hashtag1","hashtag2"]},{"1355258139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355258177, 1355258162, 1355258173, 1355258175, 1355258169, 1355258139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66839289665222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:05:32.943228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/42/image_02052025_07_42_26_9358.jpg', '/home/pi/Desktop/images/02052025/07/42/image_02052025_07_42_37_10351.jpg', '/home/pi/Desktop/images/02052025/07/42/image_02052025_07_42_47_10370.jpg', '/home/pi/Desktop/images/02052025/07/42/image_02052025_07_42_56_9467.jpg', '/home/pi/Desktop/images/02052025/07/42/image_02052025_07_43_07_10334.jpg', '/home/pi/Desktop/images/02052025/07/43/image_02052025_07_43_17_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/42/image_02052025_07_42_26_9358.jpg
/home/pi/Desktop/images/02052025/07/42/image_02052025_07_42_37_10351.jpg
/home/pi/Desktop/images/02052025/07/42/image_02052025_07_42_47_10370.jpg
/home/pi/Desktop/images/02052025/07/42/image_02052025_07_42_56_9467.jpg
/home/pi/Desktop/images/02052025/07/42/image_02052025_07_43_07_10334.jpg
/home/pi/Desktop/images/02052025/07/43/image_02052025_07_43_17_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355258232","1355258226","1355258210","1355258206","1355258218","1355258235"],"photo_ids_order":["1355258206","1355258210","1355258218","1355258226","1355258232","1355258235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/694255d7646e83a27674676751253233.jpg","text":"TemporaryFile(/tmp/multipartBody5068079725538259484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176793409,"filename":"image_02052025_07_43_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/5/2/648dcd73cc83eb8758a8e070777cffa5.jpg","text":"TemporaryFile(/tmp/multipartBody4243089949811613587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176793409,"filename":"image_02052025_07_42_56_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bae7b3a658b8e121bcdbe3c5ea5d302e.jpg","text":"TemporaryFile(/tmp/multipartBody7362956791581118149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176793409,"filename":"image_02052025_07_42_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/5/2/eb5065253bf975659dcf507975041409.jpg","text":"TemporaryFile(/tmp/multipartBody8554169420972878644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176793409,"filename":"image_02052025_07_42_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/5/2/3d785c74f19220da04035ced366bf6a5.jpg","text":"TemporaryFile(/tmp/multipartBody3040579557227569954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176793409,"filename":"image_02052025_07_42_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55830357a163d27dfd4654b6e0e8b747.jpg","text":"TemporaryFile(/tmp/multipartBody8467703780027127269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176793409,"filename":"image_02052025_07_43_17_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355258218","file1":"1355258210","file0":"1355258206","file4":"1355258232","file5":"1355258235","file3":"1355258226"},"map_files_photo_id_array":[{"photo_id":"1355258235","filename":"file5"},{"photo_id":"1355258218","filename":"file2"},{"photo_id":"1355258232","filename":"file4"},{"photo_id":"1355258210","filename":"file1"},{"photo_id":"1355258206","filename":"file0"},{"photo_id":"1355258226","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355258232":["hashtag1","hashtag2"]},{"1355258226":["hashtag1","hashtag2"]},{"1355258210":["hashtag1","hashtag2"]},{"1355258206":["hashtag1","hashtag2"]},{"1355258218":["hashtag1","hashtag2"]},{"1355258235":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355258232, 1355258226, 1355258210, 1355258206, 1355258218, 1355258235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22485017776489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:06:33.151615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/43/image_02052025_07_43_37_10344.jpg', '/home/pi/Desktop/images/02052025/07/43/image_02052025_07_43_46_9366.jpg', '/home/pi/Desktop/images/02052025/07/43/image_02052025_07_44_07_10370.jpg', '/home/pi/Desktop/images/02052025/07/44/image_02052025_07_44_16_9385.jpg', '/home/pi/Desktop/images/02052025/07/44/image_02052025_07_44_57_10344.jpg', '/home/pi/Desktop/images/02052025/07/45/image_02052025_07_45_17_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/43/image_02052025_07_43_37_10344.jpg
/home/pi/Desktop/images/02052025/07/43/image_02052025_07_43_46_9366.jpg
/home/pi/Desktop/images/02052025/07/43/image_02052025_07_44_07_10370.jpg
/home/pi/Desktop/images/02052025/07/44/image_02052025_07_44_16_9385.jpg
/home/pi/Desktop/images/02052025/07/44/image_02052025_07_44_57_10344.jpg
/home/pi/Desktop/images/02052025/07/45/image_02052025_07_45_17_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355258285","1355258273","1355258283","1355258280","1355258268","1355258277"],"photo_ids_order":["1355258268","1355258273","1355258277","1355258280","1355258283","1355258285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f2e2306a8deae38161108ba49195fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2275871704348037527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176853626,"filename":"image_02052025_07_45_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0fe68e9ba78b24eecf80586e1cc6a8e6.jpg","text":"TemporaryFile(/tmp/multipartBody5556712438892416267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176853626,"filename":"image_02052025_07_43_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/5/2/6494ec50ca2071daaa04a7bf50784bc4.jpg","text":"TemporaryFile(/tmp/multipartBody1135981503369570562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176853626,"filename":"image_02052025_07_44_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/5/2/d621f96930fcf8dde99b310d1f701e88.jpg","text":"TemporaryFile(/tmp/multipartBody7541978711927230224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176853626,"filename":"image_02052025_07_44_16_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bacc481177f4a73327aca1b315977115.jpg","text":"TemporaryFile(/tmp/multipartBody6433877846572473442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176853626,"filename":"image_02052025_07_43_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/5/2/70d232b0e14dcd4347cc2b7c53ffa715.jpg","text":"TemporaryFile(/tmp/multipartBody726784758755288851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176853626,"filename":"image_02052025_07_44_07_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355258277","file1":"1355258273","file0":"1355258268","file4":"1355258283","file5":"1355258285","file3":"1355258280"},"map_files_photo_id_array":[{"photo_id":"1355258285","filename":"file5"},{"photo_id":"1355258277","filename":"file2"},{"photo_id":"1355258283","filename":"file4"},{"photo_id":"1355258273","filename":"file1"},{"photo_id":"1355258268","filename":"file0"},{"photo_id":"1355258280","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355258285":["hashtag1","hashtag2"]},{"1355258273":["hashtag1","hashtag2"]},{"1355258283":["hashtag1","hashtag2"]},{"1355258280":["hashtag1","hashtag2"]},{"1355258268":["hashtag1","hashtag2"]},{"1355258277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355258285, 1355258273, 1355258283, 1355258280, 1355258268, 1355258277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.739673376083374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:07:32.468978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/45/image_02052025_07_45_27_10344.jpg', '/home/pi/Desktop/images/02052025/07/45/image_02052025_07_45_36_9379.jpg', '/home/pi/Desktop/images/02052025/07/45/image_02052025_07_45_47_10366.jpg', '/home/pi/Desktop/images/02052025/07/45/image_02052025_07_45_57_10385.jpg', '/home/pi/Desktop/images/02052025/07/45/image_02052025_07_46_07_9416.jpg', '/home/pi/Desktop/images/02052025/07/46/image_02052025_07_46_17_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/45/image_02052025_07_45_27_10344.jpg
/home/pi/Desktop/images/02052025/07/45/image_02052025_07_45_36_9379.jpg
/home/pi/Desktop/images/02052025/07/45/image_02052025_07_45_47_10366.jpg
/home/pi/Desktop/images/02052025/07/45/image_02052025_07_45_57_10385.jpg
/home/pi/Desktop/images/02052025/07/45/image_02052025_07_46_07_9416.jpg
/home/pi/Desktop/images/02052025/07/46/image_02052025_07_46_17_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":["1355258325","1355258319","1355258313","1355258307","1355258317","1355258322"],"photo_ids_order":["1355258307","1355258313","1355258317","1355258319","1355258322","1355258325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c9f1ec4a79eabf87a02974ebdba286c.jpg","text":"TemporaryFile(/tmp/multipartBody431619410617377537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176912940,"filename":"image_02052025_07_46_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e55023d55414422d365a458391a7878.jpg","text":"TemporaryFile(/tmp/multipartBody3444501417230844155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176912940,"filename":"image_02052025_07_45_57_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b98965fc6f45744ef8201df3e362e1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1368374414928291891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176912940,"filename":"image_02052025_07_45_36_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/177c81bbc596122b6694825c0f7c4c08.jpg","text":"TemporaryFile(/tmp/multipartBody4287158762998678019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176912940,"filename":"image_02052025_07_45_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/5/2/141f72716b798662817ae6d18870f2cc.jpg","text":"TemporaryFile(/tmp/multipartBody1313870736946786621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176912940,"filename":"image_02052025_07_45_47_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9dea96a479896f8b4815e57c99868a17.jpg","text":"TemporaryFile(/tmp/multipartBody7458517708223577624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176912940,"filename":"image_02052025_07_46_07_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355258317","file1":"1355258313","file0":"1355258307","file4":"1355258322","file5":"1355258325","file3":"1355258319"},"map_files_photo_id_array":[{"photo_id":"1355258325","filename":"file5"},{"photo_id":"1355258317","filename":"file2"},{"photo_id":"1355258322","filename":"file4"},{"photo_id":"1355258313","filename":"file1"},{"photo_id":"1355258307","filename":"file0"},{"photo_id":"1355258319","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355258325":["hashtag1","hashtag2"]},{"1355258319":["hashtag1","hashtag2"]},{"1355258313":["hashtag1","hashtag2"]},{"1355258307":["hashtag1","hashtag2"]},{"1355258317":["hashtag1","hashtag2"]},{"1355258322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355258325, 1355258319, 1355258313, 1355258307, 1355258317, 1355258322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.46290636062622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:08:32.577964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/46/image_02052025_07_46_26_9409.jpg', '/home/pi/Desktop/images/02052025/07/46/image_02052025_07_46_37_10349.jpg', '/home/pi/Desktop/images/02052025/07/46/image_02052025_07_46_47_10368.jpg', '/home/pi/Desktop/images/02052025/07/47/image_02052025_07_47_16_9410.jpg', '/home/pi/Desktop/images/02052025/07/47/image_02052025_07_47_27_10450.jpg', '/home/pi/Desktop/images/02052025/07/47/image_02052025_07_47_37_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/46/image_02052025_07_46_26_9409.jpg
/home/pi/Desktop/images/02052025/07/46/image_02052025_07_46_37_10349.jpg
/home/pi/Desktop/images/02052025/07/46/image_02052025_07_46_47_10368.jpg
/home/pi/Desktop/images/02052025/07/47/image_02052025_07_47_16_9410.jpg
/home/pi/Desktop/images/02052025/07/47/image_02052025_07_47_27_10450.jpg
/home/pi/Desktop/images/02052025/07/47/image_02052025_07_47_37_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":["1355258418","1355258411","1355258420","1355258347","1355258379","1355258415"],"photo_ids_order":["1355258347","1355258379","1355258411","1355258415","1355258418","1355258420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/14def9d779ca3b2b9fbcbc054e307c3e.jpg","text":"TemporaryFile(/tmp/multipartBody785975074640526259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176973052,"filename":"image_02052025_07_47_27_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/193f6a4c9000555d39cfac3ada103a06.jpg","text":"TemporaryFile(/tmp/multipartBody3382115722553673422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176973052,"filename":"image_02052025_07_46_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/61492fd6e532ec2b19c8b4849b7dfe6e.jpg","text":"TemporaryFile(/tmp/multipartBody9221928861301427420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176973052,"filename":"image_02052025_07_47_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0380f2ff82a1c294443f7c3107949d8a.jpg","text":"TemporaryFile(/tmp/multipartBody7122106521557520342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176973052,"filename":"image_02052025_07_46_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/5/2/11a7fe0f063462d134d52c8742ad8082.jpg","text":"TemporaryFile(/tmp/multipartBody368471684729046826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176973052,"filename":"image_02052025_07_46_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d109a6fc1a651114268e64b5a6c5a69.jpg","text":"TemporaryFile(/tmp/multipartBody8732784022992536505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746176973052,"filename":"image_02052025_07_47_16_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355258411","file1":"1355258379","file0":"1355258347","file4":"1355258418","file5":"1355258420","file3":"1355258415"},"map_files_photo_id_array":[{"photo_id":"1355258420","filename":"file5"},{"photo_id":"1355258411","filename":"file2"},{"photo_id":"1355258418","filename":"file4"},{"photo_id":"1355258379","filename":"file1"},{"photo_id":"1355258347","filename":"file0"},{"photo_id":"1355258415","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355258418":["hashtag1","hashtag2"]},{"1355258411":["hashtag1","hashtag2"]},{"1355258420":["hashtag1","hashtag2"]},{"1355258347":["hashtag1","hashtag2"]},{"1355258379":["hashtag1","hashtag2"]},{"1355258415":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355258418, 1355258411, 1355258420, 1355258347, 1355258379, 1355258415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.294846773147583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:09:32.864202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/47/image_02052025_07_47_57_10456.jpg', '/home/pi/Desktop/images/02052025/07/47/image_02052025_07_48_06_9354.jpg', '/home/pi/Desktop/images/02052025/07/48/image_02052025_07_48_17_10464.jpg', '/home/pi/Desktop/images/02052025/07/48/image_02052025_07_48_27_10380.jpg', '/home/pi/Desktop/images/02052025/07/48/image_02052025_07_48_36_9339.jpg', '/home/pi/Desktop/images/02052025/07/48/image_02052025_07_48_47_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/47/image_02052025_07_47_57_10456.jpg
/home/pi/Desktop/images/02052025/07/47/image_02052025_07_48_06_9354.jpg
/home/pi/Desktop/images/02052025/07/48/image_02052025_07_48_17_10464.jpg
/home/pi/Desktop/images/02052025/07/48/image_02052025_07_48_27_10380.jpg
/home/pi/Desktop/images/02052025/07/48/image_02052025_07_48_36_9339.jpg
/home/pi/Desktop/images/02052025/07/48/image_02052025_07_48_47_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":["1355258538","1355258495","1355258534","1355258515","1355258503","1355258499"],"photo_ids_order":["1355258495","1355258499","1355258503","1355258515","1355258534","1355258538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb8bb74dafe0d849571f9e8671fd44ee.jpg","text":"TemporaryFile(/tmp/multipartBody15985983966289236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177033344,"filename":"image_02052025_07_48_47_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cf90d826d983bb198d6fbb11947ef2b9.jpg","text":"TemporaryFile(/tmp/multipartBody6740821777967128403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177033344,"filename":"image_02052025_07_47_57_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d8c9955cb98156c82a007ae29f6d13e.jpg","text":"TemporaryFile(/tmp/multipartBody6608604282294786448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177033344,"filename":"image_02052025_07_48_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/5/2/b890c7a4b3288ba549b58358980b76ad.jpg","text":"TemporaryFile(/tmp/multipartBody3177199631518668228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177033344,"filename":"image_02052025_07_48_27_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1fb2206a65161cce6bc2e80a8cd92b68.jpg","text":"TemporaryFile(/tmp/multipartBody863666545837090487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177033344,"filename":"image_02052025_07_48_17_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5dfa4716d989459776551fd655ddbf62.jpg","text":"TemporaryFile(/tmp/multipartBody4787368785594383098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177033344,"filename":"image_02052025_07_48_06_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355258503","file1":"1355258499","file0":"1355258495","file4":"1355258534","file5":"1355258538","file3":"1355258515"},"map_files_photo_id_array":[{"photo_id":"1355258538","filename":"file5"},{"photo_id":"1355258503","filename":"file2"},{"photo_id":"1355258534","filename":"file4"},{"photo_id":"1355258499","filename":"file1"},{"photo_id":"1355258495","filename":"file0"},{"photo_id":"1355258515","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355258538":["hashtag1","hashtag2"]},{"1355258495":["hashtag1","hashtag2"]},{"1355258534":["hashtag1","hashtag2"]},{"1355258515":["hashtag1","hashtag2"]},{"1355258503":["hashtag1","hashtag2"]},{"1355258499":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355258538, 1355258495, 1355258534, 1355258515, 1355258503, 1355258499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.864794969558716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:10:32.962417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/49/image_02052025_07_49_17_10347.jpg', '/home/pi/Desktop/images/02052025/07/49/image_02052025_07_49_37_10412.jpg', '/home/pi/Desktop/images/02052025/07/49/image_02052025_07_49_47_10366.jpg', '/home/pi/Desktop/images/02052025/07/49/image_02052025_07_49_56_9346.jpg', '/home/pi/Desktop/images/02052025/07/49/image_02052025_07_50_07_10362.jpg', '/home/pi/Desktop/images/02052025/07/50/image_02052025_07_50_16_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/49/image_02052025_07_49_17_10347.jpg
/home/pi/Desktop/images/02052025/07/49/image_02052025_07_49_37_10412.jpg
/home/pi/Desktop/images/02052025/07/49/image_02052025_07_49_47_10366.jpg
/home/pi/Desktop/images/02052025/07/49/image_02052025_07_49_56_9346.jpg
/home/pi/Desktop/images/02052025/07/49/image_02052025_07_50_07_10362.jpg
/home/pi/Desktop/images/02052025/07/50/image_02052025_07_50_16_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":["1355258637","1355258656","1355258697","1355258676","1355258679","1355258667"],"photo_ids_order":["1355258637","1355258656","1355258667","1355258676","1355258679","1355258697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/72989f285b26fa109818829cd51fee00.jpg","text":"TemporaryFile(/tmp/multipartBody6590207663050653301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177093420,"filename":"image_02052025_07_49_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/5/2/f1b9a6bd8fb2543e6d0d46c5a9b3e74a.jpg","text":"TemporaryFile(/tmp/multipartBody3629163921086649010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177093420,"filename":"image_02052025_07_49_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/5/2/a3d0d34e401b05bcbddf53271c4b6dd0.jpg","text":"TemporaryFile(/tmp/multipartBody2278790018803735358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177093420,"filename":"image_02052025_07_50_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/5/2/69e788dad536aaed7dd85859403cbdc7.jpg","text":"TemporaryFile(/tmp/multipartBody7828328387819731110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177093420,"filename":"image_02052025_07_49_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/5/2/7ad84343d94dc4bf6aeeb4fea1f6a47f.jpg","text":"TemporaryFile(/tmp/multipartBody4792479382964478925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177093420,"filename":"image_02052025_07_50_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/5/2/2b5d50afc323d1dc328af38018382e6f.jpg","text":"TemporaryFile(/tmp/multipartBody230866476912708017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177093420,"filename":"image_02052025_07_49_47_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355258667","file1":"1355258656","file0":"1355258637","file4":"1355258679","file5":"1355258697","file3":"1355258676"},"map_files_photo_id_array":[{"photo_id":"1355258697","filename":"file5"},{"photo_id":"1355258667","filename":"file2"},{"photo_id":"1355258679","filename":"file4"},{"photo_id":"1355258656","filename":"file1"},{"photo_id":"1355258637","filename":"file0"},{"photo_id":"1355258676","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355258637":["hashtag1","hashtag2"]},{"1355258656":["hashtag1","hashtag2"]},{"1355258697":["hashtag1","hashtag2"]},{"1355258676":["hashtag1","hashtag2"]},{"1355258679":["hashtag1","hashtag2"]},{"1355258667":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355258637, 1355258656, 1355258697, 1355258676, 1355258679, 1355258667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.806211471557617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:11:32.246528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/50/image_02052025_07_50_37_10422.jpg', '/home/pi/Desktop/images/02052025/07/50/image_02052025_07_50_46_9514.jpg', '/home/pi/Desktop/images/02052025/07/50/image_02052025_07_50_57_10416.jpg', '/home/pi/Desktop/images/02052025/07/50/image_02052025_07_51_06_9319.jpg', '/home/pi/Desktop/images/02052025/07/51/image_02052025_07_51_17_10458.jpg', '/home/pi/Desktop/images/02052025/07/51/image_02052025_07_51_27_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/50/image_02052025_07_50_37_10422.jpg
/home/pi/Desktop/images/02052025/07/50/image_02052025_07_50_46_9514.jpg
/home/pi/Desktop/images/02052025/07/50/image_02052025_07_50_57_10416.jpg
/home/pi/Desktop/images/02052025/07/50/image_02052025_07_51_06_9319.jpg
/home/pi/Desktop/images/02052025/07/51/image_02052025_07_51_17_10458.jpg
/home/pi/Desktop/images/02052025/07/51/image_02052025_07_51_27_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":["1355259065","1355259029","1355259055","1355259060","1355259063","1355259057"],"photo_ids_order":["1355259029","1355259055","1355259057","1355259060","1355259063","1355259065"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/76cd9130e8283824895ed66363d6ad40.jpg","text":"TemporaryFile(/tmp/multipartBody104986239400943044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177152709,"filename":"image_02052025_07_51_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/5/2/31fc3c33249e56f466c7ab50ed486fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1166942452598129226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177152709,"filename":"image_02052025_07_50_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/5/2/7aa8f28da354bc023957676b29110973.jpg","text":"TemporaryFile(/tmp/multipartBody7251797899865239199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177152709,"filename":"image_02052025_07_50_46_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5154b27accc85f70834f97d5367c5c10.jpg","text":"TemporaryFile(/tmp/multipartBody8804717502894430405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177152709,"filename":"image_02052025_07_51_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/5/2/630f8972279d01820ea7fcc1ffa76a28.jpg","text":"TemporaryFile(/tmp/multipartBody6580473772423093074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177152709,"filename":"image_02052025_07_51_17_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/17424b6e005d612c984a1ee181865b63.jpg","text":"TemporaryFile(/tmp/multipartBody7327464542939961602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177152709,"filename":"image_02052025_07_50_57_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355259057","file1":"1355259055","file0":"1355259029","file4":"1355259063","file5":"1355259065","file3":"1355259060"},"map_files_photo_id_array":[{"photo_id":"1355259065","filename":"file5"},{"photo_id":"1355259057","filename":"file2"},{"photo_id":"1355259063","filename":"file4"},{"photo_id":"1355259055","filename":"file1"},{"photo_id":"1355259029","filename":"file0"},{"photo_id":"1355259060","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355259065":["hashtag1","hashtag2"]},{"1355259029":["hashtag1","hashtag2"]},{"1355259055":["hashtag1","hashtag2"]},{"1355259060":["hashtag1","hashtag2"]},{"1355259063":["hashtag1","hashtag2"]},{"1355259057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355259065, 1355259029, 1355259055, 1355259060, 1355259063, 1355259057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.215327739715576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:12:32.405178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/51/image_02052025_07_51_36_9372.jpg', '/home/pi/Desktop/images/02052025/07/51/image_02052025_07_51_47_10360.jpg', '/home/pi/Desktop/images/02052025/07/51/image_02052025_07_51_56_9426.jpg', '/home/pi/Desktop/images/02052025/07/51/image_02052025_07_52_07_10385.jpg', '/home/pi/Desktop/images/02052025/07/52/image_02052025_07_52_17_10337.jpg', '/home/pi/Desktop/images/02052025/07/52/image_02052025_07_52_26_9494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/51/image_02052025_07_51_36_9372.jpg
/home/pi/Desktop/images/02052025/07/51/image_02052025_07_51_47_10360.jpg
/home/pi/Desktop/images/02052025/07/51/image_02052025_07_51_56_9426.jpg
/home/pi/Desktop/images/02052025/07/51/image_02052025_07_52_07_10385.jpg
/home/pi/Desktop/images/02052025/07/52/image_02052025_07_52_17_10337.jpg
/home/pi/Desktop/images/02052025/07/52/image_02052025_07_52_26_9494.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355259203","1355259220","1355259217","1355259208","1355259213","1355259197"],"photo_ids_order":["1355259197","1355259203","1355259208","1355259213","1355259217","1355259220"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2cdb74e5f9c459ae6967e67985a41f7b.jpg","text":"TemporaryFile(/tmp/multipartBody3341173079512518081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177212887,"filename":"image_02052025_07_51_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/5/2/dd322a2a9a43203e58d2e49ba279687c.jpg","text":"TemporaryFile(/tmp/multipartBody3664883002295858565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177212887,"filename":"image_02052025_07_52_26_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f035e2c3a09dbebf8bba97f4e57fdc62.jpg","text":"TemporaryFile(/tmp/multipartBody5864204048363585618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177212887,"filename":"image_02052025_07_52_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/5/2/f4d20216fe33b922184522e6f1d50780.jpg","text":"TemporaryFile(/tmp/multipartBody3980256221939432329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177212887,"filename":"image_02052025_07_51_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/5/2/141ca424ccda64a3847ef3d051740ba1.jpg","text":"TemporaryFile(/tmp/multipartBody6689033530799620388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177212887,"filename":"image_02052025_07_52_07_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6569d2ad7a6f3f6d1eefad2fe6849e95.jpg","text":"TemporaryFile(/tmp/multipartBody8366168944187196492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177212887,"filename":"image_02052025_07_51_36_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355259208","file1":"1355259203","file0":"1355259197","file4":"1355259217","file5":"1355259220","file3":"1355259213"},"map_files_photo_id_array":[{"photo_id":"1355259220","filename":"file5"},{"photo_id":"1355259208","filename":"file2"},{"photo_id":"1355259217","filename":"file4"},{"photo_id":"1355259203","filename":"file1"},{"photo_id":"1355259197","filename":"file0"},{"photo_id":"1355259213","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355259203":["hashtag1","hashtag2"]},{"1355259220":["hashtag1","hashtag2"]},{"1355259217":["hashtag1","hashtag2"]},{"1355259208":["hashtag1","hashtag2"]},{"1355259213":["hashtag1","hashtag2"]},{"1355259197":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355259203, 1355259220, 1355259217, 1355259208, 1355259213, 1355259197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.534032583236694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:13:32.637533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/52/image_02052025_07_52_37_10351.jpg', '/home/pi/Desktop/images/02052025/07/52/image_02052025_07_52_46_9568.jpg', '/home/pi/Desktop/images/02052025/07/52/image_02052025_07_53_07_10346.jpg', '/home/pi/Desktop/images/02052025/07/53/image_02052025_07_53_16_9376.jpg', '/home/pi/Desktop/images/02052025/07/53/image_02052025_07_53_37_10330.jpg', '/home/pi/Desktop/images/02052025/07/53/image_02052025_07_53_47_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/52/image_02052025_07_52_37_10351.jpg
/home/pi/Desktop/images/02052025/07/52/image_02052025_07_52_46_9568.jpg
/home/pi/Desktop/images/02052025/07/52/image_02052025_07_53_07_10346.jpg
/home/pi/Desktop/images/02052025/07/53/image_02052025_07_53_16_9376.jpg
/home/pi/Desktop/images/02052025/07/53/image_02052025_07_53_37_10330.jpg
/home/pi/Desktop/images/02052025/07/53/image_02052025_07_53_47_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355259521","1355259518","1355259531","1355259525","1355259528","1355259513"],"photo_ids_order":["1355259513","1355259518","1355259521","1355259525","1355259528","1355259531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8ba9e946a03e435026f44c4a8c0790bd.jpg","text":"TemporaryFile(/tmp/multipartBody4491668835995682346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177273097,"filename":"image_02052025_07_53_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/5/2/678a613391cddb29a8615709ff888117.jpg","text":"TemporaryFile(/tmp/multipartBody2665317775919240055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177273097,"filename":"image_02052025_07_52_46_9568.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/62836f1802814bef2743b816cf61e36a.jpg","text":"TemporaryFile(/tmp/multipartBody2611148563589489209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177273097,"filename":"image_02052025_07_53_47_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d0f1eb84e3965bbc921a59196774df47.jpg","text":"TemporaryFile(/tmp/multipartBody3365470807069737656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177273097,"filename":"image_02052025_07_53_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/5/2/398e4e9a486af7e198413dec9a9d4928.jpg","text":"TemporaryFile(/tmp/multipartBody8363243863968083611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177273097,"filename":"image_02052025_07_53_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/5/2/6a46d5eeece7548e1baea37ea4706e9d.jpg","text":"TemporaryFile(/tmp/multipartBody470618364760693041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177273097,"filename":"image_02052025_07_52_37_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355259521","file1":"1355259518","file0":"1355259513","file4":"1355259528","file5":"1355259531","file3":"1355259525"},"map_files_photo_id_array":[{"photo_id":"1355259531","filename":"file5"},{"photo_id":"1355259521","filename":"file2"},{"photo_id":"1355259528","filename":"file4"},{"photo_id":"1355259518","filename":"file1"},{"photo_id":"1355259513","filename":"file0"},{"photo_id":"1355259525","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355259521":["hashtag1","hashtag2"]},{"1355259518":["hashtag1","hashtag2"]},{"1355259531":["hashtag1","hashtag2"]},{"1355259525":["hashtag1","hashtag2"]},{"1355259528":["hashtag1","hashtag2"]},{"1355259513":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355259521, 1355259518, 1355259531, 1355259525, 1355259528, 1355259513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95998811721802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:14:32.938296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/53/image_02052025_07_53_57_10358.jpg', '/home/pi/Desktop/images/02052025/07/53/image_02052025_07_54_06_9433.jpg', '/home/pi/Desktop/images/02052025/07/54/image_02052025_07_54_17_10350.jpg', '/home/pi/Desktop/images/02052025/07/54/image_02052025_07_54_27_10360.jpg', '/home/pi/Desktop/images/02052025/07/54/image_02052025_07_54_36_9322.jpg', '/home/pi/Desktop/images/02052025/07/54/image_02052025_07_54_47_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/53/image_02052025_07_53_57_10358.jpg
/home/pi/Desktop/images/02052025/07/53/image_02052025_07_54_06_9433.jpg
/home/pi/Desktop/images/02052025/07/54/image_02052025_07_54_17_10350.jpg
/home/pi/Desktop/images/02052025/07/54/image_02052025_07_54_27_10360.jpg
/home/pi/Desktop/images/02052025/07/54/image_02052025_07_54_36_9322.jpg
/home/pi/Desktop/images/02052025/07/54/image_02052025_07_54_47_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":["1355259569","1355259562","1355259573","1355259576","1355259558","1355259578"],"photo_ids_order":["1355259558","1355259562","1355259569","1355259573","1355259576","1355259578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/83a8d7af55f6cf1c902f54e4277eab0a.jpg","text":"TemporaryFile(/tmp/multipartBody3902602789345865639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177333396,"filename":"image_02052025_07_54_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/5/2/edf09644dcdd4c5b9f184ffb0b9e7e80.jpg","text":"TemporaryFile(/tmp/multipartBody1524270606321138906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177333396,"filename":"image_02052025_07_54_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/5/2/a8a32386ec7813cd7b36d7f9f87223fd.jpg","text":"TemporaryFile(/tmp/multipartBody2827224347094782429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177333396,"filename":"image_02052025_07_54_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/5/2/714607ed1bd8b133910f113c5a496823.jpg","text":"TemporaryFile(/tmp/multipartBody2833851327977652538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177333396,"filename":"image_02052025_07_54_36_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a980c1f55da33cc1ce0f0a793a34901.jpg","text":"TemporaryFile(/tmp/multipartBody5288891558587405665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177333396,"filename":"image_02052025_07_53_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/5/2/0b824f7581554cbc8fc99235379c07a6.jpg","text":"TemporaryFile(/tmp/multipartBody7857634662413495384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177333396,"filename":"image_02052025_07_54_47_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355259569","file1":"1355259562","file0":"1355259558","file4":"1355259576","file5":"1355259578","file3":"1355259573"},"map_files_photo_id_array":[{"photo_id":"1355259578","filename":"file5"},{"photo_id":"1355259569","filename":"file2"},{"photo_id":"1355259576","filename":"file4"},{"photo_id":"1355259562","filename":"file1"},{"photo_id":"1355259558","filename":"file0"},{"photo_id":"1355259573","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355259569":["hashtag1","hashtag2"]},{"1355259562":["hashtag1","hashtag2"]},{"1355259573":["hashtag1","hashtag2"]},{"1355259576":["hashtag1","hashtag2"]},{"1355259558":["hashtag1","hashtag2"]},{"1355259578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355259569, 1355259562, 1355259573, 1355259576, 1355259558, 1355259578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.176464796066284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:15:32.173510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/54/image_02052025_07_54_57_10374.jpg', '/home/pi/Desktop/images/02052025/07/54/image_02052025_07_55_06_9336.jpg', '/home/pi/Desktop/images/02052025/07/55/image_02052025_07_55_17_10377.jpg', '/home/pi/Desktop/images/02052025/07/55/image_02052025_07_55_26_9355.jpg', '/home/pi/Desktop/images/02052025/07/55/image_02052025_07_55_37_10364.jpg', '/home/pi/Desktop/images/02052025/07/55/image_02052025_07_55_47_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/54/image_02052025_07_54_57_10374.jpg
/home/pi/Desktop/images/02052025/07/54/image_02052025_07_55_06_9336.jpg
/home/pi/Desktop/images/02052025/07/55/image_02052025_07_55_17_10377.jpg
/home/pi/Desktop/images/02052025/07/55/image_02052025_07_55_26_9355.jpg
/home/pi/Desktop/images/02052025/07/55/image_02052025_07_55_37_10364.jpg
/home/pi/Desktop/images/02052025/07/55/image_02052025_07_55_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":["1355259635","1355259638","1355259631","1355259634","1355259648","1355259627"],"photo_ids_order":["1355259627","1355259631","1355259634","1355259635","1355259638","1355259648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d70cacddd15c4abe0d8c08a10180ff5.jpg","text":"TemporaryFile(/tmp/multipartBody7110282778979349920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177392649,"filename":"image_02052025_07_55_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d466488824d7233075d0f367cff66a1.jpg","text":"TemporaryFile(/tmp/multipartBody1978598824123423648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177392649,"filename":"image_02052025_07_55_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/24701ea75fb64d8fb8e0e0a798bb50c3.jpg","text":"TemporaryFile(/tmp/multipartBody7599951923249015010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177392649,"filename":"image_02052025_07_55_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9fb0b9aeacb40ec6a04695eff5cbb475.jpg","text":"TemporaryFile(/tmp/multipartBody8397090875753447809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177392649,"filename":"image_02052025_07_55_17_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/924c101df7ee668bff32c945a7f314f2.jpg","text":"TemporaryFile(/tmp/multipartBody7918925584799731155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177392649,"filename":"image_02052025_07_55_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/5/2/b9e603043dcb49c13a612b88c9ba9b57.jpg","text":"TemporaryFile(/tmp/multipartBody4994484642857947234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177392649,"filename":"image_02052025_07_54_57_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355259634","file1":"1355259631","file0":"1355259627","file4":"1355259638","file5":"1355259648","file3":"1355259635"},"map_files_photo_id_array":[{"photo_id":"1355259648","filename":"file5"},{"photo_id":"1355259634","filename":"file2"},{"photo_id":"1355259638","filename":"file4"},{"photo_id":"1355259631","filename":"file1"},{"photo_id":"1355259627","filename":"file0"},{"photo_id":"1355259635","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355259635":["hashtag1","hashtag2"]},{"1355259638":["hashtag1","hashtag2"]},{"1355259631":["hashtag1","hashtag2"]},{"1355259634":["hashtag1","hashtag2"]},{"1355259648":["hashtag1","hashtag2"]},{"1355259627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355259635, 1355259638, 1355259631, 1355259634, 1355259648, 1355259627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.252758979797363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:16:32.344347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/55/image_02052025_07_55_56_9429.jpg', '/home/pi/Desktop/images/02052025/07/55/image_02052025_07_56_07_10358.jpg', '/home/pi/Desktop/images/02052025/07/56/image_02052025_07_56_17_10407.jpg', '/home/pi/Desktop/images/02052025/07/56/image_02052025_07_56_37_10333.jpg', '/home/pi/Desktop/images/02052025/07/56/image_02052025_07_56_46_9439.jpg', '/home/pi/Desktop/images/02052025/07/57/image_02052025_07_57_27_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/55/image_02052025_07_55_56_9429.jpg
/home/pi/Desktop/images/02052025/07/55/image_02052025_07_56_07_10358.jpg
/home/pi/Desktop/images/02052025/07/56/image_02052025_07_56_17_10407.jpg
/home/pi/Desktop/images/02052025/07/56/image_02052025_07_56_37_10333.jpg
/home/pi/Desktop/images/02052025/07/56/image_02052025_07_56_46_9439.jpg
/home/pi/Desktop/images/02052025/07/57/image_02052025_07_57_27_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":["1355259734","1355259725","1355259709","1355259687","1355259681","1355259717"],"photo_ids_order":["1355259681","1355259687","1355259709","1355259717","1355259725","1355259734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2149a077457ed5e5e6e37d41e5389cb3.jpg","text":"TemporaryFile(/tmp/multipartBody6730224890365811708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177452811,"filename":"image_02052025_07_57_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/5/2/9dc6cb30659698e19d4c732444a4b380.jpg","text":"TemporaryFile(/tmp/multipartBody3577271583635735019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177452811,"filename":"image_02052025_07_56_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/5/2/d383bb8d5513df0420b97e8332b28c47.jpg","text":"TemporaryFile(/tmp/multipartBody7095825908759027906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177452811,"filename":"image_02052025_07_56_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/5/2/4e43b2daf5c3f696d5278d3af24c0dce.jpg","text":"TemporaryFile(/tmp/multipartBody2699909066977130687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177452811,"filename":"image_02052025_07_56_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/5/2/59b914da07cf7fda6d918cb2c5c67368.jpg","text":"TemporaryFile(/tmp/multipartBody1727257552654265053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177452811,"filename":"image_02052025_07_55_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/5/2/5434e5f084ce732f495e8223f955e1b2.jpg","text":"TemporaryFile(/tmp/multipartBody8795635257733004085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177452811,"filename":"image_02052025_07_56_37_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355259709","file1":"1355259687","file0":"1355259681","file4":"1355259725","file5":"1355259734","file3":"1355259717"},"map_files_photo_id_array":[{"photo_id":"1355259734","filename":"file5"},{"photo_id":"1355259709","filename":"file2"},{"photo_id":"1355259725","filename":"file4"},{"photo_id":"1355259687","filename":"file1"},{"photo_id":"1355259681","filename":"file0"},{"photo_id":"1355259717","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355259734":["hashtag1","hashtag2"]},{"1355259725":["hashtag1","hashtag2"]},{"1355259709":["hashtag1","hashtag2"]},{"1355259687":["hashtag1","hashtag2"]},{"1355259681":["hashtag1","hashtag2"]},{"1355259717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355259734, 1355259725, 1355259709, 1355259687, 1355259681, 1355259717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.14158320426941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:17:32.785555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/57/image_02052025_07_57_36_9355.jpg', '/home/pi/Desktop/images/02052025/07/57/image_02052025_07_57_47_10360.jpg', '/home/pi/Desktop/images/02052025/07/57/image_02052025_07_57_57_10369.jpg', '/home/pi/Desktop/images/02052025/07/57/image_02052025_07_58_06_9452.jpg', '/home/pi/Desktop/images/02052025/07/58/image_02052025_07_58_17_10342.jpg', '/home/pi/Desktop/images/02052025/07/58/image_02052025_07_58_27_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/57/image_02052025_07_57_36_9355.jpg
/home/pi/Desktop/images/02052025/07/57/image_02052025_07_57_47_10360.jpg
/home/pi/Desktop/images/02052025/07/57/image_02052025_07_57_57_10369.jpg
/home/pi/Desktop/images/02052025/07/57/image_02052025_07_58_06_9452.jpg
/home/pi/Desktop/images/02052025/07/58/image_02052025_07_58_17_10342.jpg
/home/pi/Desktop/images/02052025/07/58/image_02052025_07_58_27_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":["1355259836","1355259806","1355259832","1355259840","1355259828","1355259825"],"photo_ids_order":["1355259806","1355259825","1355259828","1355259832","1355259836","1355259840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f5cc8ee85d4acf18b2b073d0053d1434.jpg","text":"TemporaryFile(/tmp/multipartBody5824142877649585722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177513253,"filename":"image_02052025_07_58_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/5/2/8a945d574d2083b3ccbc06e404309064.jpg","text":"TemporaryFile(/tmp/multipartBody6572577504964502058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177513253,"filename":"image_02052025_07_57_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/5/2/721fcc5e81f4a46938f20979140f2d48.jpg","text":"TemporaryFile(/tmp/multipartBody7421098876797142998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177513253,"filename":"image_02052025_07_58_06_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/77350e7c87f32e0f8c1c3b5efc049489.jpg","text":"TemporaryFile(/tmp/multipartBody4422475505629483960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177513253,"filename":"image_02052025_07_58_27_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b4061df8d76219d1f937b66431f3c2d5.jpg","text":"TemporaryFile(/tmp/multipartBody7693245190176348095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177513253,"filename":"image_02052025_07_57_57_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ce53afc74c193a78a5d3afadede3eda.jpg","text":"TemporaryFile(/tmp/multipartBody7255750580702583206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177513253,"filename":"image_02052025_07_57_47_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355259828","file1":"1355259825","file0":"1355259806","file4":"1355259836","file5":"1355259840","file3":"1355259832"},"map_files_photo_id_array":[{"photo_id":"1355259840","filename":"file5"},{"photo_id":"1355259828","filename":"file2"},{"photo_id":"1355259836","filename":"file4"},{"photo_id":"1355259825","filename":"file1"},{"photo_id":"1355259806","filename":"file0"},{"photo_id":"1355259832","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355259836":["hashtag1","hashtag2"]},{"1355259806":["hashtag1","hashtag2"]},{"1355259832":["hashtag1","hashtag2"]},{"1355259840":["hashtag1","hashtag2"]},{"1355259828":["hashtag1","hashtag2"]},{"1355259825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355259836, 1355259806, 1355259832, 1355259840, 1355259828, 1355259825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15953588485718 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:18:33.079436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/07/58/image_02052025_07_58_36_9331.jpg', '/home/pi/Desktop/images/02052025/07/58/image_02052025_07_58_47_10346.jpg', '/home/pi/Desktop/images/02052025/07/59/image_02052025_07_59_26_9467.jpg', '/home/pi/Desktop/images/02052025/07/59/image_02052025_07_59_37_10347.jpg', '/home/pi/Desktop/images/02052025/07/59/image_02052025_07_59_47_10361.jpg', '/home/pi/Desktop/images/02052025/08/01/image_02052025_08_01_14_10074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/07/58/image_02052025_07_58_36_9331.jpg
/home/pi/Desktop/images/02052025/07/58/image_02052025_07_58_47_10346.jpg
/home/pi/Desktop/images/02052025/07/59/image_02052025_07_59_26_9467.jpg
/home/pi/Desktop/images/02052025/07/59/image_02052025_07_59_37_10347.jpg
/home/pi/Desktop/images/02052025/07/59/image_02052025_07_59_47_10361.jpg
/home/pi/Desktop/images/02052025/08/01/image_02052025_08_01_14_10074.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355259872","1355259889","1355259882","1355259893","1355259896","1355259878"],"photo_ids_order":["1355259872","1355259878","1355259882","1355259889","1355259893","1355259896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fcbe0f757c25eaad9428b1db33767d8a.jpg","text":"TemporaryFile(/tmp/multipartBody2790174565006877545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177573539,"filename":"image_02052025_07_58_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/5/2/830d83e379bf5f117368294a40a9540d.jpg","text":"TemporaryFile(/tmp/multipartBody1385224410872013265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177573539,"filename":"image_02052025_07_59_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/5/2/3cb7372919f395d363f2d8f673263291.jpg","text":"TemporaryFile(/tmp/multipartBody5325723944463474069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177573539,"filename":"image_02052025_07_59_26_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d496e20be6d23fb6c49a78279fcbbc3f.jpg","text":"TemporaryFile(/tmp/multipartBody6366064357244762891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177573539,"filename":"image_02052025_07_59_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/5/2/30df6ba8e89b3fb943954bdcda33f7b7.jpg","text":"TemporaryFile(/tmp/multipartBody6058633823550966810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177573539,"filename":"image_02052025_08_01_14_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/abb3c48ad95162ac4ce5dd965bd79460.jpg","text":"TemporaryFile(/tmp/multipartBody6153838582880013417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177573539,"filename":"image_02052025_07_58_47_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355259882","file1":"1355259878","file0":"1355259872","file4":"1355259893","file5":"1355259896","file3":"1355259889"},"map_files_photo_id_array":[{"photo_id":"1355259896","filename":"file5"},{"photo_id":"1355259882","filename":"file2"},{"photo_id":"1355259893","filename":"file4"},{"photo_id":"1355259878","filename":"file1"},{"photo_id":"1355259872","filename":"file0"},{"photo_id":"1355259889","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355259872":["hashtag1","hashtag2"]},{"1355259889":["hashtag1","hashtag2"]},{"1355259882":["hashtag1","hashtag2"]},{"1355259893":["hashtag1","hashtag2"]},{"1355259896":["hashtag1","hashtag2"]},{"1355259878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355259872, 1355259889, 1355259882, 1355259893, 1355259896, 1355259878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.056201696395874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:19:33.307928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/01/image_02052025_08_01_44_9419.jpg', '/home/pi/Desktop/images/02052025/08/01/image_02052025_08_01_55_10363.jpg', '/home/pi/Desktop/images/02052025/08/01/image_02052025_08_02_04_9367.jpg', '/home/pi/Desktop/images/02052025/08/02/image_02052025_08_02_25_10390.jpg', '/home/pi/Desktop/images/02052025/08/02/image_02052025_08_02_34_9457.jpg', '/home/pi/Desktop/images/02052025/08/02/image_02052025_08_02_54_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/01/image_02052025_08_01_44_9419.jpg
/home/pi/Desktop/images/02052025/08/01/image_02052025_08_01_55_10363.jpg
/home/pi/Desktop/images/02052025/08/01/image_02052025_08_02_04_9367.jpg
/home/pi/Desktop/images/02052025/08/02/image_02052025_08_02_25_10390.jpg
/home/pi/Desktop/images/02052025/08/02/image_02052025_08_02_34_9457.jpg
/home/pi/Desktop/images/02052025/08/02/image_02052025_08_02_54_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355259961","1355259964","1355259958","1355259937","1355259946","1355259942"],"photo_ids_order":["1355259937","1355259942","1355259946","1355259958","1355259961","1355259964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/025e9dbab3fab666fd8737f9185dca29.jpg","text":"TemporaryFile(/tmp/multipartBody3868164291175328130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177633768,"filename":"image_02052025_08_02_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/5/2/75393a2492be9bcecf125dfed2eb9d8d.jpg","text":"TemporaryFile(/tmp/multipartBody7111400186307639229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177633768,"filename":"image_02052025_08_02_54_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30b96bcb9348c85b29592aca2b523951.jpg","text":"TemporaryFile(/tmp/multipartBody945551881296092631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177633768,"filename":"image_02052025_08_02_25_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/242709817f5a537e1e5654bdf195d3a7.jpg","text":"TemporaryFile(/tmp/multipartBody3451339436934743950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177633768,"filename":"image_02052025_08_01_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/5/2/71b887f31c2c328df60ed9caf912f669.jpg","text":"TemporaryFile(/tmp/multipartBody8266657501174801861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177633768,"filename":"image_02052025_08_02_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a2500146796c969a6635224c588ac5a.jpg","text":"TemporaryFile(/tmp/multipartBody7353786856309426214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177633768,"filename":"image_02052025_08_01_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355259946","file1":"1355259942","file0":"1355259937","file4":"1355259961","file5":"1355259964","file3":"1355259958"},"map_files_photo_id_array":[{"photo_id":"1355259964","filename":"file5"},{"photo_id":"1355259946","filename":"file2"},{"photo_id":"1355259961","filename":"file4"},{"photo_id":"1355259942","filename":"file1"},{"photo_id":"1355259937","filename":"file0"},{"photo_id":"1355259958","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355259961":["hashtag1","hashtag2"]},{"1355259964":["hashtag1","hashtag2"]},{"1355259958":["hashtag1","hashtag2"]},{"1355259937":["hashtag1","hashtag2"]},{"1355259946":["hashtag1","hashtag2"]},{"1355259942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355259961, 1355259964, 1355259958, 1355259937, 1355259946, 1355259942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.780566453933716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:20:34.243602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/02/image_02052025_08_03_05_10436.jpg', '/home/pi/Desktop/images/02052025/08/03/image_02052025_08_03_15_10414.jpg', '/home/pi/Desktop/images/02052025/08/04/image_02052025_08_04_25_10429.jpg', '/home/pi/Desktop/images/02052025/08/04/image_02052025_08_04_44_9472.jpg', '/home/pi/Desktop/images/02052025/08/05/image_02052025_08_05_15_10441.jpg', '/home/pi/Desktop/images/02052025/08/05/image_02052025_08_05_25_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/02/image_02052025_08_03_05_10436.jpg
/home/pi/Desktop/images/02052025/08/03/image_02052025_08_03_15_10414.jpg
/home/pi/Desktop/images/02052025/08/04/image_02052025_08_04_25_10429.jpg
/home/pi/Desktop/images/02052025/08/04/image_02052025_08_04_44_9472.jpg
/home/pi/Desktop/images/02052025/08/05/image_02052025_08_05_15_10441.jpg
/home/pi/Desktop/images/02052025/08/05/image_02052025_08_05_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":["1355259991","1355260001","1355260004","1355259996","1355260006","1355259998"],"photo_ids_order":["1355259991","1355259996","1355259998","1355260001","1355260004","1355260006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87146ea1f20d6abee5b8385a4c3a2a04.jpg","text":"TemporaryFile(/tmp/multipartBody5166720509717501911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177694708,"filename":"image_02052025_08_03_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/5/2/4ad7df5f09c64bb2b3f650a4050d166a.jpg","text":"TemporaryFile(/tmp/multipartBody3026044707065634946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177694708,"filename":"image_02052025_08_04_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/5/2/df0cf9ea7f5f383e90965b70e7bfa3c6.jpg","text":"TemporaryFile(/tmp/multipartBody3421691143750138345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177694708,"filename":"image_02052025_08_05_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/5/2/9e5e5ed21a355f93931fd46f15ef7b1d.jpg","text":"TemporaryFile(/tmp/multipartBody7652303022297018920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177694708,"filename":"image_02052025_08_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/5/2/3bf0b6612c49be737a02206266f8fed8.jpg","text":"TemporaryFile(/tmp/multipartBody5578142466700008360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177694708,"filename":"image_02052025_08_05_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/5/2/8ee689c4019dec076247c6b788d9f235.jpg","text":"TemporaryFile(/tmp/multipartBody1247489824046377386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177694708,"filename":"image_02052025_08_04_25_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355259998","file1":"1355259996","file0":"1355259991","file4":"1355260004","file5":"1355260006","file3":"1355260001"},"map_files_photo_id_array":[{"photo_id":"1355260006","filename":"file5"},{"photo_id":"1355259998","filename":"file2"},{"photo_id":"1355260004","filename":"file4"},{"photo_id":"1355259996","filename":"file1"},{"photo_id":"1355259991","filename":"file0"},{"photo_id":"1355260001","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355259991":["hashtag1","hashtag2"]},{"1355260001":["hashtag1","hashtag2"]},{"1355260004":["hashtag1","hashtag2"]},{"1355259996":["hashtag1","hashtag2"]},{"1355260006":["hashtag1","hashtag2"]},{"1355259998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355259991, 1355260001, 1355260004, 1355259996, 1355260006, 1355259998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.43804407119751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:21:32.477277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/05/image_02052025_08_05_34_9388.jpg', '/home/pi/Desktop/images/02052025/08/05/image_02052025_08_05_45_10362.jpg', '/home/pi/Desktop/images/02052025/08/05/image_02052025_08_05_55_10359.jpg', '/home/pi/Desktop/images/02052025/08/05/image_02052025_08_06_04_9390.jpg', '/home/pi/Desktop/images/02052025/08/06/image_02052025_08_06_24_9344.jpg', '/home/pi/Desktop/images/02052025/08/06/image_02052025_08_06_35_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/05/image_02052025_08_05_34_9388.jpg
/home/pi/Desktop/images/02052025/08/05/image_02052025_08_05_45_10362.jpg
/home/pi/Desktop/images/02052025/08/05/image_02052025_08_05_55_10359.jpg
/home/pi/Desktop/images/02052025/08/05/image_02052025_08_06_04_9390.jpg
/home/pi/Desktop/images/02052025/08/06/image_02052025_08_06_24_9344.jpg
/home/pi/Desktop/images/02052025/08/06/image_02052025_08_06_35_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355260044","1355260054","1355260048","1355260036","1355260051","1355260030"],"photo_ids_order":["1355260030","1355260036","1355260044","1355260048","1355260051","1355260054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/679d19c34607c99be0266bfbedb4eead.jpg","text":"TemporaryFile(/tmp/multipartBody3384873493121998242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177752944,"filename":"image_02052025_08_05_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/5/2/a6387ac0fa12f8bb4b32ce5e46d5642a.jpg","text":"TemporaryFile(/tmp/multipartBody7309423712379338953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177752944,"filename":"image_02052025_08_06_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/5/2/9593f72204c3ee3703a19de57f1ec183.jpg","text":"TemporaryFile(/tmp/multipartBody9130983076773571914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177752944,"filename":"image_02052025_08_06_04_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/984db467f466db476bcf235bfe0fc2af.jpg","text":"TemporaryFile(/tmp/multipartBody5459302363655758284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177752944,"filename":"image_02052025_08_05_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/5/2/d2d4fd271abc3a57a3df1e8b3b9f6ef8.jpg","text":"TemporaryFile(/tmp/multipartBody5257491211692198111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177752944,"filename":"image_02052025_08_06_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/5/2/16b54ec10bacd32b8335f495d59e6ce3.jpg","text":"TemporaryFile(/tmp/multipartBody5958676980138890578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177752944,"filename":"image_02052025_08_05_34_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355260044","file1":"1355260036","file0":"1355260030","file4":"1355260051","file5":"1355260054","file3":"1355260048"},"map_files_photo_id_array":[{"photo_id":"1355260054","filename":"file5"},{"photo_id":"1355260044","filename":"file2"},{"photo_id":"1355260051","filename":"file4"},{"photo_id":"1355260036","filename":"file1"},{"photo_id":"1355260030","filename":"file0"},{"photo_id":"1355260048","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355260044":["hashtag1","hashtag2"]},{"1355260054":["hashtag1","hashtag2"]},{"1355260048":["hashtag1","hashtag2"]},{"1355260036":["hashtag1","hashtag2"]},{"1355260051":["hashtag1","hashtag2"]},{"1355260030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355260044, 1355260054, 1355260048, 1355260036, 1355260051, 1355260030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.657039165496826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:22:32.629325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/07/image_02052025_08_07_15_10362.jpg', '/home/pi/Desktop/images/02052025/08/07/image_02052025_08_07_24_9414.jpg', '/home/pi/Desktop/images/02052025/08/07/image_02052025_08_07_35_10417.jpg', '/home/pi/Desktop/images/02052025/08/07/image_02052025_08_07_44_9502.jpg', '/home/pi/Desktop/images/02052025/08/07/image_02052025_08_08_04_9387.jpg', '/home/pi/Desktop/images/02052025/08/08/image_02052025_08_08_15_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/07/image_02052025_08_07_15_10362.jpg
/home/pi/Desktop/images/02052025/08/07/image_02052025_08_07_24_9414.jpg
/home/pi/Desktop/images/02052025/08/07/image_02052025_08_07_35_10417.jpg
/home/pi/Desktop/images/02052025/08/07/image_02052025_08_07_44_9502.jpg
/home/pi/Desktop/images/02052025/08/07/image_02052025_08_08_04_9387.jpg
/home/pi/Desktop/images/02052025/08/08/image_02052025_08_08_15_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355260093","1355260096","1355260081","1355260078","1355260089","1355260083"],"photo_ids_order":["1355260078","1355260081","1355260083","1355260089","1355260093","1355260096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d9a9d0e0b4e7f103bc08ef03d105b3b1.jpg","text":"TemporaryFile(/tmp/multipartBody3544536706643745700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177813199,"filename":"image_02052025_08_08_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/5/2/c6c0b3995cf811c3bc10a0142978fa96.jpg","text":"TemporaryFile(/tmp/multipartBody5423371912772489080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177813199,"filename":"image_02052025_08_08_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/5/2/6ab13cbd6e4aca0c3a22f581afd685ec.jpg","text":"TemporaryFile(/tmp/multipartBody5487924668152627261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177813199,"filename":"image_02052025_08_07_24_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/10eb5a54100be02add529bb1c6db38bc.jpg","text":"TemporaryFile(/tmp/multipartBody1818259144113528622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177813199,"filename":"image_02052025_08_07_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/5/2/db485fa889431eee20f92d6613d207a1.jpg","text":"TemporaryFile(/tmp/multipartBody6514165481220925486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177813199,"filename":"image_02052025_08_07_44_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7b4a0fd64e142b2cd4049e697f5d8a30.jpg","text":"TemporaryFile(/tmp/multipartBody8900430444593943704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177813199,"filename":"image_02052025_08_07_35_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355260083","file1":"1355260081","file0":"1355260078","file4":"1355260093","file5":"1355260096","file3":"1355260089"},"map_files_photo_id_array":[{"photo_id":"1355260096","filename":"file5"},{"photo_id":"1355260083","filename":"file2"},{"photo_id":"1355260093","filename":"file4"},{"photo_id":"1355260081","filename":"file1"},{"photo_id":"1355260078","filename":"file0"},{"photo_id":"1355260089","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355260093":["hashtag1","hashtag2"]},{"1355260096":["hashtag1","hashtag2"]},{"1355260081":["hashtag1","hashtag2"]},{"1355260078":["hashtag1","hashtag2"]},{"1355260089":["hashtag1","hashtag2"]},{"1355260083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355260093, 1355260096, 1355260081, 1355260078, 1355260089, 1355260083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.838075637817383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:23:32.816983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/08/image_02052025_08_08_25_10456.jpg', '/home/pi/Desktop/images/02052025/08/08/image_02052025_08_09_05_10453.jpg', '/home/pi/Desktop/images/02052025/08/09/image_02052025_08_09_15_10355.jpg', '/home/pi/Desktop/images/02052025/08/09/image_02052025_08_09_24_9383.jpg', '/home/pi/Desktop/images/02052025/08/09/image_02052025_08_09_35_10414.jpg', '/home/pi/Desktop/images/02052025/08/09/image_02052025_08_09_55_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/08/image_02052025_08_08_25_10456.jpg
/home/pi/Desktop/images/02052025/08/08/image_02052025_08_09_05_10453.jpg
/home/pi/Desktop/images/02052025/08/09/image_02052025_08_09_15_10355.jpg
/home/pi/Desktop/images/02052025/08/09/image_02052025_08_09_24_9383.jpg
/home/pi/Desktop/images/02052025/08/09/image_02052025_08_09_35_10414.jpg
/home/pi/Desktop/images/02052025/08/09/image_02052025_08_09_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":["1355260137","1355260142","1355260133","1355260123","1355260140","1355260128"],"photo_ids_order":["1355260123","1355260128","1355260133","1355260137","1355260140","1355260142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/511bd084e17507836a1374f4e6b5750e.jpg","text":"TemporaryFile(/tmp/multipartBody1550830611992847755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177873289,"filename":"image_02052025_08_09_24_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2fcbefc5d8bbd700158b83fb69886910.jpg","text":"TemporaryFile(/tmp/multipartBody6942443686472617540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177873289,"filename":"image_02052025_08_09_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/5/2/d8bf2faada477aea468152ec4c3a05c2.jpg","text":"TemporaryFile(/tmp/multipartBody2572360334130241982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177873289,"filename":"image_02052025_08_09_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/5/2/b934d8b653fb83b3fcb25d969830434e.jpg","text":"TemporaryFile(/tmp/multipartBody6376459402860041595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177873289,"filename":"image_02052025_08_08_25_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ba255fd93b1ee51995b35ad5ab1c8bc.jpg","text":"TemporaryFile(/tmp/multipartBody4207175080839235311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177873289,"filename":"image_02052025_08_09_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/5/2/2bdb8e8259b1e2bf8b252fad2ab59feb.jpg","text":"TemporaryFile(/tmp/multipartBody8565543846061615097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177873289,"filename":"image_02052025_08_09_05_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355260133","file1":"1355260128","file0":"1355260123","file4":"1355260140","file5":"1355260142","file3":"1355260137"},"map_files_photo_id_array":[{"photo_id":"1355260142","filename":"file5"},{"photo_id":"1355260133","filename":"file2"},{"photo_id":"1355260140","filename":"file4"},{"photo_id":"1355260128","filename":"file1"},{"photo_id":"1355260123","filename":"file0"},{"photo_id":"1355260137","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355260137":["hashtag1","hashtag2"]},{"1355260142":["hashtag1","hashtag2"]},{"1355260133":["hashtag1","hashtag2"]},{"1355260123":["hashtag1","hashtag2"]},{"1355260140":["hashtag1","hashtag2"]},{"1355260128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355260137, 1355260142, 1355260133, 1355260123, 1355260140, 1355260128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.54047131538391 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:24:33.006327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/10/image_02052025_08_10_15_9430.jpg', '/home/pi/Desktop/images/02052025/08/10/image_02052025_08_10_25_10351.jpg', '/home/pi/Desktop/images/02052025/08/10/image_02052025_08_10_34_9404.jpg', '/home/pi/Desktop/images/02052025/08/10/image_02052025_08_10_45_10373.jpg', '/home/pi/Desktop/images/02052025/08/10/image_02052025_08_10_55_10405.jpg', '/home/pi/Desktop/images/02052025/08/10/image_02052025_08_11_04_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/10/image_02052025_08_10_15_9430.jpg
/home/pi/Desktop/images/02052025/08/10/image_02052025_08_10_25_10351.jpg
/home/pi/Desktop/images/02052025/08/10/image_02052025_08_10_34_9404.jpg
/home/pi/Desktop/images/02052025/08/10/image_02052025_08_10_45_10373.jpg
/home/pi/Desktop/images/02052025/08/10/image_02052025_08_10_55_10405.jpg
/home/pi/Desktop/images/02052025/08/10/image_02052025_08_11_04_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355260187","1355260183","1355260177","1355260171","1355260174","1355260194"],"photo_ids_order":["1355260171","1355260174","1355260177","1355260183","1355260187","1355260194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f77b0747176ee4e3db5bf3df8837a951.jpg","text":"TemporaryFile(/tmp/multipartBody8467369346138438792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177933465,"filename":"image_02052025_08_10_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/5/2/c7c25053429f0616ffce2d2ddbae50f6.jpg","text":"TemporaryFile(/tmp/multipartBody6002785817857081566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177933465,"filename":"image_02052025_08_10_45_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e83641ccf4c7e53bcf22aad22834b7a.jpg","text":"TemporaryFile(/tmp/multipartBody735840547786118909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177933465,"filename":"image_02052025_08_10_34_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/42ce6b18f5f1f94339cfa5fd6f8d6564.jpg","text":"TemporaryFile(/tmp/multipartBody8566767233248248861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177933465,"filename":"image_02052025_08_10_15_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e5f766c6ffafce01e3b533754d46277.jpg","text":"TemporaryFile(/tmp/multipartBody365261723996950588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177933465,"filename":"image_02052025_08_10_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/5/2/8c0d8fe9c2adabd0f1ed4d9b5967592a.jpg","text":"TemporaryFile(/tmp/multipartBody1187622850320681054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177933465,"filename":"image_02052025_08_11_04_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355260177","file1":"1355260174","file0":"1355260171","file4":"1355260187","file5":"1355260194","file3":"1355260183"},"map_files_photo_id_array":[{"photo_id":"1355260194","filename":"file5"},{"photo_id":"1355260177","filename":"file2"},{"photo_id":"1355260187","filename":"file4"},{"photo_id":"1355260174","filename":"file1"},{"photo_id":"1355260171","filename":"file0"},{"photo_id":"1355260183","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355260187":["hashtag1","hashtag2"]},{"1355260183":["hashtag1","hashtag2"]},{"1355260177":["hashtag1","hashtag2"]},{"1355260171":["hashtag1","hashtag2"]},{"1355260174":["hashtag1","hashtag2"]},{"1355260194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355260187, 1355260183, 1355260177, 1355260171, 1355260174, 1355260194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.257123947143555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:25:32.192004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/11/image_02052025_08_11_15_10352.jpg', '/home/pi/Desktop/images/02052025/08/11/image_02052025_08_11_24_9363.jpg', '/home/pi/Desktop/images/02052025/08/11/image_02052025_08_11_35_10409.jpg', '/home/pi/Desktop/images/02052025/08/11/image_02052025_08_11_45_10353.jpg', '/home/pi/Desktop/images/02052025/08/11/image_02052025_08_11_54_9397.jpg', '/home/pi/Desktop/images/02052025/08/11/image_02052025_08_12_05_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/11/image_02052025_08_11_15_10352.jpg
/home/pi/Desktop/images/02052025/08/11/image_02052025_08_11_24_9363.jpg
/home/pi/Desktop/images/02052025/08/11/image_02052025_08_11_35_10409.jpg
/home/pi/Desktop/images/02052025/08/11/image_02052025_08_11_45_10353.jpg
/home/pi/Desktop/images/02052025/08/11/image_02052025_08_11_54_9397.jpg
/home/pi/Desktop/images/02052025/08/11/image_02052025_08_12_05_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355260241","1355260247","1355260255","1355260260","1355260263","1355260251"],"photo_ids_order":["1355260241","1355260247","1355260251","1355260255","1355260260","1355260263"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9941ad1c15ac2a357173ba47c6e5efc.jpg","text":"TemporaryFile(/tmp/multipartBody3101982308242919434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177992660,"filename":"image_02052025_08_11_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/5/2/eb1d99f73c36237320c3e0d79f12bdf2.jpg","text":"TemporaryFile(/tmp/multipartBody4131241109452638600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177992660,"filename":"image_02052025_08_11_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/13b8f8adeadd5ec0c3952ed9c25793f3.jpg","text":"TemporaryFile(/tmp/multipartBody5089685030451152211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177992660,"filename":"image_02052025_08_11_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/5/2/a0e922cf0c5d4b0395027b6e622bff2b.jpg","text":"TemporaryFile(/tmp/multipartBody5595477356368514196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177992660,"filename":"image_02052025_08_11_54_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b07b509e39ba7e8a69a917384111532.jpg","text":"TemporaryFile(/tmp/multipartBody9218903101030245180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177992660,"filename":"image_02052025_08_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/5/2/6f8ba55fa537f24e24ce663ea9794995.jpg","text":"TemporaryFile(/tmp/multipartBody8932531522039040444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746177992660,"filename":"image_02052025_08_11_35_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355260251","file1":"1355260247","file0":"1355260241","file4":"1355260260","file5":"1355260263","file3":"1355260255"},"map_files_photo_id_array":[{"photo_id":"1355260263","filename":"file5"},{"photo_id":"1355260251","filename":"file2"},{"photo_id":"1355260260","filename":"file4"},{"photo_id":"1355260247","filename":"file1"},{"photo_id":"1355260241","filename":"file0"},{"photo_id":"1355260255","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355260241":["hashtag1","hashtag2"]},{"1355260247":["hashtag1","hashtag2"]},{"1355260255":["hashtag1","hashtag2"]},{"1355260260":["hashtag1","hashtag2"]},{"1355260263":["hashtag1","hashtag2"]},{"1355260251":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355260241, 1355260247, 1355260255, 1355260260, 1355260263, 1355260251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.522913932800293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:26:32.375834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_15_10353.jpg', '/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_25_9450.jpg', '/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_35_10458.jpg', '/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_44_9399.jpg', '/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_55_10364.jpg', '/home/pi/Desktop/images/02052025/08/12/image_02052025_08_13_04_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_15_10353.jpg
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_25_9450.jpg
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_35_10458.jpg
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_44_9399.jpg
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_55_10364.jpg
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_13_04_9361.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38966846466064453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 11:26:42.415009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_15_10353.jpg', '/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_25_9450.jpg', '/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_35_10458.jpg', '/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_44_9399.jpg', '/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_55_10364.jpg', '/home/pi/Desktop/images/02052025/08/12/image_02052025_08_13_04_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_15_10353.jpg
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_25_9450.jpg
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_35_10458.jpg
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_44_9399.jpg
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_12_55_10364.jpg
/home/pi/Desktop/images/02052025/08/12/image_02052025_08_13_04_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":["1355260319","1355260310","1355260327","1355260315","1355260330","1355260324"],"photo_ids_order":["1355260310","1355260315","1355260319","1355260324","1355260327","1355260330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa6170c8250b06296dae4f8d39b59caf.jpg","text":"TemporaryFile(/tmp/multipartBody1148917345486096019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178062907,"filename":"image_02052025_08_12_35_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/caa41217dcc29a4756b3e53a037b980a.jpg","text":"TemporaryFile(/tmp/multipartBody1207601694971518605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178062907,"filename":"image_02052025_08_12_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/12f1817080c83c1840437bd21b494b0a.jpg","text":"TemporaryFile(/tmp/multipartBody3848248102074748561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178062907,"filename":"image_02052025_08_12_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/5/2/b5012a972feab9b9b4b8ebd57e326dc4.jpg","text":"TemporaryFile(/tmp/multipartBody6726742111225123696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178062907,"filename":"image_02052025_08_12_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/5/2/967a6f47de03479cc859c213d8ee051e.jpg","text":"TemporaryFile(/tmp/multipartBody5946171545587986227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178062907,"filename":"image_02052025_08_13_04_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6499d74de8a2301ce3a9595b43ff94db.jpg","text":"TemporaryFile(/tmp/multipartBody5378730161092060892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178062907,"filename":"image_02052025_08_12_44_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355260319","file1":"1355260315","file0":"1355260310","file4":"1355260327","file5":"1355260330","file3":"1355260324"},"map_files_photo_id_array":[{"photo_id":"1355260330","filename":"file5"},{"photo_id":"1355260319","filename":"file2"},{"photo_id":"1355260327","filename":"file4"},{"photo_id":"1355260315","filename":"file1"},{"photo_id":"1355260310","filename":"file0"},{"photo_id":"1355260324","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355260319":["hashtag1","hashtag2"]},{"1355260310":["hashtag1","hashtag2"]},{"1355260327":["hashtag1","hashtag2"]},{"1355260315":["hashtag1","hashtag2"]},{"1355260330":["hashtag1","hashtag2"]},{"1355260324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355260319, 1355260310, 1355260327, 1355260315, 1355260330, 1355260324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52528119087219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:27:32.649615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/13/image_02052025_08_13_14_10354.jpg', '/home/pi/Desktop/images/02052025/08/13/image_02052025_08_13_25_10370.jpg', '/home/pi/Desktop/images/02052025/08/13/image_02052025_08_13_34_9516.jpg', '/home/pi/Desktop/images/02052025/08/13/image_02052025_08_13_45_10339.jpg', '/home/pi/Desktop/images/02052025/08/13/image_02052025_08_13_55_10376.jpg', '/home/pi/Desktop/images/02052025/08/13/image_02052025_08_14_04_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/13/image_02052025_08_13_14_10354.jpg
/home/pi/Desktop/images/02052025/08/13/image_02052025_08_13_25_10370.jpg
/home/pi/Desktop/images/02052025/08/13/image_02052025_08_13_34_9516.jpg
/home/pi/Desktop/images/02052025/08/13/image_02052025_08_13_45_10339.jpg
/home/pi/Desktop/images/02052025/08/13/image_02052025_08_13_55_10376.jpg
/home/pi/Desktop/images/02052025/08/13/image_02052025_08_14_04_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":["1355260355","1355260363","1355260366","1355260351","1355260360","1355260368"],"photo_ids_order":["1355260351","1355260355","1355260360","1355260363","1355260366","1355260368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f4a6fd0683196fec9436701d6ecc127d.jpg","text":"TemporaryFile(/tmp/multipartBody4178744473653539406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178113118,"filename":"image_02052025_08_13_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9188e8c1d602aac145db07d5c805a03.jpg","text":"TemporaryFile(/tmp/multipartBody5785316974663321026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178113118,"filename":"image_02052025_08_13_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/5/2/01c43ad6816b4b43258df52104dabbb7.jpg","text":"TemporaryFile(/tmp/multipartBody3658457066014932195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178113118,"filename":"image_02052025_08_13_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/5/2/1bb2bdbbdaacf19a724f2e287e7575cd.jpg","text":"TemporaryFile(/tmp/multipartBody1806290830273172781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178113118,"filename":"image_02052025_08_13_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/5/2/529db8ec147fb2c02ac715c4a3ed17af.jpg","text":"TemporaryFile(/tmp/multipartBody8616053189892706873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178113118,"filename":"image_02052025_08_13_34_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/15e6b9cbfd4a9df9360e2dfcef4fdc7c.jpg","text":"TemporaryFile(/tmp/multipartBody4018160235735432576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178113118,"filename":"image_02052025_08_14_04_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355260360","file1":"1355260355","file0":"1355260351","file4":"1355260366","file5":"1355260368","file3":"1355260363"},"map_files_photo_id_array":[{"photo_id":"1355260368","filename":"file5"},{"photo_id":"1355260360","filename":"file2"},{"photo_id":"1355260366","filename":"file4"},{"photo_id":"1355260355","filename":"file1"},{"photo_id":"1355260351","filename":"file0"},{"photo_id":"1355260363","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355260355":["hashtag1","hashtag2"]},{"1355260363":["hashtag1","hashtag2"]},{"1355260366":["hashtag1","hashtag2"]},{"1355260351":["hashtag1","hashtag2"]},{"1355260360":["hashtag1","hashtag2"]},{"1355260368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355260355, 1355260363, 1355260366, 1355260351, 1355260360, 1355260368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.480426788330078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:28:32.921560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_15_10356.jpg', '/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_24_9336.jpg', '/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_45_10367.jpg', '/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_54_9399.jpg', '/home/pi/Desktop/images/02052025/08/14/image_02052025_08_15_05_10362.jpg', '/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_15_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_15_10356.jpg
/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_24_9336.jpg
/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_45_10367.jpg
/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_54_9399.jpg
/home/pi/Desktop/images/02052025/08/14/image_02052025_08_15_05_10362.jpg
/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_15_10366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39452409744262695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 11:28:43.651958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_15_10356.jpg', '/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_24_9336.jpg', '/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_45_10367.jpg', '/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_54_9399.jpg', '/home/pi/Desktop/images/02052025/08/14/image_02052025_08_15_05_10362.jpg', '/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_15_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_15_10356.jpg
/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_24_9336.jpg
/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_45_10367.jpg
/home/pi/Desktop/images/02052025/08/14/image_02052025_08_14_54_9399.jpg
/home/pi/Desktop/images/02052025/08/14/image_02052025_08_15_05_10362.jpg
/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_15_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355260421","1355260415","1355260418","1355260423","1355260422","1355260425"],"photo_ids_order":["1355260415","1355260418","1355260421","1355260422","1355260423","1355260425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8de3985fc055ecf98e537bcde08ddc52.jpg","text":"TemporaryFile(/tmp/multipartBody5684927720344557162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178184113,"filename":"image_02052025_08_14_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aff3e7b7cb61cdea33b4a56400bfffd3.jpg","text":"TemporaryFile(/tmp/multipartBody644870490917212028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178184113,"filename":"image_02052025_08_14_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/5/2/e37c7203e07eb02d08ed94140fe6cd7b.jpg","text":"TemporaryFile(/tmp/multipartBody3650191000760916797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178184113,"filename":"image_02052025_08_14_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/5/2/19bdca983e5be73b4fe0889570f48379.jpg","text":"TemporaryFile(/tmp/multipartBody8428155827288134644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178184113,"filename":"image_02052025_08_15_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa9f69a5d293e92a1123117e5d90f34c.jpg","text":"TemporaryFile(/tmp/multipartBody5226540186792919228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178184113,"filename":"image_02052025_08_14_54_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0125c5d25cf34475f9682a76752890b2.jpg","text":"TemporaryFile(/tmp/multipartBody5277236648916102863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178184113,"filename":"image_02052025_08_15_15_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355260421","file1":"1355260418","file0":"1355260415","file4":"1355260423","file5":"1355260425","file3":"1355260422"},"map_files_photo_id_array":[{"photo_id":"1355260425","filename":"file5"},{"photo_id":"1355260421","filename":"file2"},{"photo_id":"1355260423","filename":"file4"},{"photo_id":"1355260418","filename":"file1"},{"photo_id":"1355260415","filename":"file0"},{"photo_id":"1355260422","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355260421":["hashtag1","hashtag2"]},{"1355260415":["hashtag1","hashtag2"]},{"1355260418":["hashtag1","hashtag2"]},{"1355260423":["hashtag1","hashtag2"]},{"1355260422":["hashtag1","hashtag2"]},{"1355260425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355260421, 1355260415, 1355260418, 1355260423, 1355260422, 1355260425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.22101068496704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:29:33.036657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_25_9438.jpg', '/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_35_10430.jpg', '/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_55_10401.jpg', '/home/pi/Desktop/images/02052025/08/15/image_02052025_08_16_04_9399.jpg', '/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_15_10458.jpg', '/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_25_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_25_9438.jpg
/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_35_10430.jpg
/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_55_10401.jpg
/home/pi/Desktop/images/02052025/08/15/image_02052025_08_16_04_9399.jpg
/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_15_10458.jpg
/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_25_10367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3795011043548584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 11:29:43.036152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_25_9438.jpg', '/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_35_10430.jpg', '/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_55_10401.jpg', '/home/pi/Desktop/images/02052025/08/15/image_02052025_08_16_04_9399.jpg', '/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_15_10458.jpg', '/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_25_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_25_9438.jpg
/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_35_10430.jpg
/home/pi/Desktop/images/02052025/08/15/image_02052025_08_15_55_10401.jpg
/home/pi/Desktop/images/02052025/08/15/image_02052025_08_16_04_9399.jpg
/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_15_10458.jpg
/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_25_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":["1355260499","1355260489","1355260480","1355260501","1355260482","1355260503"],"photo_ids_order":["1355260480","1355260482","1355260489","1355260499","1355260501","1355260503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/68a5584f0848337fe202f8798270fa44.jpg","text":"TemporaryFile(/tmp/multipartBody7312482697480700565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178243521,"filename":"image_02052025_08_16_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/5/2/ee08c3d94badcbd7355036a95deac2a1.jpg","text":"TemporaryFile(/tmp/multipartBody4120160585777169551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178243521,"filename":"image_02052025_08_15_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/5/2/ea39003c1e28ce750a0480a18f6a2f36.jpg","text":"TemporaryFile(/tmp/multipartBody8069528219705146849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178243521,"filename":"image_02052025_08_15_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/5/2/51ef1d4fc38ef18ddfa04f5f7d168f09.jpg","text":"TemporaryFile(/tmp/multipartBody7230647313012773279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178243521,"filename":"image_02052025_08_16_15_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/37f74ebc69c83bdd93c71e930e588029.jpg","text":"TemporaryFile(/tmp/multipartBody8842541912337424270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178243521,"filename":"image_02052025_08_15_35_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c33e4a8b8f27ca14250508888e3d0fcf.jpg","text":"TemporaryFile(/tmp/multipartBody6869539509624210646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178243521,"filename":"image_02052025_08_16_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355260489","file1":"1355260482","file0":"1355260480","file4":"1355260501","file5":"1355260503","file3":"1355260499"},"map_files_photo_id_array":[{"photo_id":"1355260503","filename":"file5"},{"photo_id":"1355260489","filename":"file2"},{"photo_id":"1355260501","filename":"file4"},{"photo_id":"1355260482","filename":"file1"},{"photo_id":"1355260480","filename":"file0"},{"photo_id":"1355260499","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355260499":["hashtag1","hashtag2"]},{"1355260489":["hashtag1","hashtag2"]},{"1355260480":["hashtag1","hashtag2"]},{"1355260501":["hashtag1","hashtag2"]},{"1355260482":["hashtag1","hashtag2"]},{"1355260503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355260499, 1355260489, 1355260480, 1355260501, 1355260482, 1355260503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.561965703964233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:30:32.312327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_34_9415.jpg', '/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_54_9434.jpg', '/home/pi/Desktop/images/02052025/08/16/image_02052025_08_17_05_10437.jpg', '/home/pi/Desktop/images/02052025/08/17/image_02052025_08_17_24_9396.jpg', '/home/pi/Desktop/images/02052025/08/17/image_02052025_08_17_35_10362.jpg', '/home/pi/Desktop/images/02052025/08/17/image_02052025_08_17_45_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_34_9415.jpg
/home/pi/Desktop/images/02052025/08/16/image_02052025_08_16_54_9434.jpg
/home/pi/Desktop/images/02052025/08/16/image_02052025_08_17_05_10437.jpg
/home/pi/Desktop/images/02052025/08/17/image_02052025_08_17_24_9396.jpg
/home/pi/Desktop/images/02052025/08/17/image_02052025_08_17_35_10362.jpg
/home/pi/Desktop/images/02052025/08/17/image_02052025_08_17_45_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355260571","1355260547","1355260573","1355260561","1355260543","1355260552"],"photo_ids_order":["1355260543","1355260547","1355260552","1355260561","1355260571","1355260573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/79f57d28cd965754e6005623fedbd87c.jpg","text":"TemporaryFile(/tmp/multipartBody3217451507994481072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178292790,"filename":"image_02052025_08_17_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/5/2/d7ec21677625d398a7c599fda29170b4.jpg","text":"TemporaryFile(/tmp/multipartBody1293988848225150360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178292790,"filename":"image_02052025_08_16_54_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1032a57aa47aae0fe8cb150df20744aa.jpg","text":"TemporaryFile(/tmp/multipartBody6021988323003629712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178292790,"filename":"image_02052025_08_17_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/5/2/552c3d2620e556b7efe263bd3467e0ea.jpg","text":"TemporaryFile(/tmp/multipartBody1150981711287410914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178292790,"filename":"image_02052025_08_17_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/5/2/76e6688c5ae68d223056a91f787de66c.jpg","text":"TemporaryFile(/tmp/multipartBody4003841136378650663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178292790,"filename":"image_02052025_08_16_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/553cf913f9da73a1138d61d6ca20db40.jpg","text":"TemporaryFile(/tmp/multipartBody917971173895161568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178292790,"filename":"image_02052025_08_17_05_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355260552","file1":"1355260547","file0":"1355260543","file4":"1355260571","file5":"1355260573","file3":"1355260561"},"map_files_photo_id_array":[{"photo_id":"1355260573","filename":"file5"},{"photo_id":"1355260552","filename":"file2"},{"photo_id":"1355260571","filename":"file4"},{"photo_id":"1355260547","filename":"file1"},{"photo_id":"1355260543","filename":"file0"},{"photo_id":"1355260561","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355260571":["hashtag1","hashtag2"]},{"1355260547":["hashtag1","hashtag2"]},{"1355260573":["hashtag1","hashtag2"]},{"1355260561":["hashtag1","hashtag2"]},{"1355260543":["hashtag1","hashtag2"]},{"1355260552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355260571, 1355260547, 1355260573, 1355260561, 1355260543, 1355260552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96234750747681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:31:32.506125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/17/image_02052025_08_17_55_9449.jpg', '/home/pi/Desktop/images/02052025/08/17/image_02052025_08_18_05_10382.jpg', '/home/pi/Desktop/images/02052025/08/18/image_02052025_08_18_14_9469.jpg', '/home/pi/Desktop/images/02052025/08/18/image_02052025_08_18_25_10392.jpg', '/home/pi/Desktop/images/02052025/08/18/image_02052025_08_18_35_10337.jpg', '/home/pi/Desktop/images/02052025/08/18/image_02052025_08_18_55_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/17/image_02052025_08_17_55_9449.jpg
/home/pi/Desktop/images/02052025/08/17/image_02052025_08_18_05_10382.jpg
/home/pi/Desktop/images/02052025/08/18/image_02052025_08_18_14_9469.jpg
/home/pi/Desktop/images/02052025/08/18/image_02052025_08_18_25_10392.jpg
/home/pi/Desktop/images/02052025/08/18/image_02052025_08_18_35_10337.jpg
/home/pi/Desktop/images/02052025/08/18/image_02052025_08_18_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":["1355260841","1355260780","1355260759","1355260813","1355260755","1355260749"],"photo_ids_order":["1355260749","1355260755","1355260759","1355260780","1355260813","1355260841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4c9a54c99223e2211513b2dc2a31d03b.jpg","text":"TemporaryFile(/tmp/multipartBody7655182237541016867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178352962,"filename":"image_02052025_08_18_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/5/2/d611af4604117cbf0bd528dad82ee27e.jpg","text":"TemporaryFile(/tmp/multipartBody6865862698548702341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178352962,"filename":"image_02052025_08_18_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87514dc90b0d99d2677fc2d721e3cd45.jpg","text":"TemporaryFile(/tmp/multipartBody7546003478569499902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178352962,"filename":"image_02052025_08_18_14_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0a3411809bbc5bde1d64bf07c6aacda.jpg","text":"TemporaryFile(/tmp/multipartBody2825038611926729938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178352962,"filename":"image_02052025_08_18_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/5/2/e42b6f3012e2880d9645bb686d0b4264.jpg","text":"TemporaryFile(/tmp/multipartBody5496353513232810676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178352962,"filename":"image_02052025_08_18_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9564758b263d634cee9eeac859a1195.jpg","text":"TemporaryFile(/tmp/multipartBody7111286132008664640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178352962,"filename":"image_02052025_08_17_55_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355260759","file1":"1355260755","file0":"1355260749","file4":"1355260813","file5":"1355260841","file3":"1355260780"},"map_files_photo_id_array":[{"photo_id":"1355260841","filename":"file5"},{"photo_id":"1355260759","filename":"file2"},{"photo_id":"1355260813","filename":"file4"},{"photo_id":"1355260755","filename":"file1"},{"photo_id":"1355260749","filename":"file0"},{"photo_id":"1355260780","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355260841":["hashtag1","hashtag2"]},{"1355260780":["hashtag1","hashtag2"]},{"1355260759":["hashtag1","hashtag2"]},{"1355260813":["hashtag1","hashtag2"]},{"1355260755":["hashtag1","hashtag2"]},{"1355260749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355260841, 1355260780, 1355260759, 1355260813, 1355260755, 1355260749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.908514499664307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:32:32.679547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/18/image_02052025_08_19_05_10324.jpg', '/home/pi/Desktop/images/02052025/08/19/image_02052025_08_19_15_9412.jpg', '/home/pi/Desktop/images/02052025/08/19/image_02052025_08_19_25_10376.jpg', '/home/pi/Desktop/images/02052025/08/19/image_02052025_08_19_34_9493.jpg', '/home/pi/Desktop/images/02052025/08/19/image_02052025_08_19_45_10341.jpg', '/home/pi/Desktop/images/02052025/08/19/image_02052025_08_19_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/18/image_02052025_08_19_05_10324.jpg
/home/pi/Desktop/images/02052025/08/19/image_02052025_08_19_15_9412.jpg
/home/pi/Desktop/images/02052025/08/19/image_02052025_08_19_25_10376.jpg
/home/pi/Desktop/images/02052025/08/19/image_02052025_08_19_34_9493.jpg
/home/pi/Desktop/images/02052025/08/19/image_02052025_08_19_45_10341.jpg
/home/pi/Desktop/images/02052025/08/19/image_02052025_08_19_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355261372","1355261287","1355261260","1355261347","1355261227","1355261320"],"photo_ids_order":["1355261227","1355261260","1355261287","1355261320","1355261347","1355261372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/104e1e25a19eaca83aa0e5ff4adcaf19.jpg","text":"TemporaryFile(/tmp/multipartBody5675119356119951479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178413150,"filename":"image_02052025_08_19_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6db06e333c69064d07b7b1149a4df93.jpg","text":"TemporaryFile(/tmp/multipartBody969083975694296408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178413150,"filename":"image_02052025_08_19_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec906fb8012befce3ab9cb57dd225027.jpg","text":"TemporaryFile(/tmp/multipartBody6850831410757846540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178413150,"filename":"image_02052025_08_19_15_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6038f88ecf3de4259a256f3d84dc14fa.jpg","text":"TemporaryFile(/tmp/multipartBody106008547652495943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178413150,"filename":"image_02052025_08_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/5/2/8c133cbf9a03b3a140abdfdd1f384bbc.jpg","text":"TemporaryFile(/tmp/multipartBody2445745958578550026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178413150,"filename":"image_02052025_08_19_05_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e5980cf0462f29cd27ed686ad3756af.jpg","text":"TemporaryFile(/tmp/multipartBody5947064746990836322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178413150,"filename":"image_02052025_08_19_34_9493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355261287","file1":"1355261260","file0":"1355261227","file4":"1355261347","file5":"1355261372","file3":"1355261320"},"map_files_photo_id_array":[{"photo_id":"1355261372","filename":"file5"},{"photo_id":"1355261287","filename":"file2"},{"photo_id":"1355261347","filename":"file4"},{"photo_id":"1355261260","filename":"file1"},{"photo_id":"1355261227","filename":"file0"},{"photo_id":"1355261320","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355261372":["hashtag1","hashtag2"]},{"1355261287":["hashtag1","hashtag2"]},{"1355261260":["hashtag1","hashtag2"]},{"1355261347":["hashtag1","hashtag2"]},{"1355261227":["hashtag1","hashtag2"]},{"1355261320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355261372, 1355261287, 1355261260, 1355261347, 1355261227, 1355261320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.58904004096985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:33:32.996894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/19/image_02052025_08_20_05_9418.jpg', '/home/pi/Desktop/images/02052025/08/20/image_02052025_08_20_15_10345.jpg', '/home/pi/Desktop/images/02052025/08/20/image_02052025_08_20_35_10365.jpg', '/home/pi/Desktop/images/02052025/08/20/image_02052025_08_20_45_10425.jpg', '/home/pi/Desktop/images/02052025/08/20/image_02052025_08_20_54_9421.jpg', '/home/pi/Desktop/images/02052025/08/21/image_02052025_08_21_14_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/19/image_02052025_08_20_05_9418.jpg
/home/pi/Desktop/images/02052025/08/20/image_02052025_08_20_15_10345.jpg
/home/pi/Desktop/images/02052025/08/20/image_02052025_08_20_35_10365.jpg
/home/pi/Desktop/images/02052025/08/20/image_02052025_08_20_45_10425.jpg
/home/pi/Desktop/images/02052025/08/20/image_02052025_08_20_54_9421.jpg
/home/pi/Desktop/images/02052025/08/21/image_02052025_08_21_14_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":["1355261729","1355261851","1355261824","1355261814","1355261879","1355261771"],"photo_ids_order":["1355261729","1355261771","1355261814","1355261824","1355261851","1355261879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6af28f9acd4fe9a25d4d94cbedb7e258.jpg","text":"TemporaryFile(/tmp/multipartBody1364664931764074244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178473475,"filename":"image_02052025_08_20_05_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/df24f459252c4a780c31013ccd85fe58.jpg","text":"TemporaryFile(/tmp/multipartBody5856529075765239698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178473475,"filename":"image_02052025_08_20_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/5/2/7edf172b484bd2a6946cac8e133848d4.jpg","text":"TemporaryFile(/tmp/multipartBody4837494458424735711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178473475,"filename":"image_02052025_08_20_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b56ebdd1608610ed00de3920c11f88d.jpg","text":"TemporaryFile(/tmp/multipartBody2474527166182652976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178473475,"filename":"image_02052025_08_20_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/5/2/c0c054387f322d3b21d6deaeb5917b5b.jpg","text":"TemporaryFile(/tmp/multipartBody7363644127459453435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178473475,"filename":"image_02052025_08_21_14_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad9bcf0ab5a3fe64db68bdbd4c364524.jpg","text":"TemporaryFile(/tmp/multipartBody548324771452199508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178473475,"filename":"image_02052025_08_20_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355261814","file1":"1355261771","file0":"1355261729","file4":"1355261851","file5":"1355261879","file3":"1355261824"},"map_files_photo_id_array":[{"photo_id":"1355261879","filename":"file5"},{"photo_id":"1355261814","filename":"file2"},{"photo_id":"1355261851","filename":"file4"},{"photo_id":"1355261771","filename":"file1"},{"photo_id":"1355261729","filename":"file0"},{"photo_id":"1355261824","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355261729":["hashtag1","hashtag2"]},{"1355261851":["hashtag1","hashtag2"]},{"1355261824":["hashtag1","hashtag2"]},{"1355261814":["hashtag1","hashtag2"]},{"1355261879":["hashtag1","hashtag2"]},{"1355261771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355261729, 1355261851, 1355261824, 1355261814, 1355261879, 1355261771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.465243577957153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:34:33.095810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/21/image_02052025_08_21_25_10380.jpg', '/home/pi/Desktop/images/02052025/08/21/image_02052025_08_21_35_10364.jpg', '/home/pi/Desktop/images/02052025/08/21/image_02052025_08_21_55_10376.jpg', '/home/pi/Desktop/images/02052025/08/22/image_02052025_08_22_14_10345.jpg', '/home/pi/Desktop/images/02052025/08/22/image_02052025_08_22_25_10463.jpg', '/home/pi/Desktop/images/02052025/08/22/image_02052025_08_22_34_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/21/image_02052025_08_21_25_10380.jpg
/home/pi/Desktop/images/02052025/08/21/image_02052025_08_21_35_10364.jpg
/home/pi/Desktop/images/02052025/08/21/image_02052025_08_21_55_10376.jpg
/home/pi/Desktop/images/02052025/08/22/image_02052025_08_22_14_10345.jpg
/home/pi/Desktop/images/02052025/08/22/image_02052025_08_22_25_10463.jpg
/home/pi/Desktop/images/02052025/08/22/image_02052025_08_22_34_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":["1355262317","1355262262","1355262216","1355262350","1355262212","1355262206"],"photo_ids_order":["1355262206","1355262212","1355262216","1355262262","1355262317","1355262350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6ef53779987baf473ae5111a27ee04df.jpg","text":"TemporaryFile(/tmp/multipartBody286669727728879269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178533620,"filename":"image_02052025_08_22_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/5/2/c7b193170b10bcb991fcc7afdbd6a215.jpg","text":"TemporaryFile(/tmp/multipartBody4395057277022472544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178533620,"filename":"image_02052025_08_22_14_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8f03c1c1eced5492b07540c4fbea5929.jpg","text":"TemporaryFile(/tmp/multipartBody6966785890085582338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178533620,"filename":"image_02052025_08_21_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/5/2/4e06d04f6dbbdfbca0b339b063cef99b.jpg","text":"TemporaryFile(/tmp/multipartBody2190315991563613900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178533620,"filename":"image_02052025_08_22_34_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c0811f762cf8a687adaf465b6659589e.jpg","text":"TemporaryFile(/tmp/multipartBody2930323326576791088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178533620,"filename":"image_02052025_08_21_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/5/2/8a431064b152b76b9362910e88390ddb.jpg","text":"TemporaryFile(/tmp/multipartBody2256992088511765946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178533620,"filename":"image_02052025_08_21_25_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355262216","file1":"1355262212","file0":"1355262206","file4":"1355262317","file5":"1355262350","file3":"1355262262"},"map_files_photo_id_array":[{"photo_id":"1355262350","filename":"file5"},{"photo_id":"1355262216","filename":"file2"},{"photo_id":"1355262317","filename":"file4"},{"photo_id":"1355262212","filename":"file1"},{"photo_id":"1355262206","filename":"file0"},{"photo_id":"1355262262","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355262317":["hashtag1","hashtag2"]},{"1355262262":["hashtag1","hashtag2"]},{"1355262216":["hashtag1","hashtag2"]},{"1355262350":["hashtag1","hashtag2"]},{"1355262212":["hashtag1","hashtag2"]},{"1355262206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355262317, 1355262262, 1355262216, 1355262350, 1355262212, 1355262206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.666707515716553 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:35:32.386455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/22/image_02052025_08_22_45_10341.jpg', '/home/pi/Desktop/images/02052025/08/22/image_02052025_08_22_55_10353.jpg', '/home/pi/Desktop/images/02052025/08/22/image_02052025_08_23_05_9465.jpg', '/home/pi/Desktop/images/02052025/08/23/image_02052025_08_23_15_10362.jpg', '/home/pi/Desktop/images/02052025/08/23/image_02052025_08_23_24_9406.jpg', '/home/pi/Desktop/images/02052025/08/23/image_02052025_08_23_35_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/22/image_02052025_08_22_45_10341.jpg
/home/pi/Desktop/images/02052025/08/22/image_02052025_08_22_55_10353.jpg
/home/pi/Desktop/images/02052025/08/22/image_02052025_08_23_05_9465.jpg
/home/pi/Desktop/images/02052025/08/23/image_02052025_08_23_15_10362.jpg
/home/pi/Desktop/images/02052025/08/23/image_02052025_08_23_24_9406.jpg
/home/pi/Desktop/images/02052025/08/23/image_02052025_08_23_35_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355262496","1355262492","1355262486","1355262495","1355262489","1355262494"],"photo_ids_order":["1355262486","1355262489","1355262492","1355262494","1355262495","1355262496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8449cfb6383feb8749d0b0b3ba72191a.jpg","text":"TemporaryFile(/tmp/multipartBody9176311100252617934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178592863,"filename":"image_02052025_08_23_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f1c856aeba684e6422b382940fb78531.jpg","text":"TemporaryFile(/tmp/multipartBody670504490285682914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178592863,"filename":"image_02052025_08_23_05_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1202c688dfa788132a08c5df99397964.jpg","text":"TemporaryFile(/tmp/multipartBody3543676590277533554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178592863,"filename":"image_02052025_08_22_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/5/2/beed8e9afa741af8073f7f655e799894.jpg","text":"TemporaryFile(/tmp/multipartBody494119974361843800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178592863,"filename":"image_02052025_08_23_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/5/2/fbd87c308ac8512d390f552e3594044e.jpg","text":"TemporaryFile(/tmp/multipartBody7079642087736337377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178592863,"filename":"image_02052025_08_22_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ebf0a6263af80ddf8f9a7e01a2fb92c7.jpg","text":"TemporaryFile(/tmp/multipartBody3572693050316422269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178592863,"filename":"image_02052025_08_23_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355262492","file1":"1355262489","file0":"1355262486","file4":"1355262495","file5":"1355262496","file3":"1355262494"},"map_files_photo_id_array":[{"photo_id":"1355262496","filename":"file5"},{"photo_id":"1355262492","filename":"file2"},{"photo_id":"1355262495","filename":"file4"},{"photo_id":"1355262489","filename":"file1"},{"photo_id":"1355262486","filename":"file0"},{"photo_id":"1355262494","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355262496":["hashtag1","hashtag2"]},{"1355262492":["hashtag1","hashtag2"]},{"1355262486":["hashtag1","hashtag2"]},{"1355262495":["hashtag1","hashtag2"]},{"1355262489":["hashtag1","hashtag2"]},{"1355262494":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355262496, 1355262492, 1355262486, 1355262495, 1355262489, 1355262494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35832333564758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:36:32.687141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/23/image_02052025_08_23_45_10360.jpg', '/home/pi/Desktop/images/02052025/08/23/image_02052025_08_24_05_10378.jpg', '/home/pi/Desktop/images/02052025/08/24/image_02052025_08_24_15_10344.jpg', '/home/pi/Desktop/images/02052025/08/24/image_02052025_08_24_25_9442.jpg', '/home/pi/Desktop/images/02052025/08/24/image_02052025_08_24_44_9406.jpg', '/home/pi/Desktop/images/02052025/08/24/image_02052025_08_24_55_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/23/image_02052025_08_23_45_10360.jpg
/home/pi/Desktop/images/02052025/08/23/image_02052025_08_24_05_10378.jpg
/home/pi/Desktop/images/02052025/08/24/image_02052025_08_24_15_10344.jpg
/home/pi/Desktop/images/02052025/08/24/image_02052025_08_24_25_9442.jpg
/home/pi/Desktop/images/02052025/08/24/image_02052025_08_24_44_9406.jpg
/home/pi/Desktop/images/02052025/08/24/image_02052025_08_24_55_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":["1355262549","1355262558","1355262543","1355262546","1355262534","1355262530"],"photo_ids_order":["1355262530","1355262534","1355262543","1355262546","1355262549","1355262558"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d12e362fe9cb0e97721b4f93e35b070e.jpg","text":"TemporaryFile(/tmp/multipartBody7805525481629926083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178654887,"filename":"image_02052025_08_24_44_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba15c48cf679b3062548512db7be7f5b.jpg","text":"TemporaryFile(/tmp/multipartBody4345743163056302909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178654887,"filename":"image_02052025_08_24_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/5/2/9caa4e6ab5abedb23ebc63d564eb3253.jpg","text":"TemporaryFile(/tmp/multipartBody1723257264131327513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178654887,"filename":"image_02052025_08_24_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0fe2d03dcdf1fce90d06e4ad141c3867.jpg","text":"TemporaryFile(/tmp/multipartBody6320865329422284071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178654887,"filename":"image_02052025_08_24_25_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/985092b25deed2276750a98a23f7436c.jpg","text":"TemporaryFile(/tmp/multipartBody326354172418677042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178654887,"filename":"image_02052025_08_24_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7852f314e9d21d7f3c330f63667fc46.jpg","text":"TemporaryFile(/tmp/multipartBody4358905393718406565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178654887,"filename":"image_02052025_08_23_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355262543","file1":"1355262534","file0":"1355262530","file4":"1355262549","file5":"1355262558","file3":"1355262546"},"map_files_photo_id_array":[{"photo_id":"1355262558","filename":"file5"},{"photo_id":"1355262543","filename":"file2"},{"photo_id":"1355262549","filename":"file4"},{"photo_id":"1355262534","filename":"file1"},{"photo_id":"1355262530","filename":"file0"},{"photo_id":"1355262546","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355262549":["hashtag1","hashtag2"]},{"1355262558":["hashtag1","hashtag2"]},{"1355262543":["hashtag1","hashtag2"]},{"1355262546":["hashtag1","hashtag2"]},{"1355262534":["hashtag1","hashtag2"]},{"1355262530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355262549, 1355262558, 1355262543, 1355262546, 1355262534, 1355262530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73620629310608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:37:32.837201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/24/image_02052025_08_25_05_10348.jpg', '/home/pi/Desktop/images/02052025/08/25/image_02052025_08_25_14_9338.jpg', '/home/pi/Desktop/images/02052025/08/25/image_02052025_08_25_25_10358.jpg', '/home/pi/Desktop/images/02052025/08/25/image_02052025_08_25_35_10355.jpg', '/home/pi/Desktop/images/02052025/08/25/image_02052025_08_25_44_9400.jpg', '/home/pi/Desktop/images/02052025/08/25/image_02052025_08_25_55_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/24/image_02052025_08_25_05_10348.jpg
/home/pi/Desktop/images/02052025/08/25/image_02052025_08_25_14_9338.jpg
/home/pi/Desktop/images/02052025/08/25/image_02052025_08_25_25_10358.jpg
/home/pi/Desktop/images/02052025/08/25/image_02052025_08_25_35_10355.jpg
/home/pi/Desktop/images/02052025/08/25/image_02052025_08_25_44_9400.jpg
/home/pi/Desktop/images/02052025/08/25/image_02052025_08_25_55_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355262595","1355262608","1355262648","1355262597","1355262590","1355262638"],"photo_ids_order":["1355262590","1355262595","1355262597","1355262608","1355262638","1355262648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f03d045d95f0a35993f791fa5510c6b9.jpg","text":"TemporaryFile(/tmp/multipartBody1963605462206577939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178713297,"filename":"image_02052025_08_25_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/5/2/f96d6dc0d7e387601e383fe4c788ecb7.jpg","text":"TemporaryFile(/tmp/multipartBody8797120947983328395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178713297,"filename":"image_02052025_08_25_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/abfc3d2b36fe7709243af3bca89d3803.jpg","text":"TemporaryFile(/tmp/multipartBody59858369701194499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178713297,"filename":"image_02052025_08_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/5/2/fc1ad158a005cd270a193924970d6816.jpg","text":"TemporaryFile(/tmp/multipartBody1164527876053545884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178713297,"filename":"image_02052025_08_25_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/5/2/d4521ad8c94ab36db2dd73ef97aa6716.jpg","text":"TemporaryFile(/tmp/multipartBody6941424655110263695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178713297,"filename":"image_02052025_08_25_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/5/2/52172ebc524b3e497ac90d65c24b8782.jpg","text":"TemporaryFile(/tmp/multipartBody8656154601987285170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178713297,"filename":"image_02052025_08_25_44_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355262597","file1":"1355262595","file0":"1355262590","file4":"1355262638","file5":"1355262648","file3":"1355262608"},"map_files_photo_id_array":[{"photo_id":"1355262648","filename":"file5"},{"photo_id":"1355262597","filename":"file2"},{"photo_id":"1355262638","filename":"file4"},{"photo_id":"1355262595","filename":"file1"},{"photo_id":"1355262590","filename":"file0"},{"photo_id":"1355262608","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355262595":["hashtag1","hashtag2"]},{"1355262608":["hashtag1","hashtag2"]},{"1355262648":["hashtag1","hashtag2"]},{"1355262597":["hashtag1","hashtag2"]},{"1355262590":["hashtag1","hashtag2"]},{"1355262638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355262595, 1355262608, 1355262648, 1355262597, 1355262590, 1355262638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11838746070862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:38:33.242625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/25/image_02052025_08_26_04_9439.jpg', '/home/pi/Desktop/images/02052025/08/26/image_02052025_08_26_15_10342.jpg', '/home/pi/Desktop/images/02052025/08/26/image_02052025_08_26_25_10382.jpg', '/home/pi/Desktop/images/02052025/08/26/image_02052025_08_26_34_9345.jpg', '/home/pi/Desktop/images/02052025/08/26/image_02052025_08_26_45_10355.jpg', '/home/pi/Desktop/images/02052025/08/26/image_02052025_08_26_55_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/25/image_02052025_08_26_04_9439.jpg
/home/pi/Desktop/images/02052025/08/26/image_02052025_08_26_15_10342.jpg
/home/pi/Desktop/images/02052025/08/26/image_02052025_08_26_25_10382.jpg
/home/pi/Desktop/images/02052025/08/26/image_02052025_08_26_34_9345.jpg
/home/pi/Desktop/images/02052025/08/26/image_02052025_08_26_45_10355.jpg
/home/pi/Desktop/images/02052025/08/26/image_02052025_08_26_55_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355262787","1355262742","1355262782","1355262785","1355262767","1355262737"],"photo_ids_order":["1355262737","1355262742","1355262767","1355262782","1355262785","1355262787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87585b2ff84ce901079814172948c980.jpg","text":"TemporaryFile(/tmp/multipartBody7415708449890806533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178773703,"filename":"image_02052025_08_26_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/5/2/699f326cae2ca978c5a3a101d67b59f7.jpg","text":"TemporaryFile(/tmp/multipartBody5995985052752852267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178773703,"filename":"image_02052025_08_26_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/5/2/b1f69f95e659c983621aefa5015f818d.jpg","text":"TemporaryFile(/tmp/multipartBody7877459725054411650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178773703,"filename":"image_02052025_08_26_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a7bb9355bf5fb3e2a1bedbc1e529c707.jpg","text":"TemporaryFile(/tmp/multipartBody1442836018844766275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178773703,"filename":"image_02052025_08_26_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/5/2/87d2cabc89645c88d49fa7d48f6211b9.jpg","text":"TemporaryFile(/tmp/multipartBody2424368228423917821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178773703,"filename":"image_02052025_08_26_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7b127d3a2f4ffe466e1610f0cd3be388.jpg","text":"TemporaryFile(/tmp/multipartBody4938935644347197363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178773703,"filename":"image_02052025_08_26_04_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355262767","file1":"1355262742","file0":"1355262737","file4":"1355262785","file5":"1355262787","file3":"1355262782"},"map_files_photo_id_array":[{"photo_id":"1355262787","filename":"file5"},{"photo_id":"1355262767","filename":"file2"},{"photo_id":"1355262785","filename":"file4"},{"photo_id":"1355262742","filename":"file1"},{"photo_id":"1355262737","filename":"file0"},{"photo_id":"1355262782","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355262787":["hashtag1","hashtag2"]},{"1355262742":["hashtag1","hashtag2"]},{"1355262782":["hashtag1","hashtag2"]},{"1355262785":["hashtag1","hashtag2"]},{"1355262767":["hashtag1","hashtag2"]},{"1355262737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355262787, 1355262742, 1355262782, 1355262785, 1355262767, 1355262737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51889419555664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:39:32.403391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/26/image_02052025_08_27_05_9416.jpg', '/home/pi/Desktop/images/02052025/08/27/image_02052025_08_27_15_10330.jpg', '/home/pi/Desktop/images/02052025/08/27/image_02052025_08_27_35_10406.jpg', '/home/pi/Desktop/images/02052025/08/27/image_02052025_08_27_45_10352.jpg', '/home/pi/Desktop/images/02052025/08/28/image_02052025_08_28_44_9418.jpg', '/home/pi/Desktop/images/02052025/08/28/image_02052025_08_28_55_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/26/image_02052025_08_27_05_9416.jpg
/home/pi/Desktop/images/02052025/08/27/image_02052025_08_27_15_10330.jpg
/home/pi/Desktop/images/02052025/08/27/image_02052025_08_27_35_10406.jpg
/home/pi/Desktop/images/02052025/08/27/image_02052025_08_27_45_10352.jpg
/home/pi/Desktop/images/02052025/08/28/image_02052025_08_28_44_9418.jpg
/home/pi/Desktop/images/02052025/08/28/image_02052025_08_28_55_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":["1355262888","1355262881","1355262890","1355262884","1355262860","1355262920"],"photo_ids_order":["1355262860","1355262881","1355262884","1355262888","1355262890","1355262920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d54a152e9174c00b264913e850927d77.jpg","text":"TemporaryFile(/tmp/multipartBody9192700366000293644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178832933,"filename":"image_02052025_08_27_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/5/2/295c3f99ab89577c5d19519769717ec5.jpg","text":"TemporaryFile(/tmp/multipartBody3291925748128412305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178832933,"filename":"image_02052025_08_27_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/5/2/0af746ba281d81f5526a54e7fc5b6fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6708068840523751100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178832933,"filename":"image_02052025_08_28_44_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/20e6f9e8ca4e93510256ce620e7bdfc9.jpg","text":"TemporaryFile(/tmp/multipartBody8626915018830312839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178832933,"filename":"image_02052025_08_27_35_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d2d655582100ac5f3717f878ad8e77c.jpg","text":"TemporaryFile(/tmp/multipartBody1022806618745262448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178832933,"filename":"image_02052025_08_27_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/5/2/8631047917dcec262e65aaaaf4896ca9.jpg","text":"TemporaryFile(/tmp/multipartBody3169786245673401120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178832933,"filename":"image_02052025_08_28_55_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355262884","file1":"1355262881","file0":"1355262860","file4":"1355262890","file5":"1355262920","file3":"1355262888"},"map_files_photo_id_array":[{"photo_id":"1355262920","filename":"file5"},{"photo_id":"1355262884","filename":"file2"},{"photo_id":"1355262890","filename":"file4"},{"photo_id":"1355262881","filename":"file1"},{"photo_id":"1355262860","filename":"file0"},{"photo_id":"1355262888","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355262888":["hashtag1","hashtag2"]},{"1355262881":["hashtag1","hashtag2"]},{"1355262890":["hashtag1","hashtag2"]},{"1355262884":["hashtag1","hashtag2"]},{"1355262860":["hashtag1","hashtag2"]},{"1355262920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355262888, 1355262881, 1355262890, 1355262884, 1355262860, 1355262920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.24422264099121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:40:32.452725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/29/image_02052025_08_29_15_10343.jpg', '/home/pi/Desktop/images/02052025/08/29/image_02052025_08_29_25_10350.jpg', '/home/pi/Desktop/images/02052025/08/29/image_02052025_08_29_35_9596.jpg', '/home/pi/Desktop/images/02052025/08/29/image_02052025_08_29_45_10341.jpg', '/home/pi/Desktop/images/02052025/08/29/image_02052025_08_29_54_9486.jpg', '/home/pi/Desktop/images/02052025/08/29/image_02052025_08_30_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/29/image_02052025_08_29_15_10343.jpg
/home/pi/Desktop/images/02052025/08/29/image_02052025_08_29_25_10350.jpg
/home/pi/Desktop/images/02052025/08/29/image_02052025_08_29_35_9596.jpg
/home/pi/Desktop/images/02052025/08/29/image_02052025_08_29_45_10341.jpg
/home/pi/Desktop/images/02052025/08/29/image_02052025_08_29_54_9486.jpg
/home/pi/Desktop/images/02052025/08/29/image_02052025_08_30_05_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355263281","1355263254","1355263341","1355263218","1355263308","1355263369"],"photo_ids_order":["1355263218","1355263254","1355263281","1355263308","1355263341","1355263369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/44c7acac4755447417bd56e944755018.jpg","text":"TemporaryFile(/tmp/multipartBody127874998899226195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178892917,"filename":"image_02052025_08_29_35_9596.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7f75167f6159327ae0881845ebb0ba84.jpg","text":"TemporaryFile(/tmp/multipartBody8254943010454188203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178892917,"filename":"image_02052025_08_29_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/5/2/fe58b814a57c6f1420d1cdaf7d3106d0.jpg","text":"TemporaryFile(/tmp/multipartBody4753464520617398312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178892917,"filename":"image_02052025_08_29_54_9486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc4ea178cf739ef18b369f255566c12b.jpg","text":"TemporaryFile(/tmp/multipartBody208016974336075999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178892917,"filename":"image_02052025_08_29_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/5/2/9cd16807748d2515f06d7485000f5d45.jpg","text":"TemporaryFile(/tmp/multipartBody4634972642311651597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178892917,"filename":"image_02052025_08_29_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/5/2/d90f690ec12bb03c123ad1a424c9ebed.jpg","text":"TemporaryFile(/tmp/multipartBody5021507985391087289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178892917,"filename":"image_02052025_08_30_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355263281","file1":"1355263254","file0":"1355263218","file4":"1355263341","file5":"1355263369","file3":"1355263308"},"map_files_photo_id_array":[{"photo_id":"1355263369","filename":"file5"},{"photo_id":"1355263281","filename":"file2"},{"photo_id":"1355263341","filename":"file4"},{"photo_id":"1355263254","filename":"file1"},{"photo_id":"1355263218","filename":"file0"},{"photo_id":"1355263308","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355263281":["hashtag1","hashtag2"]},{"1355263254":["hashtag1","hashtag2"]},{"1355263341":["hashtag1","hashtag2"]},{"1355263218":["hashtag1","hashtag2"]},{"1355263308":["hashtag1","hashtag2"]},{"1355263369":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355263281, 1355263254, 1355263341, 1355263218, 1355263308, 1355263369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.44966411590576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:41:32.655806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/30/image_02052025_08_30_14_9333.jpg', '/home/pi/Desktop/images/02052025/08/30/image_02052025_08_30_25_10380.jpg', '/home/pi/Desktop/images/02052025/08/31/image_02052025_08_31_14_9333.jpg', '/home/pi/Desktop/images/02052025/08/31/image_02052025_08_31_34_9356.jpg', '/home/pi/Desktop/images/02052025/08/31/image_02052025_08_31_45_10394.jpg', '/home/pi/Desktop/images/02052025/08/31/image_02052025_08_32_04_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/30/image_02052025_08_30_14_9333.jpg
/home/pi/Desktop/images/02052025/08/30/image_02052025_08_30_25_10380.jpg
/home/pi/Desktop/images/02052025/08/31/image_02052025_08_31_14_9333.jpg
/home/pi/Desktop/images/02052025/08/31/image_02052025_08_31_34_9356.jpg
/home/pi/Desktop/images/02052025/08/31/image_02052025_08_31_45_10394.jpg
/home/pi/Desktop/images/02052025/08/31/image_02052025_08_32_04_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":["1355263612","1355263688","1355263670","1355263643","1355263687","1355263582"],"photo_ids_order":["1355263582","1355263612","1355263643","1355263670","1355263687","1355263688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/546715a36a94eba1cdf1b85cd4bb73a3.jpg","text":"TemporaryFile(/tmp/multipartBody3376525894987807923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178953110,"filename":"image_02052025_08_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/5/2/c742b954a409b4eb9a102b49cbca4e96.jpg","text":"TemporaryFile(/tmp/multipartBody190015160910891132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178953110,"filename":"image_02052025_08_32_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/5/2/cadac5ae653c4f239444c6082b4bf04d.jpg","text":"TemporaryFile(/tmp/multipartBody2944751096936093667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178953110,"filename":"image_02052025_08_31_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5c9904d16a02fe073e53903423157d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6519020274564520268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178953110,"filename":"image_02052025_08_31_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/5/2/6fa249476e65d4a8a8646525d29951fc.jpg","text":"TemporaryFile(/tmp/multipartBody4215672850014551398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178953110,"filename":"image_02052025_08_31_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7aec11d129cdcf0e2f209653fddb2457.jpg","text":"TemporaryFile(/tmp/multipartBody714072968896718954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746178953110,"filename":"image_02052025_08_30_14_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355263643","file1":"1355263612","file0":"1355263582","file4":"1355263687","file5":"1355263688","file3":"1355263670"},"map_files_photo_id_array":[{"photo_id":"1355263688","filename":"file5"},{"photo_id":"1355263643","filename":"file2"},{"photo_id":"1355263687","filename":"file4"},{"photo_id":"1355263612","filename":"file1"},{"photo_id":"1355263582","filename":"file0"},{"photo_id":"1355263670","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355263612":["hashtag1","hashtag2"]},{"1355263688":["hashtag1","hashtag2"]},{"1355263670":["hashtag1","hashtag2"]},{"1355263643":["hashtag1","hashtag2"]},{"1355263687":["hashtag1","hashtag2"]},{"1355263582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355263612, 1355263688, 1355263670, 1355263643, 1355263687, 1355263582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.394094467163086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:42:32.875045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/32/image_02052025_08_32_15_10365.jpg', '/home/pi/Desktop/images/02052025/08/32/image_02052025_08_32_45_10342.jpg', '/home/pi/Desktop/images/02052025/08/32/image_02052025_08_32_54_9341.jpg', '/home/pi/Desktop/images/02052025/08/32/image_02052025_08_33_05_10400.jpg', '/home/pi/Desktop/images/02052025/08/33/image_02052025_08_33_15_10354.jpg', '/home/pi/Desktop/images/02052025/08/33/image_02052025_08_33_24_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/32/image_02052025_08_32_15_10365.jpg
/home/pi/Desktop/images/02052025/08/32/image_02052025_08_32_45_10342.jpg
/home/pi/Desktop/images/02052025/08/32/image_02052025_08_32_54_9341.jpg
/home/pi/Desktop/images/02052025/08/32/image_02052025_08_33_05_10400.jpg
/home/pi/Desktop/images/02052025/08/33/image_02052025_08_33_15_10354.jpg
/home/pi/Desktop/images/02052025/08/33/image_02052025_08_33_24_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355263735","1355263732","1355263752","1355263743","1355263739","1355263727"],"photo_ids_order":["1355263727","1355263732","1355263735","1355263739","1355263743","1355263752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/42d2f0695030688f60160c94c8cedb56.jpg","text":"TemporaryFile(/tmp/multipartBody906311779035108109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179013338,"filename":"image_02052025_08_32_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/5/2/bf92bc8d0562f9aeeb028452d26a1870.jpg","text":"TemporaryFile(/tmp/multipartBody2640348085297615992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179013338,"filename":"image_02052025_08_32_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/5/2/808cd5d690cae57614d50680efee8a37.jpg","text":"TemporaryFile(/tmp/multipartBody625624723755116933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179013338,"filename":"image_02052025_08_33_24_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05162d5d10a433f2bcb201b12649cdf0.jpg","text":"TemporaryFile(/tmp/multipartBody424916914497193217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179013338,"filename":"image_02052025_08_33_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/5/2/1d8356eab5346e031a9147a474b6579a.jpg","text":"TemporaryFile(/tmp/multipartBody678828092747902021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179013338,"filename":"image_02052025_08_33_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/5/2/a4b9dbaa71484a02bc16c009be3217da.jpg","text":"TemporaryFile(/tmp/multipartBody5575995397036313713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179013338,"filename":"image_02052025_08_32_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355263735","file1":"1355263732","file0":"1355263727","file4":"1355263743","file5":"1355263752","file3":"1355263739"},"map_files_photo_id_array":[{"photo_id":"1355263752","filename":"file5"},{"photo_id":"1355263735","filename":"file2"},{"photo_id":"1355263743","filename":"file4"},{"photo_id":"1355263732","filename":"file1"},{"photo_id":"1355263727","filename":"file0"},{"photo_id":"1355263739","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355263735":["hashtag1","hashtag2"]},{"1355263732":["hashtag1","hashtag2"]},{"1355263752":["hashtag1","hashtag2"]},{"1355263743":["hashtag1","hashtag2"]},{"1355263739":["hashtag1","hashtag2"]},{"1355263727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355263735, 1355263732, 1355263752, 1355263743, 1355263739, 1355263727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78175401687622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:43:33.037934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/33/image_02052025_08_34_05_10349.jpg', '/home/pi/Desktop/images/02052025/08/34/image_02052025_08_34_35_10341.jpg', '/home/pi/Desktop/images/02052025/08/34/image_02052025_08_34_44_9444.jpg', '/home/pi/Desktop/images/02052025/08/34/image_02052025_08_34_55_10420.jpg', '/home/pi/Desktop/images/02052025/08/34/image_02052025_08_35_05_10350.jpg', '/home/pi/Desktop/images/02052025/08/35/image_02052025_08_35_14_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/33/image_02052025_08_34_05_10349.jpg
/home/pi/Desktop/images/02052025/08/34/image_02052025_08_34_35_10341.jpg
/home/pi/Desktop/images/02052025/08/34/image_02052025_08_34_44_9444.jpg
/home/pi/Desktop/images/02052025/08/34/image_02052025_08_34_55_10420.jpg
/home/pi/Desktop/images/02052025/08/34/image_02052025_08_35_05_10350.jpg
/home/pi/Desktop/images/02052025/08/35/image_02052025_08_35_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":["1355263782","1355263787","1355263811","1355263814","1355263798","1355263792"],"photo_ids_order":["1355263782","1355263787","1355263792","1355263798","1355263811","1355263814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/37d9e9dbee92dcda3782229dc02e3e9c.jpg","text":"TemporaryFile(/tmp/multipartBody6866049366557866548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179073500,"filename":"image_02052025_08_34_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/5/2/dd3bc0c5a57b1fba71157ef115075087.jpg","text":"TemporaryFile(/tmp/multipartBody2790241134697610470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179073500,"filename":"image_02052025_08_34_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b8f436c676e19a503ee2761a1621797.jpg","text":"TemporaryFile(/tmp/multipartBody3267418403758441346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179073500,"filename":"image_02052025_08_35_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/5/2/9db64a10a35fbf1664f91727e9e7bae2.jpg","text":"TemporaryFile(/tmp/multipartBody4838990033357859707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179073500,"filename":"image_02052025_08_35_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a773e5ea0c60f2beb32aaf1f09633b8.jpg","text":"TemporaryFile(/tmp/multipartBody7390148291660018492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179073500,"filename":"image_02052025_08_34_55_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/51c2fd889193a93392f405c8135e0069.jpg","text":"TemporaryFile(/tmp/multipartBody6615953676847621988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179073500,"filename":"image_02052025_08_34_44_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355263792","file1":"1355263787","file0":"1355263782","file4":"1355263811","file5":"1355263814","file3":"1355263798"},"map_files_photo_id_array":[{"photo_id":"1355263814","filename":"file5"},{"photo_id":"1355263792","filename":"file2"},{"photo_id":"1355263811","filename":"file4"},{"photo_id":"1355263787","filename":"file1"},{"photo_id":"1355263782","filename":"file0"},{"photo_id":"1355263798","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355263782":["hashtag1","hashtag2"]},{"1355263787":["hashtag1","hashtag2"]},{"1355263811":["hashtag1","hashtag2"]},{"1355263814":["hashtag1","hashtag2"]},{"1355263798":["hashtag1","hashtag2"]},{"1355263792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355263782, 1355263787, 1355263811, 1355263814, 1355263798, 1355263792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.603193044662476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:44:32.218248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/35/image_02052025_08_35_34_9338.jpg', '/home/pi/Desktop/images/02052025/08/35/image_02052025_08_35_55_10362.jpg', '/home/pi/Desktop/images/02052025/08/36/image_02052025_08_36_15_10348.jpg', '/home/pi/Desktop/images/02052025/08/36/image_02052025_08_36_25_10365.jpg', '/home/pi/Desktop/images/02052025/08/36/image_02052025_08_36_34_9366.jpg', '/home/pi/Desktop/images/02052025/08/36/image_02052025_08_36_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/35/image_02052025_08_35_34_9338.jpg
/home/pi/Desktop/images/02052025/08/35/image_02052025_08_35_55_10362.jpg
/home/pi/Desktop/images/02052025/08/36/image_02052025_08_36_15_10348.jpg
/home/pi/Desktop/images/02052025/08/36/image_02052025_08_36_25_10365.jpg
/home/pi/Desktop/images/02052025/08/36/image_02052025_08_36_34_9366.jpg
/home/pi/Desktop/images/02052025/08/36/image_02052025_08_36_45_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355263855","1355263872","1355263874","1355263862","1355263859","1355263852"],"photo_ids_order":["1355263852","1355263855","1355263859","1355263862","1355263872","1355263874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/920829218efed941a997596b847f5aa9.jpg","text":"TemporaryFile(/tmp/multipartBody308010822601430620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179132682,"filename":"image_02052025_08_35_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/5/2/d1d930332aab9fae11e996d3f1bdc7f9.jpg","text":"TemporaryFile(/tmp/multipartBody8713020057536012299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179132682,"filename":"image_02052025_08_36_34_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e74d7f6be86183a33bf6ce341631a2a6.jpg","text":"TemporaryFile(/tmp/multipartBody6783165486788676492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179132682,"filename":"image_02052025_08_36_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/5/2/f2e3db5e1cf58935969e229187b4ad6f.jpg","text":"TemporaryFile(/tmp/multipartBody6964283180182807095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179132682,"filename":"image_02052025_08_36_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/5/2/9db102164fb6ee65309b607fcd891f95.jpg","text":"TemporaryFile(/tmp/multipartBody8961372142382580729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179132682,"filename":"image_02052025_08_36_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/5/2/7c78c817629ddfdf3957c9f0f064bb62.jpg","text":"TemporaryFile(/tmp/multipartBody6721529980086456523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179132682,"filename":"image_02052025_08_35_34_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355263859","file1":"1355263855","file0":"1355263852","file4":"1355263872","file5":"1355263874","file3":"1355263862"},"map_files_photo_id_array":[{"photo_id":"1355263874","filename":"file5"},{"photo_id":"1355263859","filename":"file2"},{"photo_id":"1355263872","filename":"file4"},{"photo_id":"1355263855","filename":"file1"},{"photo_id":"1355263852","filename":"file0"},{"photo_id":"1355263862","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355263855":["hashtag1","hashtag2"]},{"1355263872":["hashtag1","hashtag2"]},{"1355263874":["hashtag1","hashtag2"]},{"1355263862":["hashtag1","hashtag2"]},{"1355263859":["hashtag1","hashtag2"]},{"1355263852":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355263855, 1355263872, 1355263874, 1355263862, 1355263859, 1355263852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.20784091949463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:45:32.388853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/36/image_02052025_08_36_54_9358.jpg', '/home/pi/Desktop/images/02052025/08/36/image_02052025_08_37_05_10422.jpg', '/home/pi/Desktop/images/02052025/08/37/image_02052025_08_37_15_10425.jpg', '/home/pi/Desktop/images/02052025/08/37/image_02052025_08_37_24_9356.jpg', '/home/pi/Desktop/images/02052025/08/37/image_02052025_08_37_35_10432.jpg', '/home/pi/Desktop/images/02052025/08/37/image_02052025_08_37_44_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/36/image_02052025_08_36_54_9358.jpg
/home/pi/Desktop/images/02052025/08/36/image_02052025_08_37_05_10422.jpg
/home/pi/Desktop/images/02052025/08/37/image_02052025_08_37_15_10425.jpg
/home/pi/Desktop/images/02052025/08/37/image_02052025_08_37_24_9356.jpg
/home/pi/Desktop/images/02052025/08/37/image_02052025_08_37_35_10432.jpg
/home/pi/Desktop/images/02052025/08/37/image_02052025_08_37_44_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":["1355263942","1355263915","1355263968","1355263911","1355263908","1355263966"],"photo_ids_order":["1355263908","1355263911","1355263915","1355263942","1355263966","1355263968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6cfc8424e33b84a194f060f522b6bd18.jpg","text":"TemporaryFile(/tmp/multipartBody8601607846340979748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179192854,"filename":"image_02052025_08_37_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/def6939af9aeecb2043a9adf7691c46b.jpg","text":"TemporaryFile(/tmp/multipartBody4360231390346884234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179192854,"filename":"image_02052025_08_37_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d52baa3e6dd50fe4934902850918a08.jpg","text":"TemporaryFile(/tmp/multipartBody5843870806048899684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179192854,"filename":"image_02052025_08_37_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/5/2/486274f8f21c83ce5ad24c491fcbf43f.jpg","text":"TemporaryFile(/tmp/multipartBody5883369261981605784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179192854,"filename":"image_02052025_08_37_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/475c0c608a7fbe77e3b9c0e36d501bae.jpg","text":"TemporaryFile(/tmp/multipartBody8872527768620774381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179192854,"filename":"image_02052025_08_36_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/346edca93272d81e060c575c412cc4ed.jpg","text":"TemporaryFile(/tmp/multipartBody4588432762882866569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179192854,"filename":"image_02052025_08_37_35_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355263915","file1":"1355263911","file0":"1355263908","file4":"1355263966","file5":"1355263968","file3":"1355263942"},"map_files_photo_id_array":[{"photo_id":"1355263968","filename":"file5"},{"photo_id":"1355263915","filename":"file2"},{"photo_id":"1355263966","filename":"file4"},{"photo_id":"1355263911","filename":"file1"},{"photo_id":"1355263908","filename":"file0"},{"photo_id":"1355263942","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355263942":["hashtag1","hashtag2"]},{"1355263915":["hashtag1","hashtag2"]},{"1355263968":["hashtag1","hashtag2"]},{"1355263911":["hashtag1","hashtag2"]},{"1355263908":["hashtag1","hashtag2"]},{"1355263966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355263942, 1355263915, 1355263968, 1355263911, 1355263908, 1355263966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.689685821533203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:46:32.533247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/37/image_02052025_08_37_55_10402.jpg', '/home/pi/Desktop/images/02052025/08/37/image_02052025_08_38_05_10364.jpg', '/home/pi/Desktop/images/02052025/08/38/image_02052025_08_38_25_10358.jpg', '/home/pi/Desktop/images/02052025/08/38/image_02052025_08_38_35_10350.jpg', '/home/pi/Desktop/images/02052025/08/38/image_02052025_08_38_45_9423.jpg', '/home/pi/Desktop/images/02052025/08/38/image_02052025_08_38_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/37/image_02052025_08_37_55_10402.jpg
/home/pi/Desktop/images/02052025/08/37/image_02052025_08_38_05_10364.jpg
/home/pi/Desktop/images/02052025/08/38/image_02052025_08_38_25_10358.jpg
/home/pi/Desktop/images/02052025/08/38/image_02052025_08_38_35_10350.jpg
/home/pi/Desktop/images/02052025/08/38/image_02052025_08_38_45_9423.jpg
/home/pi/Desktop/images/02052025/08/38/image_02052025_08_38_55_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355264016","1355264001","1355263997","1355264012","1355264009","1355264014"],"photo_ids_order":["1355263997","1355264001","1355264009","1355264012","1355264014","1355264016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e2d6ee2f26d4ee3327ae4e31fea00c70.jpg","text":"TemporaryFile(/tmp/multipartBody1334929883795988459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179252993,"filename":"image_02052025_08_38_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/5/2/6d6422df9775b6f9fb4225c57d9c2d3e.jpg","text":"TemporaryFile(/tmp/multipartBody2843845190367564452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179252993,"filename":"image_02052025_08_38_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/5/2/b6f04313ad80f2f42a7131f82bddf0aa.jpg","text":"TemporaryFile(/tmp/multipartBody2134883700057780968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179252993,"filename":"image_02052025_08_37_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/5/2/773b81b7caf8a51dc850e40cd8de686b.jpg","text":"TemporaryFile(/tmp/multipartBody254478068857542402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179252993,"filename":"image_02052025_08_38_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3891a3ea3c501b1abcbf4dcdf9a57d1.jpg","text":"TemporaryFile(/tmp/multipartBody5967780232146283219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179252993,"filename":"image_02052025_08_38_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/5/2/ad332414302694d5579a0c7745ba940b.jpg","text":"TemporaryFile(/tmp/multipartBody6263340012105692941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179252993,"filename":"image_02052025_08_38_45_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355264009","file1":"1355264001","file0":"1355263997","file4":"1355264014","file5":"1355264016","file3":"1355264012"},"map_files_photo_id_array":[{"photo_id":"1355264016","filename":"file5"},{"photo_id":"1355264009","filename":"file2"},{"photo_id":"1355264014","filename":"file4"},{"photo_id":"1355264001","filename":"file1"},{"photo_id":"1355263997","filename":"file0"},{"photo_id":"1355264012","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355264016":["hashtag1","hashtag2"]},{"1355264001":["hashtag1","hashtag2"]},{"1355263997":["hashtag1","hashtag2"]},{"1355264012":["hashtag1","hashtag2"]},{"1355264009":["hashtag1","hashtag2"]},{"1355264014":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355264016, 1355264001, 1355263997, 1355264012, 1355264009, 1355264014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53030347824097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:47:32.771114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/38/image_02052025_08_39_04_9442.jpg', '/home/pi/Desktop/images/02052025/08/39/image_02052025_08_39_15_10360.jpg', '/home/pi/Desktop/images/02052025/08/39/image_02052025_08_39_54_9408.jpg', '/home/pi/Desktop/images/02052025/08/40/image_02052025_08_40_45_10353.jpg', '/home/pi/Desktop/images/02052025/08/40/image_02052025_08_41_05_10457.jpg', '/home/pi/Desktop/images/02052025/08/41/image_02052025_08_41_14_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/38/image_02052025_08_39_04_9442.jpg
/home/pi/Desktop/images/02052025/08/39/image_02052025_08_39_15_10360.jpg
/home/pi/Desktop/images/02052025/08/39/image_02052025_08_39_54_9408.jpg
/home/pi/Desktop/images/02052025/08/40/image_02052025_08_40_45_10353.jpg
/home/pi/Desktop/images/02052025/08/40/image_02052025_08_41_05_10457.jpg
/home/pi/Desktop/images/02052025/08/41/image_02052025_08_41_14_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355264061","1355264055","1355264049","1355264058","1355264051","1355264045"],"photo_ids_order":["1355264045","1355264049","1355264051","1355264055","1355264058","1355264061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41eb6e202676ef22d1ce0c2ae3c3d7f9.jpg","text":"TemporaryFile(/tmp/multipartBody5167357258453836242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179313230,"filename":"image_02052025_08_41_14_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e6225c1a3267aaa77123caaa3983c33.jpg","text":"TemporaryFile(/tmp/multipartBody4677399758012660239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179313230,"filename":"image_02052025_08_40_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/5/2/4c95269caf369671c543a963bef544b9.jpg","text":"TemporaryFile(/tmp/multipartBody4670034752177651516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179313230,"filename":"image_02052025_08_39_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/5/2/fa782e5d9200e627694220a140e478b9.jpg","text":"TemporaryFile(/tmp/multipartBody8314933044814493635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179313230,"filename":"image_02052025_08_41_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/5/2/f7767fb55f3cafe018b62b38ee607f10.jpg","text":"TemporaryFile(/tmp/multipartBody4505098940265432711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179313230,"filename":"image_02052025_08_39_54_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a66b514f2506d76915249bcd3c0d5098.jpg","text":"TemporaryFile(/tmp/multipartBody8103028802601151604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179313230,"filename":"image_02052025_08_39_04_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355264051","file1":"1355264049","file0":"1355264045","file4":"1355264058","file5":"1355264061","file3":"1355264055"},"map_files_photo_id_array":[{"photo_id":"1355264061","filename":"file5"},{"photo_id":"1355264051","filename":"file2"},{"photo_id":"1355264058","filename":"file4"},{"photo_id":"1355264049","filename":"file1"},{"photo_id":"1355264045","filename":"file0"},{"photo_id":"1355264055","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355264061":["hashtag1","hashtag2"]},{"1355264055":["hashtag1","hashtag2"]},{"1355264049":["hashtag1","hashtag2"]},{"1355264058":["hashtag1","hashtag2"]},{"1355264051":["hashtag1","hashtag2"]},{"1355264045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355264061, 1355264055, 1355264049, 1355264058, 1355264051, 1355264045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50568342208862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:48:32.921810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/41/image_02052025_08_41_25_10369.jpg', '/home/pi/Desktop/images/02052025/08/41/image_02052025_08_42_04_9459.jpg', '/home/pi/Desktop/images/02052025/08/42/image_02052025_08_42_15_10382.jpg', '/home/pi/Desktop/images/02052025/08/42/image_02052025_08_42_25_10373.jpg', '/home/pi/Desktop/images/02052025/08/43/image_02052025_08_43_24_9363.jpg', '/home/pi/Desktop/images/02052025/08/43/image_02052025_08_44_05_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/41/image_02052025_08_41_25_10369.jpg
/home/pi/Desktop/images/02052025/08/41/image_02052025_08_42_04_9459.jpg
/home/pi/Desktop/images/02052025/08/42/image_02052025_08_42_15_10382.jpg
/home/pi/Desktop/images/02052025/08/42/image_02052025_08_42_25_10373.jpg
/home/pi/Desktop/images/02052025/08/43/image_02052025_08_43_24_9363.jpg
/home/pi/Desktop/images/02052025/08/43/image_02052025_08_44_05_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355264101","1355264091","1355264110","1355264121","1355264106","1355264095"],"photo_ids_order":["1355264091","1355264095","1355264101","1355264106","1355264110","1355264121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af1f058ef9bc6bad5c3a2e56dd20f24a.jpg","text":"TemporaryFile(/tmp/multipartBody465278631987866812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179373470,"filename":"image_02052025_08_42_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/5/2/b6e5a4b7ed995ec5107953de1549036c.jpg","text":"TemporaryFile(/tmp/multipartBody6745231803018966297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179373470,"filename":"image_02052025_08_41_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/337a88bf7a536f08ca0482520ef3e2d0.jpg","text":"TemporaryFile(/tmp/multipartBody3476804068058230184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179373470,"filename":"image_02052025_08_43_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/775efe51ea5f6b37327d2eaa4ccece36.jpg","text":"TemporaryFile(/tmp/multipartBody220396303358427273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179373470,"filename":"image_02052025_08_44_05_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6dce037a1b57b6dff2b52b100f965b1.jpg","text":"TemporaryFile(/tmp/multipartBody463619922986988723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179373470,"filename":"image_02052025_08_42_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e726ff077abe0ca13b57c05d1924cf26.jpg","text":"TemporaryFile(/tmp/multipartBody1955517859026801686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179373470,"filename":"image_02052025_08_42_04_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355264101","file1":"1355264095","file0":"1355264091","file4":"1355264110","file5":"1355264121","file3":"1355264106"},"map_files_photo_id_array":[{"photo_id":"1355264121","filename":"file5"},{"photo_id":"1355264101","filename":"file2"},{"photo_id":"1355264110","filename":"file4"},{"photo_id":"1355264095","filename":"file1"},{"photo_id":"1355264091","filename":"file0"},{"photo_id":"1355264106","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355264101":["hashtag1","hashtag2"]},{"1355264091":["hashtag1","hashtag2"]},{"1355264110":["hashtag1","hashtag2"]},{"1355264121":["hashtag1","hashtag2"]},{"1355264106":["hashtag1","hashtag2"]},{"1355264095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355264101, 1355264091, 1355264110, 1355264121, 1355264106, 1355264095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36739492416382 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:49:32.196704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/44/image_02052025_08_44_14_9436.jpg', '/home/pi/Desktop/images/02052025/08/44/image_02052025_08_44_25_10410.jpg', '/home/pi/Desktop/images/02052025/08/44/image_02052025_08_44_45_9415.jpg', '/home/pi/Desktop/images/02052025/08/44/image_02052025_08_44_55_10423.jpg', '/home/pi/Desktop/images/02052025/08/45/image_02052025_08_45_35_10446.jpg', '/home/pi/Desktop/images/02052025/08/46/image_02052025_08_46_24_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/44/image_02052025_08_44_14_9436.jpg
/home/pi/Desktop/images/02052025/08/44/image_02052025_08_44_25_10410.jpg
/home/pi/Desktop/images/02052025/08/44/image_02052025_08_44_45_9415.jpg
/home/pi/Desktop/images/02052025/08/44/image_02052025_08_44_55_10423.jpg
/home/pi/Desktop/images/02052025/08/45/image_02052025_08_45_35_10446.jpg
/home/pi/Desktop/images/02052025/08/46/image_02052025_08_46_24_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":["1355264217","1355264214","1355264192","1355264213","1355264216","1355264179"],"photo_ids_order":["1355264179","1355264192","1355264213","1355264214","1355264216","1355264217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e40a69c58b50e0dd1af45ac089cdce77.jpg","text":"TemporaryFile(/tmp/multipartBody6904992339970067129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179432671,"filename":"image_02052025_08_46_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/5/2/d0eeb416a9147dcda13e21d3dc10a0ea.jpg","text":"TemporaryFile(/tmp/multipartBody9051692578126346595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179432671,"filename":"image_02052025_08_44_55_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/209f71800505f6f06cc8ec785d32bc9d.jpg","text":"TemporaryFile(/tmp/multipartBody6350746982830062508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179432671,"filename":"image_02052025_08_44_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/5/2/86c71a90c56f70e04b435b77a9ffdd3f.jpg","text":"TemporaryFile(/tmp/multipartBody6717957310797875287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179432671,"filename":"image_02052025_08_44_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/5/2/f2ed650f064488a247daa29738b1bed5.jpg","text":"TemporaryFile(/tmp/multipartBody1648636704042103437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179432671,"filename":"image_02052025_08_45_35_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6609c1f275cca18de6f95c9658e5d03.jpg","text":"TemporaryFile(/tmp/multipartBody6197105614995949436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179432671,"filename":"image_02052025_08_44_14_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355264213","file1":"1355264192","file0":"1355264179","file4":"1355264216","file5":"1355264217","file3":"1355264214"},"map_files_photo_id_array":[{"photo_id":"1355264217","filename":"file5"},{"photo_id":"1355264213","filename":"file2"},{"photo_id":"1355264216","filename":"file4"},{"photo_id":"1355264192","filename":"file1"},{"photo_id":"1355264179","filename":"file0"},{"photo_id":"1355264214","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355264217":["hashtag1","hashtag2"]},{"1355264214":["hashtag1","hashtag2"]},{"1355264192":["hashtag1","hashtag2"]},{"1355264213":["hashtag1","hashtag2"]},{"1355264216":["hashtag1","hashtag2"]},{"1355264179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355264217, 1355264214, 1355264192, 1355264213, 1355264216, 1355264179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26997256278992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:50:32.321148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/47/image_02052025_08_47_44_9575.jpg', '/home/pi/Desktop/images/02052025/08/47/image_02052025_08_48_05_9778.jpg', '/home/pi/Desktop/images/02052025/08/48/image_02052025_08_48_35_10433.jpg', '/home/pi/Desktop/images/02052025/08/48/image_02052025_08_48_44_9460.jpg', '/home/pi/Desktop/images/02052025/08/48/image_02052025_08_49_04_9409.jpg', '/home/pi/Desktop/images/02052025/08/49/image_02052025_08_49_15_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/47/image_02052025_08_47_44_9575.jpg
/home/pi/Desktop/images/02052025/08/47/image_02052025_08_48_05_9778.jpg
/home/pi/Desktop/images/02052025/08/48/image_02052025_08_48_35_10433.jpg
/home/pi/Desktop/images/02052025/08/48/image_02052025_08_48_44_9460.jpg
/home/pi/Desktop/images/02052025/08/48/image_02052025_08_49_04_9409.jpg
/home/pi/Desktop/images/02052025/08/49/image_02052025_08_49_15_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":["1355264271","1355264253","1355264264","1355264258","1355264278","1355264257"],"photo_ids_order":["1355264253","1355264257","1355264258","1355264264","1355264271","1355264278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f1f3bcd26b1beac0e2aa08bed4efc4c.jpg","text":"TemporaryFile(/tmp/multipartBody6072636959612203701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179492849,"filename":"image_02052025_08_49_04_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/837befa2472a3416474640be672bae4f.jpg","text":"TemporaryFile(/tmp/multipartBody5170311315871291278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179492849,"filename":"image_02052025_08_47_44_9575.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f855d986b94f20a9ae84eb131f1a90c1.jpg","text":"TemporaryFile(/tmp/multipartBody6541141250970553892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179492849,"filename":"image_02052025_08_48_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/5/2/715461bc234f4208c45dab025e193c98.jpg","text":"TemporaryFile(/tmp/multipartBody5940756495655484988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179492849,"filename":"image_02052025_08_48_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/5/2/5f9ba8e217b5ade1285d04f3ecec2c4b.jpg","text":"TemporaryFile(/tmp/multipartBody3781834210640423465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179492849,"filename":"image_02052025_08_49_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/5/2/4a21ffcb51406c37e523e33ad36fd6b6.jpg","text":"TemporaryFile(/tmp/multipartBody391779239690423565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179492849,"filename":"image_02052025_08_48_05_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355264258","file1":"1355264257","file0":"1355264253","file4":"1355264271","file5":"1355264278","file3":"1355264264"},"map_files_photo_id_array":[{"photo_id":"1355264278","filename":"file5"},{"photo_id":"1355264258","filename":"file2"},{"photo_id":"1355264271","filename":"file4"},{"photo_id":"1355264257","filename":"file1"},{"photo_id":"1355264253","filename":"file0"},{"photo_id":"1355264264","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355264271":["hashtag1","hashtag2"]},{"1355264253":["hashtag1","hashtag2"]},{"1355264264":["hashtag1","hashtag2"]},{"1355264258":["hashtag1","hashtag2"]},{"1355264278":["hashtag1","hashtag2"]},{"1355264257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355264271, 1355264253, 1355264264, 1355264258, 1355264278, 1355264257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.62273406982422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:51:32.486567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/49/image_02052025_08_49_25_10353.jpg', '/home/pi/Desktop/images/02052025/08/49/image_02052025_08_49_34_9422.jpg', '/home/pi/Desktop/images/02052025/08/49/image_02052025_08_49_54_9347.jpg', '/home/pi/Desktop/images/02052025/08/50/image_02052025_08_50_24_9443.jpg', '/home/pi/Desktop/images/02052025/08/50/image_02052025_08_50_54_9399.jpg', '/home/pi/Desktop/images/02052025/08/51/image_02052025_08_51_14_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/49/image_02052025_08_49_25_10353.jpg
/home/pi/Desktop/images/02052025/08/49/image_02052025_08_49_34_9422.jpg
/home/pi/Desktop/images/02052025/08/49/image_02052025_08_49_54_9347.jpg
/home/pi/Desktop/images/02052025/08/50/image_02052025_08_50_24_9443.jpg
/home/pi/Desktop/images/02052025/08/50/image_02052025_08_50_54_9399.jpg
/home/pi/Desktop/images/02052025/08/51/image_02052025_08_51_14_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":["1355264322","1355264307","1355264330","1355264327","1355264312","1355264317"],"photo_ids_order":["1355264307","1355264312","1355264317","1355264322","1355264327","1355264330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6b52a4ab61d0a57eba8a58b2b6acdb3.jpg","text":"TemporaryFile(/tmp/multipartBody1712704399703954164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179552951,"filename":"image_02052025_08_50_24_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b34dfa8132e69265f5942b7cc175f42b.jpg","text":"TemporaryFile(/tmp/multipartBody6248155366465940861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179552951,"filename":"image_02052025_08_49_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/5/2/37f940e68f1c4bdfcb35092d640353d4.jpg","text":"TemporaryFile(/tmp/multipartBody1644753755462563266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179552951,"filename":"image_02052025_08_51_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b88bd0b42f55b4aede0c98868d40de0.jpg","text":"TemporaryFile(/tmp/multipartBody2444915474247622397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179552951,"filename":"image_02052025_08_50_54_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/77bb5d0b96df73dbd8c9674fb8e5c337.jpg","text":"TemporaryFile(/tmp/multipartBody4502071061517749228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179552951,"filename":"image_02052025_08_49_34_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7cb9de75ad1d82982be5629efb974323.jpg","text":"TemporaryFile(/tmp/multipartBody6455167394537612928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179552951,"filename":"image_02052025_08_49_54_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355264317","file1":"1355264312","file0":"1355264307","file4":"1355264327","file5":"1355264330","file3":"1355264322"},"map_files_photo_id_array":[{"photo_id":"1355264330","filename":"file5"},{"photo_id":"1355264317","filename":"file2"},{"photo_id":"1355264327","filename":"file4"},{"photo_id":"1355264312","filename":"file1"},{"photo_id":"1355264307","filename":"file0"},{"photo_id":"1355264322","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355264322":["hashtag1","hashtag2"]},{"1355264307":["hashtag1","hashtag2"]},{"1355264330":["hashtag1","hashtag2"]},{"1355264327":["hashtag1","hashtag2"]},{"1355264312":["hashtag1","hashtag2"]},{"1355264317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355264322, 1355264307, 1355264330, 1355264327, 1355264312, 1355264317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21078443527222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:52:32.689543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/51/image_02052025_08_51_25_10473.jpg', '/home/pi/Desktop/images/02052025/08/51/image_02052025_08_51_35_10334.jpg', '/home/pi/Desktop/images/02052025/08/51/image_02052025_08_51_55_10363.jpg', '/home/pi/Desktop/images/02052025/08/52/image_02052025_08_52_34_9328.jpg', '/home/pi/Desktop/images/02052025/08/52/image_02052025_08_52_45_10343.jpg', '/home/pi/Desktop/images/02052025/08/52/image_02052025_08_52_55_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/51/image_02052025_08_51_25_10473.jpg
/home/pi/Desktop/images/02052025/08/51/image_02052025_08_51_35_10334.jpg
/home/pi/Desktop/images/02052025/08/51/image_02052025_08_51_55_10363.jpg
/home/pi/Desktop/images/02052025/08/52/image_02052025_08_52_34_9328.jpg
/home/pi/Desktop/images/02052025/08/52/image_02052025_08_52_45_10343.jpg
/home/pi/Desktop/images/02052025/08/52/image_02052025_08_52_55_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355264499","1355264520","1355264523","1355264495","1355264504","1355264501"],"photo_ids_order":["1355264495","1355264499","1355264501","1355264504","1355264520","1355264523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8631d467210b69bd2aef8f9af78a95bb.jpg","text":"TemporaryFile(/tmp/multipartBody8217665670814824308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179613153,"filename":"image_02052025_08_51_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/5/2/5fae2ebe1ccc7494f95b144f4ccb741e.jpg","text":"TemporaryFile(/tmp/multipartBody8757069971377414581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179613153,"filename":"image_02052025_08_52_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/5/2/27744f126e52e29d8a46ddb24b62f82c.jpg","text":"TemporaryFile(/tmp/multipartBody7010318685860791703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179613153,"filename":"image_02052025_08_52_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/5/2/80d6da110e35836215037daec43f3342.jpg","text":"TemporaryFile(/tmp/multipartBody5861413606435085167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179613153,"filename":"image_02052025_08_51_25_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4683f10ac64ceff3a43e0869d1a051cb.jpg","text":"TemporaryFile(/tmp/multipartBody664310626059778939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179613153,"filename":"image_02052025_08_52_34_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e252d88206abdc02cd1fa582bbae86b4.jpg","text":"TemporaryFile(/tmp/multipartBody6484259183663694052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179613153,"filename":"image_02052025_08_51_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355264501","file1":"1355264499","file0":"1355264495","file4":"1355264520","file5":"1355264523","file3":"1355264504"},"map_files_photo_id_array":[{"photo_id":"1355264523","filename":"file5"},{"photo_id":"1355264501","filename":"file2"},{"photo_id":"1355264520","filename":"file4"},{"photo_id":"1355264499","filename":"file1"},{"photo_id":"1355264495","filename":"file0"},{"photo_id":"1355264504","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355264499":["hashtag1","hashtag2"]},{"1355264520":["hashtag1","hashtag2"]},{"1355264523":["hashtag1","hashtag2"]},{"1355264495":["hashtag1","hashtag2"]},{"1355264504":["hashtag1","hashtag2"]},{"1355264501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355264499, 1355264520, 1355264523, 1355264495, 1355264504, 1355264501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.415454626083374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:53:32.825149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/53/image_02052025_08_53_55_10364.jpg', '/home/pi/Desktop/images/02052025/08/53/image_02052025_08_54_05_9426.jpg', '/home/pi/Desktop/images/02052025/08/54/image_02052025_08_54_15_10365.jpg', '/home/pi/Desktop/images/02052025/08/54/image_02052025_08_54_35_10359.jpg', '/home/pi/Desktop/images/02052025/08/54/image_02052025_08_54_54_9341.jpg', '/home/pi/Desktop/images/02052025/08/54/image_02052025_08_55_05_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/53/image_02052025_08_53_55_10364.jpg
/home/pi/Desktop/images/02052025/08/53/image_02052025_08_54_05_9426.jpg
/home/pi/Desktop/images/02052025/08/54/image_02052025_08_54_15_10365.jpg
/home/pi/Desktop/images/02052025/08/54/image_02052025_08_54_35_10359.jpg
/home/pi/Desktop/images/02052025/08/54/image_02052025_08_54_54_9341.jpg
/home/pi/Desktop/images/02052025/08/54/image_02052025_08_55_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":["1355264595","1355264574","1355264613","1355264579","1355264612","1355264581"],"photo_ids_order":["1355264574","1355264579","1355264581","1355264595","1355264612","1355264613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/64ae88415e19c55754512d02f1a6a926.jpg","text":"TemporaryFile(/tmp/multipartBody4242744058604250665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179673292,"filename":"image_02052025_08_54_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e148f5c9b521dcf1221ebe386fbaa61c.jpg","text":"TemporaryFile(/tmp/multipartBody7964573662780618305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179673292,"filename":"image_02052025_08_53_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/5/2/48780e72585282918d617a6a97fe3af7.jpg","text":"TemporaryFile(/tmp/multipartBody828894760523099803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179673292,"filename":"image_02052025_08_55_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/5/2/d51292dd8706261207c70558bcdc987c.jpg","text":"TemporaryFile(/tmp/multipartBody5925799640154800658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179673292,"filename":"image_02052025_08_54_05_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3c85efc5a289b7980a5c9e5e814b539.jpg","text":"TemporaryFile(/tmp/multipartBody827488710557847136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179673292,"filename":"image_02052025_08_54_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/5/2/26263bb4628254fbcc511e490299902b.jpg","text":"TemporaryFile(/tmp/multipartBody7908653214547175143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179673292,"filename":"image_02052025_08_54_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355264581","file1":"1355264579","file0":"1355264574","file4":"1355264612","file5":"1355264613","file3":"1355264595"},"map_files_photo_id_array":[{"photo_id":"1355264613","filename":"file5"},{"photo_id":"1355264581","filename":"file2"},{"photo_id":"1355264612","filename":"file4"},{"photo_id":"1355264579","filename":"file1"},{"photo_id":"1355264574","filename":"file0"},{"photo_id":"1355264595","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355264595":["hashtag1","hashtag2"]},{"1355264574":["hashtag1","hashtag2"]},{"1355264613":["hashtag1","hashtag2"]},{"1355264579":["hashtag1","hashtag2"]},{"1355264612":["hashtag1","hashtag2"]},{"1355264581":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355264595, 1355264574, 1355264613, 1355264579, 1355264612, 1355264581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.89197874069214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:54:33.009065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/55/image_02052025_08_55_14_9384.jpg', '/home/pi/Desktop/images/02052025/08/55/image_02052025_08_55_25_10385.jpg', '/home/pi/Desktop/images/02052025/08/55/image_02052025_08_55_35_10349.jpg', '/home/pi/Desktop/images/02052025/08/55/image_02052025_08_55_44_9385.jpg', '/home/pi/Desktop/images/02052025/08/55/image_02052025_08_55_55_10341.jpg', '/home/pi/Desktop/images/02052025/08/55/image_02052025_08_56_05_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/55/image_02052025_08_55_14_9384.jpg
/home/pi/Desktop/images/02052025/08/55/image_02052025_08_55_25_10385.jpg
/home/pi/Desktop/images/02052025/08/55/image_02052025_08_55_35_10349.jpg
/home/pi/Desktop/images/02052025/08/55/image_02052025_08_55_44_9385.jpg
/home/pi/Desktop/images/02052025/08/55/image_02052025_08_55_55_10341.jpg
/home/pi/Desktop/images/02052025/08/55/image_02052025_08_56_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":["1355264664","1355264660","1355264651","1355264645","1355264665","1355264656"],"photo_ids_order":["1355264645","1355264651","1355264656","1355264660","1355264664","1355264665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/04b94a7f732727565c64ecb4a7830962.jpg","text":"TemporaryFile(/tmp/multipartBody2357971771015188171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179733461,"filename":"image_02052025_08_55_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/5/2/fd24c1feedfde2660b9512535834bada.jpg","text":"TemporaryFile(/tmp/multipartBody4853671027196728432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179733461,"filename":"image_02052025_08_55_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/5/2/14071c7b50205d1c9eeeb44ad9f4363b.jpg","text":"TemporaryFile(/tmp/multipartBody710273780099513375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179733461,"filename":"image_02052025_08_55_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0640d0ed515f243c279c1ae32e47e0df.jpg","text":"TemporaryFile(/tmp/multipartBody4660644057785978416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179733461,"filename":"image_02052025_08_55_14_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c391942689fb22238b7afeabaf4d6a94.jpg","text":"TemporaryFile(/tmp/multipartBody6702080356580247222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179733461,"filename":"image_02052025_08_56_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/5/2/3b8862384c00b75150a8a292166f211e.jpg","text":"TemporaryFile(/tmp/multipartBody4393739284548353705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179733461,"filename":"image_02052025_08_55_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355264656","file1":"1355264651","file0":"1355264645","file4":"1355264664","file5":"1355264665","file3":"1355264660"},"map_files_photo_id_array":[{"photo_id":"1355264665","filename":"file5"},{"photo_id":"1355264656","filename":"file2"},{"photo_id":"1355264664","filename":"file4"},{"photo_id":"1355264651","filename":"file1"},{"photo_id":"1355264645","filename":"file0"},{"photo_id":"1355264660","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355264664":["hashtag1","hashtag2"]},{"1355264660":["hashtag1","hashtag2"]},{"1355264651":["hashtag1","hashtag2"]},{"1355264645":["hashtag1","hashtag2"]},{"1355264665":["hashtag1","hashtag2"]},{"1355264656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355264664, 1355264660, 1355264651, 1355264645, 1355264665, 1355264656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.35542869567871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:55:32.222470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/08/59/image_02052025_08_59_14_9363.jpg', '/home/pi/Desktop/images/02052025/08/59/image_02052025_08_59_44_9391.jpg', '/home/pi/Desktop/images/02052025/08/59/image_02052025_08_59_55_10364.jpg', '/home/pi/Desktop/images/02052025/09/01/image_02052025_09_01_25_10389.jpg', '/home/pi/Desktop/images/02052025/09/01/image_02052025_09_01_44_9451.jpg', '/home/pi/Desktop/images/02052025/09/01/image_02052025_09_01_55_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/08/59/image_02052025_08_59_14_9363.jpg
/home/pi/Desktop/images/02052025/08/59/image_02052025_08_59_44_9391.jpg
/home/pi/Desktop/images/02052025/08/59/image_02052025_08_59_55_10364.jpg
/home/pi/Desktop/images/02052025/09/01/image_02052025_09_01_25_10389.jpg
/home/pi/Desktop/images/02052025/09/01/image_02052025_09_01_44_9451.jpg
/home/pi/Desktop/images/02052025/09/01/image_02052025_09_01_55_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":["1355264709","1355264711","1355264705","1355264695","1355264698","1355264701"],"photo_ids_order":["1355264695","1355264698","1355264701","1355264705","1355264709","1355264711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a79bfb83c372abf57cc27018cc96b1eb.jpg","text":"TemporaryFile(/tmp/multipartBody8583481926293272295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179792741,"filename":"image_02052025_09_01_44_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/19fb90b456fca2343fd0f624a171992b.jpg","text":"TemporaryFile(/tmp/multipartBody5684077915190345252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179792741,"filename":"image_02052025_09_01_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/5/2/58884f204b77dbf105be02066fc64b45.jpg","text":"TemporaryFile(/tmp/multipartBody1014087565871044496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179792741,"filename":"image_02052025_09_01_25_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f86b329a76cc738bc1b3f4e3d6b58a69.jpg","text":"TemporaryFile(/tmp/multipartBody8289479023808383507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179792741,"filename":"image_02052025_08_59_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/5/2/7642964101a0ee4ba0f622c5965bc3e7.jpg","text":"TemporaryFile(/tmp/multipartBody6834841934538623972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179792741,"filename":"image_02052025_08_59_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/5/2/f22fe45dbc3156d627a88a982ae998b5.jpg","text":"TemporaryFile(/tmp/multipartBody359811180866435313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179792741,"filename":"image_02052025_08_59_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355264701","file1":"1355264698","file0":"1355264695","file4":"1355264709","file5":"1355264711","file3":"1355264705"},"map_files_photo_id_array":[{"photo_id":"1355264711","filename":"file5"},{"photo_id":"1355264701","filename":"file2"},{"photo_id":"1355264709","filename":"file4"},{"photo_id":"1355264698","filename":"file1"},{"photo_id":"1355264695","filename":"file0"},{"photo_id":"1355264705","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355264709":["hashtag1","hashtag2"]},{"1355264711":["hashtag1","hashtag2"]},{"1355264705":["hashtag1","hashtag2"]},{"1355264695":["hashtag1","hashtag2"]},{"1355264698":["hashtag1","hashtag2"]},{"1355264701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355264709, 1355264711, 1355264705, 1355264695, 1355264698, 1355264701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.27022886276245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:56:32.375395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/02/image_02052025_09_02_15_10452.jpg', '/home/pi/Desktop/images/02052025/09/02/image_02052025_09_02_25_10388.jpg', '/home/pi/Desktop/images/02052025/09/03/image_02052025_09_03_24_9413.jpg', '/home/pi/Desktop/images/02052025/09/03/image_02052025_09_04_05_10349.jpg', '/home/pi/Desktop/images/02052025/09/04/image_02052025_09_04_24_9422.jpg', '/home/pi/Desktop/images/02052025/09/04/image_02052025_09_04_35_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/02/image_02052025_09_02_15_10452.jpg
/home/pi/Desktop/images/02052025/09/02/image_02052025_09_02_25_10388.jpg
/home/pi/Desktop/images/02052025/09/03/image_02052025_09_03_24_9413.jpg
/home/pi/Desktop/images/02052025/09/03/image_02052025_09_04_05_10349.jpg
/home/pi/Desktop/images/02052025/09/04/image_02052025_09_04_24_9422.jpg
/home/pi/Desktop/images/02052025/09/04/image_02052025_09_04_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":["1355264769","1355264739","1355264753","1355264735","1355264804","1355264743"],"photo_ids_order":["1355264735","1355264739","1355264743","1355264753","1355264769","1355264804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e2ba1752f430f75ff745d35c4c9b0867.jpg","text":"TemporaryFile(/tmp/multipartBody5029533160948436699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179852851,"filename":"image_02052025_09_04_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6d4106b9fb6935f6ef5398e5b6536fd.jpg","text":"TemporaryFile(/tmp/multipartBody6167281516246783506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179852851,"filename":"image_02052025_09_02_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/5/2/4b6e521128976ccdb7f95c3166a0cb8a.jpg","text":"TemporaryFile(/tmp/multipartBody8298828318599585527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179852851,"filename":"image_02052025_09_04_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/5/2/44fc01a6ccfa3f980c6212221c97e4b7.jpg","text":"TemporaryFile(/tmp/multipartBody3753717045764198116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179852851,"filename":"image_02052025_09_02_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/5/2/d0c40949fcdf33bff24ed25c3fbf1801.jpg","text":"TemporaryFile(/tmp/multipartBody898634177372818685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179852851,"filename":"image_02052025_09_04_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/5/2/64c05ebc4e1bb078224c08cb17ff193c.jpg","text":"TemporaryFile(/tmp/multipartBody8935895543580574837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746179852851,"filename":"image_02052025_09_03_24_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355264743","file1":"1355264739","file0":"1355264735","file4":"1355264769","file5":"1355264804","file3":"1355264753"},"map_files_photo_id_array":[{"photo_id":"1355264804","filename":"file5"},{"photo_id":"1355264743","filename":"file2"},{"photo_id":"1355264769","filename":"file4"},{"photo_id":"1355264739","filename":"file1"},{"photo_id":"1355264735","filename":"file0"},{"photo_id":"1355264753","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355264769":["hashtag1","hashtag2"]},{"1355264739":["hashtag1","hashtag2"]},{"1355264753":["hashtag1","hashtag2"]},{"1355264735":["hashtag1","hashtag2"]},{"1355264804":["hashtag1","hashtag2"]},{"1355264743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355264769, 1355264739, 1355264753, 1355264735, 1355264804, 1355264743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.951980590820312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 11:57:32.594487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/04/image_02052025_09_05_05_10345.jpg', '/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_25_9445.jpg', '/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_35_10360.jpg', '/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_44_9383.jpg', '/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_55_10363.jpg', '/home/pi/Desktop/images/02052025/09/06/image_02052025_09_06_25_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/04/image_02052025_09_05_05_10345.jpg
/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_25_9445.jpg
/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_35_10360.jpg
/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_44_9383.jpg
/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_55_10363.jpg
/home/pi/Desktop/images/02052025/09/06/image_02052025_09_06_25_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 11:59:04.719151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/04/image_02052025_09_05_05_10345.jpg', '/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_25_9445.jpg', '/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_35_10360.jpg', '/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_44_9383.jpg', '/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_55_10363.jpg', '/home/pi/Desktop/images/02052025/09/06/image_02052025_09_06_25_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/04/image_02052025_09_05_05_10345.jpg
/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_25_9445.jpg
/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_35_10360.jpg
/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_44_9383.jpg
/home/pi/Desktop/images/02052025/09/05/image_02052025_09_05_55_10363.jpg
/home/pi/Desktop/images/02052025/09/06/image_02052025_09_06_25_10376.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355266385","1355266591","1355266462","1355266714","1355266531","1355266647"],"photo_ids_order":["1355266385","1355266462","1355266531","1355266591","1355266647","1355266714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae2e9760d58fab8f706335f66d1506b2.jpg","text":"TemporaryFile(/tmp/multipartBody5307827645547003412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180005430,"filename":"image_02052025_09_05_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/5/2/9aa855d846a92c3f84ea0c58e4a0f081.jpg","text":"TemporaryFile(/tmp/multipartBody2744676187279948932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180005430,"filename":"image_02052025_09_05_44_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7ec9564dc092f4bddefb287f002ec71.jpg","text":"TemporaryFile(/tmp/multipartBody2681288894802172098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180005430,"filename":"image_02052025_09_05_25_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3643cee07bf6709847532552704ceacd.jpg","text":"TemporaryFile(/tmp/multipartBody345379301373746420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180005430,"filename":"image_02052025_09_06_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a121a83f8ae17d42c4fde38db4f75490.jpg","text":"TemporaryFile(/tmp/multipartBody5546154657376626836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180005430,"filename":"image_02052025_09_05_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/5/2/2a42ab83e18e29acffca62cc3b9062e6.jpg","text":"TemporaryFile(/tmp/multipartBody91553354942079041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180005430,"filename":"image_02052025_09_05_55_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355266531","file1":"1355266462","file0":"1355266385","file4":"1355266647","file5":"1355266714","file3":"1355266591"},"map_files_photo_id_array":[{"photo_id":"1355266714","filename":"file5"},{"photo_id":"1355266531","filename":"file2"},{"photo_id":"1355266647","filename":"file4"},{"photo_id":"1355266462","filename":"file1"},{"photo_id":"1355266385","filename":"file0"},{"photo_id":"1355266591","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355266385":["hashtag1","hashtag2"]},{"1355266591":["hashtag1","hashtag2"]},{"1355266462":["hashtag1","hashtag2"]},{"1355266714":["hashtag1","hashtag2"]},{"1355266531":["hashtag1","hashtag2"]},{"1355266647":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355266385, 1355266591, 1355266462, 1355266714, 1355266531, 1355266647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.555678844451904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 11:59:43.180092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/06/image_02052025_09_06_45_10361.jpg', '/home/pi/Desktop/images/02052025/09/07/image_02052025_09_07_35_10366.jpg', '/home/pi/Desktop/images/02052025/09/08/image_02052025_09_08_14_9348.jpg', '/home/pi/Desktop/images/02052025/09/08/image_02052025_09_08_25_10429.jpg', '/home/pi/Desktop/images/02052025/09/09/image_02052025_09_09_45_10360.jpg', '/home/pi/Desktop/images/02052025/09/11/image_02052025_09_11_35_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/06/image_02052025_09_06_45_10361.jpg
/home/pi/Desktop/images/02052025/09/07/image_02052025_09_07_35_10366.jpg
/home/pi/Desktop/images/02052025/09/08/image_02052025_09_08_14_9348.jpg
/home/pi/Desktop/images/02052025/09/08/image_02052025_09_08_25_10429.jpg
/home/pi/Desktop/images/02052025/09/09/image_02052025_09_09_45_10360.jpg
/home/pi/Desktop/images/02052025/09/11/image_02052025_09_11_35_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":["1355266853","1355266850","1355266823","1355266846","1355266861","1355266857"],"photo_ids_order":["1355266823","1355266846","1355266850","1355266853","1355266857","1355266861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2f86960365ff531668bcb6710848aea7.jpg","text":"TemporaryFile(/tmp/multipartBody2092912542992279276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180043641,"filename":"image_02052025_09_08_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/5/2/ce67cfa6b061ae79ef9ce3fa26018e80.jpg","text":"TemporaryFile(/tmp/multipartBody4586934217725245662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180043641,"filename":"image_02052025_09_08_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/5/2/ba36c0f23872f1c80498030f5841c913.jpg","text":"TemporaryFile(/tmp/multipartBody8148810937043710368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180043641,"filename":"image_02052025_09_06_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/5/2/803ef38699992d3ff6d23b7be6b4052c.jpg","text":"TemporaryFile(/tmp/multipartBody4590709644872155741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180043641,"filename":"image_02052025_09_07_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/5/2/b652a34a34b06b32174518c710702132.jpg","text":"TemporaryFile(/tmp/multipartBody9157693160565836547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180043641,"filename":"image_02052025_09_11_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/5/2/f9eb1ef3ff6f6a2f4c12ad78f6d69aac.jpg","text":"TemporaryFile(/tmp/multipartBody1804775898307701768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180043641,"filename":"image_02052025_09_09_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355266850","file1":"1355266846","file0":"1355266823","file4":"1355266857","file5":"1355266861","file3":"1355266853"},"map_files_photo_id_array":[{"photo_id":"1355266861","filename":"file5"},{"photo_id":"1355266850","filename":"file2"},{"photo_id":"1355266857","filename":"file4"},{"photo_id":"1355266846","filename":"file1"},{"photo_id":"1355266823","filename":"file0"},{"photo_id":"1355266853","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355266853":["hashtag1","hashtag2"]},{"1355266850":["hashtag1","hashtag2"]},{"1355266823":["hashtag1","hashtag2"]},{"1355266846":["hashtag1","hashtag2"]},{"1355266861":["hashtag1","hashtag2"]},{"1355266857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355266853, 1355266850, 1355266823, 1355266846, 1355266861, 1355266857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46551585197449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:00:32.491599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/11/image_02052025_09_11_44_9475.jpg', '/home/pi/Desktop/images/02052025/09/11/image_02052025_09_11_55_10375.jpg', '/home/pi/Desktop/images/02052025/09/12/image_02052025_09_12_14_9352.jpg', '/home/pi/Desktop/images/02052025/09/12/image_02052025_09_12_25_10388.jpg', '/home/pi/Desktop/images/02052025/09/12/image_02052025_09_12_34_9346.jpg', '/home/pi/Desktop/images/02052025/09/12/image_02052025_09_12_45_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/11/image_02052025_09_11_44_9475.jpg
/home/pi/Desktop/images/02052025/09/11/image_02052025_09_11_55_10375.jpg
/home/pi/Desktop/images/02052025/09/12/image_02052025_09_12_14_9352.jpg
/home/pi/Desktop/images/02052025/09/12/image_02052025_09_12_25_10388.jpg
/home/pi/Desktop/images/02052025/09/12/image_02052025_09_12_34_9346.jpg
/home/pi/Desktop/images/02052025/09/12/image_02052025_09_12_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":["1355267321","1355267201","1355267107","1355267385","1355267256","1355267144"],"photo_ids_order":["1355267107","1355267144","1355267201","1355267256","1355267321","1355267385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b158277e1f3c34135d0f02f124040106.jpg","text":"TemporaryFile(/tmp/multipartBody8742475719808038755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180093104,"filename":"image_02052025_09_12_34_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/18799bd1501d0e95e2b7381061a96e29.jpg","text":"TemporaryFile(/tmp/multipartBody5175012626936834718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180093104,"filename":"image_02052025_09_12_14_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a4a48b95bd619dd65eb6331aa35b76a.jpg","text":"TemporaryFile(/tmp/multipartBody5645592715537756058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180093104,"filename":"image_02052025_09_11_44_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7f9aac1eb3ee3a99e483ab8b913500ad.jpg","text":"TemporaryFile(/tmp/multipartBody2129841887518878232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180093104,"filename":"image_02052025_09_12_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/5/2/c27f8821d42a38693c8e509cd3f9572e.jpg","text":"TemporaryFile(/tmp/multipartBody6080517324795894148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180093104,"filename":"image_02052025_09_12_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/5/2/e7070ed91571284bf240c6f08926902c.jpg","text":"TemporaryFile(/tmp/multipartBody6055339993523781087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180093104,"filename":"image_02052025_09_11_55_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355267201","file1":"1355267144","file0":"1355267107","file4":"1355267321","file5":"1355267385","file3":"1355267256"},"map_files_photo_id_array":[{"photo_id":"1355267385","filename":"file5"},{"photo_id":"1355267201","filename":"file2"},{"photo_id":"1355267321","filename":"file4"},{"photo_id":"1355267144","filename":"file1"},{"photo_id":"1355267107","filename":"file0"},{"photo_id":"1355267256","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355267321":["hashtag1","hashtag2"]},{"1355267201":["hashtag1","hashtag2"]},{"1355267107":["hashtag1","hashtag2"]},{"1355267385":["hashtag1","hashtag2"]},{"1355267256":["hashtag1","hashtag2"]},{"1355267144":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355267321, 1355267201, 1355267107, 1355267385, 1355267256, 1355267144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78734111785889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:01:32.686143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/12/image_02052025_09_12_55_10354.jpg', '/home/pi/Desktop/images/02052025/09/12/image_02052025_09_13_04_9474.jpg', '/home/pi/Desktop/images/02052025/09/13/image_02052025_09_13_15_10351.jpg', '/home/pi/Desktop/images/02052025/09/13/image_02052025_09_13_24_9512.jpg', '/home/pi/Desktop/images/02052025/09/13/image_02052025_09_13_35_10357.jpg', '/home/pi/Desktop/images/02052025/09/13/image_02052025_09_13_45_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/12/image_02052025_09_12_55_10354.jpg
/home/pi/Desktop/images/02052025/09/12/image_02052025_09_13_04_9474.jpg
/home/pi/Desktop/images/02052025/09/13/image_02052025_09_13_15_10351.jpg
/home/pi/Desktop/images/02052025/09/13/image_02052025_09_13_24_9512.jpg
/home/pi/Desktop/images/02052025/09/13/image_02052025_09_13_35_10357.jpg
/home/pi/Desktop/images/02052025/09/13/image_02052025_09_13_45_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355268280","1355268432","1355268482","1355268222","1355268380","1355268152"],"photo_ids_order":["1355268152","1355268222","1355268280","1355268380","1355268432","1355268482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53d9597adbb01653381c9315468e503b.jpg","text":"TemporaryFile(/tmp/multipartBody5428089561878763706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180153142,"filename":"image_02052025_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/5/2/e3c92728f8650c357a0bfd50cf3dbec4.jpg","text":"TemporaryFile(/tmp/multipartBody8484522564693733729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180153142,"filename":"image_02052025_09_13_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/5/2/a08834ee01629eb553157627d962eb00.jpg","text":"TemporaryFile(/tmp/multipartBody855901051996986496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180153142,"filename":"image_02052025_09_13_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/5/2/341772920438c4e9e1f8b92e31b63ed6.jpg","text":"TemporaryFile(/tmp/multipartBody2801312849098376471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180153142,"filename":"image_02052025_09_13_04_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9580b7122b34fce0c2a8bfa781e0a642.jpg","text":"TemporaryFile(/tmp/multipartBody8096200154706435563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180153142,"filename":"image_02052025_09_13_24_9512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e33264ffa5dd5c84de39530e7f508a8.jpg","text":"TemporaryFile(/tmp/multipartBody5785946339780024695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180153142,"filename":"image_02052025_09_12_55_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355268280","file1":"1355268222","file0":"1355268152","file4":"1355268432","file5":"1355268482","file3":"1355268380"},"map_files_photo_id_array":[{"photo_id":"1355268482","filename":"file5"},{"photo_id":"1355268280","filename":"file2"},{"photo_id":"1355268432","filename":"file4"},{"photo_id":"1355268222","filename":"file1"},{"photo_id":"1355268152","filename":"file0"},{"photo_id":"1355268380","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355268280":["hashtag1","hashtag2"]},{"1355268432":["hashtag1","hashtag2"]},{"1355268482":["hashtag1","hashtag2"]},{"1355268222":["hashtag1","hashtag2"]},{"1355268380":["hashtag1","hashtag2"]},{"1355268152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355268280, 1355268432, 1355268482, 1355268222, 1355268380, 1355268152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.431544065475464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:02:32.800908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/13/image_02052025_09_13_54_9355.jpg', '/home/pi/Desktop/images/02052025/09/14/image_02052025_09_14_34_9402.jpg', '/home/pi/Desktop/images/02052025/09/14/image_02052025_09_15_04_9332.jpg', '/home/pi/Desktop/images/02052025/09/15/image_02052025_09_15_15_10435.jpg', '/home/pi/Desktop/images/02052025/09/15/image_02052025_09_15_24_9462.jpg', '/home/pi/Desktop/images/02052025/09/15/image_02052025_09_15_35_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/13/image_02052025_09_13_54_9355.jpg
/home/pi/Desktop/images/02052025/09/14/image_02052025_09_14_34_9402.jpg
/home/pi/Desktop/images/02052025/09/14/image_02052025_09_15_04_9332.jpg
/home/pi/Desktop/images/02052025/09/15/image_02052025_09_15_15_10435.jpg
/home/pi/Desktop/images/02052025/09/15/image_02052025_09_15_24_9462.jpg
/home/pi/Desktop/images/02052025/09/15/image_02052025_09_15_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":["1355269092","1355268933","1355269121","1355268968","1355269031","1355268898"],"photo_ids_order":["1355268898","1355268933","1355268968","1355269031","1355269092","1355269121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/02884697773c95ae3945280a59e2069f.jpg","text":"TemporaryFile(/tmp/multipartBody3551835830887263632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180213365,"filename":"image_02052025_09_15_24_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/243a32c437d8703d6492f51c526fba11.jpg","text":"TemporaryFile(/tmp/multipartBody14056935029349355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180213365,"filename":"image_02052025_09_14_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/5/2/6feeef4eca9ab0cc7ed34330c102ab93.jpg","text":"TemporaryFile(/tmp/multipartBody6581104712560089508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180213365,"filename":"image_02052025_09_15_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/5/2/619f2b75357e8b3acbe998076a421671.jpg","text":"TemporaryFile(/tmp/multipartBody682930183071463684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180213365,"filename":"image_02052025_09_15_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/5/2/ecd2cf1a1bfbb9b2edf48e7a8d48b125.jpg","text":"TemporaryFile(/tmp/multipartBody1554063736446661798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180213365,"filename":"image_02052025_09_15_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/5/2/143cf9d5d4648e033030e0f38be2a060.jpg","text":"TemporaryFile(/tmp/multipartBody395294809027433097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180213365,"filename":"image_02052025_09_13_54_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355268968","file1":"1355268933","file0":"1355268898","file4":"1355269092","file5":"1355269121","file3":"1355269031"},"map_files_photo_id_array":[{"photo_id":"1355269121","filename":"file5"},{"photo_id":"1355268968","filename":"file2"},{"photo_id":"1355269092","filename":"file4"},{"photo_id":"1355268933","filename":"file1"},{"photo_id":"1355268898","filename":"file0"},{"photo_id":"1355269031","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355269092":["hashtag1","hashtag2"]},{"1355268933":["hashtag1","hashtag2"]},{"1355269121":["hashtag1","hashtag2"]},{"1355268968":["hashtag1","hashtag2"]},{"1355269031":["hashtag1","hashtag2"]},{"1355268898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355269092, 1355268933, 1355269121, 1355268968, 1355269031, 1355268898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.606531620025635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:03:32.969152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/15/image_02052025_09_15_45_10358.jpg', '/home/pi/Desktop/images/02052025/09/15/image_02052025_09_15_54_9384.jpg', '/home/pi/Desktop/images/02052025/09/15/image_02052025_09_16_05_10366.jpg', '/home/pi/Desktop/images/02052025/09/16/image_02052025_09_16_14_9353.jpg', '/home/pi/Desktop/images/02052025/09/16/image_02052025_09_16_25_10429.jpg', '/home/pi/Desktop/images/02052025/09/16/image_02052025_09_16_35_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/15/image_02052025_09_15_45_10358.jpg
/home/pi/Desktop/images/02052025/09/15/image_02052025_09_15_54_9384.jpg
/home/pi/Desktop/images/02052025/09/15/image_02052025_09_16_05_10366.jpg
/home/pi/Desktop/images/02052025/09/16/image_02052025_09_16_14_9353.jpg
/home/pi/Desktop/images/02052025/09/16/image_02052025_09_16_25_10429.jpg
/home/pi/Desktop/images/02052025/09/16/image_02052025_09_16_35_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":["1355269327","1355269300","1355269353","1355269296","1355269289","1355269304"],"photo_ids_order":["1355269289","1355269296","1355269300","1355269304","1355269327","1355269353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e10aa41827632326d93ae206f4822d31.jpg","text":"TemporaryFile(/tmp/multipartBody2015075070373890504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180273441,"filename":"image_02052025_09_16_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/5/2/ac44b968d3974f8d68f8d844d485950d.jpg","text":"TemporaryFile(/tmp/multipartBody8259339940179892991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180273441,"filename":"image_02052025_09_16_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/5/2/2719b4ca930f6b819df934bf82378fff.jpg","text":"TemporaryFile(/tmp/multipartBody1039659951949256083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180273441,"filename":"image_02052025_09_16_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6da2d87d4e3c3fb95ede14d01ea8fe2.jpg","text":"TemporaryFile(/tmp/multipartBody1169135683455565550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180273441,"filename":"image_02052025_09_15_54_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8a8df5da502255688ad656343db80d68.jpg","text":"TemporaryFile(/tmp/multipartBody5973658363084262764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180273441,"filename":"image_02052025_09_15_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/934a562a0632f19afd23c057b0cfaf2c.jpg","text":"TemporaryFile(/tmp/multipartBody5490364668797258800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180273441,"filename":"image_02052025_09_16_14_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355269300","file1":"1355269296","file0":"1355269289","file4":"1355269327","file5":"1355269353","file3":"1355269304"},"map_files_photo_id_array":[{"photo_id":"1355269353","filename":"file5"},{"photo_id":"1355269300","filename":"file2"},{"photo_id":"1355269327","filename":"file4"},{"photo_id":"1355269296","filename":"file1"},{"photo_id":"1355269289","filename":"file0"},{"photo_id":"1355269304","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355269327":["hashtag1","hashtag2"]},{"1355269300":["hashtag1","hashtag2"]},{"1355269353":["hashtag1","hashtag2"]},{"1355269296":["hashtag1","hashtag2"]},{"1355269289":["hashtag1","hashtag2"]},{"1355269304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355269327, 1355269300, 1355269353, 1355269296, 1355269289, 1355269304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38904809951782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:04:32.314893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/16/image_02052025_09_16_44_9402.jpg', '/home/pi/Desktop/images/02052025/09/16/image_02052025_09_16_55_10354.jpg', '/home/pi/Desktop/images/02052025/09/16/image_02052025_09_17_05_10400.jpg', '/home/pi/Desktop/images/02052025/09/17/image_02052025_09_17_15_9405.jpg', '/home/pi/Desktop/images/02052025/09/17/image_02052025_09_17_25_10360.jpg', '/home/pi/Desktop/images/02052025/09/17/image_02052025_09_17_45_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/16/image_02052025_09_16_44_9402.jpg
/home/pi/Desktop/images/02052025/09/16/image_02052025_09_16_55_10354.jpg
/home/pi/Desktop/images/02052025/09/16/image_02052025_09_17_05_10400.jpg
/home/pi/Desktop/images/02052025/09/17/image_02052025_09_17_15_9405.jpg
/home/pi/Desktop/images/02052025/09/17/image_02052025_09_17_25_10360.jpg
/home/pi/Desktop/images/02052025/09/17/image_02052025_09_17_45_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355269639","1355269560","1355269577","1355269565","1355269610","1355269570"],"photo_ids_order":["1355269560","1355269565","1355269570","1355269577","1355269610","1355269639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c186cda53456ee22a797c40f0f39bc60.jpg","text":"TemporaryFile(/tmp/multipartBody7466433992637981081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180332776,"filename":"image_02052025_09_17_45_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc64e6b6939dd4bfe37ada3596faaa03.jpg","text":"TemporaryFile(/tmp/multipartBody6211624498606633437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180332776,"filename":"image_02052025_09_16_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/5/2/196e335b0aeaba770c94b0936468bd41.jpg","text":"TemporaryFile(/tmp/multipartBody3073630397735805810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180332776,"filename":"image_02052025_09_17_15_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4db853bd86373e8f99fb2be08f82a45f.jpg","text":"TemporaryFile(/tmp/multipartBody6417201097993157944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180332776,"filename":"image_02052025_09_16_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/5/2/cb022088ce6043083143cfc8a4ae9298.jpg","text":"TemporaryFile(/tmp/multipartBody5142332294865247823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180332776,"filename":"image_02052025_09_17_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/5/2/377e91b4e95fa1b4280732e3422e741e.jpg","text":"TemporaryFile(/tmp/multipartBody3785015213075835535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180332776,"filename":"image_02052025_09_17_05_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355269570","file1":"1355269565","file0":"1355269560","file4":"1355269610","file5":"1355269639","file3":"1355269577"},"map_files_photo_id_array":[{"photo_id":"1355269639","filename":"file5"},{"photo_id":"1355269570","filename":"file2"},{"photo_id":"1355269610","filename":"file4"},{"photo_id":"1355269565","filename":"file1"},{"photo_id":"1355269560","filename":"file0"},{"photo_id":"1355269577","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355269639":["hashtag1","hashtag2"]},{"1355269560":["hashtag1","hashtag2"]},{"1355269577":["hashtag1","hashtag2"]},{"1355269565":["hashtag1","hashtag2"]},{"1355269610":["hashtag1","hashtag2"]},{"1355269570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355269639, 1355269560, 1355269577, 1355269565, 1355269610, 1355269570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.39863920211792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:05:32.428449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/18/image_02052025_09_18_15_10353.jpg', '/home/pi/Desktop/images/02052025/09/18/image_02052025_09_18_25_10342.jpg', '/home/pi/Desktop/images/02052025/09/19/image_02052025_09_19_15_10350.jpg', '/home/pi/Desktop/images/02052025/09/19/image_02052025_09_19_35_10345.jpg', '/home/pi/Desktop/images/02052025/09/19/image_02052025_09_19_45_10358.jpg', '/home/pi/Desktop/images/02052025/09/19/image_02052025_09_19_54_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/18/image_02052025_09_18_15_10353.jpg
/home/pi/Desktop/images/02052025/09/18/image_02052025_09_18_25_10342.jpg
/home/pi/Desktop/images/02052025/09/19/image_02052025_09_19_15_10350.jpg
/home/pi/Desktop/images/02052025/09/19/image_02052025_09_19_35_10345.jpg
/home/pi/Desktop/images/02052025/09/19/image_02052025_09_19_45_10358.jpg
/home/pi/Desktop/images/02052025/09/19/image_02052025_09_19_54_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355269906","1355269875","1355269845","1355269964","1355269937","1355269993"],"photo_ids_order":["1355269845","1355269875","1355269906","1355269937","1355269964","1355269993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89626300397a5478562f9f8ed28a768b.jpg","text":"TemporaryFile(/tmp/multipartBody1661283145157883140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180392893,"filename":"image_02052025_09_19_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/5/2/ceda17be239ab6bb9ac94068f6865178.jpg","text":"TemporaryFile(/tmp/multipartBody8497924857196738150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180392893,"filename":"image_02052025_09_18_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/5/2/47bd048840ac115a5379006eace4753c.jpg","text":"TemporaryFile(/tmp/multipartBody4564501367329868929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180392893,"filename":"image_02052025_09_18_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e4dbbbc68a0b4bb0e48b9f6b5f95d1a8.jpg","text":"TemporaryFile(/tmp/multipartBody5485616150847285481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180392893,"filename":"image_02052025_09_19_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/5/2/e1394dbef2c56669ac4b736a642d7c86.jpg","text":"TemporaryFile(/tmp/multipartBody2913776174822273952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180392893,"filename":"image_02052025_09_19_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/5/2/a63e87681c6caae496be47803b0bb699.jpg","text":"TemporaryFile(/tmp/multipartBody5981032767920700803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180392893,"filename":"image_02052025_09_19_54_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355269906","file1":"1355269875","file0":"1355269845","file4":"1355269964","file5":"1355269993","file3":"1355269937"},"map_files_photo_id_array":[{"photo_id":"1355269993","filename":"file5"},{"photo_id":"1355269906","filename":"file2"},{"photo_id":"1355269964","filename":"file4"},{"photo_id":"1355269875","filename":"file1"},{"photo_id":"1355269845","filename":"file0"},{"photo_id":"1355269937","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355269906":["hashtag1","hashtag2"]},{"1355269875":["hashtag1","hashtag2"]},{"1355269845":["hashtag1","hashtag2"]},{"1355269964":["hashtag1","hashtag2"]},{"1355269937":["hashtag1","hashtag2"]},{"1355269993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355269906, 1355269875, 1355269845, 1355269964, 1355269937, 1355269993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.579360961914062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:06:32.515896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/19/image_02052025_09_20_05_10367.jpg', '/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_15_10355.jpg', '/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_35_10349.jpg', '/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_55_10438.jpg', '/home/pi/Desktop/images/02052025/09/20/image_02052025_09_21_05_10429.jpg', '/home/pi/Desktop/images/02052025/09/21/image_02052025_09_21_14_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/19/image_02052025_09_20_05_10367.jpg
/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_15_10355.jpg
/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_35_10349.jpg
/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_55_10438.jpg
/home/pi/Desktop/images/02052025/09/20/image_02052025_09_21_05_10429.jpg
/home/pi/Desktop/images/02052025/09/21/image_02052025_09_21_14_9399.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3796048164367676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 12:06:42.553612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/19/image_02052025_09_20_05_10367.jpg', '/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_15_10355.jpg', '/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_35_10349.jpg', '/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_55_10438.jpg', '/home/pi/Desktop/images/02052025/09/20/image_02052025_09_21_05_10429.jpg', '/home/pi/Desktop/images/02052025/09/21/image_02052025_09_21_14_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/19/image_02052025_09_20_05_10367.jpg
/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_15_10355.jpg
/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_35_10349.jpg
/home/pi/Desktop/images/02052025/09/20/image_02052025_09_20_55_10438.jpg
/home/pi/Desktop/images/02052025/09/20/image_02052025_09_21_05_10429.jpg
/home/pi/Desktop/images/02052025/09/21/image_02052025_09_21_14_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355270303","1355270382","1355270280","1355270409","1355270291","1355270351"],"photo_ids_order":["1355270280","1355270291","1355270303","1355270351","1355270382","1355270409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/843d75e711076749b64b2064a945d50a.jpg","text":"TemporaryFile(/tmp/multipartBody8219219533785094388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180463027,"filename":"image_02052025_09_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/5/2/3c94e965dbe7bd7661dadcea378e306d.jpg","text":"TemporaryFile(/tmp/multipartBody6995263615161528175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180463027,"filename":"image_02052025_09_21_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/5/2/b323f1b46a9af6c70724e2a1c7a9a3e9.jpg","text":"TemporaryFile(/tmp/multipartBody5058257050670155951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180463027,"filename":"image_02052025_09_20_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/5/2/fa6baa7f66da3b73c68a70354945dc9d.jpg","text":"TemporaryFile(/tmp/multipartBody2353544156452221288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180463027,"filename":"image_02052025_09_21_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/5/2/d90688da7d02b05d4ea837160ccb7320.jpg","text":"TemporaryFile(/tmp/multipartBody3802719807613326986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180463027,"filename":"image_02052025_09_20_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/5/2/cc68e0ee354140de4b425db38380d17a.jpg","text":"TemporaryFile(/tmp/multipartBody7780766524129755121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180463027,"filename":"image_02052025_09_20_55_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355270303","file1":"1355270291","file0":"1355270280","file4":"1355270382","file5":"1355270409","file3":"1355270351"},"map_files_photo_id_array":[{"photo_id":"1355270409","filename":"file5"},{"photo_id":"1355270303","filename":"file2"},{"photo_id":"1355270382","filename":"file4"},{"photo_id":"1355270291","filename":"file1"},{"photo_id":"1355270280","filename":"file0"},{"photo_id":"1355270351","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355270303":["hashtag1","hashtag2"]},{"1355270382":["hashtag1","hashtag2"]},{"1355270280":["hashtag1","hashtag2"]},{"1355270409":["hashtag1","hashtag2"]},{"1355270291":["hashtag1","hashtag2"]},{"1355270351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355270303, 1355270382, 1355270280, 1355270409, 1355270291, 1355270351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.557494401931763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:07:32.831355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/21/image_02052025_09_21_45_10452.jpg', '/home/pi/Desktop/images/02052025/09/22/image_02052025_09_22_15_10421.jpg', '/home/pi/Desktop/images/02052025/09/22/image_02052025_09_22_35_10454.jpg', '/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_15_10401.jpg', '/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_24_9417.jpg', '/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/21/image_02052025_09_21_45_10452.jpg
/home/pi/Desktop/images/02052025/09/22/image_02052025_09_22_15_10421.jpg
/home/pi/Desktop/images/02052025/09/22/image_02052025_09_22_35_10454.jpg
/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_15_10401.jpg
/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_24_9417.jpg
/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_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":["1355270562","1355270619","1355270622","1355270591","1355270615","1355270543"],"photo_ids_order":["1355270543","1355270562","1355270591","1355270615","1355270619","1355270622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e27e72a384122b0174df67f58bb11ea.jpg","text":"TemporaryFile(/tmp/multipartBody3175223321844998161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180513300,"filename":"image_02052025_09_22_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/15f7b5584ebc7c720e9ed622304aa311.jpg","text":"TemporaryFile(/tmp/multipartBody6129344410731524934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180513300,"filename":"image_02052025_09_23_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/5/2/6d75cb858d3a793dc29140e4cde342ea.jpg","text":"TemporaryFile(/tmp/multipartBody8893746702909903554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180513300,"filename":"image_02052025_09_23_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/5/2/713b808537fcd9d9211b4c2b7ded1304.jpg","text":"TemporaryFile(/tmp/multipartBody143798096874248830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180513300,"filename":"image_02052025_09_22_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/5/2/da3fddd086411a797343d1bc785a3de2.jpg","text":"TemporaryFile(/tmp/multipartBody7379561602309517935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180513300,"filename":"image_02052025_09_23_15_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/78f9b28008af628412d12473b5349c2a.jpg","text":"TemporaryFile(/tmp/multipartBody3975423214725843500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180513300,"filename":"image_02052025_09_21_45_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355270591","file1":"1355270562","file0":"1355270543","file4":"1355270619","file5":"1355270622","file3":"1355270615"},"map_files_photo_id_array":[{"photo_id":"1355270622","filename":"file5"},{"photo_id":"1355270591","filename":"file2"},{"photo_id":"1355270619","filename":"file4"},{"photo_id":"1355270562","filename":"file1"},{"photo_id":"1355270543","filename":"file0"},{"photo_id":"1355270615","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355270562":["hashtag1","hashtag2"]},{"1355270619":["hashtag1","hashtag2"]},{"1355270622":["hashtag1","hashtag2"]},{"1355270591":["hashtag1","hashtag2"]},{"1355270615":["hashtag1","hashtag2"]},{"1355270543":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355270562, 1355270619, 1355270622, 1355270591, 1355270615, 1355270543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.768918991088867 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:08:32.892156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_45_10341.jpg', '/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_54_9416.jpg', '/home/pi/Desktop/images/02052025/09/23/image_02052025_09_24_05_10343.jpg', '/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_25_10403.jpg', '/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_35_10354.jpg', '/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_44_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_45_10341.jpg
/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_54_9416.jpg
/home/pi/Desktop/images/02052025/09/23/image_02052025_09_24_05_10343.jpg
/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_25_10403.jpg
/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_35_10354.jpg
/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_44_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.368638277053833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 12:08:43.013183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_45_10341.jpg', '/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_54_9416.jpg', '/home/pi/Desktop/images/02052025/09/23/image_02052025_09_24_05_10343.jpg', '/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_25_10403.jpg', '/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_35_10354.jpg', '/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_44_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_45_10341.jpg
/home/pi/Desktop/images/02052025/09/23/image_02052025_09_23_54_9416.jpg
/home/pi/Desktop/images/02052025/09/23/image_02052025_09_24_05_10343.jpg
/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_25_10403.jpg
/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_35_10354.jpg
/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_44_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":["1355270830","1355270833","1355270823","1355270832","1355270834","1355270810"],"photo_ids_order":["1355270810","1355270823","1355270830","1355270832","1355270833","1355270834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/757d6858e5fcc5609cdaffc6e1270a7e.jpg","text":"TemporaryFile(/tmp/multipartBody5610414550964997333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180583552,"filename":"image_02052025_09_24_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/5/2/8459d89ad1874d078eb31dfc58daa267.jpg","text":"TemporaryFile(/tmp/multipartBody4005090787123355189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180583552,"filename":"image_02052025_09_24_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/5/2/842bdc4c5ec77d2679218236090d63bd.jpg","text":"TemporaryFile(/tmp/multipartBody8162142420607045738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180583552,"filename":"image_02052025_09_23_54_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aae7a1d3bfbd09c6dfca869eb1677e77.jpg","text":"TemporaryFile(/tmp/multipartBody3069151639820892825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180583552,"filename":"image_02052025_09_24_25_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2cca9fbd08b12c798b8af9045718ea78.jpg","text":"TemporaryFile(/tmp/multipartBody7865214490227924582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180583552,"filename":"image_02052025_09_24_44_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fadb35a319d244bad89fb5b194ef625b.jpg","text":"TemporaryFile(/tmp/multipartBody5547826664765304981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180583552,"filename":"image_02052025_09_23_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355270830","file1":"1355270823","file0":"1355270810","file4":"1355270833","file5":"1355270834","file3":"1355270832"},"map_files_photo_id_array":[{"photo_id":"1355270834","filename":"file5"},{"photo_id":"1355270830","filename":"file2"},{"photo_id":"1355270833","filename":"file4"},{"photo_id":"1355270823","filename":"file1"},{"photo_id":"1355270810","filename":"file0"},{"photo_id":"1355270832","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355270830":["hashtag1","hashtag2"]},{"1355270833":["hashtag1","hashtag2"]},{"1355270823":["hashtag1","hashtag2"]},{"1355270832":["hashtag1","hashtag2"]},{"1355270834":["hashtag1","hashtag2"]},{"1355270810":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355270830, 1355270833, 1355270823, 1355270832, 1355270834, 1355270810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.292474031448364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:09:33.130541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_55_10410.jpg', '/home/pi/Desktop/images/02052025/09/24/image_02052025_09_25_04_9413.jpg', '/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_15_10425.jpg', '/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_25_10439.jpg', '/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_34_9433.jpg', '/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_45_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_55_10410.jpg
/home/pi/Desktop/images/02052025/09/24/image_02052025_09_25_04_9413.jpg
/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_15_10425.jpg
/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_25_10439.jpg
/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_34_9433.jpg
/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_45_10417.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37201786041259766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 12:09:43.186630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_55_10410.jpg', '/home/pi/Desktop/images/02052025/09/24/image_02052025_09_25_04_9413.jpg', '/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_15_10425.jpg', '/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_25_10439.jpg', '/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_34_9433.jpg', '/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_45_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/24/image_02052025_09_24_55_10410.jpg
/home/pi/Desktop/images/02052025/09/24/image_02052025_09_25_04_9413.jpg
/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_15_10425.jpg
/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_25_10439.jpg
/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_34_9433.jpg
/home/pi/Desktop/images/02052025/09/25/image_02052025_09_25_45_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355270932","1355270922","1355270925","1355270930","1355270933","1355270918"],"photo_ids_order":["1355270918","1355270922","1355270925","1355270930","1355270932","1355270933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9744663f289ccc9495f89cb89f2c3ab.jpg","text":"TemporaryFile(/tmp/multipartBody983237173907263694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180643743,"filename":"image_02052025_09_25_34_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b3864e27d10e71ea41a435faed4a13e.jpg","text":"TemporaryFile(/tmp/multipartBody477142442116046466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180643743,"filename":"image_02052025_09_25_04_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/99274f4e49e471bf7e09cb279167dc28.jpg","text":"TemporaryFile(/tmp/multipartBody7566662965310550966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180643743,"filename":"image_02052025_09_25_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/102b75878558b93fc1ba9b74b451bd4c.jpg","text":"TemporaryFile(/tmp/multipartBody6244618604264804405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180643743,"filename":"image_02052025_09_25_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/5/2/d85b5ae16f1fd56c3d7aeff812ff9640.jpg","text":"TemporaryFile(/tmp/multipartBody8140257686509838987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180643743,"filename":"image_02052025_09_25_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/5/2/8a4644c4cabad42b3112839dbf450083.jpg","text":"TemporaryFile(/tmp/multipartBody5474351089416350494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180643743,"filename":"image_02052025_09_24_55_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355270925","file1":"1355270922","file0":"1355270918","file4":"1355270932","file5":"1355270933","file3":"1355270930"},"map_files_photo_id_array":[{"photo_id":"1355270933","filename":"file5"},{"photo_id":"1355270925","filename":"file2"},{"photo_id":"1355270932","filename":"file4"},{"photo_id":"1355270922","filename":"file1"},{"photo_id":"1355270918","filename":"file0"},{"photo_id":"1355270930","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355270932":["hashtag1","hashtag2"]},{"1355270922":["hashtag1","hashtag2"]},{"1355270925":["hashtag1","hashtag2"]},{"1355270930":["hashtag1","hashtag2"]},{"1355270933":["hashtag1","hashtag2"]},{"1355270918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355270932, 1355270922, 1355270925, 1355270930, 1355270933, 1355270918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.974403858184814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:10:32.370422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/25/image_02052025_09_26_05_10432.jpg', '/home/pi/Desktop/images/02052025/09/26/image_02052025_09_26_24_10342.jpg', '/home/pi/Desktop/images/02052025/09/26/image_02052025_09_26_35_10342.jpg', '/home/pi/Desktop/images/02052025/09/26/image_02052025_09_26_44_9326.jpg', '/home/pi/Desktop/images/02052025/09/26/image_02052025_09_26_54_10346.jpg', '/home/pi/Desktop/images/02052025/09/26/image_02052025_09_27_05_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/25/image_02052025_09_26_05_10432.jpg
/home/pi/Desktop/images/02052025/09/26/image_02052025_09_26_24_10342.jpg
/home/pi/Desktop/images/02052025/09/26/image_02052025_09_26_35_10342.jpg
/home/pi/Desktop/images/02052025/09/26/image_02052025_09_26_44_9326.jpg
/home/pi/Desktop/images/02052025/09/26/image_02052025_09_26_54_10346.jpg
/home/pi/Desktop/images/02052025/09/26/image_02052025_09_27_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":["1355270953","1355270965","1355270959","1355270969","1355270957","1355270971"],"photo_ids_order":["1355270953","1355270957","1355270959","1355270965","1355270969","1355270971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8245f9400663789a4b152f76b039bf58.jpg","text":"TemporaryFile(/tmp/multipartBody1614674789700565696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180692965,"filename":"image_02052025_09_26_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/5/2/8898cdf6ebb6bcde20597e6340489c7d.jpg","text":"TemporaryFile(/tmp/multipartBody6500341418896635404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180692965,"filename":"image_02052025_09_26_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/5/2/1555657ca350c9768a2b7a80f14a71dd.jpg","text":"TemporaryFile(/tmp/multipartBody3553821421597660662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180692965,"filename":"image_02052025_09_26_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/5/2/65e9c9e7085c0db88f018dbf3cde5794.jpg","text":"TemporaryFile(/tmp/multipartBody7012756945877732413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180692965,"filename":"image_02052025_09_26_54_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f08d0e295c38af6a91e6a51d4522e3bf.jpg","text":"TemporaryFile(/tmp/multipartBody4283243250892216703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180692965,"filename":"image_02052025_09_26_24_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f2d081a83aaf9c5d2d5be06b0d3f063.jpg","text":"TemporaryFile(/tmp/multipartBody3772403373920033755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180692965,"filename":"image_02052025_09_27_05_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355270959","file1":"1355270957","file0":"1355270953","file4":"1355270969","file5":"1355270971","file3":"1355270965"},"map_files_photo_id_array":[{"photo_id":"1355270971","filename":"file5"},{"photo_id":"1355270959","filename":"file2"},{"photo_id":"1355270969","filename":"file4"},{"photo_id":"1355270957","filename":"file1"},{"photo_id":"1355270953","filename":"file0"},{"photo_id":"1355270965","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355270953":["hashtag1","hashtag2"]},{"1355270965":["hashtag1","hashtag2"]},{"1355270959":["hashtag1","hashtag2"]},{"1355270969":["hashtag1","hashtag2"]},{"1355270957":["hashtag1","hashtag2"]},{"1355270971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355270953, 1355270965, 1355270959, 1355270969, 1355270957, 1355270971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.185113430023193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:11:32.586152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/27/image_02052025_09_27_14_9324.jpg', '/home/pi/Desktop/images/02052025/09/27/image_02052025_09_27_25_10463.jpg', '/home/pi/Desktop/images/02052025/09/27/image_02052025_09_27_55_10341.jpg', '/home/pi/Desktop/images/02052025/09/27/image_02052025_09_28_04_9388.jpg', '/home/pi/Desktop/images/02052025/09/28/image_02052025_09_28_15_10368.jpg', '/home/pi/Desktop/images/02052025/09/28/image_02052025_09_28_25_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/27/image_02052025_09_27_14_9324.jpg
/home/pi/Desktop/images/02052025/09/27/image_02052025_09_27_25_10463.jpg
/home/pi/Desktop/images/02052025/09/27/image_02052025_09_27_55_10341.jpg
/home/pi/Desktop/images/02052025/09/27/image_02052025_09_28_04_9388.jpg
/home/pi/Desktop/images/02052025/09/28/image_02052025_09_28_15_10368.jpg
/home/pi/Desktop/images/02052025/09/28/image_02052025_09_28_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":["1355270995","1355271004","1355271007","1355271003","1355271006","1355270999"],"photo_ids_order":["1355270995","1355270999","1355271003","1355271004","1355271006","1355271007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d03d321b85aa4fe8487d0793a403ac10.jpg","text":"TemporaryFile(/tmp/multipartBody5978824424211382978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180753041,"filename":"image_02052025_09_27_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/5/2/80690d2a7439a2804101202498dc25ff.jpg","text":"TemporaryFile(/tmp/multipartBody4922052809561525196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180753041,"filename":"image_02052025_09_28_04_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e00891c3cceef2984c47d12258f6816.jpg","text":"TemporaryFile(/tmp/multipartBody7117455195978574176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180753041,"filename":"image_02052025_09_28_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/5/2/543e6811c482ea565e1166b1ce3100c2.jpg","text":"TemporaryFile(/tmp/multipartBody215756967345794424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180753041,"filename":"image_02052025_09_27_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/5/2/9e25bc0e24be5a63784fc219add8c4cb.jpg","text":"TemporaryFile(/tmp/multipartBody1243219867651963389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180753041,"filename":"image_02052025_09_28_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d23f756d38714d3c63d186d2d860c29.jpg","text":"TemporaryFile(/tmp/multipartBody7573931991156144904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180753041,"filename":"image_02052025_09_27_25_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271003","file1":"1355270999","file0":"1355270995","file4":"1355271006","file5":"1355271007","file3":"1355271004"},"map_files_photo_id_array":[{"photo_id":"1355271007","filename":"file5"},{"photo_id":"1355271003","filename":"file2"},{"photo_id":"1355271006","filename":"file4"},{"photo_id":"1355270999","filename":"file1"},{"photo_id":"1355270995","filename":"file0"},{"photo_id":"1355271004","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355270995":["hashtag1","hashtag2"]},{"1355271004":["hashtag1","hashtag2"]},{"1355271007":["hashtag1","hashtag2"]},{"1355271003":["hashtag1","hashtag2"]},{"1355271006":["hashtag1","hashtag2"]},{"1355270999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355270995, 1355271004, 1355271007, 1355271003, 1355271006, 1355270999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.661720275878906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:12:32.704906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/28/image_02052025_09_28_34_9432.jpg', '/home/pi/Desktop/images/02052025/09/28/image_02052025_09_28_45_10364.jpg', '/home/pi/Desktop/images/02052025/09/28/image_02052025_09_28_55_10361.jpg', '/home/pi/Desktop/images/02052025/09/28/image_02052025_09_29_04_9353.jpg', '/home/pi/Desktop/images/02052025/09/29/image_02052025_09_29_25_10367.jpg', '/home/pi/Desktop/images/02052025/09/29/image_02052025_09_29_35_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/28/image_02052025_09_28_34_9432.jpg
/home/pi/Desktop/images/02052025/09/28/image_02052025_09_28_45_10364.jpg
/home/pi/Desktop/images/02052025/09/28/image_02052025_09_28_55_10361.jpg
/home/pi/Desktop/images/02052025/09/28/image_02052025_09_29_04_9353.jpg
/home/pi/Desktop/images/02052025/09/29/image_02052025_09_29_25_10367.jpg
/home/pi/Desktop/images/02052025/09/29/image_02052025_09_29_35_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":["1355271043","1355271046","1355271033","1355271050","1355271038","1355271049"],"photo_ids_order":["1355271033","1355271038","1355271043","1355271046","1355271049","1355271050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1e8c6257b921e6d662ab883aed957662.jpg","text":"TemporaryFile(/tmp/multipartBody3506459715238588620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180813158,"filename":"image_02052025_09_28_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63729dfc5019fd770f403719a8998120.jpg","text":"TemporaryFile(/tmp/multipartBody1378737283308731330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180813158,"filename":"image_02052025_09_29_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3c7922d1e67b34daf93a2946836dc5c.jpg","text":"TemporaryFile(/tmp/multipartBody6420736915485205305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180813158,"filename":"image_02052025_09_28_34_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/18c375147a62882734b16657bc8649de.jpg","text":"TemporaryFile(/tmp/multipartBody4201129484747541800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180813158,"filename":"image_02052025_09_29_35_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/737ccc679adaa13eb502db8a44747ec7.jpg","text":"TemporaryFile(/tmp/multipartBody4786604046186769120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180813158,"filename":"image_02052025_09_28_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/5/2/d04c599b40d19261b29d316c0cd60114.jpg","text":"TemporaryFile(/tmp/multipartBody4653685059844495926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180813158,"filename":"image_02052025_09_29_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271043","file1":"1355271038","file0":"1355271033","file4":"1355271049","file5":"1355271050","file3":"1355271046"},"map_files_photo_id_array":[{"photo_id":"1355271050","filename":"file5"},{"photo_id":"1355271043","filename":"file2"},{"photo_id":"1355271049","filename":"file4"},{"photo_id":"1355271038","filename":"file1"},{"photo_id":"1355271033","filename":"file0"},{"photo_id":"1355271046","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271043":["hashtag1","hashtag2"]},{"1355271046":["hashtag1","hashtag2"]},{"1355271033":["hashtag1","hashtag2"]},{"1355271050":["hashtag1","hashtag2"]},{"1355271038":["hashtag1","hashtag2"]},{"1355271049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271043, 1355271046, 1355271033, 1355271050, 1355271038, 1355271049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.925435781478882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:13:32.970919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/29/image_02052025_09_29_45_10442.jpg', '/home/pi/Desktop/images/02052025/09/30/image_02052025_09_30_14_9348.jpg', '/home/pi/Desktop/images/02052025/09/30/image_02052025_09_30_35_10351.jpg', '/home/pi/Desktop/images/02052025/09/30/image_02052025_09_30_44_9341.jpg', '/home/pi/Desktop/images/02052025/09/31/image_02052025_09_32_04_9428.jpg', '/home/pi/Desktop/images/02052025/09/32/image_02052025_09_32_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/29/image_02052025_09_29_45_10442.jpg
/home/pi/Desktop/images/02052025/09/30/image_02052025_09_30_14_9348.jpg
/home/pi/Desktop/images/02052025/09/30/image_02052025_09_30_35_10351.jpg
/home/pi/Desktop/images/02052025/09/30/image_02052025_09_30_44_9341.jpg
/home/pi/Desktop/images/02052025/09/31/image_02052025_09_32_04_9428.jpg
/home/pi/Desktop/images/02052025/09/32/image_02052025_09_32_15_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355271235","1355271237","1355271222","1355271230","1355271227","1355271232"],"photo_ids_order":["1355271222","1355271227","1355271230","1355271232","1355271235","1355271237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec5a53a59098d2064d0338bfe934bb8d.jpg","text":"TemporaryFile(/tmp/multipartBody64772217356794938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180873422,"filename":"image_02052025_09_32_04_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4936d4595c04f3053b339182efd5e9e1.jpg","text":"TemporaryFile(/tmp/multipartBody3615748815272422466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180873422,"filename":"image_02052025_09_32_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b7a92c6c9a6fea2915ff3aa4876b437b.jpg","text":"TemporaryFile(/tmp/multipartBody135220674925318257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180873422,"filename":"image_02052025_09_29_45_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/256c426a6ee74627445fa096840c5e52.jpg","text":"TemporaryFile(/tmp/multipartBody8116509767808017309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180873422,"filename":"image_02052025_09_30_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97d55ad0028bf3dbfb6ee9e9ccc5565e.jpg","text":"TemporaryFile(/tmp/multipartBody9109587668718936187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180873422,"filename":"image_02052025_09_30_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/5/2/4d2b4e0a28b853c89c853922a435948c.jpg","text":"TemporaryFile(/tmp/multipartBody2159252619371570871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180873422,"filename":"image_02052025_09_30_44_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271230","file1":"1355271227","file0":"1355271222","file4":"1355271235","file5":"1355271237","file3":"1355271232"},"map_files_photo_id_array":[{"photo_id":"1355271237","filename":"file5"},{"photo_id":"1355271230","filename":"file2"},{"photo_id":"1355271235","filename":"file4"},{"photo_id":"1355271227","filename":"file1"},{"photo_id":"1355271222","filename":"file0"},{"photo_id":"1355271232","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271235":["hashtag1","hashtag2"]},{"1355271237":["hashtag1","hashtag2"]},{"1355271222":["hashtag1","hashtag2"]},{"1355271230":["hashtag1","hashtag2"]},{"1355271227":["hashtag1","hashtag2"]},{"1355271232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271235, 1355271237, 1355271222, 1355271230, 1355271227, 1355271232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.852068185806274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:14:32.218966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/32/image_02052025_09_32_35_9412.jpg', '/home/pi/Desktop/images/02052025/09/32/image_02052025_09_32_45_10344.jpg', '/home/pi/Desktop/images/02052025/09/32/image_02052025_09_32_54_9429.jpg', '/home/pi/Desktop/images/02052025/09/32/image_02052025_09_33_05_10352.jpg', '/home/pi/Desktop/images/02052025/09/33/image_02052025_09_33_55_10355.jpg', '/home/pi/Desktop/images/02052025/09/33/image_02052025_09_34_05_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/32/image_02052025_09_32_35_9412.jpg
/home/pi/Desktop/images/02052025/09/32/image_02052025_09_32_45_10344.jpg
/home/pi/Desktop/images/02052025/09/32/image_02052025_09_32_54_9429.jpg
/home/pi/Desktop/images/02052025/09/32/image_02052025_09_33_05_10352.jpg
/home/pi/Desktop/images/02052025/09/33/image_02052025_09_33_55_10355.jpg
/home/pi/Desktop/images/02052025/09/33/image_02052025_09_34_05_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355271262","1355271282","1355271279","1355271266","1355271275","1355271271"],"photo_ids_order":["1355271262","1355271266","1355271271","1355271275","1355271279","1355271282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4653f7306483ee19e0796b32eafc4999.jpg","text":"TemporaryFile(/tmp/multipartBody8853496367487629624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180932686,"filename":"image_02052025_09_32_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/5/2/6f3d88d47772aabd3d349d5958b99826.jpg","text":"TemporaryFile(/tmp/multipartBody8471349336810051861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180932686,"filename":"image_02052025_09_34_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/5/2/0c3191419945d04365f76e41bb1fd5c2.jpg","text":"TemporaryFile(/tmp/multipartBody7977500189724360217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180932686,"filename":"image_02052025_09_33_55_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97837f7e9e51e813c294a368e0f1d216.jpg","text":"TemporaryFile(/tmp/multipartBody5017189771613581352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180932686,"filename":"image_02052025_09_32_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/5/2/ac080764b273f3c8d6ce8d57b0b230db.jpg","text":"TemporaryFile(/tmp/multipartBody207883942192309369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180932686,"filename":"image_02052025_09_33_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1e35641cc0698c34f19c6d3058763787.jpg","text":"TemporaryFile(/tmp/multipartBody734672369017355669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180932686,"filename":"image_02052025_09_32_54_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271271","file1":"1355271266","file0":"1355271262","file4":"1355271279","file5":"1355271282","file3":"1355271275"},"map_files_photo_id_array":[{"photo_id":"1355271282","filename":"file5"},{"photo_id":"1355271271","filename":"file2"},{"photo_id":"1355271279","filename":"file4"},{"photo_id":"1355271266","filename":"file1"},{"photo_id":"1355271262","filename":"file0"},{"photo_id":"1355271275","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271262":["hashtag1","hashtag2"]},{"1355271282":["hashtag1","hashtag2"]},{"1355271279":["hashtag1","hashtag2"]},{"1355271266":["hashtag1","hashtag2"]},{"1355271275":["hashtag1","hashtag2"]},{"1355271271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271262, 1355271282, 1355271279, 1355271266, 1355271275, 1355271271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.272478580474854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:15:32.463960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/34/image_02052025_09_34_14_9492.jpg', '/home/pi/Desktop/images/02052025/09/34/image_02052025_09_34_25_10371.jpg', '/home/pi/Desktop/images/02052025/09/34/image_02052025_09_34_45_9397.jpg', '/home/pi/Desktop/images/02052025/09/34/image_02052025_09_34_55_10402.jpg', '/home/pi/Desktop/images/02052025/09/34/image_02052025_09_35_04_9411.jpg', '/home/pi/Desktop/images/02052025/09/35/image_02052025_09_35_15_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/34/image_02052025_09_34_14_9492.jpg
/home/pi/Desktop/images/02052025/09/34/image_02052025_09_34_25_10371.jpg
/home/pi/Desktop/images/02052025/09/34/image_02052025_09_34_45_9397.jpg
/home/pi/Desktop/images/02052025/09/34/image_02052025_09_34_55_10402.jpg
/home/pi/Desktop/images/02052025/09/34/image_02052025_09_35_04_9411.jpg
/home/pi/Desktop/images/02052025/09/35/image_02052025_09_35_15_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355271316","1355271319","1355271312","1355271309","1355271299","1355271303"],"photo_ids_order":["1355271299","1355271303","1355271309","1355271312","1355271316","1355271319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af0fbd566e17919aabe86f7afb6a778c.jpg","text":"TemporaryFile(/tmp/multipartBody8666096891770315806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180992925,"filename":"image_02052025_09_35_04_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87333612418a878a69322af5c9cdf78a.jpg","text":"TemporaryFile(/tmp/multipartBody5098325014802074432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180992925,"filename":"image_02052025_09_35_15_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/02d3de4d9294d8716171a4a61ddfcac6.jpg","text":"TemporaryFile(/tmp/multipartBody7220402961201983486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180992925,"filename":"image_02052025_09_34_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/5/2/4e52dbb9b81b92081c21f04f2d232831.jpg","text":"TemporaryFile(/tmp/multipartBody4004806519898942186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180992925,"filename":"image_02052025_09_34_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/5/2/0b24a0d7572de217ade67798fb79f196.jpg","text":"TemporaryFile(/tmp/multipartBody7216963034301588810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180992925,"filename":"image_02052025_09_34_14_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/153afdb888d0813e7797ebae6dbb671a.jpg","text":"TemporaryFile(/tmp/multipartBody6583282299792170561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746180992925,"filename":"image_02052025_09_34_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271309","file1":"1355271303","file0":"1355271299","file4":"1355271316","file5":"1355271319","file3":"1355271312"},"map_files_photo_id_array":[{"photo_id":"1355271319","filename":"file5"},{"photo_id":"1355271309","filename":"file2"},{"photo_id":"1355271316","filename":"file4"},{"photo_id":"1355271303","filename":"file1"},{"photo_id":"1355271299","filename":"file0"},{"photo_id":"1355271312","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271316":["hashtag1","hashtag2"]},{"1355271319":["hashtag1","hashtag2"]},{"1355271312":["hashtag1","hashtag2"]},{"1355271309":["hashtag1","hashtag2"]},{"1355271299":["hashtag1","hashtag2"]},{"1355271303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271316, 1355271319, 1355271312, 1355271309, 1355271299, 1355271303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.089574337005615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:16:32.650949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/35/image_02052025_09_35_25_10344.jpg', '/home/pi/Desktop/images/02052025/09/35/image_02052025_09_35_34_9373.jpg', '/home/pi/Desktop/images/02052025/09/35/image_02052025_09_35_45_10353.jpg', '/home/pi/Desktop/images/02052025/09/35/image_02052025_09_36_04_9341.jpg', '/home/pi/Desktop/images/02052025/09/36/image_02052025_09_36_15_10343.jpg', '/home/pi/Desktop/images/02052025/09/36/image_02052025_09_36_24_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/35/image_02052025_09_35_25_10344.jpg
/home/pi/Desktop/images/02052025/09/35/image_02052025_09_35_34_9373.jpg
/home/pi/Desktop/images/02052025/09/35/image_02052025_09_35_45_10353.jpg
/home/pi/Desktop/images/02052025/09/35/image_02052025_09_36_04_9341.jpg
/home/pi/Desktop/images/02052025/09/36/image_02052025_09_36_15_10343.jpg
/home/pi/Desktop/images/02052025/09/36/image_02052025_09_36_24_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355271354","1355271357","1355271342","1355271351","1355271336","1355271346"],"photo_ids_order":["1355271336","1355271342","1355271346","1355271351","1355271354","1355271357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/26537461c8e9b77a919512777ef3f48a.jpg","text":"TemporaryFile(/tmp/multipartBody7475909573352917588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181053105,"filename":"image_02052025_09_36_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/5/2/e02f8e085e044b828ed598f528f5b995.jpg","text":"TemporaryFile(/tmp/multipartBody6011718531517771997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181053105,"filename":"image_02052025_09_36_24_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a96f25a20168713776e9943dab0235db.jpg","text":"TemporaryFile(/tmp/multipartBody4381632585010754669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181053105,"filename":"image_02052025_09_35_34_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1d24df225d7963977b54f686158324e.jpg","text":"TemporaryFile(/tmp/multipartBody3885937880485412549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181053105,"filename":"image_02052025_09_36_04_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6cdbfee55fc8be8acab184d81d8ff19.jpg","text":"TemporaryFile(/tmp/multipartBody3542552881229051501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181053105,"filename":"image_02052025_09_35_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/5/2/a06b4317fda540acae36ee6308452b25.jpg","text":"TemporaryFile(/tmp/multipartBody8619309915582084847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181053105,"filename":"image_02052025_09_35_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271346","file1":"1355271342","file0":"1355271336","file4":"1355271354","file5":"1355271357","file3":"1355271351"},"map_files_photo_id_array":[{"photo_id":"1355271357","filename":"file5"},{"photo_id":"1355271346","filename":"file2"},{"photo_id":"1355271354","filename":"file4"},{"photo_id":"1355271342","filename":"file1"},{"photo_id":"1355271336","filename":"file0"},{"photo_id":"1355271351","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271354":["hashtag1","hashtag2"]},{"1355271357":["hashtag1","hashtag2"]},{"1355271342":["hashtag1","hashtag2"]},{"1355271351":["hashtag1","hashtag2"]},{"1355271336":["hashtag1","hashtag2"]},{"1355271346":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271354, 1355271357, 1355271342, 1355271351, 1355271336, 1355271346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31723380088806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:17:32.877647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/36/image_02052025_09_36_35_10351.jpg', '/home/pi/Desktop/images/02052025/09/36/image_02052025_09_36_45_10440.jpg', '/home/pi/Desktop/images/02052025/09/36/image_02052025_09_37_05_10363.jpg', '/home/pi/Desktop/images/02052025/09/37/image_02052025_09_37_14_9437.jpg', '/home/pi/Desktop/images/02052025/09/37/image_02052025_09_37_25_10391.jpg', '/home/pi/Desktop/images/02052025/09/37/image_02052025_09_37_35_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/36/image_02052025_09_36_35_10351.jpg
/home/pi/Desktop/images/02052025/09/36/image_02052025_09_36_45_10440.jpg
/home/pi/Desktop/images/02052025/09/36/image_02052025_09_37_05_10363.jpg
/home/pi/Desktop/images/02052025/09/37/image_02052025_09_37_14_9437.jpg
/home/pi/Desktop/images/02052025/09/37/image_02052025_09_37_25_10391.jpg
/home/pi/Desktop/images/02052025/09/37/image_02052025_09_37_35_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355271424","1355271418","1355271438","1355271414","1355271434","1355271428"],"photo_ids_order":["1355271414","1355271418","1355271424","1355271428","1355271434","1355271438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fd34326cc6dba5c0cb267197984aa417.jpg","text":"TemporaryFile(/tmp/multipartBody1748536136414981249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181113333,"filename":"image_02052025_09_37_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/5/2/fcb07ab184b33b1a24b6674638f08f95.jpg","text":"TemporaryFile(/tmp/multipartBody1549218586831107354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181113333,"filename":"image_02052025_09_36_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9e5ff8d2d6c69f81442685c4b0298f4.jpg","text":"TemporaryFile(/tmp/multipartBody336049352011078678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181113333,"filename":"image_02052025_09_37_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/5/2/f4d92d2fd8c78b054e072842ac8bc9b2.jpg","text":"TemporaryFile(/tmp/multipartBody5775490338178095818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181113333,"filename":"image_02052025_09_36_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/5/2/a4f9005eb38a09697262e6cc934c5a86.jpg","text":"TemporaryFile(/tmp/multipartBody7658371982792063993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181113333,"filename":"image_02052025_09_37_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2346f9e6c8a436b5dc53d7ca70697dc3.jpg","text":"TemporaryFile(/tmp/multipartBody3263528800829382870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181113333,"filename":"image_02052025_09_37_14_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271424","file1":"1355271418","file0":"1355271414","file4":"1355271434","file5":"1355271438","file3":"1355271428"},"map_files_photo_id_array":[{"photo_id":"1355271438","filename":"file5"},{"photo_id":"1355271424","filename":"file2"},{"photo_id":"1355271434","filename":"file4"},{"photo_id":"1355271418","filename":"file1"},{"photo_id":"1355271414","filename":"file0"},{"photo_id":"1355271428","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271424":["hashtag1","hashtag2"]},{"1355271418":["hashtag1","hashtag2"]},{"1355271438":["hashtag1","hashtag2"]},{"1355271414":["hashtag1","hashtag2"]},{"1355271434":["hashtag1","hashtag2"]},{"1355271428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271424, 1355271418, 1355271438, 1355271414, 1355271434, 1355271428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.897780656814575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:18:33.032018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/37/image_02052025_09_37_55_10358.jpg', '/home/pi/Desktop/images/02052025/09/37/image_02052025_09_38_04_9352.jpg', '/home/pi/Desktop/images/02052025/09/38/image_02052025_09_38_15_10439.jpg', '/home/pi/Desktop/images/02052025/09/38/image_02052025_09_38_25_10456.jpg', '/home/pi/Desktop/images/02052025/09/38/image_02052025_09_38_45_10423.jpg', '/home/pi/Desktop/images/02052025/09/38/image_02052025_09_38_54_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/37/image_02052025_09_37_55_10358.jpg
/home/pi/Desktop/images/02052025/09/37/image_02052025_09_38_04_9352.jpg
/home/pi/Desktop/images/02052025/09/38/image_02052025_09_38_15_10439.jpg
/home/pi/Desktop/images/02052025/09/38/image_02052025_09_38_25_10456.jpg
/home/pi/Desktop/images/02052025/09/38/image_02052025_09_38_45_10423.jpg
/home/pi/Desktop/images/02052025/09/38/image_02052025_09_38_54_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":["1355271480","1355271485","1355271488","1355271461","1355271475","1355271469"],"photo_ids_order":["1355271461","1355271469","1355271475","1355271480","1355271485","1355271488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3dd3d1cb687afa5272cf309ea478c11b.jpg","text":"TemporaryFile(/tmp/multipartBody9150915677199225988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181173494,"filename":"image_02052025_09_38_25_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e4f681d7255f4183ad4cc4f9ccb03fb1.jpg","text":"TemporaryFile(/tmp/multipartBody3068410795749266873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181173494,"filename":"image_02052025_09_38_45_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/62dde09f8b700a577c947bdd524b8c68.jpg","text":"TemporaryFile(/tmp/multipartBody715477138069706545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181173494,"filename":"image_02052025_09_38_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5e7b07db2290198e89e77739846d277d.jpg","text":"TemporaryFile(/tmp/multipartBody3868816714525646920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181173494,"filename":"image_02052025_09_37_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/5/2/524d428c864b1c1eae9b7098bc8372ef.jpg","text":"TemporaryFile(/tmp/multipartBody2784099159355442687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181173494,"filename":"image_02052025_09_38_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85c81bf4018ab26aeff27a75d329fa9e.jpg","text":"TemporaryFile(/tmp/multipartBody6114902449094922904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181173494,"filename":"image_02052025_09_38_04_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271475","file1":"1355271469","file0":"1355271461","file4":"1355271485","file5":"1355271488","file3":"1355271480"},"map_files_photo_id_array":[{"photo_id":"1355271488","filename":"file5"},{"photo_id":"1355271475","filename":"file2"},{"photo_id":"1355271485","filename":"file4"},{"photo_id":"1355271469","filename":"file1"},{"photo_id":"1355271461","filename":"file0"},{"photo_id":"1355271480","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271480":["hashtag1","hashtag2"]},{"1355271485":["hashtag1","hashtag2"]},{"1355271488":["hashtag1","hashtag2"]},{"1355271461":["hashtag1","hashtag2"]},{"1355271475":["hashtag1","hashtag2"]},{"1355271469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271480, 1355271485, 1355271488, 1355271461, 1355271475, 1355271469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.980644464492798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:19:32.323305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/38/image_02052025_09_39_05_10402.jpg', '/home/pi/Desktop/images/02052025/09/39/image_02052025_09_39_35_10362.jpg', '/home/pi/Desktop/images/02052025/09/39/image_02052025_09_39_45_10409.jpg', '/home/pi/Desktop/images/02052025/09/39/image_02052025_09_39_55_9459.jpg', '/home/pi/Desktop/images/02052025/09/39/image_02052025_09_40_05_10350.jpg', '/home/pi/Desktop/images/02052025/09/40/image_02052025_09_40_14_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/38/image_02052025_09_39_05_10402.jpg
/home/pi/Desktop/images/02052025/09/39/image_02052025_09_39_35_10362.jpg
/home/pi/Desktop/images/02052025/09/39/image_02052025_09_39_45_10409.jpg
/home/pi/Desktop/images/02052025/09/39/image_02052025_09_39_55_9459.jpg
/home/pi/Desktop/images/02052025/09/39/image_02052025_09_40_05_10350.jpg
/home/pi/Desktop/images/02052025/09/40/image_02052025_09_40_14_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":["1355271529","1355271517","1355271534","1355271521","1355271539","1355271544"],"photo_ids_order":["1355271517","1355271521","1355271529","1355271534","1355271539","1355271544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e972f5840c4869bede88733f3394c93.jpg","text":"TemporaryFile(/tmp/multipartBody5577724604229488708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181232854,"filename":"image_02052025_09_39_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/5/2/771387be1bc82fc1904fed48669d1249.jpg","text":"TemporaryFile(/tmp/multipartBody8046009819009362613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181232854,"filename":"image_02052025_09_39_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/5/2/6e063b23a51b38f5f5eed66b5fdbaf19.jpg","text":"TemporaryFile(/tmp/multipartBody6368254734862554922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181232854,"filename":"image_02052025_09_39_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/5/2/571a7aedf34ae228a54211f63373590e.jpg","text":"TemporaryFile(/tmp/multipartBody6933724754277383338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181232854,"filename":"image_02052025_09_39_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/5/2/6e6f0774aee415e9ec5098e542bd9b2e.jpg","text":"TemporaryFile(/tmp/multipartBody6138134343991524314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181232854,"filename":"image_02052025_09_40_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/5/2/95033ef53f78e43098875feb33ee08ab.jpg","text":"TemporaryFile(/tmp/multipartBody733271217999510916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181232854,"filename":"image_02052025_09_40_14_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271529","file1":"1355271521","file0":"1355271517","file4":"1355271539","file5":"1355271544","file3":"1355271534"},"map_files_photo_id_array":[{"photo_id":"1355271544","filename":"file5"},{"photo_id":"1355271529","filename":"file2"},{"photo_id":"1355271539","filename":"file4"},{"photo_id":"1355271521","filename":"file1"},{"photo_id":"1355271517","filename":"file0"},{"photo_id":"1355271534","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271529":["hashtag1","hashtag2"]},{"1355271517":["hashtag1","hashtag2"]},{"1355271534":["hashtag1","hashtag2"]},{"1355271521":["hashtag1","hashtag2"]},{"1355271539":["hashtag1","hashtag2"]},{"1355271544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271529, 1355271517, 1355271534, 1355271521, 1355271539, 1355271544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.83728814125061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:20:32.461545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/40/image_02052025_09_40_25_10352.jpg', '/home/pi/Desktop/images/02052025/09/40/image_02052025_09_40_35_10339.jpg', '/home/pi/Desktop/images/02052025/09/40/image_02052025_09_40_55_10355.jpg', '/home/pi/Desktop/images/02052025/09/41/image_02052025_09_41_25_10455.jpg', '/home/pi/Desktop/images/02052025/09/41/image_02052025_09_41_45_10356.jpg', '/home/pi/Desktop/images/02052025/09/41/image_02052025_09_41_55_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/40/image_02052025_09_40_25_10352.jpg
/home/pi/Desktop/images/02052025/09/40/image_02052025_09_40_35_10339.jpg
/home/pi/Desktop/images/02052025/09/40/image_02052025_09_40_55_10355.jpg
/home/pi/Desktop/images/02052025/09/41/image_02052025_09_41_25_10455.jpg
/home/pi/Desktop/images/02052025/09/41/image_02052025_09_41_45_10356.jpg
/home/pi/Desktop/images/02052025/09/41/image_02052025_09_41_55_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355271576","1355271599","1355271569","1355271595","1355271589","1355271583"],"photo_ids_order":["1355271569","1355271576","1355271583","1355271589","1355271595","1355271599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5373884699a80ffecc6e8353a21064d1.jpg","text":"TemporaryFile(/tmp/multipartBody7701269705479118081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181292926,"filename":"image_02052025_09_40_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/5/2/7b74f1289b103b889fc62385d7adbc63.jpg","text":"TemporaryFile(/tmp/multipartBody2034355699717095632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181292926,"filename":"image_02052025_09_41_55_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2699c70be1c7676f735889a89fe6807.jpg","text":"TemporaryFile(/tmp/multipartBody202014599826183024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181292926,"filename":"image_02052025_09_40_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/43082cd9f13d9ea33057fe9dca984604.jpg","text":"TemporaryFile(/tmp/multipartBody7548094704929090778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181292926,"filename":"image_02052025_09_41_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/5/2/81ab275591eb4217bb2fe18aeba280cf.jpg","text":"TemporaryFile(/tmp/multipartBody4681927509741154288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181292926,"filename":"image_02052025_09_41_25_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/08e5eef69385d7fe9ad394213ae1e675.jpg","text":"TemporaryFile(/tmp/multipartBody1645733179341658547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181292926,"filename":"image_02052025_09_40_55_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271583","file1":"1355271576","file0":"1355271569","file4":"1355271595","file5":"1355271599","file3":"1355271589"},"map_files_photo_id_array":[{"photo_id":"1355271599","filename":"file5"},{"photo_id":"1355271583","filename":"file2"},{"photo_id":"1355271595","filename":"file4"},{"photo_id":"1355271576","filename":"file1"},{"photo_id":"1355271569","filename":"file0"},{"photo_id":"1355271589","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271576":["hashtag1","hashtag2"]},{"1355271599":["hashtag1","hashtag2"]},{"1355271569":["hashtag1","hashtag2"]},{"1355271595":["hashtag1","hashtag2"]},{"1355271589":["hashtag1","hashtag2"]},{"1355271583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271576, 1355271599, 1355271569, 1355271595, 1355271589, 1355271583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47896909713745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:21:32.600933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/41/image_02052025_09_42_04_9387.jpg', '/home/pi/Desktop/images/02052025/09/42/image_02052025_09_42_15_10327.jpg', '/home/pi/Desktop/images/02052025/09/42/image_02052025_09_42_24_9476.jpg', '/home/pi/Desktop/images/02052025/09/42/image_02052025_09_42_45_10430.jpg', '/home/pi/Desktop/images/02052025/09/42/image_02052025_09_42_54_9427.jpg', '/home/pi/Desktop/images/02052025/09/42/image_02052025_09_43_05_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/41/image_02052025_09_42_04_9387.jpg
/home/pi/Desktop/images/02052025/09/42/image_02052025_09_42_15_10327.jpg
/home/pi/Desktop/images/02052025/09/42/image_02052025_09_42_24_9476.jpg
/home/pi/Desktop/images/02052025/09/42/image_02052025_09_42_45_10430.jpg
/home/pi/Desktop/images/02052025/09/42/image_02052025_09_42_54_9427.jpg
/home/pi/Desktop/images/02052025/09/42/image_02052025_09_43_05_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":["1355271634","1355271645","1355271630","1355271650","1355271626","1355271640"],"photo_ids_order":["1355271626","1355271630","1355271634","1355271640","1355271645","1355271650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d05360365a9f385b18aa673cbe8614f.jpg","text":"TemporaryFile(/tmp/multipartBody4257959856017769195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181353075,"filename":"image_02052025_09_42_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/5/2/5bd69419f847b7e5f434129e9746a503.jpg","text":"TemporaryFile(/tmp/multipartBody2252941425528020100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181353075,"filename":"image_02052025_09_42_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/5/2/f355308dc128777cc3eb92574d339363.jpg","text":"TemporaryFile(/tmp/multipartBody9221600253476474747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181353075,"filename":"image_02052025_09_42_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/5/2/0d606f19809c57e16576312dad7eb077.jpg","text":"TemporaryFile(/tmp/multipartBody7097438559889681423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181353075,"filename":"image_02052025_09_43_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea8769902be57237a592bde462a1cd90.jpg","text":"TemporaryFile(/tmp/multipartBody7615577023590791384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181353075,"filename":"image_02052025_09_42_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/5/2/d5915127457f45f98a4e5acb8e465f6c.jpg","text":"TemporaryFile(/tmp/multipartBody4994384314782891922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181353075,"filename":"image_02052025_09_42_45_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271634","file1":"1355271630","file0":"1355271626","file4":"1355271645","file5":"1355271650","file3":"1355271640"},"map_files_photo_id_array":[{"photo_id":"1355271650","filename":"file5"},{"photo_id":"1355271634","filename":"file2"},{"photo_id":"1355271645","filename":"file4"},{"photo_id":"1355271630","filename":"file1"},{"photo_id":"1355271626","filename":"file0"},{"photo_id":"1355271640","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271634":["hashtag1","hashtag2"]},{"1355271645":["hashtag1","hashtag2"]},{"1355271630":["hashtag1","hashtag2"]},{"1355271650":["hashtag1","hashtag2"]},{"1355271626":["hashtag1","hashtag2"]},{"1355271640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271634, 1355271645, 1355271630, 1355271650, 1355271626, 1355271640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28802418708801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:22:32.868188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/43/image_02052025_09_43_25_10412.jpg', '/home/pi/Desktop/images/02052025/09/43/image_02052025_09_43_35_10345.jpg', '/home/pi/Desktop/images/02052025/09/43/image_02052025_09_43_55_10343.jpg', '/home/pi/Desktop/images/02052025/09/43/image_02052025_09_44_05_10350.jpg', '/home/pi/Desktop/images/02052025/09/44/image_02052025_09_44_14_9339.jpg', '/home/pi/Desktop/images/02052025/09/44/image_02052025_09_44_25_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/43/image_02052025_09_43_25_10412.jpg
/home/pi/Desktop/images/02052025/09/43/image_02052025_09_43_35_10345.jpg
/home/pi/Desktop/images/02052025/09/43/image_02052025_09_43_55_10343.jpg
/home/pi/Desktop/images/02052025/09/43/image_02052025_09_44_05_10350.jpg
/home/pi/Desktop/images/02052025/09/44/image_02052025_09_44_14_9339.jpg
/home/pi/Desktop/images/02052025/09/44/image_02052025_09_44_25_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":["1355271690","1355271675","1355271669","1355271680","1355271686","1355271694"],"photo_ids_order":["1355271669","1355271675","1355271680","1355271686","1355271690","1355271694"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/569762b8adae237adb59bdaf088e32f3.jpg","text":"TemporaryFile(/tmp/multipartBody658778452116642589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181413326,"filename":"image_02052025_09_44_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/5/2/018983b9dc13650f60037cfffe27af14.jpg","text":"TemporaryFile(/tmp/multipartBody6389512507162778142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181413326,"filename":"image_02052025_09_43_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/5/2/7ca6d9409969f9eefb0989c81dfe0e5b.jpg","text":"TemporaryFile(/tmp/multipartBody4207500867976668578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181413326,"filename":"image_02052025_09_43_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/5/2/4bbbb025a59c7078e8ad9eb42e1e5847.jpg","text":"TemporaryFile(/tmp/multipartBody6745257141073357842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181413326,"filename":"image_02052025_09_43_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/5/2/1140b44b3c0dcc7065f251f62db084d8.jpg","text":"TemporaryFile(/tmp/multipartBody2660239419109321450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181413326,"filename":"image_02052025_09_44_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/5/2/edfe25b5898ed7eb49d6e9be11d22ff5.jpg","text":"TemporaryFile(/tmp/multipartBody5712244205702628656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181413326,"filename":"image_02052025_09_44_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271680","file1":"1355271675","file0":"1355271669","file4":"1355271690","file5":"1355271694","file3":"1355271686"},"map_files_photo_id_array":[{"photo_id":"1355271694","filename":"file5"},{"photo_id":"1355271680","filename":"file2"},{"photo_id":"1355271690","filename":"file4"},{"photo_id":"1355271675","filename":"file1"},{"photo_id":"1355271669","filename":"file0"},{"photo_id":"1355271686","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271690":["hashtag1","hashtag2"]},{"1355271675":["hashtag1","hashtag2"]},{"1355271669":["hashtag1","hashtag2"]},{"1355271680":["hashtag1","hashtag2"]},{"1355271686":["hashtag1","hashtag2"]},{"1355271694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271690, 1355271675, 1355271669, 1355271680, 1355271686, 1355271694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4222469329834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:23:33.099784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/44/image_02052025_09_44_34_9562.jpg', '/home/pi/Desktop/images/02052025/09/44/image_02052025_09_44_45_10337.jpg', '/home/pi/Desktop/images/02052025/09/44/image_02052025_09_44_55_10363.jpg', '/home/pi/Desktop/images/02052025/09/45/image_02052025_09_45_15_10412.jpg', '/home/pi/Desktop/images/02052025/09/45/image_02052025_09_45_35_10359.jpg', '/home/pi/Desktop/images/02052025/09/45/image_02052025_09_45_45_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/44/image_02052025_09_44_34_9562.jpg
/home/pi/Desktop/images/02052025/09/44/image_02052025_09_44_45_10337.jpg
/home/pi/Desktop/images/02052025/09/44/image_02052025_09_44_55_10363.jpg
/home/pi/Desktop/images/02052025/09/45/image_02052025_09_45_15_10412.jpg
/home/pi/Desktop/images/02052025/09/45/image_02052025_09_45_35_10359.jpg
/home/pi/Desktop/images/02052025/09/45/image_02052025_09_45_45_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355271759","1355271768","1355271773","1355271764","1355271775","1355271754"],"photo_ids_order":["1355271754","1355271759","1355271764","1355271768","1355271773","1355271775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9bba1bf2d8f65c53a5c403d82447ad9a.jpg","text":"TemporaryFile(/tmp/multipartBody8541533317042342915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181473567,"filename":"image_02052025_09_44_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/5/2/2c17147e3ad98986b5740883604b1850.jpg","text":"TemporaryFile(/tmp/multipartBody3498507541818340999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181473567,"filename":"image_02052025_09_45_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/5/2/5f985e93f140b8b7e40f769fe85c7fea.jpg","text":"TemporaryFile(/tmp/multipartBody5727632060763232790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181473567,"filename":"image_02052025_09_45_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e5caea926367768aa9e8db807c0d7fa1.jpg","text":"TemporaryFile(/tmp/multipartBody3076856682326009079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181473567,"filename":"image_02052025_09_44_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/5/2/c946e023aaea1a80edb0599c5fb5b6eb.jpg","text":"TemporaryFile(/tmp/multipartBody6314175339742826064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181473567,"filename":"image_02052025_09_45_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c83e843aa0bfeaa770047a24e442701a.jpg","text":"TemporaryFile(/tmp/multipartBody5943705305516815541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181473567,"filename":"image_02052025_09_44_34_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271764","file1":"1355271759","file0":"1355271754","file4":"1355271773","file5":"1355271775","file3":"1355271768"},"map_files_photo_id_array":[{"photo_id":"1355271775","filename":"file5"},{"photo_id":"1355271764","filename":"file2"},{"photo_id":"1355271773","filename":"file4"},{"photo_id":"1355271759","filename":"file1"},{"photo_id":"1355271754","filename":"file0"},{"photo_id":"1355271768","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271759":["hashtag1","hashtag2"]},{"1355271768":["hashtag1","hashtag2"]},{"1355271773":["hashtag1","hashtag2"]},{"1355271764":["hashtag1","hashtag2"]},{"1355271775":["hashtag1","hashtag2"]},{"1355271754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271759, 1355271768, 1355271773, 1355271764, 1355271775, 1355271754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63642692565918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:24:32.218925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/45/image_02052025_09_45_55_9463.jpg', '/home/pi/Desktop/images/02052025/09/45/image_02052025_09_46_05_10377.jpg', '/home/pi/Desktop/images/02052025/09/46/image_02052025_09_46_14_9380.jpg', '/home/pi/Desktop/images/02052025/09/46/image_02052025_09_46_25_10382.jpg', '/home/pi/Desktop/images/02052025/09/46/image_02052025_09_46_35_10349.jpg', '/home/pi/Desktop/images/02052025/09/47/image_02052025_09_47_15_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/45/image_02052025_09_45_55_9463.jpg
/home/pi/Desktop/images/02052025/09/45/image_02052025_09_46_05_10377.jpg
/home/pi/Desktop/images/02052025/09/46/image_02052025_09_46_14_9380.jpg
/home/pi/Desktop/images/02052025/09/46/image_02052025_09_46_25_10382.jpg
/home/pi/Desktop/images/02052025/09/46/image_02052025_09_46_35_10349.jpg
/home/pi/Desktop/images/02052025/09/47/image_02052025_09_47_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":["1355271805","1355271808","1355271794","1355271788","1355271799","1355271803"],"photo_ids_order":["1355271788","1355271794","1355271799","1355271803","1355271805","1355271808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ef714c70d18c788b194d6c30393849e1.jpg","text":"TemporaryFile(/tmp/multipartBody2633497666905846250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181532749,"filename":"image_02052025_09_46_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/5/2/d164869cb8268c32ed90197a60ee6cbf.jpg","text":"TemporaryFile(/tmp/multipartBody1409954150616452643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181532749,"filename":"image_02052025_09_47_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/5/2/8897df2e7945b0aeab99611ebfce88f3.jpg","text":"TemporaryFile(/tmp/multipartBody1625728861759389636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181532749,"filename":"image_02052025_09_46_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/5/2/d635e440f4cb91049a88e142fddb5978.jpg","text":"TemporaryFile(/tmp/multipartBody2009136866305739090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181532749,"filename":"image_02052025_09_45_55_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1e3b4bfe4820b0676b010040d863791d.jpg","text":"TemporaryFile(/tmp/multipartBody4891488468297866497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181532749,"filename":"image_02052025_09_46_14_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e7c9d965f6d2f284bb6607304461de38.jpg","text":"TemporaryFile(/tmp/multipartBody7932327873599385631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181532749,"filename":"image_02052025_09_46_25_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271799","file1":"1355271794","file0":"1355271788","file4":"1355271805","file5":"1355271808","file3":"1355271803"},"map_files_photo_id_array":[{"photo_id":"1355271808","filename":"file5"},{"photo_id":"1355271799","filename":"file2"},{"photo_id":"1355271805","filename":"file4"},{"photo_id":"1355271794","filename":"file1"},{"photo_id":"1355271788","filename":"file0"},{"photo_id":"1355271803","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271805":["hashtag1","hashtag2"]},{"1355271808":["hashtag1","hashtag2"]},{"1355271794":["hashtag1","hashtag2"]},{"1355271788":["hashtag1","hashtag2"]},{"1355271799":["hashtag1","hashtag2"]},{"1355271803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271805, 1355271808, 1355271794, 1355271788, 1355271799, 1355271803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.438358068466187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:25:32.344436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/47/image_02052025_09_47_25_10356.jpg', '/home/pi/Desktop/images/02052025/09/47/image_02052025_09_47_34_9352.jpg', '/home/pi/Desktop/images/02052025/09/47/image_02052025_09_47_45_10345.jpg', '/home/pi/Desktop/images/02052025/09/47/image_02052025_09_47_55_10355.jpg', '/home/pi/Desktop/images/02052025/09/48/image_02052025_09_48_15_10343.jpg', '/home/pi/Desktop/images/02052025/09/48/image_02052025_09_48_24_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/47/image_02052025_09_47_25_10356.jpg
/home/pi/Desktop/images/02052025/09/47/image_02052025_09_47_34_9352.jpg
/home/pi/Desktop/images/02052025/09/47/image_02052025_09_47_45_10345.jpg
/home/pi/Desktop/images/02052025/09/47/image_02052025_09_47_55_10355.jpg
/home/pi/Desktop/images/02052025/09/48/image_02052025_09_48_15_10343.jpg
/home/pi/Desktop/images/02052025/09/48/image_02052025_09_48_24_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":["1355271901","1355271873","1355271887","1355271878","1355271863","1355271868"],"photo_ids_order":["1355271863","1355271868","1355271873","1355271878","1355271887","1355271901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6171577402dcf3c093e31849a8de0e7f.jpg","text":"TemporaryFile(/tmp/multipartBody2086978384349781359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181592801,"filename":"image_02052025_09_48_24_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba28898374c1b0a278f5a865fd7dd0cf.jpg","text":"TemporaryFile(/tmp/multipartBody6365030922044179291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181592801,"filename":"image_02052025_09_47_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/5/2/79cdcc8af7b12899bdafce83f84255eb.jpg","text":"TemporaryFile(/tmp/multipartBody7002418048903303867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181592801,"filename":"image_02052025_09_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/5/2/f5b42c873f217e74450c1a24408fabb3.jpg","text":"TemporaryFile(/tmp/multipartBody3673446083699609680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181592801,"filename":"image_02052025_09_47_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/5/2/17920e474f0da367637daa5fa4974795.jpg","text":"TemporaryFile(/tmp/multipartBody2811231975540787735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181592801,"filename":"image_02052025_09_47_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e22837b8dc270dc84c953cd17704373a.jpg","text":"TemporaryFile(/tmp/multipartBody385645697824382459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181592801,"filename":"image_02052025_09_47_34_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355271873","file1":"1355271868","file0":"1355271863","file4":"1355271887","file5":"1355271901","file3":"1355271878"},"map_files_photo_id_array":[{"photo_id":"1355271901","filename":"file5"},{"photo_id":"1355271873","filename":"file2"},{"photo_id":"1355271887","filename":"file4"},{"photo_id":"1355271868","filename":"file1"},{"photo_id":"1355271863","filename":"file0"},{"photo_id":"1355271878","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355271901":["hashtag1","hashtag2"]},{"1355271873":["hashtag1","hashtag2"]},{"1355271887":["hashtag1","hashtag2"]},{"1355271878":["hashtag1","hashtag2"]},{"1355271863":["hashtag1","hashtag2"]},{"1355271868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355271901, 1355271873, 1355271887, 1355271878, 1355271863, 1355271868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12851285934448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:26:32.566182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/48/image_02052025_09_48_35_10347.jpg', '/home/pi/Desktop/images/02052025/09/48/image_02052025_09_48_45_10353.jpg', '/home/pi/Desktop/images/02052025/09/48/image_02052025_09_48_55_9507.jpg', '/home/pi/Desktop/images/02052025/09/48/image_02052025_09_49_05_10372.jpg', '/home/pi/Desktop/images/02052025/09/49/image_02052025_09_49_14_9434.jpg', '/home/pi/Desktop/images/02052025/09/49/image_02052025_09_49_25_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/48/image_02052025_09_48_35_10347.jpg
/home/pi/Desktop/images/02052025/09/48/image_02052025_09_48_45_10353.jpg
/home/pi/Desktop/images/02052025/09/48/image_02052025_09_48_55_9507.jpg
/home/pi/Desktop/images/02052025/09/48/image_02052025_09_49_05_10372.jpg
/home/pi/Desktop/images/02052025/09/49/image_02052025_09_49_14_9434.jpg
/home/pi/Desktop/images/02052025/09/49/image_02052025_09_49_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":["1355272012","1355271992","1355272016","1355272007","1355272018","1355272003"],"photo_ids_order":["1355271992","1355272003","1355272007","1355272012","1355272016","1355272018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/069942250584ca4eefa7d76670096eca.jpg","text":"TemporaryFile(/tmp/multipartBody405125262581104037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181653027,"filename":"image_02052025_09_49_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/5/2/9f5c196ca4ea1b6adb3c761b649aa0f6.jpg","text":"TemporaryFile(/tmp/multipartBody1197023705485796311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181653027,"filename":"image_02052025_09_48_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/5/2/a7d2ae8fec80f96c535ce54f598e514c.jpg","text":"TemporaryFile(/tmp/multipartBody1889551595488390583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181653027,"filename":"image_02052025_09_49_14_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96a56f7dbfec77d1de6eff34eeb24fc5.jpg","text":"TemporaryFile(/tmp/multipartBody7034624840598071950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181653027,"filename":"image_02052025_09_48_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/5/2/a0f52c853693ccd7810fded402da1762.jpg","text":"TemporaryFile(/tmp/multipartBody587536302150265442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181653027,"filename":"image_02052025_09_49_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/5/2/6dff5d287abad3a4d7cd978dd37348e6.jpg","text":"TemporaryFile(/tmp/multipartBody7760527583054445297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181653027,"filename":"image_02052025_09_48_45_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355272007","file1":"1355272003","file0":"1355271992","file4":"1355272016","file5":"1355272018","file3":"1355272012"},"map_files_photo_id_array":[{"photo_id":"1355272018","filename":"file5"},{"photo_id":"1355272007","filename":"file2"},{"photo_id":"1355272016","filename":"file4"},{"photo_id":"1355272003","filename":"file1"},{"photo_id":"1355271992","filename":"file0"},{"photo_id":"1355272012","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355272012":["hashtag1","hashtag2"]},{"1355271992":["hashtag1","hashtag2"]},{"1355272016":["hashtag1","hashtag2"]},{"1355272007":["hashtag1","hashtag2"]},{"1355272018":["hashtag1","hashtag2"]},{"1355272003":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355272012, 1355271992, 1355272016, 1355272007, 1355272018, 1355272003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.937662363052368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:27:32.823711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/49/image_02052025_09_49_35_10351.jpg', '/home/pi/Desktop/images/02052025/09/49/image_02052025_09_49_55_10363.jpg', '/home/pi/Desktop/images/02052025/09/49/image_02052025_09_50_04_9472.jpg', '/home/pi/Desktop/images/02052025/09/50/image_02052025_09_50_15_10335.jpg', '/home/pi/Desktop/images/02052025/09/50/image_02052025_09_50_25_10362.jpg', '/home/pi/Desktop/images/02052025/09/50/image_02052025_09_50_35_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/49/image_02052025_09_49_35_10351.jpg
/home/pi/Desktop/images/02052025/09/49/image_02052025_09_49_55_10363.jpg
/home/pi/Desktop/images/02052025/09/49/image_02052025_09_50_04_9472.jpg
/home/pi/Desktop/images/02052025/09/50/image_02052025_09_50_15_10335.jpg
/home/pi/Desktop/images/02052025/09/50/image_02052025_09_50_25_10362.jpg
/home/pi/Desktop/images/02052025/09/50/image_02052025_09_50_35_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":["1355272098","1355272104","1355272101","1355272094","1355272106","1355272109"],"photo_ids_order":["1355272094","1355272098","1355272101","1355272104","1355272106","1355272109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c92750c8167333a297967f9310208575.jpg","text":"TemporaryFile(/tmp/multipartBody6443397518141484728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181713275,"filename":"image_02052025_09_49_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/5/2/03d2c3a069030fb073a383e7f64b68c0.jpg","text":"TemporaryFile(/tmp/multipartBody8087776122626064438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181713275,"filename":"image_02052025_09_50_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/5/2/912b0a6b432775b6fd83f052a58d2b4f.jpg","text":"TemporaryFile(/tmp/multipartBody2509586670642393034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181713275,"filename":"image_02052025_09_50_04_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da6d6ed7504dfbb399c0477ab9bfa066.jpg","text":"TemporaryFile(/tmp/multipartBody2274505711749055789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181713275,"filename":"image_02052025_09_49_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/5/2/c362f7a0c69c707fbf7ce8b435ed8426.jpg","text":"TemporaryFile(/tmp/multipartBody4365517274745686746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181713275,"filename":"image_02052025_09_50_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae353e3c2d1feb623604e3771050a97b.jpg","text":"TemporaryFile(/tmp/multipartBody4803027189711466601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181713275,"filename":"image_02052025_09_50_35_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355272101","file1":"1355272098","file0":"1355272094","file4":"1355272106","file5":"1355272109","file3":"1355272104"},"map_files_photo_id_array":[{"photo_id":"1355272109","filename":"file5"},{"photo_id":"1355272101","filename":"file2"},{"photo_id":"1355272106","filename":"file4"},{"photo_id":"1355272098","filename":"file1"},{"photo_id":"1355272094","filename":"file0"},{"photo_id":"1355272104","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355272098":["hashtag1","hashtag2"]},{"1355272104":["hashtag1","hashtag2"]},{"1355272101":["hashtag1","hashtag2"]},{"1355272094":["hashtag1","hashtag2"]},{"1355272106":["hashtag1","hashtag2"]},{"1355272109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355272098, 1355272104, 1355272101, 1355272094, 1355272106, 1355272109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.430638551712036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:28:33.008481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/50/image_02052025_09_50_54_9357.jpg', '/home/pi/Desktop/images/02052025/09/50/image_02052025_09_51_05_10418.jpg', '/home/pi/Desktop/images/02052025/09/51/image_02052025_09_51_15_10356.jpg', '/home/pi/Desktop/images/02052025/09/51/image_02052025_09_52_05_10367.jpg', '/home/pi/Desktop/images/02052025/09/52/image_02052025_09_52_14_9422.jpg', '/home/pi/Desktop/images/02052025/09/52/image_02052025_09_52_25_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/50/image_02052025_09_50_54_9357.jpg
/home/pi/Desktop/images/02052025/09/50/image_02052025_09_51_05_10418.jpg
/home/pi/Desktop/images/02052025/09/51/image_02052025_09_51_15_10356.jpg
/home/pi/Desktop/images/02052025/09/51/image_02052025_09_52_05_10367.jpg
/home/pi/Desktop/images/02052025/09/52/image_02052025_09_52_14_9422.jpg
/home/pi/Desktop/images/02052025/09/52/image_02052025_09_52_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":["1355272149","1355272158","1355272154","1355272133","1355272145","1355272139"],"photo_ids_order":["1355272133","1355272139","1355272145","1355272149","1355272154","1355272158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/abb38a427be9602d9a32f6b33d6a25b1.jpg","text":"TemporaryFile(/tmp/multipartBody7094245525392489052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181773518,"filename":"image_02052025_09_52_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/5/2/a4ba021e7d4c09724d4a6dd6b135b04b.jpg","text":"TemporaryFile(/tmp/multipartBody2829212932931831911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181773518,"filename":"image_02052025_09_52_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/5/2/49610148d8944a87d10344eed0827e76.jpg","text":"TemporaryFile(/tmp/multipartBody7750558688778454910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181773518,"filename":"image_02052025_09_52_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/5/2/ccd7214ab6a2c27958ee996747cdea38.jpg","text":"TemporaryFile(/tmp/multipartBody7491505953172956988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181773518,"filename":"image_02052025_09_50_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b084d154e8f7c42b78057bd7f705a9c9.jpg","text":"TemporaryFile(/tmp/multipartBody6270608281979263521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181773518,"filename":"image_02052025_09_51_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd7a8f7388653c67f9079a89fc563ae1.jpg","text":"TemporaryFile(/tmp/multipartBody3969351166131348299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181773518,"filename":"image_02052025_09_51_05_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355272145","file1":"1355272139","file0":"1355272133","file4":"1355272154","file5":"1355272158","file3":"1355272149"},"map_files_photo_id_array":[{"photo_id":"1355272158","filename":"file5"},{"photo_id":"1355272145","filename":"file2"},{"photo_id":"1355272154","filename":"file4"},{"photo_id":"1355272139","filename":"file1"},{"photo_id":"1355272133","filename":"file0"},{"photo_id":"1355272149","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355272149":["hashtag1","hashtag2"]},{"1355272158":["hashtag1","hashtag2"]},{"1355272154":["hashtag1","hashtag2"]},{"1355272133":["hashtag1","hashtag2"]},{"1355272145":["hashtag1","hashtag2"]},{"1355272139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355272149, 1355272158, 1355272154, 1355272133, 1355272145, 1355272139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.66626763343811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:29:32.292227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/52/image_02052025_09_52_35_10349.jpg', '/home/pi/Desktop/images/02052025/09/52/image_02052025_09_52_44_9427.jpg', '/home/pi/Desktop/images/02052025/09/52/image_02052025_09_52_55_10366.jpg', '/home/pi/Desktop/images/02052025/09/52/image_02052025_09_53_04_9344.jpg', '/home/pi/Desktop/images/02052025/09/53/image_02052025_09_53_25_10372.jpg', '/home/pi/Desktop/images/02052025/09/53/image_02052025_09_53_45_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/52/image_02052025_09_52_35_10349.jpg
/home/pi/Desktop/images/02052025/09/52/image_02052025_09_52_44_9427.jpg
/home/pi/Desktop/images/02052025/09/52/image_02052025_09_52_55_10366.jpg
/home/pi/Desktop/images/02052025/09/52/image_02052025_09_53_04_9344.jpg
/home/pi/Desktop/images/02052025/09/53/image_02052025_09_53_25_10372.jpg
/home/pi/Desktop/images/02052025/09/53/image_02052025_09_53_45_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":["1355272203","1355272199","1355272190","1355272217","1355272183","1355272177"],"photo_ids_order":["1355272177","1355272183","1355272190","1355272199","1355272203","1355272217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad3dcd6084818809b024faac1b690f7f.jpg","text":"TemporaryFile(/tmp/multipartBody1607934114658856110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181832755,"filename":"image_02052025_09_53_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/5/2/a3bf30450a9dbb1638932e5af298c36b.jpg","text":"TemporaryFile(/tmp/multipartBody6036774240339790652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181832755,"filename":"image_02052025_09_53_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/5/2/6aa31634037d5f6269afeb4973757a83.jpg","text":"TemporaryFile(/tmp/multipartBody2423804513220780937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181832755,"filename":"image_02052025_09_52_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a3fbfe8da118fda893ebc04da7c32106.jpg","text":"TemporaryFile(/tmp/multipartBody6640698191835860456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181832755,"filename":"image_02052025_09_53_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/01a850a4a9ad1543977072e07d1dffea.jpg","text":"TemporaryFile(/tmp/multipartBody932389273920725472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181832755,"filename":"image_02052025_09_52_44_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/524d0889bcb9f8eaeeeff07405e52bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8151312325651305867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181832755,"filename":"image_02052025_09_52_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355272190","file1":"1355272183","file0":"1355272177","file4":"1355272203","file5":"1355272217","file3":"1355272199"},"map_files_photo_id_array":[{"photo_id":"1355272217","filename":"file5"},{"photo_id":"1355272190","filename":"file2"},{"photo_id":"1355272203","filename":"file4"},{"photo_id":"1355272183","filename":"file1"},{"photo_id":"1355272177","filename":"file0"},{"photo_id":"1355272199","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355272203":["hashtag1","hashtag2"]},{"1355272199":["hashtag1","hashtag2"]},{"1355272190":["hashtag1","hashtag2"]},{"1355272217":["hashtag1","hashtag2"]},{"1355272183":["hashtag1","hashtag2"]},{"1355272177":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355272203, 1355272199, 1355272190, 1355272217, 1355272183, 1355272177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.59424066543579 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:30:32.482236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/53/image_02052025_09_53_55_10441.jpg', '/home/pi/Desktop/images/02052025/09/53/image_02052025_09_54_04_9453.jpg', '/home/pi/Desktop/images/02052025/09/54/image_02052025_09_54_15_10333.jpg', '/home/pi/Desktop/images/02052025/09/54/image_02052025_09_54_24_9328.jpg', '/home/pi/Desktop/images/02052025/09/54/image_02052025_09_54_35_10448.jpg', '/home/pi/Desktop/images/02052025/09/54/image_02052025_09_54_45_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/53/image_02052025_09_53_55_10441.jpg
/home/pi/Desktop/images/02052025/09/53/image_02052025_09_54_04_9453.jpg
/home/pi/Desktop/images/02052025/09/54/image_02052025_09_54_15_10333.jpg
/home/pi/Desktop/images/02052025/09/54/image_02052025_09_54_24_9328.jpg
/home/pi/Desktop/images/02052025/09/54/image_02052025_09_54_35_10448.jpg
/home/pi/Desktop/images/02052025/09/54/image_02052025_09_54_45_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":["1355272263","1355272289","1355272259","1355272274","1355272285","1355272267"],"photo_ids_order":["1355272259","1355272263","1355272267","1355272274","1355272285","1355272289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/342545e1ecd89ed5d338df7a0c2e6cd7.jpg","text":"TemporaryFile(/tmp/multipartBody180811435401601106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181892953,"filename":"image_02052025_09_54_04_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2845bbc42d66109058b228a6b86959c9.jpg","text":"TemporaryFile(/tmp/multipartBody7660940637831041101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181892953,"filename":"image_02052025_09_54_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/5/2/d2f88c534cd0dbaef0de8d87e1f1cb4e.jpg","text":"TemporaryFile(/tmp/multipartBody4675230015180786331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181892953,"filename":"image_02052025_09_53_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/5/2/0aa9968d1bae70fee0b24c3fb272d016.jpg","text":"TemporaryFile(/tmp/multipartBody5204038371522147651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181892953,"filename":"image_02052025_09_54_24_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cb8583cd4379b723208f768bf74d20d6.jpg","text":"TemporaryFile(/tmp/multipartBody1264094522210594385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181892953,"filename":"image_02052025_09_54_35_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/078829d7f094b6aa410dbac83b0a02ad.jpg","text":"TemporaryFile(/tmp/multipartBody5494603782173238860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181892953,"filename":"image_02052025_09_54_15_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355272267","file1":"1355272263","file0":"1355272259","file4":"1355272285","file5":"1355272289","file3":"1355272274"},"map_files_photo_id_array":[{"photo_id":"1355272289","filename":"file5"},{"photo_id":"1355272267","filename":"file2"},{"photo_id":"1355272285","filename":"file4"},{"photo_id":"1355272263","filename":"file1"},{"photo_id":"1355272259","filename":"file0"},{"photo_id":"1355272274","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355272263":["hashtag1","hashtag2"]},{"1355272289":["hashtag1","hashtag2"]},{"1355272259":["hashtag1","hashtag2"]},{"1355272274":["hashtag1","hashtag2"]},{"1355272285":["hashtag1","hashtag2"]},{"1355272267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355272263, 1355272289, 1355272259, 1355272274, 1355272285, 1355272267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.62548327445984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:31:32.730756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/54/image_02052025_09_54_54_9509.jpg', '/home/pi/Desktop/images/02052025/09/54/image_02052025_09_55_05_10345.jpg', '/home/pi/Desktop/images/02052025/09/55/image_02052025_09_55_25_10479.jpg', '/home/pi/Desktop/images/02052025/09/55/image_02052025_09_55_35_10431.jpg', '/home/pi/Desktop/images/02052025/09/55/image_02052025_09_55_44_9329.jpg', '/home/pi/Desktop/images/02052025/09/55/image_02052025_09_55_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/54/image_02052025_09_54_54_9509.jpg
/home/pi/Desktop/images/02052025/09/54/image_02052025_09_55_05_10345.jpg
/home/pi/Desktop/images/02052025/09/55/image_02052025_09_55_25_10479.jpg
/home/pi/Desktop/images/02052025/09/55/image_02052025_09_55_35_10431.jpg
/home/pi/Desktop/images/02052025/09/55/image_02052025_09_55_44_9329.jpg
/home/pi/Desktop/images/02052025/09/55/image_02052025_09_55_55_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355272317","1355272326","1355272331","1355272334","1355272322","1355272312"],"photo_ids_order":["1355272312","1355272317","1355272322","1355272326","1355272331","1355272334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7cc61abafbe4782d5dd671594d20bcb.jpg","text":"TemporaryFile(/tmp/multipartBody7149997874734185753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181953198,"filename":"image_02052025_09_55_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/5/2/d6f5d9000b26ef8ae6417e03a1072ee0.jpg","text":"TemporaryFile(/tmp/multipartBody6502810051120241304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181953198,"filename":"image_02052025_09_55_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/5/2/54b028f49b34bc57a3e9549cf1a30ba4.jpg","text":"TemporaryFile(/tmp/multipartBody8136693371238827545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181953198,"filename":"image_02052025_09_55_44_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6eeccb643b8287599bb06859456d1df.jpg","text":"TemporaryFile(/tmp/multipartBody2045780148536239819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181953198,"filename":"image_02052025_09_55_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/5/2/bda4b50e544b574db878f5e4ac85cfd6.jpg","text":"TemporaryFile(/tmp/multipartBody7937517308612081875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181953198,"filename":"image_02052025_09_55_25_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a50084a02eab66050d2d2468389b69d4.jpg","text":"TemporaryFile(/tmp/multipartBody7734060300727933854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746181953198,"filename":"image_02052025_09_54_54_9509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355272322","file1":"1355272317","file0":"1355272312","file4":"1355272331","file5":"1355272334","file3":"1355272326"},"map_files_photo_id_array":[{"photo_id":"1355272334","filename":"file5"},{"photo_id":"1355272322","filename":"file2"},{"photo_id":"1355272331","filename":"file4"},{"photo_id":"1355272317","filename":"file1"},{"photo_id":"1355272312","filename":"file0"},{"photo_id":"1355272326","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355272317":["hashtag1","hashtag2"]},{"1355272326":["hashtag1","hashtag2"]},{"1355272331":["hashtag1","hashtag2"]},{"1355272334":["hashtag1","hashtag2"]},{"1355272322":["hashtag1","hashtag2"]},{"1355272312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355272317, 1355272326, 1355272331, 1355272334, 1355272322, 1355272312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.704713106155396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:32:32.910693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/55/image_02052025_09_56_05_10354.jpg', '/home/pi/Desktop/images/02052025/09/56/image_02052025_09_56_14_9335.jpg', '/home/pi/Desktop/images/02052025/09/56/image_02052025_09_56_25_10352.jpg', '/home/pi/Desktop/images/02052025/09/56/image_02052025_09_56_34_9339.jpg', '/home/pi/Desktop/images/02052025/09/56/image_02052025_09_56_45_10450.jpg', '/home/pi/Desktop/images/02052025/09/56/image_02052025_09_56_55_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/55/image_02052025_09_56_05_10354.jpg
/home/pi/Desktop/images/02052025/09/56/image_02052025_09_56_14_9335.jpg
/home/pi/Desktop/images/02052025/09/56/image_02052025_09_56_25_10352.jpg
/home/pi/Desktop/images/02052025/09/56/image_02052025_09_56_34_9339.jpg
/home/pi/Desktop/images/02052025/09/56/image_02052025_09_56_45_10450.jpg
/home/pi/Desktop/images/02052025/09/56/image_02052025_09_56_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":["1355272506","1355272565","1355272535","1355272591","1355272633","1355272477"],"photo_ids_order":["1355272477","1355272506","1355272535","1355272565","1355272591","1355272633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c9d8c20a8ce97d633fdea8ba7ca2b44.jpg","text":"TemporaryFile(/tmp/multipartBody4936502184958028465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182013369,"filename":"image_02052025_09_56_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/5/2/9899e290789003f2b9a0617f82e8b460.jpg","text":"TemporaryFile(/tmp/multipartBody214611246380543634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182013369,"filename":"image_02052025_09_56_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/5/2/199e65e30174c4012f8d56f9df3b1018.jpg","text":"TemporaryFile(/tmp/multipartBody9039045985765566965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182013369,"filename":"image_02052025_09_56_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/5/2/a19e84dc79daca745ec62de4a27d1f20.jpg","text":"TemporaryFile(/tmp/multipartBody532631646302645905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182013369,"filename":"image_02052025_09_56_45_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1f9358f66db5d4a0b81cb7fc047539e.jpg","text":"TemporaryFile(/tmp/multipartBody3965994641397832679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182013369,"filename":"image_02052025_09_56_55_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8085486c79c98f573a9bbc7f58bc9a5a.jpg","text":"TemporaryFile(/tmp/multipartBody1541430508563813973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182013369,"filename":"image_02052025_09_56_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355272535","file1":"1355272506","file0":"1355272477","file4":"1355272591","file5":"1355272633","file3":"1355272565"},"map_files_photo_id_array":[{"photo_id":"1355272633","filename":"file5"},{"photo_id":"1355272535","filename":"file2"},{"photo_id":"1355272591","filename":"file4"},{"photo_id":"1355272506","filename":"file1"},{"photo_id":"1355272477","filename":"file0"},{"photo_id":"1355272565","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355272506":["hashtag1","hashtag2"]},{"1355272565":["hashtag1","hashtag2"]},{"1355272535":["hashtag1","hashtag2"]},{"1355272591":["hashtag1","hashtag2"]},{"1355272633":["hashtag1","hashtag2"]},{"1355272477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355272506, 1355272565, 1355272535, 1355272591, 1355272633, 1355272477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71091675758362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:33:33.229593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/56/image_02052025_09_57_04_9350.jpg', '/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_15_10364.jpg', '/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_34_9412.jpg', '/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_45_10424.jpg', '/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_54_9477.jpg', '/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_14_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/56/image_02052025_09_57_04_9350.jpg
/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_15_10364.jpg
/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_34_9412.jpg
/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_45_10424.jpg
/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_54_9477.jpg
/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_14_9371.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3739447593688965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 12:33:43.216649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/56/image_02052025_09_57_04_9350.jpg', '/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_15_10364.jpg', '/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_34_9412.jpg', '/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_45_10424.jpg', '/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_54_9477.jpg', '/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_14_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/56/image_02052025_09_57_04_9350.jpg
/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_15_10364.jpg
/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_34_9412.jpg
/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_45_10424.jpg
/home/pi/Desktop/images/02052025/09/57/image_02052025_09_57_54_9477.jpg
/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_14_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355273291","1355273081","1355273369","1355273183","1355273132","1355273027"],"photo_ids_order":["1355273027","1355273081","1355273132","1355273183","1355273291","1355273369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b87a7b339bf556cfeb732a7e0cb5c05.jpg","text":"TemporaryFile(/tmp/multipartBody4376161804422537936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182083669,"filename":"image_02052025_09_57_54_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/275681202b09f5f1b3c1edf0499e4cff.jpg","text":"TemporaryFile(/tmp/multipartBody7568749733423383530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182083669,"filename":"image_02052025_09_57_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/5/2/1322975d5cfc3669d6af59484ef95546.jpg","text":"TemporaryFile(/tmp/multipartBody3711806104651391920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182083669,"filename":"image_02052025_09_58_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/5/2/4016065c1d874e261d48291ad0814cba.jpg","text":"TemporaryFile(/tmp/multipartBody5009195014412715947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182083669,"filename":"image_02052025_09_57_45_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b69a329a5e06866ad91c1d82c5378b5a.jpg","text":"TemporaryFile(/tmp/multipartBody5641672817632482050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182083669,"filename":"image_02052025_09_57_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/5/2/ab200f75ad49e2a96140e04c65671e75.jpg","text":"TemporaryFile(/tmp/multipartBody7127973952433317210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182083669,"filename":"image_02052025_09_57_04_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355273132","file1":"1355273081","file0":"1355273027","file4":"1355273291","file5":"1355273369","file3":"1355273183"},"map_files_photo_id_array":[{"photo_id":"1355273369","filename":"file5"},{"photo_id":"1355273132","filename":"file2"},{"photo_id":"1355273291","filename":"file4"},{"photo_id":"1355273081","filename":"file1"},{"photo_id":"1355273027","filename":"file0"},{"photo_id":"1355273183","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355273291":["hashtag1","hashtag2"]},{"1355273081":["hashtag1","hashtag2"]},{"1355273369":["hashtag1","hashtag2"]},{"1355273183":["hashtag1","hashtag2"]},{"1355273132":["hashtag1","hashtag2"]},{"1355273027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355273291, 1355273081, 1355273369, 1355273183, 1355273132, 1355273027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.310367822647095 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:34:32.375677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_25_10367.jpg', '/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_35_10368.jpg', '/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_44_9410.jpg', '/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_55_10348.jpg', '/home/pi/Desktop/images/02052025/09/58/image_02052025_09_59_05_10350.jpg', '/home/pi/Desktop/images/02052025/09/59/image_02052025_09_59_25_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_25_10367.jpg
/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_35_10368.jpg
/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_44_9410.jpg
/home/pi/Desktop/images/02052025/09/58/image_02052025_09_58_55_10348.jpg
/home/pi/Desktop/images/02052025/09/58/image_02052025_09_59_05_10350.jpg
/home/pi/Desktop/images/02052025/09/59/image_02052025_09_59_25_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355273724","1355273699","1355273854","1355273779","1355273688","1355273658"],"photo_ids_order":["1355273658","1355273688","1355273699","1355273724","1355273779","1355273854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5200b637e6daa7fa1609eb72b3a0a03c.jpg","text":"TemporaryFile(/tmp/multipartBody9184081492378447795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182132845,"filename":"image_02052025_09_58_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/5/2/73185c37a11efc446415a2cbf76b5de4.jpg","text":"TemporaryFile(/tmp/multipartBody4655797981193318572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182132845,"filename":"image_02052025_09_58_44_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aaeda57e76563b77e4191391bd8a7b10.jpg","text":"TemporaryFile(/tmp/multipartBody2843744606740846462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182132845,"filename":"image_02052025_09_59_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49ec0e942b330ea10564601d3484c2c8.jpg","text":"TemporaryFile(/tmp/multipartBody7873706783115818605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182132845,"filename":"image_02052025_09_59_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/5/2/9ef166f9c0495b7d44ddb6a57a7ba006.jpg","text":"TemporaryFile(/tmp/multipartBody5016767355471880725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182132845,"filename":"image_02052025_09_58_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f1b8160dc09869bb4cc0c8f8f2842e5.jpg","text":"TemporaryFile(/tmp/multipartBody7987779448147106246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182132845,"filename":"image_02052025_09_58_25_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355273699","file1":"1355273688","file0":"1355273658","file4":"1355273779","file5":"1355273854","file3":"1355273724"},"map_files_photo_id_array":[{"photo_id":"1355273854","filename":"file5"},{"photo_id":"1355273699","filename":"file2"},{"photo_id":"1355273779","filename":"file4"},{"photo_id":"1355273688","filename":"file1"},{"photo_id":"1355273658","filename":"file0"},{"photo_id":"1355273724","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355273724":["hashtag1","hashtag2"]},{"1355273699":["hashtag1","hashtag2"]},{"1355273854":["hashtag1","hashtag2"]},{"1355273779":["hashtag1","hashtag2"]},{"1355273688":["hashtag1","hashtag2"]},{"1355273658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355273724, 1355273699, 1355273854, 1355273779, 1355273688, 1355273658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.262746334075928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:35:32.585597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/09/59/image_02052025_09_59_34_9456.jpg', '/home/pi/Desktop/images/02052025/09/59/image_02052025_09_59_55_10368.jpg', '/home/pi/Desktop/images/02052025/10/01/image_02052025_10_01_14_10070.jpg', '/home/pi/Desktop/images/02052025/10/01/image_02052025_10_01_25_10442.jpg', '/home/pi/Desktop/images/02052025/10/01/image_02052025_10_01_35_10336.jpg', '/home/pi/Desktop/images/02052025/10/01/image_02052025_10_01_44_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/09/59/image_02052025_09_59_34_9456.jpg
/home/pi/Desktop/images/02052025/09/59/image_02052025_09_59_55_10368.jpg
/home/pi/Desktop/images/02052025/10/01/image_02052025_10_01_14_10070.jpg
/home/pi/Desktop/images/02052025/10/01/image_02052025_10_01_25_10442.jpg
/home/pi/Desktop/images/02052025/10/01/image_02052025_10_01_35_10336.jpg
/home/pi/Desktop/images/02052025/10/01/image_02052025_10_01_44_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355274176","1355274257","1355274220","1355274223","1355274217","1355274205"],"photo_ids_order":["1355274176","1355274205","1355274217","1355274220","1355274223","1355274257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1ed785b4781f357cd0b4a4f2da56b6b.jpg","text":"TemporaryFile(/tmp/multipartBody1226790891853632759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182193045,"filename":"image_02052025_09_59_34_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e91c7cc6916d126cf100bd7e6f2bb6ca.jpg","text":"TemporaryFile(/tmp/multipartBody8072543064106603911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182193045,"filename":"image_02052025_10_01_44_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/671d0805d0a10a04d0b07473012693ec.jpg","text":"TemporaryFile(/tmp/multipartBody5625393453357264828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182193045,"filename":"image_02052025_10_01_25_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/72d3b8433a2e234899cfaf98b53de9b9.jpg","text":"TemporaryFile(/tmp/multipartBody3846601017468246578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182193045,"filename":"image_02052025_10_01_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/5/2/dd88116c9a1fdd4b413fb4b74d4a4547.jpg","text":"TemporaryFile(/tmp/multipartBody3824809708055129896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182193045,"filename":"image_02052025_10_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/5/2/bbf5b42a34a61b43f992aaafa3e89e88.jpg","text":"TemporaryFile(/tmp/multipartBody1098236721955038496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182193045,"filename":"image_02052025_09_59_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355274217","file1":"1355274205","file0":"1355274176","file4":"1355274223","file5":"1355274257","file3":"1355274220"},"map_files_photo_id_array":[{"photo_id":"1355274257","filename":"file5"},{"photo_id":"1355274217","filename":"file2"},{"photo_id":"1355274223","filename":"file4"},{"photo_id":"1355274205","filename":"file1"},{"photo_id":"1355274176","filename":"file0"},{"photo_id":"1355274220","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355274176":["hashtag1","hashtag2"]},{"1355274257":["hashtag1","hashtag2"]},{"1355274220":["hashtag1","hashtag2"]},{"1355274223":["hashtag1","hashtag2"]},{"1355274217":["hashtag1","hashtag2"]},{"1355274205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355274176, 1355274257, 1355274220, 1355274223, 1355274217, 1355274205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.775477647781372 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:36:32.737979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/01/image_02052025_10_01_55_10350.jpg', '/home/pi/Desktop/images/02052025/10/01/image_02052025_10_02_05_10410.jpg', '/home/pi/Desktop/images/02052025/10/02/image_02052025_10_02_15_9400.jpg', '/home/pi/Desktop/images/02052025/10/02/image_02052025_10_02_55_10375.jpg', '/home/pi/Desktop/images/02052025/10/02/image_02052025_10_03_05_9443.jpg', '/home/pi/Desktop/images/02052025/10/03/image_02052025_10_03_24_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/01/image_02052025_10_01_55_10350.jpg
/home/pi/Desktop/images/02052025/10/01/image_02052025_10_02_05_10410.jpg
/home/pi/Desktop/images/02052025/10/02/image_02052025_10_02_15_9400.jpg
/home/pi/Desktop/images/02052025/10/02/image_02052025_10_02_55_10375.jpg
/home/pi/Desktop/images/02052025/10/02/image_02052025_10_03_05_9443.jpg
/home/pi/Desktop/images/02052025/10/03/image_02052025_10_03_24_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355274467","1355274518","1355274424","1355274646","1355274582","1355274417"],"photo_ids_order":["1355274417","1355274424","1355274467","1355274518","1355274582","1355274646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8fc767f284dec59be1694527dadfde31.jpg","text":"TemporaryFile(/tmp/multipartBody614299660544980223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182253195,"filename":"image_02052025_10_02_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/5/2/347088d809e3ed9d667542d4a2ab0d92.jpg","text":"TemporaryFile(/tmp/multipartBody7535104490561750416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182253195,"filename":"image_02052025_10_02_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/5/2/234d0dbb71ca0c45900874331491ea8d.jpg","text":"TemporaryFile(/tmp/multipartBody7688019478647648235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182253195,"filename":"image_02052025_10_02_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/5/2/97de6dce1bea68c93eeaf80159ae9ee0.jpg","text":"TemporaryFile(/tmp/multipartBody6933326443424713361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182253195,"filename":"image_02052025_10_03_24_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d206b57df9cdacb3ab1e8f56634bd262.jpg","text":"TemporaryFile(/tmp/multipartBody4806004157635899579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182253195,"filename":"image_02052025_10_03_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/5/2/0126811a328b307f2ea2092cf6935c6d.jpg","text":"TemporaryFile(/tmp/multipartBody1515193211175057978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182253195,"filename":"image_02052025_10_01_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355274467","file1":"1355274424","file0":"1355274417","file4":"1355274582","file5":"1355274646","file3":"1355274518"},"map_files_photo_id_array":[{"photo_id":"1355274646","filename":"file5"},{"photo_id":"1355274467","filename":"file2"},{"photo_id":"1355274582","filename":"file4"},{"photo_id":"1355274424","filename":"file1"},{"photo_id":"1355274417","filename":"file0"},{"photo_id":"1355274518","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355274467":["hashtag1","hashtag2"]},{"1355274518":["hashtag1","hashtag2"]},{"1355274424":["hashtag1","hashtag2"]},{"1355274646":["hashtag1","hashtag2"]},{"1355274582":["hashtag1","hashtag2"]},{"1355274417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355274467, 1355274518, 1355274424, 1355274646, 1355274582, 1355274417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.179190635681152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:37:33.151243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/03/image_02052025_10_03_35_10366.jpg', '/home/pi/Desktop/images/02052025/10/04/image_02052025_10_04_14_9345.jpg', '/home/pi/Desktop/images/02052025/10/04/image_02052025_10_04_25_10439.jpg', '/home/pi/Desktop/images/02052025/10/04/image_02052025_10_04_55_10345.jpg', '/home/pi/Desktop/images/02052025/10/04/image_02052025_10_05_05_10338.jpg', '/home/pi/Desktop/images/02052025/10/05/image_02052025_10_05_25_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/03/image_02052025_10_03_35_10366.jpg
/home/pi/Desktop/images/02052025/10/04/image_02052025_10_04_14_9345.jpg
/home/pi/Desktop/images/02052025/10/04/image_02052025_10_04_25_10439.jpg
/home/pi/Desktop/images/02052025/10/04/image_02052025_10_04_55_10345.jpg
/home/pi/Desktop/images/02052025/10/04/image_02052025_10_05_05_10338.jpg
/home/pi/Desktop/images/02052025/10/05/image_02052025_10_05_25_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":["1355274881","1355274891","1355274879","1355274884","1355274893","1355274887"],"photo_ids_order":["1355274879","1355274881","1355274884","1355274887","1355274891","1355274893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d103d315fb772322568640e1118a995.jpg","text":"TemporaryFile(/tmp/multipartBody9158745421383481893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182313609,"filename":"image_02052025_10_04_14_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4cab47c9ea17fe2f25fdcca4ee256d87.jpg","text":"TemporaryFile(/tmp/multipartBody4989781469464853592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182313609,"filename":"image_02052025_10_05_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/5/2/2d478f37c1d1e9c48478d70be5a0bc23.jpg","text":"TemporaryFile(/tmp/multipartBody834007030872241523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182313609,"filename":"image_02052025_10_03_35_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f6d2999fdf6b9b507a64efb71452521.jpg","text":"TemporaryFile(/tmp/multipartBody3359064020850894272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182313609,"filename":"image_02052025_10_04_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/5/2/b6dbfa33ca2aa6d31c6d96b2c3f02a15.jpg","text":"TemporaryFile(/tmp/multipartBody5559178707021931727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182313609,"filename":"image_02052025_10_05_25_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4a4b6a6e217f8eba59399eba9ff0996.jpg","text":"TemporaryFile(/tmp/multipartBody1633074652112379641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182313609,"filename":"image_02052025_10_04_55_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355274884","file1":"1355274881","file0":"1355274879","file4":"1355274891","file5":"1355274893","file3":"1355274887"},"map_files_photo_id_array":[{"photo_id":"1355274893","filename":"file5"},{"photo_id":"1355274884","filename":"file2"},{"photo_id":"1355274891","filename":"file4"},{"photo_id":"1355274881","filename":"file1"},{"photo_id":"1355274879","filename":"file0"},{"photo_id":"1355274887","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355274881":["hashtag1","hashtag2"]},{"1355274891":["hashtag1","hashtag2"]},{"1355274879":["hashtag1","hashtag2"]},{"1355274884":["hashtag1","hashtag2"]},{"1355274893":["hashtag1","hashtag2"]},{"1355274887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355274881, 1355274891, 1355274879, 1355274884, 1355274893, 1355274887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.569339990615845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:38:32.315866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/05/image_02052025_10_05_34_9333.jpg', '/home/pi/Desktop/images/02052025/10/05/image_02052025_10_05_45_10415.jpg', '/home/pi/Desktop/images/02052025/10/06/image_02052025_10_06_45_10358.jpg', '/home/pi/Desktop/images/02052025/10/06/image_02052025_10_07_05_10354.jpg', '/home/pi/Desktop/images/02052025/10/07/image_02052025_10_07_24_9356.jpg', '/home/pi/Desktop/images/02052025/10/07/image_02052025_10_07_44_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/05/image_02052025_10_05_34_9333.jpg
/home/pi/Desktop/images/02052025/10/05/image_02052025_10_05_45_10415.jpg
/home/pi/Desktop/images/02052025/10/06/image_02052025_10_06_45_10358.jpg
/home/pi/Desktop/images/02052025/10/06/image_02052025_10_07_05_10354.jpg
/home/pi/Desktop/images/02052025/10/07/image_02052025_10_07_24_9356.jpg
/home/pi/Desktop/images/02052025/10/07/image_02052025_10_07_44_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":["1355274941","1355274938","1355274923","1355274917","1355274928","1355274933"],"photo_ids_order":["1355274917","1355274923","1355274928","1355274933","1355274938","1355274941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/efcd1a7763017a5033f449b5b389ed17.jpg","text":"TemporaryFile(/tmp/multipartBody8832469616724445487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182372770,"filename":"image_02052025_10_07_44_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05b0ad0755e0376f23f3b463edc81716.jpg","text":"TemporaryFile(/tmp/multipartBody5340451206980452203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182372770,"filename":"image_02052025_10_07_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/5/2/96afac3d822291229a978f345bf1c245.jpg","text":"TemporaryFile(/tmp/multipartBody2853535588657574366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182372770,"filename":"image_02052025_10_05_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/5/2/183a1c3fa00399c7cfbacd4e1b828bd6.jpg","text":"TemporaryFile(/tmp/multipartBody2616620981888264203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182372770,"filename":"image_02052025_10_05_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/5/2/51cc1e6898f4760c1a0b73fe87deb401.jpg","text":"TemporaryFile(/tmp/multipartBody3254123136358528752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182372770,"filename":"image_02052025_10_06_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/73fae1fe53630325c37cba20891264ab.jpg","text":"TemporaryFile(/tmp/multipartBody7669106888347597549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182372770,"filename":"image_02052025_10_07_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355274928","file1":"1355274923","file0":"1355274917","file4":"1355274938","file5":"1355274941","file3":"1355274933"},"map_files_photo_id_array":[{"photo_id":"1355274941","filename":"file5"},{"photo_id":"1355274928","filename":"file2"},{"photo_id":"1355274938","filename":"file4"},{"photo_id":"1355274923","filename":"file1"},{"photo_id":"1355274917","filename":"file0"},{"photo_id":"1355274933","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355274941":["hashtag1","hashtag2"]},{"1355274938":["hashtag1","hashtag2"]},{"1355274923":["hashtag1","hashtag2"]},{"1355274917":["hashtag1","hashtag2"]},{"1355274928":["hashtag1","hashtag2"]},{"1355274933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355274941, 1355274938, 1355274923, 1355274917, 1355274928, 1355274933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.656954526901245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:39:32.460584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/07/image_02052025_10_07_55_10364.jpg', '/home/pi/Desktop/images/02052025/10/08/image_02052025_10_08_14_9468.jpg', '/home/pi/Desktop/images/02052025/10/08/image_02052025_10_08_25_10427.jpg', '/home/pi/Desktop/images/02052025/10/08/image_02052025_10_08_34_9424.jpg', '/home/pi/Desktop/images/02052025/10/08/image_02052025_10_08_55_10364.jpg', '/home/pi/Desktop/images/02052025/10/09/image_02052025_10_09_24_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/07/image_02052025_10_07_55_10364.jpg
/home/pi/Desktop/images/02052025/10/08/image_02052025_10_08_14_9468.jpg
/home/pi/Desktop/images/02052025/10/08/image_02052025_10_08_25_10427.jpg
/home/pi/Desktop/images/02052025/10/08/image_02052025_10_08_34_9424.jpg
/home/pi/Desktop/images/02052025/10/08/image_02052025_10_08_55_10364.jpg
/home/pi/Desktop/images/02052025/10/09/image_02052025_10_09_24_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":["1355274967","1355275062","1355274996","1355274975","1355275032","1355274971"],"photo_ids_order":["1355274967","1355274971","1355274975","1355274996","1355275032","1355275062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4acf59fba27a8244e2e5551b73f5ca89.jpg","text":"TemporaryFile(/tmp/multipartBody8737734452784983618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182432921,"filename":"image_02052025_10_07_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/5/2/7dc9c0cbfaa9457e1a6a97257dc79cf7.jpg","text":"TemporaryFile(/tmp/multipartBody59098191651543799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182432921,"filename":"image_02052025_10_09_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/5/2/60cb75c1afc556d1bb4b93e91074bc1d.jpg","text":"TemporaryFile(/tmp/multipartBody7237772797432892611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182432921,"filename":"image_02052025_10_08_34_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea51c011423a61c329bdf93b51499ed3.jpg","text":"TemporaryFile(/tmp/multipartBody4351028898818447131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182432921,"filename":"image_02052025_10_08_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/5/2/91a57969c841d18cbb7f9ea6ac8d8c59.jpg","text":"TemporaryFile(/tmp/multipartBody7863914846121668371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182432921,"filename":"image_02052025_10_08_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/5/2/81691d1cafd0965bf96551098657f8cd.jpg","text":"TemporaryFile(/tmp/multipartBody7741013455183234619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182432921,"filename":"image_02052025_10_08_14_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355274975","file1":"1355274971","file0":"1355274967","file4":"1355275032","file5":"1355275062","file3":"1355274996"},"map_files_photo_id_array":[{"photo_id":"1355275062","filename":"file5"},{"photo_id":"1355274975","filename":"file2"},{"photo_id":"1355275032","filename":"file4"},{"photo_id":"1355274971","filename":"file1"},{"photo_id":"1355274967","filename":"file0"},{"photo_id":"1355274996","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355274967":["hashtag1","hashtag2"]},{"1355275062":["hashtag1","hashtag2"]},{"1355274996":["hashtag1","hashtag2"]},{"1355274975":["hashtag1","hashtag2"]},{"1355275032":["hashtag1","hashtag2"]},{"1355274971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355274967, 1355275062, 1355274996, 1355274975, 1355275032, 1355274971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.28428077697754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:40:32.583507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/10/image_02052025_10_10_35_10379.jpg', '/home/pi/Desktop/images/02052025/10/10/image_02052025_10_10_44_9432.jpg', '/home/pi/Desktop/images/02052025/10/10/image_02052025_10_10_55_10425.jpg', '/home/pi/Desktop/images/02052025/10/10/image_02052025_10_11_04_9467.jpg', '/home/pi/Desktop/images/02052025/10/11/image_02052025_10_11_25_10365.jpg', '/home/pi/Desktop/images/02052025/10/11/image_02052025_10_11_34_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/10/image_02052025_10_10_35_10379.jpg
/home/pi/Desktop/images/02052025/10/10/image_02052025_10_10_44_9432.jpg
/home/pi/Desktop/images/02052025/10/10/image_02052025_10_10_55_10425.jpg
/home/pi/Desktop/images/02052025/10/10/image_02052025_10_11_04_9467.jpg
/home/pi/Desktop/images/02052025/10/11/image_02052025_10_11_25_10365.jpg
/home/pi/Desktop/images/02052025/10/11/image_02052025_10_11_34_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355275390","1355275301","1355275357","1355275233","1355275295","1355275271"],"photo_ids_order":["1355275233","1355275271","1355275295","1355275301","1355275357","1355275390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bfdf458351236f1f0ae2135b8b10cb72.jpg","text":"TemporaryFile(/tmp/multipartBody7709425043366415707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182493041,"filename":"image_02052025_10_11_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39f7e15b04582faa0990d7d9a85fb82d.jpg","text":"TemporaryFile(/tmp/multipartBody1670284201295456731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182493041,"filename":"image_02052025_10_11_04_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/327d11b73b2f753359e629a2274ea3f0.jpg","text":"TemporaryFile(/tmp/multipartBody3524127735150685162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182493041,"filename":"image_02052025_10_11_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/5/2/87424321b4c3800a36facb5f44720cb2.jpg","text":"TemporaryFile(/tmp/multipartBody3164027171706942801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182493041,"filename":"image_02052025_10_10_35_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bac65e9472e89bca80ee9ebb47d326c5.jpg","text":"TemporaryFile(/tmp/multipartBody2959915362746087087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182493041,"filename":"image_02052025_10_10_55_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/24c38f661731f1ceb21bd1a66a9f08d1.jpg","text":"TemporaryFile(/tmp/multipartBody6986196282836765545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182493041,"filename":"image_02052025_10_10_44_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355275295","file1":"1355275271","file0":"1355275233","file4":"1355275357","file5":"1355275390","file3":"1355275301"},"map_files_photo_id_array":[{"photo_id":"1355275390","filename":"file5"},{"photo_id":"1355275295","filename":"file2"},{"photo_id":"1355275357","filename":"file4"},{"photo_id":"1355275271","filename":"file1"},{"photo_id":"1355275233","filename":"file0"},{"photo_id":"1355275301","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355275390":["hashtag1","hashtag2"]},{"1355275301":["hashtag1","hashtag2"]},{"1355275357":["hashtag1","hashtag2"]},{"1355275233":["hashtag1","hashtag2"]},{"1355275295":["hashtag1","hashtag2"]},{"1355275271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355275390, 1355275301, 1355275357, 1355275233, 1355275295, 1355275271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.58595609664917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:41:32.876296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/11/image_02052025_10_11_45_10335.jpg', '/home/pi/Desktop/images/02052025/10/11/image_02052025_10_12_05_9440.jpg', '/home/pi/Desktop/images/02052025/10/13/image_02052025_10_13_35_10420.jpg', '/home/pi/Desktop/images/02052025/10/13/image_02052025_10_13_44_9411.jpg', '/home/pi/Desktop/images/02052025/10/13/image_02052025_10_13_55_10357.jpg', '/home/pi/Desktop/images/02052025/10/14/image_02052025_10_14_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/11/image_02052025_10_11_45_10335.jpg
/home/pi/Desktop/images/02052025/10/11/image_02052025_10_12_05_9440.jpg
/home/pi/Desktop/images/02052025/10/13/image_02052025_10_13_35_10420.jpg
/home/pi/Desktop/images/02052025/10/13/image_02052025_10_13_44_9411.jpg
/home/pi/Desktop/images/02052025/10/13/image_02052025_10_13_55_10357.jpg
/home/pi/Desktop/images/02052025/10/14/image_02052025_10_14_15_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355275567","1355275546","1355275516","1355275575","1355275563","1355275571"],"photo_ids_order":["1355275516","1355275546","1355275563","1355275567","1355275571","1355275575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/33dca1ea109b4030d3fd96ca6acb22c5.jpg","text":"TemporaryFile(/tmp/multipartBody4091369214985024443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182553327,"filename":"image_02052025_10_13_44_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/929444e5f7440d27df53b5332195bdf3.jpg","text":"TemporaryFile(/tmp/multipartBody2436046749910940887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182553327,"filename":"image_02052025_10_12_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/5/2/22f7e66af8e77180b717fafaabb3e74b.jpg","text":"TemporaryFile(/tmp/multipartBody5128898490189649797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182553327,"filename":"image_02052025_10_11_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21431c0385159f82932e94baf412b159.jpg","text":"TemporaryFile(/tmp/multipartBody8244229291110027568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182553327,"filename":"image_02052025_10_14_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/5/2/c6608561c9044b2c29f0d6de962808c1.jpg","text":"TemporaryFile(/tmp/multipartBody1016077437299047292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182553327,"filename":"image_02052025_10_13_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/5/2/f979f48ba68eaa8410ea448d476c474e.jpg","text":"TemporaryFile(/tmp/multipartBody5457896228755762892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182553327,"filename":"image_02052025_10_13_55_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355275563","file1":"1355275546","file0":"1355275516","file4":"1355275571","file5":"1355275575","file3":"1355275567"},"map_files_photo_id_array":[{"photo_id":"1355275575","filename":"file5"},{"photo_id":"1355275563","filename":"file2"},{"photo_id":"1355275571","filename":"file4"},{"photo_id":"1355275546","filename":"file1"},{"photo_id":"1355275516","filename":"file0"},{"photo_id":"1355275567","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355275567":["hashtag1","hashtag2"]},{"1355275546":["hashtag1","hashtag2"]},{"1355275516":["hashtag1","hashtag2"]},{"1355275575":["hashtag1","hashtag2"]},{"1355275563":["hashtag1","hashtag2"]},{"1355275571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355275567, 1355275546, 1355275516, 1355275575, 1355275563, 1355275571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.651644468307495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:42:32.586252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/14/image_02052025_10_14_25_10355.jpg', '/home/pi/Desktop/images/02052025/10/14/image_02052025_10_14_34_9373.jpg', '/home/pi/Desktop/images/02052025/10/14/image_02052025_10_14_55_10370.jpg', '/home/pi/Desktop/images/02052025/10/14/image_02052025_10_15_05_9450.jpg', '/home/pi/Desktop/images/02052025/10/15/image_02052025_10_15_35_10346.jpg', '/home/pi/Desktop/images/02052025/10/15/image_02052025_10_15_45_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/14/image_02052025_10_14_25_10355.jpg
/home/pi/Desktop/images/02052025/10/14/image_02052025_10_14_34_9373.jpg
/home/pi/Desktop/images/02052025/10/14/image_02052025_10_14_55_10370.jpg
/home/pi/Desktop/images/02052025/10/14/image_02052025_10_15_05_9450.jpg
/home/pi/Desktop/images/02052025/10/15/image_02052025_10_15_35_10346.jpg
/home/pi/Desktop/images/02052025/10/15/image_02052025_10_15_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":["1355275709","1355275744","1355275774","1355275801","1355275704","1355275715"],"photo_ids_order":["1355275704","1355275709","1355275715","1355275744","1355275774","1355275801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4f4c931dc73697f74e900640251f8d8.jpg","text":"TemporaryFile(/tmp/multipartBody789813572145208496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182613048,"filename":"image_02052025_10_14_34_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b31da94869e06c79ba0c77c0f218854b.jpg","text":"TemporaryFile(/tmp/multipartBody8012197375731888770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182613048,"filename":"image_02052025_10_15_05_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2702fe9fc5ddb5a37bee23b7ea8d6ed0.jpg","text":"TemporaryFile(/tmp/multipartBody5203932632763740429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182613048,"filename":"image_02052025_10_15_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/17329535291eb7d00b9c1412562e51ef.jpg","text":"TemporaryFile(/tmp/multipartBody5442003541822384244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182613048,"filename":"image_02052025_10_15_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/5/2/47fd46dfb2be0b59fe487a1a7f908180.jpg","text":"TemporaryFile(/tmp/multipartBody7123699072464388918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182613048,"filename":"image_02052025_10_14_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/5/2/bc7894fa2e2579ab9577e5bea3d1ecc9.jpg","text":"TemporaryFile(/tmp/multipartBody6804925918449406648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182613048,"filename":"image_02052025_10_14_55_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355275715","file1":"1355275709","file0":"1355275704","file4":"1355275774","file5":"1355275801","file3":"1355275744"},"map_files_photo_id_array":[{"photo_id":"1355275801","filename":"file5"},{"photo_id":"1355275715","filename":"file2"},{"photo_id":"1355275774","filename":"file4"},{"photo_id":"1355275709","filename":"file1"},{"photo_id":"1355275704","filename":"file0"},{"photo_id":"1355275744","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355275709":["hashtag1","hashtag2"]},{"1355275744":["hashtag1","hashtag2"]},{"1355275774":["hashtag1","hashtag2"]},{"1355275801":["hashtag1","hashtag2"]},{"1355275704":["hashtag1","hashtag2"]},{"1355275715":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355275709, 1355275744, 1355275774, 1355275801, 1355275704, 1355275715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.879449367523193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:43:32.883958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/15/image_02052025_10_15_54_9375.jpg', '/home/pi/Desktop/images/02052025/10/15/image_02052025_10_16_05_10441.jpg', '/home/pi/Desktop/images/02052025/10/16/image_02052025_10_16_14_9447.jpg', '/home/pi/Desktop/images/02052025/10/16/image_02052025_10_16_25_10381.jpg', '/home/pi/Desktop/images/02052025/10/16/image_02052025_10_16_35_10443.jpg', '/home/pi/Desktop/images/02052025/10/16/image_02052025_10_16_55_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/15/image_02052025_10_15_54_9375.jpg
/home/pi/Desktop/images/02052025/10/15/image_02052025_10_16_05_10441.jpg
/home/pi/Desktop/images/02052025/10/16/image_02052025_10_16_14_9447.jpg
/home/pi/Desktop/images/02052025/10/16/image_02052025_10_16_25_10381.jpg
/home/pi/Desktop/images/02052025/10/16/image_02052025_10_16_35_10443.jpg
/home/pi/Desktop/images/02052025/10/16/image_02052025_10_16_55_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355275844","1355275879","1355275849","1355275854","1355275859","1355275847"],"photo_ids_order":["1355275844","1355275847","1355275849","1355275854","1355275859","1355275879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad39bd5b96ace51998b429c7740794c7.jpg","text":"TemporaryFile(/tmp/multipartBody4686940744084310137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182673347,"filename":"image_02052025_10_15_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d1f2fa193a3a8468c56ca1091401543.jpg","text":"TemporaryFile(/tmp/multipartBody3906336706069104385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182673347,"filename":"image_02052025_10_16_55_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a7b30c0a01d6eb112e39dad6c5b5cb5a.jpg","text":"TemporaryFile(/tmp/multipartBody6966883227341753948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182673347,"filename":"image_02052025_10_16_14_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3705bbe15e4a4007a85080bedf6cd328.jpg","text":"TemporaryFile(/tmp/multipartBody4721886399749797300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182673347,"filename":"image_02052025_10_16_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/5/2/4b56c64fc5a4a948b0bb55b2841f529b.jpg","text":"TemporaryFile(/tmp/multipartBody4493827970150229967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182673347,"filename":"image_02052025_10_16_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/5/2/c975015dd9f5c112932c77006799c0e5.jpg","text":"TemporaryFile(/tmp/multipartBody793981756181799036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182673347,"filename":"image_02052025_10_16_05_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355275849","file1":"1355275847","file0":"1355275844","file4":"1355275859","file5":"1355275879","file3":"1355275854"},"map_files_photo_id_array":[{"photo_id":"1355275879","filename":"file5"},{"photo_id":"1355275849","filename":"file2"},{"photo_id":"1355275859","filename":"file4"},{"photo_id":"1355275847","filename":"file1"},{"photo_id":"1355275844","filename":"file0"},{"photo_id":"1355275854","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355275844":["hashtag1","hashtag2"]},{"1355275879":["hashtag1","hashtag2"]},{"1355275849":["hashtag1","hashtag2"]},{"1355275854":["hashtag1","hashtag2"]},{"1355275859":["hashtag1","hashtag2"]},{"1355275847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355275844, 1355275879, 1355275849, 1355275854, 1355275859, 1355275847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.762721300125122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:44:33.049777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/16/image_02052025_10_17_04_9387.jpg', '/home/pi/Desktop/images/02052025/10/17/image_02052025_10_17_15_10375.jpg', '/home/pi/Desktop/images/02052025/10/17/image_02052025_10_17_24_9508.jpg', '/home/pi/Desktop/images/02052025/10/17/image_02052025_10_17_35_10399.jpg', '/home/pi/Desktop/images/02052025/10/17/image_02052025_10_17_45_10334.jpg', '/home/pi/Desktop/images/02052025/10/17/image_02052025_10_17_54_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/16/image_02052025_10_17_04_9387.jpg
/home/pi/Desktop/images/02052025/10/17/image_02052025_10_17_15_10375.jpg
/home/pi/Desktop/images/02052025/10/17/image_02052025_10_17_24_9508.jpg
/home/pi/Desktop/images/02052025/10/17/image_02052025_10_17_35_10399.jpg
/home/pi/Desktop/images/02052025/10/17/image_02052025_10_17_45_10334.jpg
/home/pi/Desktop/images/02052025/10/17/image_02052025_10_17_54_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355275995","1355275980","1355275997","1355275991","1355275985","1355275970"],"photo_ids_order":["1355275970","1355275980","1355275985","1355275991","1355275995","1355275997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/60bb20a13919b7ce49f77f089e281a0f.jpg","text":"TemporaryFile(/tmp/multipartBody7267191344338636610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182733523,"filename":"image_02052025_10_17_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/5/2/34423f2697df901d35774ebc1e1486af.jpg","text":"TemporaryFile(/tmp/multipartBody3603857968453463497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182733523,"filename":"image_02052025_10_17_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a5caf2a540aaab352b7a738ebc8b9ad.jpg","text":"TemporaryFile(/tmp/multipartBody8646164946872777412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182733523,"filename":"image_02052025_10_17_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/5/2/7c4e3f7b462e6cc13776996d78b8bd15.jpg","text":"TemporaryFile(/tmp/multipartBody5458808449048549961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182733523,"filename":"image_02052025_10_17_35_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd8746d881d705246c4a8fd4907af8bf.jpg","text":"TemporaryFile(/tmp/multipartBody8044292024495900078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182733523,"filename":"image_02052025_10_17_24_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ceb63d9962b1c348110c32ca96b67f3c.jpg","text":"TemporaryFile(/tmp/multipartBody1909742527455851111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182733523,"filename":"image_02052025_10_17_04_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355275985","file1":"1355275980","file0":"1355275970","file4":"1355275995","file5":"1355275997","file3":"1355275991"},"map_files_photo_id_array":[{"photo_id":"1355275997","filename":"file5"},{"photo_id":"1355275985","filename":"file2"},{"photo_id":"1355275995","filename":"file4"},{"photo_id":"1355275980","filename":"file1"},{"photo_id":"1355275970","filename":"file0"},{"photo_id":"1355275991","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355275995":["hashtag1","hashtag2"]},{"1355275980":["hashtag1","hashtag2"]},{"1355275997":["hashtag1","hashtag2"]},{"1355275991":["hashtag1","hashtag2"]},{"1355275985":["hashtag1","hashtag2"]},{"1355275970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355275995, 1355275980, 1355275997, 1355275991, 1355275985, 1355275970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.954911708831787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:45:32.326982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/17/image_02052025_10_18_05_10355.jpg', '/home/pi/Desktop/images/02052025/10/18/image_02052025_10_18_25_9426.jpg', '/home/pi/Desktop/images/02052025/10/18/image_02052025_10_18_35_10345.jpg', '/home/pi/Desktop/images/02052025/10/18/image_02052025_10_18_44_9326.jpg', '/home/pi/Desktop/images/02052025/10/18/image_02052025_10_18_55_10345.jpg', '/home/pi/Desktop/images/02052025/10/18/image_02052025_10_19_05_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/17/image_02052025_10_18_05_10355.jpg
/home/pi/Desktop/images/02052025/10/18/image_02052025_10_18_25_9426.jpg
/home/pi/Desktop/images/02052025/10/18/image_02052025_10_18_35_10345.jpg
/home/pi/Desktop/images/02052025/10/18/image_02052025_10_18_44_9326.jpg
/home/pi/Desktop/images/02052025/10/18/image_02052025_10_18_55_10345.jpg
/home/pi/Desktop/images/02052025/10/18/image_02052025_10_19_05_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":["1355276095","1355276080","1355276077","1355276091","1355276084","1355276087"],"photo_ids_order":["1355276077","1355276080","1355276084","1355276087","1355276091","1355276095"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5cb79ead3405eb3dfc3f8bd737a4ed51.jpg","text":"TemporaryFile(/tmp/multipartBody166540385409188691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182792781,"filename":"image_02052025_10_19_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/5/2/b7fdbd9fb0b56d6cfab02148b95f2b47.jpg","text":"TemporaryFile(/tmp/multipartBody5838549843901736786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182792781,"filename":"image_02052025_10_18_25_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b697be3183f619ae45c82f0af1ff9d2c.jpg","text":"TemporaryFile(/tmp/multipartBody7598252828318219828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182792781,"filename":"image_02052025_10_18_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/5/2/c48a6c378196904063dedd81241b3f1e.jpg","text":"TemporaryFile(/tmp/multipartBody4539835509914097042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182792781,"filename":"image_02052025_10_18_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/5/2/201bd8a159d4b6e1633da5f51becfb3c.jpg","text":"TemporaryFile(/tmp/multipartBody5073126077348101053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182792781,"filename":"image_02052025_10_18_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/5/2/1fe53680e8d814267199441975ba02ed.jpg","text":"TemporaryFile(/tmp/multipartBody1983493953506293431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182792781,"filename":"image_02052025_10_18_44_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276084","file1":"1355276080","file0":"1355276077","file4":"1355276091","file5":"1355276095","file3":"1355276087"},"map_files_photo_id_array":[{"photo_id":"1355276095","filename":"file5"},{"photo_id":"1355276084","filename":"file2"},{"photo_id":"1355276091","filename":"file4"},{"photo_id":"1355276080","filename":"file1"},{"photo_id":"1355276077","filename":"file0"},{"photo_id":"1355276087","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276095":["hashtag1","hashtag2"]},{"1355276080":["hashtag1","hashtag2"]},{"1355276077":["hashtag1","hashtag2"]},{"1355276091":["hashtag1","hashtag2"]},{"1355276084":["hashtag1","hashtag2"]},{"1355276087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276095, 1355276080, 1355276077, 1355276091, 1355276084, 1355276087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31128931045532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:46:32.790290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/19/image_02052025_10_19_14_9342.jpg', '/home/pi/Desktop/images/02052025/10/19/image_02052025_10_19_25_10413.jpg', '/home/pi/Desktop/images/02052025/10/19/image_02052025_10_19_35_10343.jpg', '/home/pi/Desktop/images/02052025/10/19/image_02052025_10_19_45_9512.jpg', '/home/pi/Desktop/images/02052025/10/19/image_02052025_10_19_55_10363.jpg', '/home/pi/Desktop/images/02052025/10/19/image_02052025_10_20_04_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/19/image_02052025_10_19_14_9342.jpg
/home/pi/Desktop/images/02052025/10/19/image_02052025_10_19_25_10413.jpg
/home/pi/Desktop/images/02052025/10/19/image_02052025_10_19_35_10343.jpg
/home/pi/Desktop/images/02052025/10/19/image_02052025_10_19_45_9512.jpg
/home/pi/Desktop/images/02052025/10/19/image_02052025_10_19_55_10363.jpg
/home/pi/Desktop/images/02052025/10/19/image_02052025_10_20_04_9462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355276149","1355276143","1355276146","1355276130","1355276138","1355276135"],"photo_ids_order":["1355276130","1355276135","1355276138","1355276143","1355276146","1355276149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ddee18cc06009792d7afa9b06181e31.jpg","text":"TemporaryFile(/tmp/multipartBody6070079761659262840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182853343,"filename":"image_02052025_10_20_04_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b7ce265ad9d27526463b07c613d9fef.jpg","text":"TemporaryFile(/tmp/multipartBody3480085988091563995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182853343,"filename":"image_02052025_10_19_45_9512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/328235fe69039359dfe4577e930da649.jpg","text":"TemporaryFile(/tmp/multipartBody6857896903844859829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182853343,"filename":"image_02052025_10_19_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/5/2/d4236e910711ea3ea106431ae5f1c384.jpg","text":"TemporaryFile(/tmp/multipartBody8303881927049972474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182853343,"filename":"image_02052025_10_19_14_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0db9cec84d2fab8e4d0a1c2246c209a6.jpg","text":"TemporaryFile(/tmp/multipartBody2308242394321517451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182853343,"filename":"image_02052025_10_19_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/5/2/2fa2f6432bbd8bddfa2e144987507b22.jpg","text":"TemporaryFile(/tmp/multipartBody7195457234165465624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182853343,"filename":"image_02052025_10_19_25_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276138","file1":"1355276135","file0":"1355276130","file4":"1355276146","file5":"1355276149","file3":"1355276143"},"map_files_photo_id_array":[{"photo_id":"1355276149","filename":"file5"},{"photo_id":"1355276138","filename":"file2"},{"photo_id":"1355276146","filename":"file4"},{"photo_id":"1355276135","filename":"file1"},{"photo_id":"1355276130","filename":"file0"},{"photo_id":"1355276143","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276149":["hashtag1","hashtag2"]},{"1355276143":["hashtag1","hashtag2"]},{"1355276146":["hashtag1","hashtag2"]},{"1355276130":["hashtag1","hashtag2"]},{"1355276138":["hashtag1","hashtag2"]},{"1355276135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276149, 1355276143, 1355276146, 1355276130, 1355276138, 1355276135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63690638542175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:47:33.005013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/20/image_02052025_10_20_15_10437.jpg', '/home/pi/Desktop/images/02052025/10/20/image_02052025_10_20_25_10364.jpg', '/home/pi/Desktop/images/02052025/10/20/image_02052025_10_20_34_9343.jpg', '/home/pi/Desktop/images/02052025/10/20/image_02052025_10_20_45_10407.jpg', '/home/pi/Desktop/images/02052025/10/20/image_02052025_10_21_05_10351.jpg', '/home/pi/Desktop/images/02052025/10/21/image_02052025_10_21_15_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/20/image_02052025_10_20_15_10437.jpg
/home/pi/Desktop/images/02052025/10/20/image_02052025_10_20_25_10364.jpg
/home/pi/Desktop/images/02052025/10/20/image_02052025_10_20_34_9343.jpg
/home/pi/Desktop/images/02052025/10/20/image_02052025_10_20_45_10407.jpg
/home/pi/Desktop/images/02052025/10/20/image_02052025_10_21_05_10351.jpg
/home/pi/Desktop/images/02052025/10/21/image_02052025_10_21_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":["1355276204","1355276188","1355276199","1355276193","1355276208","1355276211"],"photo_ids_order":["1355276188","1355276193","1355276199","1355276204","1355276208","1355276211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3fd1357c2c91b8932faf327b0668739.jpg","text":"TemporaryFile(/tmp/multipartBody4194369129961565194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182913463,"filename":"image_02052025_10_20_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/5/2/4b817cfad947d57be5f7ec6393c76039.jpg","text":"TemporaryFile(/tmp/multipartBody5273284517590876924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182913463,"filename":"image_02052025_10_20_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/5/2/61c263a6efb2b4584b59b504d17f8e39.jpg","text":"TemporaryFile(/tmp/multipartBody6607475111939199539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182913463,"filename":"image_02052025_10_20_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1cb9dc5db73382ecccdaf034cb97fd55.jpg","text":"TemporaryFile(/tmp/multipartBody1935579366218010708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182913463,"filename":"image_02052025_10_20_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/be916c19c8beffa28f53ea7ae13dd46f.jpg","text":"TemporaryFile(/tmp/multipartBody449380381772354389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182913463,"filename":"image_02052025_10_21_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/5/2/b75de5a91d189b8c767fe5376220fa8d.jpg","text":"TemporaryFile(/tmp/multipartBody1781681219176684735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182913463,"filename":"image_02052025_10_21_15_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276199","file1":"1355276193","file0":"1355276188","file4":"1355276208","file5":"1355276211","file3":"1355276204"},"map_files_photo_id_array":[{"photo_id":"1355276211","filename":"file5"},{"photo_id":"1355276199","filename":"file2"},{"photo_id":"1355276208","filename":"file4"},{"photo_id":"1355276193","filename":"file1"},{"photo_id":"1355276188","filename":"file0"},{"photo_id":"1355276204","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276204":["hashtag1","hashtag2"]},{"1355276188":["hashtag1","hashtag2"]},{"1355276199":["hashtag1","hashtag2"]},{"1355276193":["hashtag1","hashtag2"]},{"1355276208":["hashtag1","hashtag2"]},{"1355276211":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276204, 1355276188, 1355276199, 1355276193, 1355276208, 1355276211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.721846103668213 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:48:32.198410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/21/image_02052025_10_21_24_9422.jpg', '/home/pi/Desktop/images/02052025/10/21/image_02052025_10_21_35_10342.jpg', '/home/pi/Desktop/images/02052025/10/21/image_02052025_10_21_45_10340.jpg', '/home/pi/Desktop/images/02052025/10/21/image_02052025_10_21_55_9404.jpg', '/home/pi/Desktop/images/02052025/10/21/image_02052025_10_22_05_10354.jpg', '/home/pi/Desktop/images/02052025/10/22/image_02052025_10_22_14_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/21/image_02052025_10_21_24_9422.jpg
/home/pi/Desktop/images/02052025/10/21/image_02052025_10_21_35_10342.jpg
/home/pi/Desktop/images/02052025/10/21/image_02052025_10_21_45_10340.jpg
/home/pi/Desktop/images/02052025/10/21/image_02052025_10_21_55_9404.jpg
/home/pi/Desktop/images/02052025/10/21/image_02052025_10_22_05_10354.jpg
/home/pi/Desktop/images/02052025/10/22/image_02052025_10_22_14_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355276250","1355276244","1355276232","1355276238","1355276255","1355276258"],"photo_ids_order":["1355276232","1355276238","1355276244","1355276250","1355276255","1355276258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/932788c9ee91e87bc9726b2e83bf28ab.jpg","text":"TemporaryFile(/tmp/multipartBody1693768395420555008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182972661,"filename":"image_02052025_10_21_55_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8f8c548a69f3d54b191a0c61e7d42c9f.jpg","text":"TemporaryFile(/tmp/multipartBody3903214178383582993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182972661,"filename":"image_02052025_10_21_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/5/2/9869d3c134338a36d7a20bab80c06dd1.jpg","text":"TemporaryFile(/tmp/multipartBody5727874872688672195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182972661,"filename":"image_02052025_10_21_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e1a33c7b5907705677b8439bfdfe930e.jpg","text":"TemporaryFile(/tmp/multipartBody7641999802788951479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182972661,"filename":"image_02052025_10_21_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/5/2/edf53f1703d5885f2b83ab0eab315f23.jpg","text":"TemporaryFile(/tmp/multipartBody1392535459398535758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182972661,"filename":"image_02052025_10_22_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/5/2/d40250404e079279b31694481deadb62.jpg","text":"TemporaryFile(/tmp/multipartBody1499613753336990642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746182972661,"filename":"image_02052025_10_22_14_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276244","file1":"1355276238","file0":"1355276232","file4":"1355276255","file5":"1355276258","file3":"1355276250"},"map_files_photo_id_array":[{"photo_id":"1355276258","filename":"file5"},{"photo_id":"1355276244","filename":"file2"},{"photo_id":"1355276255","filename":"file4"},{"photo_id":"1355276238","filename":"file1"},{"photo_id":"1355276232","filename":"file0"},{"photo_id":"1355276250","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276250":["hashtag1","hashtag2"]},{"1355276244":["hashtag1","hashtag2"]},{"1355276232":["hashtag1","hashtag2"]},{"1355276238":["hashtag1","hashtag2"]},{"1355276255":["hashtag1","hashtag2"]},{"1355276258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276250, 1355276244, 1355276232, 1355276238, 1355276255, 1355276258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79768705368042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:49:32.381444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/22/image_02052025_10_22_25_10372.jpg', '/home/pi/Desktop/images/02052025/10/22/image_02052025_10_22_35_10351.jpg', '/home/pi/Desktop/images/02052025/10/22/image_02052025_10_22_44_9450.jpg', '/home/pi/Desktop/images/02052025/10/22/image_02052025_10_22_55_10461.jpg', '/home/pi/Desktop/images/02052025/10/22/image_02052025_10_23_04_9477.jpg', '/home/pi/Desktop/images/02052025/10/23/image_02052025_10_23_15_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/22/image_02052025_10_22_25_10372.jpg
/home/pi/Desktop/images/02052025/10/22/image_02052025_10_22_35_10351.jpg
/home/pi/Desktop/images/02052025/10/22/image_02052025_10_22_44_9450.jpg
/home/pi/Desktop/images/02052025/10/22/image_02052025_10_22_55_10461.jpg
/home/pi/Desktop/images/02052025/10/22/image_02052025_10_23_04_9477.jpg
/home/pi/Desktop/images/02052025/10/23/image_02052025_10_23_15_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355276371","1355276374","1355276332","1355276341","1355276355","1355276337"],"photo_ids_order":["1355276332","1355276337","1355276341","1355276355","1355276371","1355276374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1346188657a520ac36db29ee9af8451c.jpg","text":"TemporaryFile(/tmp/multipartBody6948765113715624304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183032974,"filename":"image_02052025_10_23_04_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea083a95b96157f0c9e7302a9aab4497.jpg","text":"TemporaryFile(/tmp/multipartBody5856361192378584785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183032974,"filename":"image_02052025_10_23_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/5/2/c74a4a80c935026281883d1cb7744f6d.jpg","text":"TemporaryFile(/tmp/multipartBody5695478635497295738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183032974,"filename":"image_02052025_10_22_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/20e340ce181e66794e8ede1652095667.jpg","text":"TemporaryFile(/tmp/multipartBody7807644047992278105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183032974,"filename":"image_02052025_10_22_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/5/2/d8d1234dfd6337e4c8796f7ff551af13.jpg","text":"TemporaryFile(/tmp/multipartBody7260491265773011492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183032974,"filename":"image_02052025_10_22_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/5/2/25956b5ff4e454d1603a8138b2a47478.jpg","text":"TemporaryFile(/tmp/multipartBody8385680199018678311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183032974,"filename":"image_02052025_10_22_35_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276341","file1":"1355276337","file0":"1355276332","file4":"1355276371","file5":"1355276374","file3":"1355276355"},"map_files_photo_id_array":[{"photo_id":"1355276374","filename":"file5"},{"photo_id":"1355276341","filename":"file2"},{"photo_id":"1355276371","filename":"file4"},{"photo_id":"1355276337","filename":"file1"},{"photo_id":"1355276332","filename":"file0"},{"photo_id":"1355276355","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276371":["hashtag1","hashtag2"]},{"1355276374":["hashtag1","hashtag2"]},{"1355276332":["hashtag1","hashtag2"]},{"1355276341":["hashtag1","hashtag2"]},{"1355276355":["hashtag1","hashtag2"]},{"1355276337":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276371, 1355276374, 1355276332, 1355276341, 1355276355, 1355276337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.772398710250854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:50:32.655465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/23/image_02052025_10_23_25_10379.jpg', '/home/pi/Desktop/images/02052025/10/23/image_02052025_10_23_34_9358.jpg', '/home/pi/Desktop/images/02052025/10/23/image_02052025_10_23_45_10426.jpg', '/home/pi/Desktop/images/02052025/10/23/image_02052025_10_23_54_9470.jpg', '/home/pi/Desktop/images/02052025/10/23/image_02052025_10_24_05_10346.jpg', '/home/pi/Desktop/images/02052025/10/24/image_02052025_10_24_15_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/23/image_02052025_10_23_25_10379.jpg
/home/pi/Desktop/images/02052025/10/23/image_02052025_10_23_34_9358.jpg
/home/pi/Desktop/images/02052025/10/23/image_02052025_10_23_45_10426.jpg
/home/pi/Desktop/images/02052025/10/23/image_02052025_10_23_54_9470.jpg
/home/pi/Desktop/images/02052025/10/23/image_02052025_10_24_05_10346.jpg
/home/pi/Desktop/images/02052025/10/24/image_02052025_10_24_15_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355276401","1355276410","1355276412","1355276406","1355276403","1355276408"],"photo_ids_order":["1355276401","1355276403","1355276406","1355276408","1355276410","1355276412"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d72bbff5e7878273a13ef322068352cf.jpg","text":"TemporaryFile(/tmp/multipartBody5854031672788196168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183093113,"filename":"image_02052025_10_23_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34c7d32c08daa8489c1e2fc7fb6b174a.jpg","text":"TemporaryFile(/tmp/multipartBody663884004835509463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183093113,"filename":"image_02052025_10_24_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/5/2/2fe4a4f06477b99221f826dc2e1fd4b3.jpg","text":"TemporaryFile(/tmp/multipartBody4077604908943271802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183093113,"filename":"image_02052025_10_24_15_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5b757bdc384ba687312243d4b482ed19.jpg","text":"TemporaryFile(/tmp/multipartBody1032041372328280183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183093113,"filename":"image_02052025_10_23_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/5/2/21f3f8d88ae3acba564f1f245fa95748.jpg","text":"TemporaryFile(/tmp/multipartBody8109315972646696844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183093113,"filename":"image_02052025_10_23_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/270ae43c00019b36b015e37ee0188d7f.jpg","text":"TemporaryFile(/tmp/multipartBody7426879864357973993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183093113,"filename":"image_02052025_10_23_54_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276406","file1":"1355276403","file0":"1355276401","file4":"1355276410","file5":"1355276412","file3":"1355276408"},"map_files_photo_id_array":[{"photo_id":"1355276412","filename":"file5"},{"photo_id":"1355276406","filename":"file2"},{"photo_id":"1355276410","filename":"file4"},{"photo_id":"1355276403","filename":"file1"},{"photo_id":"1355276401","filename":"file0"},{"photo_id":"1355276408","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276401":["hashtag1","hashtag2"]},{"1355276410":["hashtag1","hashtag2"]},{"1355276412":["hashtag1","hashtag2"]},{"1355276406":["hashtag1","hashtag2"]},{"1355276403":["hashtag1","hashtag2"]},{"1355276408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276401, 1355276410, 1355276412, 1355276406, 1355276403, 1355276408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.16268253326416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:51:32.751857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/24/image_02052025_10_24_35_10368.jpg', '/home/pi/Desktop/images/02052025/10/24/image_02052025_10_24_55_10373.jpg', '/home/pi/Desktop/images/02052025/10/25/image_02052025_10_25_14_9418.jpg', '/home/pi/Desktop/images/02052025/10/25/image_02052025_10_25_25_10360.jpg', '/home/pi/Desktop/images/02052025/10/25/image_02052025_10_25_34_9406.jpg', '/home/pi/Desktop/images/02052025/10/25/image_02052025_10_25_44_10031.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/24/image_02052025_10_24_35_10368.jpg
/home/pi/Desktop/images/02052025/10/24/image_02052025_10_24_55_10373.jpg
/home/pi/Desktop/images/02052025/10/25/image_02052025_10_25_14_9418.jpg
/home/pi/Desktop/images/02052025/10/25/image_02052025_10_25_25_10360.jpg
/home/pi/Desktop/images/02052025/10/25/image_02052025_10_25_34_9406.jpg
/home/pi/Desktop/images/02052025/10/25/image_02052025_10_25_44_10031.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355276452","1355276446","1355276455","1355276457","1355276442","1355276450"],"photo_ids_order":["1355276442","1355276446","1355276450","1355276452","1355276455","1355276457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea95ef8bd4fd3184b4bc882b1fcf4855.jpg","text":"TemporaryFile(/tmp/multipartBody8875785376558112323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183153218,"filename":"image_02052025_10_25_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/5/2/db92998174df9c40d10a402a3a23d1d0.jpg","text":"TemporaryFile(/tmp/multipartBody3854263282381806796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183153218,"filename":"image_02052025_10_24_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/5/2/4918acabd77226baa968833e26c78caa.jpg","text":"TemporaryFile(/tmp/multipartBody2165765933252023147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183153218,"filename":"image_02052025_10_25_34_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0eb584da082bd09b65a9a91fd95da68e.jpg","text":"TemporaryFile(/tmp/multipartBody8417126037061620095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183153218,"filename":"image_02052025_10_25_44_10031.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/40a1f6c624cb71d428c3296c91e2d6de.jpg","text":"TemporaryFile(/tmp/multipartBody7441544015746661860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183153218,"filename":"image_02052025_10_24_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dba0d3bc65217283cad8b86bfcfba10c.jpg","text":"TemporaryFile(/tmp/multipartBody1400533622746927157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183153218,"filename":"image_02052025_10_25_14_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276450","file1":"1355276446","file0":"1355276442","file4":"1355276455","file5":"1355276457","file3":"1355276452"},"map_files_photo_id_array":[{"photo_id":"1355276457","filename":"file5"},{"photo_id":"1355276450","filename":"file2"},{"photo_id":"1355276455","filename":"file4"},{"photo_id":"1355276446","filename":"file1"},{"photo_id":"1355276442","filename":"file0"},{"photo_id":"1355276452","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276452":["hashtag1","hashtag2"]},{"1355276446":["hashtag1","hashtag2"]},{"1355276455":["hashtag1","hashtag2"]},{"1355276457":["hashtag1","hashtag2"]},{"1355276442":["hashtag1","hashtag2"]},{"1355276450":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276452, 1355276446, 1355276455, 1355276457, 1355276442, 1355276450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.427212953567505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:52:33.048346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/25/image_02052025_10_26_05_10396.jpg', '/home/pi/Desktop/images/02052025/10/26/image_02052025_10_26_14_9377.jpg', '/home/pi/Desktop/images/02052025/10/26/image_02052025_10_26_25_10358.jpg', '/home/pi/Desktop/images/02052025/10/26/image_02052025_10_26_35_10361.jpg', '/home/pi/Desktop/images/02052025/10/26/image_02052025_10_26_44_9336.jpg', '/home/pi/Desktop/images/02052025/10/26/image_02052025_10_26_55_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/25/image_02052025_10_26_05_10396.jpg
/home/pi/Desktop/images/02052025/10/26/image_02052025_10_26_14_9377.jpg
/home/pi/Desktop/images/02052025/10/26/image_02052025_10_26_25_10358.jpg
/home/pi/Desktop/images/02052025/10/26/image_02052025_10_26_35_10361.jpg
/home/pi/Desktop/images/02052025/10/26/image_02052025_10_26_44_9336.jpg
/home/pi/Desktop/images/02052025/10/26/image_02052025_10_26_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":["1355276490","1355276487","1355276637","1355276492","1355276495","1355276497"],"photo_ids_order":["1355276487","1355276490","1355276492","1355276495","1355276497","1355276637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b7d53418e8baa256cb61ce193b8338cc.jpg","text":"TemporaryFile(/tmp/multipartBody8832437051258528467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183213523,"filename":"image_02052025_10_26_14_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7737ccb08ac26def3f1de6b73e728567.jpg","text":"TemporaryFile(/tmp/multipartBody5226230637941562540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183213523,"filename":"image_02052025_10_26_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/5/2/4a027813267602cfea8fc12e380e40ab.jpg","text":"TemporaryFile(/tmp/multipartBody6529823217761257203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183213523,"filename":"image_02052025_10_26_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/5/2/980115c0d048e1b86b9d2343d5ad41bb.jpg","text":"TemporaryFile(/tmp/multipartBody6554387772929721032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183213523,"filename":"image_02052025_10_26_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/5/2/a50d826a9770c3382f6114bf2df81171.jpg","text":"TemporaryFile(/tmp/multipartBody6780262776076674916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183213523,"filename":"image_02052025_10_26_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/5/2/d9f0bc0130cce7768c36db56e96ace2e.jpg","text":"TemporaryFile(/tmp/multipartBody810991895941047569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183213523,"filename":"image_02052025_10_26_44_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276492","file1":"1355276490","file0":"1355276487","file4":"1355276497","file5":"1355276637","file3":"1355276495"},"map_files_photo_id_array":[{"photo_id":"1355276637","filename":"file5"},{"photo_id":"1355276492","filename":"file2"},{"photo_id":"1355276497","filename":"file4"},{"photo_id":"1355276490","filename":"file1"},{"photo_id":"1355276487","filename":"file0"},{"photo_id":"1355276495","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276490":["hashtag1","hashtag2"]},{"1355276487":["hashtag1","hashtag2"]},{"1355276637":["hashtag1","hashtag2"]},{"1355276492":["hashtag1","hashtag2"]},{"1355276495":["hashtag1","hashtag2"]},{"1355276497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276490, 1355276487, 1355276637, 1355276492, 1355276495, 1355276497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.92277479171753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:53:32.361515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/26/image_02052025_10_27_04_9409.jpg', '/home/pi/Desktop/images/02052025/10/27/image_02052025_10_27_15_10342.jpg', '/home/pi/Desktop/images/02052025/10/27/image_02052025_10_27_25_10447.jpg', '/home/pi/Desktop/images/02052025/10/27/image_02052025_10_27_34_9336.jpg', '/home/pi/Desktop/images/02052025/10/27/image_02052025_10_27_45_10344.jpg', '/home/pi/Desktop/images/02052025/10/27/image_02052025_10_27_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/26/image_02052025_10_27_04_9409.jpg
/home/pi/Desktop/images/02052025/10/27/image_02052025_10_27_15_10342.jpg
/home/pi/Desktop/images/02052025/10/27/image_02052025_10_27_25_10447.jpg
/home/pi/Desktop/images/02052025/10/27/image_02052025_10_27_34_9336.jpg
/home/pi/Desktop/images/02052025/10/27/image_02052025_10_27_45_10344.jpg
/home/pi/Desktop/images/02052025/10/27/image_02052025_10_27_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":["1355276683","1355276685","1355276679","1355276676","1355276669","1355276674"],"photo_ids_order":["1355276669","1355276674","1355276676","1355276679","1355276683","1355276685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8aac419da5052513de9d54cf3033beed.jpg","text":"TemporaryFile(/tmp/multipartBody9092420520647637970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183272826,"filename":"image_02052025_10_27_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3ee8a15a93ad1d8dd9272b3436099952.jpg","text":"TemporaryFile(/tmp/multipartBody148561846271485480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183272826,"filename":"image_02052025_10_27_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b828bf580f0b7ef9361376554009e1d.jpg","text":"TemporaryFile(/tmp/multipartBody4171732924136061349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183272826,"filename":"image_02052025_10_27_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/5/2/350c2a17f90778163d342bee57e0fdca.jpg","text":"TemporaryFile(/tmp/multipartBody1571320553132466824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183272826,"filename":"image_02052025_10_27_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/5/2/46b0f5bef704deb41ed55e98b2dad3d3.jpg","text":"TemporaryFile(/tmp/multipartBody5208403164691837617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183272826,"filename":"image_02052025_10_27_04_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a68a596ed73e8d03d1f94f662914a2d.jpg","text":"TemporaryFile(/tmp/multipartBody5205588331690814936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183272826,"filename":"image_02052025_10_27_15_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276676","file1":"1355276674","file0":"1355276669","file4":"1355276683","file5":"1355276685","file3":"1355276679"},"map_files_photo_id_array":[{"photo_id":"1355276685","filename":"file5"},{"photo_id":"1355276676","filename":"file2"},{"photo_id":"1355276683","filename":"file4"},{"photo_id":"1355276674","filename":"file1"},{"photo_id":"1355276669","filename":"file0"},{"photo_id":"1355276679","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276683":["hashtag1","hashtag2"]},{"1355276685":["hashtag1","hashtag2"]},{"1355276679":["hashtag1","hashtag2"]},{"1355276676":["hashtag1","hashtag2"]},{"1355276669":["hashtag1","hashtag2"]},{"1355276674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276683, 1355276685, 1355276679, 1355276676, 1355276669, 1355276674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.73030161857605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:54:32.519543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/27/image_02052025_10_28_04_9367.jpg', '/home/pi/Desktop/images/02052025/10/28/image_02052025_10_28_15_10375.jpg', '/home/pi/Desktop/images/02052025/10/28/image_02052025_10_28_25_10361.jpg', '/home/pi/Desktop/images/02052025/10/28/image_02052025_10_28_34_9348.jpg', '/home/pi/Desktop/images/02052025/10/28/image_02052025_10_28_45_10370.jpg', '/home/pi/Desktop/images/02052025/10/28/image_02052025_10_28_54_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/27/image_02052025_10_28_04_9367.jpg
/home/pi/Desktop/images/02052025/10/28/image_02052025_10_28_15_10375.jpg
/home/pi/Desktop/images/02052025/10/28/image_02052025_10_28_25_10361.jpg
/home/pi/Desktop/images/02052025/10/28/image_02052025_10_28_34_9348.jpg
/home/pi/Desktop/images/02052025/10/28/image_02052025_10_28_45_10370.jpg
/home/pi/Desktop/images/02052025/10/28/image_02052025_10_28_54_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355276725","1355276721","1355276712","1355276709","1355276729","1355276717"],"photo_ids_order":["1355276709","1355276712","1355276717","1355276721","1355276725","1355276729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/60b6b4fa7e89b338eec05b0fcbdfb01a.jpg","text":"TemporaryFile(/tmp/multipartBody2129372079644232207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183332994,"filename":"image_02052025_10_28_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/5/2/86ab1742059009a6788dbe985b3b7ea3.jpg","text":"TemporaryFile(/tmp/multipartBody1435241862847989336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183332994,"filename":"image_02052025_10_28_34_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6015cc12d6fae059b3bc4b976884e4e.jpg","text":"TemporaryFile(/tmp/multipartBody2048281472890313575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183332994,"filename":"image_02052025_10_28_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/5/2/2640c69ecd65c05eb96a2291b11f1296.jpg","text":"TemporaryFile(/tmp/multipartBody807250720656135207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183332994,"filename":"image_02052025_10_28_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/157a07245b2bf5c3e8d5af6776c993f3.jpg","text":"TemporaryFile(/tmp/multipartBody7841263077012620781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183332994,"filename":"image_02052025_10_28_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/441675b4fee2ec4c143308694ba56493.jpg","text":"TemporaryFile(/tmp/multipartBody7570127992822320461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183332994,"filename":"image_02052025_10_28_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276717","file1":"1355276712","file0":"1355276709","file4":"1355276725","file5":"1355276729","file3":"1355276721"},"map_files_photo_id_array":[{"photo_id":"1355276729","filename":"file5"},{"photo_id":"1355276717","filename":"file2"},{"photo_id":"1355276725","filename":"file4"},{"photo_id":"1355276712","filename":"file1"},{"photo_id":"1355276709","filename":"file0"},{"photo_id":"1355276721","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276725":["hashtag1","hashtag2"]},{"1355276721":["hashtag1","hashtag2"]},{"1355276712":["hashtag1","hashtag2"]},{"1355276709":["hashtag1","hashtag2"]},{"1355276729":["hashtag1","hashtag2"]},{"1355276717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276725, 1355276721, 1355276712, 1355276709, 1355276729, 1355276717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.186912298202515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:55:32.550647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/28/image_02052025_10_29_05_10351.jpg', '/home/pi/Desktop/images/02052025/10/29/image_02052025_10_29_15_10428.jpg', '/home/pi/Desktop/images/02052025/10/29/image_02052025_10_29_24_9458.jpg', '/home/pi/Desktop/images/02052025/10/29/image_02052025_10_29_35_10337.jpg', '/home/pi/Desktop/images/02052025/10/29/image_02052025_10_29_45_10392.jpg', '/home/pi/Desktop/images/02052025/10/29/image_02052025_10_29_55_9465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/28/image_02052025_10_29_05_10351.jpg
/home/pi/Desktop/images/02052025/10/29/image_02052025_10_29_15_10428.jpg
/home/pi/Desktop/images/02052025/10/29/image_02052025_10_29_24_9458.jpg
/home/pi/Desktop/images/02052025/10/29/image_02052025_10_29_35_10337.jpg
/home/pi/Desktop/images/02052025/10/29/image_02052025_10_29_45_10392.jpg
/home/pi/Desktop/images/02052025/10/29/image_02052025_10_29_55_9465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355276761","1355276758","1355276752","1355276746","1355276766","1355276769"],"photo_ids_order":["1355276746","1355276752","1355276758","1355276761","1355276766","1355276769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e32ec9adc559a67c2c592876f68d1417.jpg","text":"TemporaryFile(/tmp/multipartBody5653666981835542886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183393011,"filename":"image_02052025_10_29_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/5/2/6207c505ee95faf20df215af86150adb.jpg","text":"TemporaryFile(/tmp/multipartBody12051165071452335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183393011,"filename":"image_02052025_10_29_24_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0e14f922fcf4043b341d2c29930a7e9a.jpg","text":"TemporaryFile(/tmp/multipartBody5752126853016304360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183393011,"filename":"image_02052025_10_29_15_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/beb4e34be03299d1f5fb0da754cff42f.jpg","text":"TemporaryFile(/tmp/multipartBody2183380408676920362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183393011,"filename":"image_02052025_10_29_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/5/2/4b58a4d134e0077efe96f3509add0f5f.jpg","text":"TemporaryFile(/tmp/multipartBody1163111362386759855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183393011,"filename":"image_02052025_10_29_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/5/2/f6514ddb266583e2a128d872c20d7ea9.jpg","text":"TemporaryFile(/tmp/multipartBody1637705187095280339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183393011,"filename":"image_02052025_10_29_55_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276758","file1":"1355276752","file0":"1355276746","file4":"1355276766","file5":"1355276769","file3":"1355276761"},"map_files_photo_id_array":[{"photo_id":"1355276769","filename":"file5"},{"photo_id":"1355276758","filename":"file2"},{"photo_id":"1355276766","filename":"file4"},{"photo_id":"1355276752","filename":"file1"},{"photo_id":"1355276746","filename":"file0"},{"photo_id":"1355276761","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276761":["hashtag1","hashtag2"]},{"1355276758":["hashtag1","hashtag2"]},{"1355276752":["hashtag1","hashtag2"]},{"1355276746":["hashtag1","hashtag2"]},{"1355276766":["hashtag1","hashtag2"]},{"1355276769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276761, 1355276758, 1355276752, 1355276746, 1355276766, 1355276769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.772387504577637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:56:32.997204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/29/image_02052025_10_30_05_10369.jpg', '/home/pi/Desktop/images/02052025/10/30/image_02052025_10_30_14_9436.jpg', '/home/pi/Desktop/images/02052025/10/30/image_02052025_10_30_25_10408.jpg', '/home/pi/Desktop/images/02052025/10/30/image_02052025_10_30_34_9359.jpg', '/home/pi/Desktop/images/02052025/10/30/image_02052025_10_30_45_10411.jpg', '/home/pi/Desktop/images/02052025/10/30/image_02052025_10_30_55_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/29/image_02052025_10_30_05_10369.jpg
/home/pi/Desktop/images/02052025/10/30/image_02052025_10_30_14_9436.jpg
/home/pi/Desktop/images/02052025/10/30/image_02052025_10_30_25_10408.jpg
/home/pi/Desktop/images/02052025/10/30/image_02052025_10_30_34_9359.jpg
/home/pi/Desktop/images/02052025/10/30/image_02052025_10_30_45_10411.jpg
/home/pi/Desktop/images/02052025/10/30/image_02052025_10_30_55_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":["1355276799","1355276790","1355276793","1355276823","1355276811","1355276804"],"photo_ids_order":["1355276790","1355276793","1355276799","1355276804","1355276811","1355276823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c99cad7a7ecc6c28c13fdd21cba027a2.jpg","text":"TemporaryFile(/tmp/multipartBody4302051284163205829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183453463,"filename":"image_02052025_10_30_25_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1e7a14a0b0c4e22468935ef0591f74a.jpg","text":"TemporaryFile(/tmp/multipartBody2003127916325341524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183453463,"filename":"image_02052025_10_30_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/59ea31d57f997d9d233445e0b7c79e30.jpg","text":"TemporaryFile(/tmp/multipartBody2568191168508090897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183453463,"filename":"image_02052025_10_30_14_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/33b2129ae19b3db56671be85c7f3f68e.jpg","text":"TemporaryFile(/tmp/multipartBody2804998557936495990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183453463,"filename":"image_02052025_10_30_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/5/2/28265d84732944dcb1eb004724b9f6e9.jpg","text":"TemporaryFile(/tmp/multipartBody8095531871943335748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183453463,"filename":"image_02052025_10_30_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/5/2/df55c84425dce7c19f9931ed4fe67286.jpg","text":"TemporaryFile(/tmp/multipartBody2014949528210221703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183453463,"filename":"image_02052025_10_30_34_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355276799","file1":"1355276793","file0":"1355276790","file4":"1355276811","file5":"1355276823","file3":"1355276804"},"map_files_photo_id_array":[{"photo_id":"1355276823","filename":"file5"},{"photo_id":"1355276799","filename":"file2"},{"photo_id":"1355276811","filename":"file4"},{"photo_id":"1355276793","filename":"file1"},{"photo_id":"1355276790","filename":"file0"},{"photo_id":"1355276804","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355276799":["hashtag1","hashtag2"]},{"1355276790":["hashtag1","hashtag2"]},{"1355276793":["hashtag1","hashtag2"]},{"1355276823":["hashtag1","hashtag2"]},{"1355276811":["hashtag1","hashtag2"]},{"1355276804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355276799, 1355276790, 1355276793, 1355276823, 1355276811, 1355276804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.641777753829956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 12:57:32.386951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/30/image_02052025_10_31_04_9470.jpg', '/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_15_10351.jpg', '/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_25_10353.jpg', '/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_35_9367.jpg', '/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_45_10450.jpg', '/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_54_9485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/30/image_02052025_10_31_04_9470.jpg
/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_15_10351.jpg
/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_25_10353.jpg
/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_35_9367.jpg
/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_45_10450.jpg
/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_54_9485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 12:59:04.306783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/30/image_02052025_10_31_04_9470.jpg', '/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_15_10351.jpg', '/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_25_10353.jpg', '/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_35_9367.jpg', '/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_45_10450.jpg', '/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_54_9485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/30/image_02052025_10_31_04_9470.jpg
/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_15_10351.jpg
/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_25_10353.jpg
/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_35_9367.jpg
/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_45_10450.jpg
/home/pi/Desktop/images/02052025/10/31/image_02052025_10_31_54_9485.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355277217","1355277273","1355277507","1355277329","1355277382","1355277442"],"photo_ids_order":["1355277217","1355277273","1355277329","1355277382","1355277442","1355277507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce21e936935cbf2a7514d02688e81408.jpg","text":"TemporaryFile(/tmp/multipartBody3380134022651934303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183604919,"filename":"image_02052025_10_31_04_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4601313fdaf879ea08f44b0d05239da.jpg","text":"TemporaryFile(/tmp/multipartBody1723164547626968454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183604919,"filename":"image_02052025_10_31_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/5/2/7b0b0b07756f7343b078a8f72059e737.jpg","text":"TemporaryFile(/tmp/multipartBody1111172452654910567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183604919,"filename":"image_02052025_10_31_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/5/2/ac9d5b791687cacfea70b9fe62fd4e48.jpg","text":"TemporaryFile(/tmp/multipartBody7844888773211626334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183604919,"filename":"image_02052025_10_31_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/5/2/533a06449b6b5767166f541f9e771c92.jpg","text":"TemporaryFile(/tmp/multipartBody2482209121942534557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183604919,"filename":"image_02052025_10_31_35_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff2f793432df38429b5a04bad0002f64.jpg","text":"TemporaryFile(/tmp/multipartBody4161582576901104321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183604919,"filename":"image_02052025_10_31_45_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355277329","file1":"1355277273","file0":"1355277217","file4":"1355277442","file5":"1355277507","file3":"1355277382"},"map_files_photo_id_array":[{"photo_id":"1355277507","filename":"file5"},{"photo_id":"1355277329","filename":"file2"},{"photo_id":"1355277442","filename":"file4"},{"photo_id":"1355277273","filename":"file1"},{"photo_id":"1355277217","filename":"file0"},{"photo_id":"1355277382","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355277217":["hashtag1","hashtag2"]},{"1355277273":["hashtag1","hashtag2"]},{"1355277507":["hashtag1","hashtag2"]},{"1355277329":["hashtag1","hashtag2"]},{"1355277382":["hashtag1","hashtag2"]},{"1355277442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355277217, 1355277273, 1355277507, 1355277329, 1355277382, 1355277442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37963128089905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 12:59:43.348595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/31/image_02052025_10_32_05_10364.jpg', '/home/pi/Desktop/images/02052025/10/32/image_02052025_10_32_14_9354.jpg', '/home/pi/Desktop/images/02052025/10/32/image_02052025_10_32_25_10426.jpg', '/home/pi/Desktop/images/02052025/10/32/image_02052025_10_32_44_9430.jpg', '/home/pi/Desktop/images/02052025/10/32/image_02052025_10_32_55_10354.jpg', '/home/pi/Desktop/images/02052025/10/32/image_02052025_10_33_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/31/image_02052025_10_32_05_10364.jpg
/home/pi/Desktop/images/02052025/10/32/image_02052025_10_32_14_9354.jpg
/home/pi/Desktop/images/02052025/10/32/image_02052025_10_32_25_10426.jpg
/home/pi/Desktop/images/02052025/10/32/image_02052025_10_32_44_9430.jpg
/home/pi/Desktop/images/02052025/10/32/image_02052025_10_32_55_10354.jpg
/home/pi/Desktop/images/02052025/10/32/image_02052025_10_33_05_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":["1355277896","1355277845","1355277943","1355277793","1355278003","1355277742"],"photo_ids_order":["1355277742","1355277793","1355277845","1355277896","1355277943","1355278003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f7df50e0432ea97197154ffb9dcc0a1.jpg","text":"TemporaryFile(/tmp/multipartBody7796775711229352916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183643814,"filename":"image_02052025_10_32_44_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05f8b38003bec3f0889b3cb751e72938.jpg","text":"TemporaryFile(/tmp/multipartBody2943133160216517538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183643814,"filename":"image_02052025_10_32_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b847393e7437d8f90febae49c45bf6a5.jpg","text":"TemporaryFile(/tmp/multipartBody1571187321266476742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183643814,"filename":"image_02052025_10_32_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/5/2/a2770c8193e606649ff3ab470d8c85a3.jpg","text":"TemporaryFile(/tmp/multipartBody5539619760238037018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183643814,"filename":"image_02052025_10_32_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/661372b5843b33c5c6097e29485c26dd.jpg","text":"TemporaryFile(/tmp/multipartBody5297688447518171523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183643814,"filename":"image_02052025_10_33_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/14329d20addd52f9e9ece8448963f452.jpg","text":"TemporaryFile(/tmp/multipartBody6813475338170242288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183643814,"filename":"image_02052025_10_32_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355277845","file1":"1355277793","file0":"1355277742","file4":"1355277943","file5":"1355278003","file3":"1355277896"},"map_files_photo_id_array":[{"photo_id":"1355278003","filename":"file5"},{"photo_id":"1355277845","filename":"file2"},{"photo_id":"1355277943","filename":"file4"},{"photo_id":"1355277793","filename":"file1"},{"photo_id":"1355277742","filename":"file0"},{"photo_id":"1355277896","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355277896":["hashtag1","hashtag2"]},{"1355277845":["hashtag1","hashtag2"]},{"1355277943":["hashtag1","hashtag2"]},{"1355277793":["hashtag1","hashtag2"]},{"1355278003":["hashtag1","hashtag2"]},{"1355277742":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355277896, 1355277845, 1355277943, 1355277793, 1355278003, 1355277742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.39893078804016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:00:32.348763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/33/image_02052025_10_33_14_9397.jpg', '/home/pi/Desktop/images/02052025/10/33/image_02052025_10_33_25_10467.jpg', '/home/pi/Desktop/images/02052025/10/33/image_02052025_10_33_34_9446.jpg', '/home/pi/Desktop/images/02052025/10/33/image_02052025_10_33_45_10346.jpg', '/home/pi/Desktop/images/02052025/10/33/image_02052025_10_33_55_10366.jpg', '/home/pi/Desktop/images/02052025/10/33/image_02052025_10_34_05_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/33/image_02052025_10_33_14_9397.jpg
/home/pi/Desktop/images/02052025/10/33/image_02052025_10_33_25_10467.jpg
/home/pi/Desktop/images/02052025/10/33/image_02052025_10_33_34_9446.jpg
/home/pi/Desktop/images/02052025/10/33/image_02052025_10_33_45_10346.jpg
/home/pi/Desktop/images/02052025/10/33/image_02052025_10_33_55_10366.jpg
/home/pi/Desktop/images/02052025/10/33/image_02052025_10_34_05_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":["1355278356","1355278416","1355278326","1355278289","1355278259","1355278486"],"photo_ids_order":["1355278259","1355278289","1355278326","1355278356","1355278416","1355278486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f4225811fe255b6a2c0b11c5ca8dfa0.jpg","text":"TemporaryFile(/tmp/multipartBody4991818574075135582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183692815,"filename":"image_02052025_10_33_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/5/2/bea70fac3eea723fca247448e56549d1.jpg","text":"TemporaryFile(/tmp/multipartBody1758845170089586121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183692815,"filename":"image_02052025_10_33_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/5/2/33f5b6090f267406855f206aba0ae00a.jpg","text":"TemporaryFile(/tmp/multipartBody7230455186251505237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183692815,"filename":"image_02052025_10_33_34_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/594d810526e3d3b5fd92ec11ece30d11.jpg","text":"TemporaryFile(/tmp/multipartBody4149564730465688374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183692815,"filename":"image_02052025_10_33_25_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/93128c8266c2d3a81aa37677057ee5c3.jpg","text":"TemporaryFile(/tmp/multipartBody8852852011953208800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183692815,"filename":"image_02052025_10_33_14_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/17ca51ea2816c6cd116dac0b4403ea94.jpg","text":"TemporaryFile(/tmp/multipartBody7396578047753498358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183692815,"filename":"image_02052025_10_34_05_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355278326","file1":"1355278289","file0":"1355278259","file4":"1355278416","file5":"1355278486","file3":"1355278356"},"map_files_photo_id_array":[{"photo_id":"1355278486","filename":"file5"},{"photo_id":"1355278326","filename":"file2"},{"photo_id":"1355278416","filename":"file4"},{"photo_id":"1355278289","filename":"file1"},{"photo_id":"1355278259","filename":"file0"},{"photo_id":"1355278356","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355278356":["hashtag1","hashtag2"]},{"1355278416":["hashtag1","hashtag2"]},{"1355278326":["hashtag1","hashtag2"]},{"1355278289":["hashtag1","hashtag2"]},{"1355278259":["hashtag1","hashtag2"]},{"1355278486":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355278356, 1355278416, 1355278326, 1355278289, 1355278259, 1355278486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37317156791687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:01:32.529829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/34/image_02052025_10_34_15_10331.jpg', '/home/pi/Desktop/images/02052025/10/34/image_02052025_10_34_35_10436.jpg', '/home/pi/Desktop/images/02052025/10/34/image_02052025_10_34_45_10358.jpg', '/home/pi/Desktop/images/02052025/10/34/image_02052025_10_34_54_9369.jpg', '/home/pi/Desktop/images/02052025/10/34/image_02052025_10_35_05_10438.jpg', '/home/pi/Desktop/images/02052025/10/35/image_02052025_10_35_14_9472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/34/image_02052025_10_34_15_10331.jpg
/home/pi/Desktop/images/02052025/10/34/image_02052025_10_34_35_10436.jpg
/home/pi/Desktop/images/02052025/10/34/image_02052025_10_34_45_10358.jpg
/home/pi/Desktop/images/02052025/10/34/image_02052025_10_34_54_9369.jpg
/home/pi/Desktop/images/02052025/10/34/image_02052025_10_35_05_10438.jpg
/home/pi/Desktop/images/02052025/10/35/image_02052025_10_35_14_9472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355279010","1355278929","1355279159","1355279228","1355279299","1355279107"],"photo_ids_order":["1355278929","1355279010","1355279107","1355279159","1355279228","1355279299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2685d95d52f1c7eb7488fa2e23f8e4d.jpg","text":"TemporaryFile(/tmp/multipartBody2785032052652492695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183752998,"filename":"image_02052025_10_34_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/5/2/e99aa22aa7f3f49749ed8ec648d17213.jpg","text":"TemporaryFile(/tmp/multipartBody3019417251099572798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183752998,"filename":"image_02052025_10_34_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/5/2/e49559d84b5cfe1d6d4d966421f52d66.jpg","text":"TemporaryFile(/tmp/multipartBody6113297906119283373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183752998,"filename":"image_02052025_10_34_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e83722c3461ac891d87d7de9a2c6687.jpg","text":"TemporaryFile(/tmp/multipartBody2823194456338067965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183752998,"filename":"image_02052025_10_35_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/5/2/acf95c866975aa89937f0a12286b3f94.jpg","text":"TemporaryFile(/tmp/multipartBody4228177950405080001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183752998,"filename":"image_02052025_10_35_14_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3092198bced53fad1cc957010affb262.jpg","text":"TemporaryFile(/tmp/multipartBody7905573543114559507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183752998,"filename":"image_02052025_10_34_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355279107","file1":"1355279010","file0":"1355278929","file4":"1355279228","file5":"1355279299","file3":"1355279159"},"map_files_photo_id_array":[{"photo_id":"1355279299","filename":"file5"},{"photo_id":"1355279107","filename":"file2"},{"photo_id":"1355279228","filename":"file4"},{"photo_id":"1355279010","filename":"file1"},{"photo_id":"1355278929","filename":"file0"},{"photo_id":"1355279159","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355279010":["hashtag1","hashtag2"]},{"1355278929":["hashtag1","hashtag2"]},{"1355279159":["hashtag1","hashtag2"]},{"1355279228":["hashtag1","hashtag2"]},{"1355279299":["hashtag1","hashtag2"]},{"1355279107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355279010, 1355278929, 1355279159, 1355279228, 1355279299, 1355279107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20685362815857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:02:32.908670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/35/image_02052025_10_35_25_10454.jpg', '/home/pi/Desktop/images/02052025/10/35/image_02052025_10_35_35_10394.jpg', '/home/pi/Desktop/images/02052025/10/35/image_02052025_10_35_45_9440.jpg', '/home/pi/Desktop/images/02052025/10/35/image_02052025_10_36_04_9443.jpg', '/home/pi/Desktop/images/02052025/10/36/image_02052025_10_36_15_10342.jpg', '/home/pi/Desktop/images/02052025/10/36/image_02052025_10_36_34_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/35/image_02052025_10_35_25_10454.jpg
/home/pi/Desktop/images/02052025/10/35/image_02052025_10_35_35_10394.jpg
/home/pi/Desktop/images/02052025/10/35/image_02052025_10_35_45_9440.jpg
/home/pi/Desktop/images/02052025/10/35/image_02052025_10_36_04_9443.jpg
/home/pi/Desktop/images/02052025/10/36/image_02052025_10_36_15_10342.jpg
/home/pi/Desktop/images/02052025/10/36/image_02052025_10_36_34_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":["1355279777","1355279660","1355279608","1355279716","1355279844","1355279568"],"photo_ids_order":["1355279568","1355279608","1355279660","1355279716","1355279777","1355279844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5332873636ca3322dd782642a11d6c36.jpg","text":"TemporaryFile(/tmp/multipartBody841449406534645729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183813365,"filename":"image_02052025_10_36_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/5/2/eef533d95363e60b79dddb6829dfcf65.jpg","text":"TemporaryFile(/tmp/multipartBody298309351301738252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183813365,"filename":"image_02052025_10_35_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/5/2/c1137be86c68d21b8308591b01f486e3.jpg","text":"TemporaryFile(/tmp/multipartBody6785066749512536980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183813365,"filename":"image_02052025_10_35_35_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4d313c69ceec816f24cb538fed1883b.jpg","text":"TemporaryFile(/tmp/multipartBody1465301759650350548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183813365,"filename":"image_02052025_10_36_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/5/2/2b9f241fe0cd3130ccff60a8fe88c59b.jpg","text":"TemporaryFile(/tmp/multipartBody7342429170545905350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183813365,"filename":"image_02052025_10_36_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/5/2/28ef2d871b74c2c13316089428adfa4a.jpg","text":"TemporaryFile(/tmp/multipartBody3148593124115420872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183813365,"filename":"image_02052025_10_35_25_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355279660","file1":"1355279608","file0":"1355279568","file4":"1355279777","file5":"1355279844","file3":"1355279716"},"map_files_photo_id_array":[{"photo_id":"1355279844","filename":"file5"},{"photo_id":"1355279660","filename":"file2"},{"photo_id":"1355279777","filename":"file4"},{"photo_id":"1355279608","filename":"file1"},{"photo_id":"1355279568","filename":"file0"},{"photo_id":"1355279716","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355279777":["hashtag1","hashtag2"]},{"1355279660":["hashtag1","hashtag2"]},{"1355279608":["hashtag1","hashtag2"]},{"1355279716":["hashtag1","hashtag2"]},{"1355279844":["hashtag1","hashtag2"]},{"1355279568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355279777, 1355279660, 1355279608, 1355279716, 1355279844, 1355279568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52209401130676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:03:33.018090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/36/image_02052025_10_36_54_9336.jpg', '/home/pi/Desktop/images/02052025/10/36/image_02052025_10_37_05_10435.jpg', '/home/pi/Desktop/images/02052025/10/37/image_02052025_10_37_15_10358.jpg', '/home/pi/Desktop/images/02052025/10/37/image_02052025_10_37_24_9393.jpg', '/home/pi/Desktop/images/02052025/10/37/image_02052025_10_37_35_10339.jpg', '/home/pi/Desktop/images/02052025/10/37/image_02052025_10_37_45_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/36/image_02052025_10_36_54_9336.jpg
/home/pi/Desktop/images/02052025/10/36/image_02052025_10_37_05_10435.jpg
/home/pi/Desktop/images/02052025/10/37/image_02052025_10_37_15_10358.jpg
/home/pi/Desktop/images/02052025/10/37/image_02052025_10_37_24_9393.jpg
/home/pi/Desktop/images/02052025/10/37/image_02052025_10_37_35_10339.jpg
/home/pi/Desktop/images/02052025/10/37/image_02052025_10_37_45_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355280171","1355280179","1355280167","1355280176","1355280137","1355280203"],"photo_ids_order":["1355280137","1355280167","1355280171","1355280176","1355280179","1355280203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05cd08684a2909d4f34c3a9886e3e736.jpg","text":"TemporaryFile(/tmp/multipartBody3058882357329404653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183873487,"filename":"image_02052025_10_37_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/5/2/17504625ea32b4307b99b13511b2dde1.jpg","text":"TemporaryFile(/tmp/multipartBody7666050151569422004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183873487,"filename":"image_02052025_10_37_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/5/2/e3705be7423d76553019a853d3da9748.jpg","text":"TemporaryFile(/tmp/multipartBody3059063886203018775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183873487,"filename":"image_02052025_10_37_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/5/2/5d0ea6d41ab78147dfa9e64171ae5eb4.jpg","text":"TemporaryFile(/tmp/multipartBody4600141222276442502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183873487,"filename":"image_02052025_10_37_24_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7b57f107cd61c56d9e9d645630ece65.jpg","text":"TemporaryFile(/tmp/multipartBody2280294218910714709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183873487,"filename":"image_02052025_10_36_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/5/2/dce343fda57d0bf2dc1c485d0fc5d8f9.jpg","text":"TemporaryFile(/tmp/multipartBody4135292578916016008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183873487,"filename":"image_02052025_10_37_45_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355280171","file1":"1355280167","file0":"1355280137","file4":"1355280179","file5":"1355280203","file3":"1355280176"},"map_files_photo_id_array":[{"photo_id":"1355280203","filename":"file5"},{"photo_id":"1355280171","filename":"file2"},{"photo_id":"1355280179","filename":"file4"},{"photo_id":"1355280167","filename":"file1"},{"photo_id":"1355280137","filename":"file0"},{"photo_id":"1355280176","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355280171":["hashtag1","hashtag2"]},{"1355280179":["hashtag1","hashtag2"]},{"1355280167":["hashtag1","hashtag2"]},{"1355280176":["hashtag1","hashtag2"]},{"1355280137":["hashtag1","hashtag2"]},{"1355280203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355280171, 1355280179, 1355280167, 1355280176, 1355280137, 1355280203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.905835151672363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:04:32.228741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/37/image_02052025_10_37_54_9360.jpg', '/home/pi/Desktop/images/02052025/10/37/image_02052025_10_38_05_10355.jpg', '/home/pi/Desktop/images/02052025/10/38/image_02052025_10_38_15_10361.jpg', '/home/pi/Desktop/images/02052025/10/38/image_02052025_10_38_25_9360.jpg', '/home/pi/Desktop/images/02052025/10/38/image_02052025_10_38_35_10355.jpg', '/home/pi/Desktop/images/02052025/10/38/image_02052025_10_38_44_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/37/image_02052025_10_37_54_9360.jpg
/home/pi/Desktop/images/02052025/10/37/image_02052025_10_38_05_10355.jpg
/home/pi/Desktop/images/02052025/10/38/image_02052025_10_38_15_10361.jpg
/home/pi/Desktop/images/02052025/10/38/image_02052025_10_38_25_9360.jpg
/home/pi/Desktop/images/02052025/10/38/image_02052025_10_38_35_10355.jpg
/home/pi/Desktop/images/02052025/10/38/image_02052025_10_38_44_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":["1355280306","1355280296","1355280309","1355280300","1355280308","1355280304"],"photo_ids_order":["1355280296","1355280300","1355280304","1355280306","1355280308","1355280309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da4ff3b1a424832b4e487f6c80d7e17a.jpg","text":"TemporaryFile(/tmp/multipartBody559428310911908742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183932690,"filename":"image_02052025_10_38_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/5/2/943eb1baa79eeac6ee641d095cf41cb8.jpg","text":"TemporaryFile(/tmp/multipartBody7995955043360041211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183932690,"filename":"image_02052025_10_37_54_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84d008b6903a99c05c1be5757638fc07.jpg","text":"TemporaryFile(/tmp/multipartBody5884816451298558869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183932690,"filename":"image_02052025_10_38_44_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e86efca1e3f9ec43698fc6c2112df76.jpg","text":"TemporaryFile(/tmp/multipartBody1616469537696867186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183932690,"filename":"image_02052025_10_38_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/5/2/92bb0cd1ddeda19d84be500485f550f2.jpg","text":"TemporaryFile(/tmp/multipartBody2494132769271048360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183932690,"filename":"image_02052025_10_38_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/5/2/5ef3c80fbac30b07cc3b6294f523f099.jpg","text":"TemporaryFile(/tmp/multipartBody7847110169913954767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183932690,"filename":"image_02052025_10_38_15_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355280304","file1":"1355280300","file0":"1355280296","file4":"1355280308","file5":"1355280309","file3":"1355280306"},"map_files_photo_id_array":[{"photo_id":"1355280309","filename":"file5"},{"photo_id":"1355280304","filename":"file2"},{"photo_id":"1355280308","filename":"file4"},{"photo_id":"1355280300","filename":"file1"},{"photo_id":"1355280296","filename":"file0"},{"photo_id":"1355280306","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355280306":["hashtag1","hashtag2"]},{"1355280296":["hashtag1","hashtag2"]},{"1355280309":["hashtag1","hashtag2"]},{"1355280300":["hashtag1","hashtag2"]},{"1355280308":["hashtag1","hashtag2"]},{"1355280304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355280306, 1355280296, 1355280309, 1355280300, 1355280308, 1355280304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.826392889022827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:05:32.389344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/38/image_02052025_10_38_55_10411.jpg', '/home/pi/Desktop/images/02052025/10/38/image_02052025_10_39_05_10356.jpg', '/home/pi/Desktop/images/02052025/10/39/image_02052025_10_39_14_9324.jpg', '/home/pi/Desktop/images/02052025/10/39/image_02052025_10_39_25_10378.jpg', '/home/pi/Desktop/images/02052025/10/39/image_02052025_10_39_35_10354.jpg', '/home/pi/Desktop/images/02052025/10/39/image_02052025_10_39_44_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/38/image_02052025_10_38_55_10411.jpg
/home/pi/Desktop/images/02052025/10/38/image_02052025_10_39_05_10356.jpg
/home/pi/Desktop/images/02052025/10/39/image_02052025_10_39_14_9324.jpg
/home/pi/Desktop/images/02052025/10/39/image_02052025_10_39_25_10378.jpg
/home/pi/Desktop/images/02052025/10/39/image_02052025_10_39_35_10354.jpg
/home/pi/Desktop/images/02052025/10/39/image_02052025_10_39_44_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355280693","1355280636","1355280578","1355280665","1355280725","1355280607"],"photo_ids_order":["1355280578","1355280607","1355280636","1355280665","1355280693","1355280725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/43038a0f3d938ab2215e9c591438e3a2.jpg","text":"TemporaryFile(/tmp/multipartBody1658328406681574036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183992855,"filename":"image_02052025_10_39_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/5/2/b4d903771f24b6a5496afb14ffa3c133.jpg","text":"TemporaryFile(/tmp/multipartBody4534984984399984925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183992855,"filename":"image_02052025_10_39_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/5/2/5d5a72f442711bbb81314fccca1bb2f5.jpg","text":"TemporaryFile(/tmp/multipartBody7276450297242983074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183992855,"filename":"image_02052025_10_38_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/5/2/1cadd314ea51824f0a5aa4c84f06328d.jpg","text":"TemporaryFile(/tmp/multipartBody6799769906674766194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183992855,"filename":"image_02052025_10_39_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/5/2/f09bcb89388b8e853956624c9969c1f5.jpg","text":"TemporaryFile(/tmp/multipartBody5105489871507129844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183992855,"filename":"image_02052025_10_39_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/adb55cc80671596bdbda535167bb6e9b.jpg","text":"TemporaryFile(/tmp/multipartBody1319391340598163803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746183992855,"filename":"image_02052025_10_39_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355280636","file1":"1355280607","file0":"1355280578","file4":"1355280693","file5":"1355280725","file3":"1355280665"},"map_files_photo_id_array":[{"photo_id":"1355280725","filename":"file5"},{"photo_id":"1355280636","filename":"file2"},{"photo_id":"1355280693","filename":"file4"},{"photo_id":"1355280607","filename":"file1"},{"photo_id":"1355280578","filename":"file0"},{"photo_id":"1355280665","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355280693":["hashtag1","hashtag2"]},{"1355280636":["hashtag1","hashtag2"]},{"1355280578":["hashtag1","hashtag2"]},{"1355280665":["hashtag1","hashtag2"]},{"1355280725":["hashtag1","hashtag2"]},{"1355280607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355280693, 1355280636, 1355280578, 1355280665, 1355280725, 1355280607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.192319631576538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:06:32.714629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/39/image_02052025_10_39_55_10364.jpg', '/home/pi/Desktop/images/02052025/10/39/image_02052025_10_40_04_9431.jpg', '/home/pi/Desktop/images/02052025/10/40/image_02052025_10_40_15_10338.jpg', '/home/pi/Desktop/images/02052025/10/40/image_02052025_10_40_25_10354.jpg', '/home/pi/Desktop/images/02052025/10/40/image_02052025_10_40_34_9436.jpg', '/home/pi/Desktop/images/02052025/10/40/image_02052025_10_40_45_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/39/image_02052025_10_39_55_10364.jpg
/home/pi/Desktop/images/02052025/10/39/image_02052025_10_40_04_9431.jpg
/home/pi/Desktop/images/02052025/10/40/image_02052025_10_40_15_10338.jpg
/home/pi/Desktop/images/02052025/10/40/image_02052025_10_40_25_10354.jpg
/home/pi/Desktop/images/02052025/10/40/image_02052025_10_40_34_9436.jpg
/home/pi/Desktop/images/02052025/10/40/image_02052025_10_40_45_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":["1355281091","1355281034","1355281121","1355281063","1355281150","1355281006"],"photo_ids_order":["1355281006","1355281034","1355281063","1355281091","1355281121","1355281150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d80cffa16b30f3fbd0513743eac294c.jpg","text":"TemporaryFile(/tmp/multipartBody6050969071922249642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184053185,"filename":"image_02052025_10_40_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/354e5a4bb0728f700b6880d90097987f.jpg","text":"TemporaryFile(/tmp/multipartBody3256105066287071780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184053185,"filename":"image_02052025_10_40_04_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/76b010500de6594f1f6cd38913f39da4.jpg","text":"TemporaryFile(/tmp/multipartBody6629653000154417750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184053185,"filename":"image_02052025_10_40_34_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9ee6a82e00a8740edf8e06388acf38c.jpg","text":"TemporaryFile(/tmp/multipartBody3731163016288600841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184053185,"filename":"image_02052025_10_40_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/5/2/67c4f1cb83c24a88318d2265b0758097.jpg","text":"TemporaryFile(/tmp/multipartBody2353363162092619268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184053185,"filename":"image_02052025_10_40_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/5/2/74b10887eee2ddb547d1fcb5b4c404f7.jpg","text":"TemporaryFile(/tmp/multipartBody2687427169954682898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184053185,"filename":"image_02052025_10_39_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355281063","file1":"1355281034","file0":"1355281006","file4":"1355281121","file5":"1355281150","file3":"1355281091"},"map_files_photo_id_array":[{"photo_id":"1355281150","filename":"file5"},{"photo_id":"1355281063","filename":"file2"},{"photo_id":"1355281121","filename":"file4"},{"photo_id":"1355281034","filename":"file1"},{"photo_id":"1355281006","filename":"file0"},{"photo_id":"1355281091","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355281091":["hashtag1","hashtag2"]},{"1355281034":["hashtag1","hashtag2"]},{"1355281121":["hashtag1","hashtag2"]},{"1355281063":["hashtag1","hashtag2"]},{"1355281150":["hashtag1","hashtag2"]},{"1355281006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355281091, 1355281034, 1355281121, 1355281063, 1355281150, 1355281006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.91058588027954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:07:33.070229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/40/image_02052025_10_40_55_10359.jpg', '/home/pi/Desktop/images/02052025/10/40/image_02052025_10_41_05_9456.jpg', '/home/pi/Desktop/images/02052025/10/41/image_02052025_10_41_15_10346.jpg', '/home/pi/Desktop/images/02052025/10/41/image_02052025_10_41_24_9440.jpg', '/home/pi/Desktop/images/02052025/10/41/image_02052025_10_41_35_10365.jpg', '/home/pi/Desktop/images/02052025/10/41/image_02052025_10_41_45_10251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/40/image_02052025_10_40_55_10359.jpg
/home/pi/Desktop/images/02052025/10/40/image_02052025_10_41_05_9456.jpg
/home/pi/Desktop/images/02052025/10/41/image_02052025_10_41_15_10346.jpg
/home/pi/Desktop/images/02052025/10/41/image_02052025_10_41_24_9440.jpg
/home/pi/Desktop/images/02052025/10/41/image_02052025_10_41_35_10365.jpg
/home/pi/Desktop/images/02052025/10/41/image_02052025_10_41_45_10251.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355281292","1355281295","1355281327","1355281306","1355281299","1355281284"],"photo_ids_order":["1355281284","1355281292","1355281295","1355281299","1355281306","1355281327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b7b8a0222b684059b6cb3206d71fd52.jpg","text":"TemporaryFile(/tmp/multipartBody5542209094275610905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184113541,"filename":"image_02052025_10_41_05_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0027303bddc9eeae554513a5b98463ca.jpg","text":"TemporaryFile(/tmp/multipartBody6160338970825239018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184113541,"filename":"image_02052025_10_41_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/5/2/7216766390bb74fac016d5574e3deb84.jpg","text":"TemporaryFile(/tmp/multipartBody2508984575967208921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184113541,"filename":"image_02052025_10_41_45_10251.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb59e709293d053c0ae31bba1e50dd97.jpg","text":"TemporaryFile(/tmp/multipartBody168884581086516362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184113541,"filename":"image_02052025_10_41_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/5/2/044ad16f131f6dd2a40cf85fbe7b7693.jpg","text":"TemporaryFile(/tmp/multipartBody2659252987243760162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184113541,"filename":"image_02052025_10_41_24_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9262011b290eb3d665cb932e68216ec6.jpg","text":"TemporaryFile(/tmp/multipartBody1957094810214176561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184113541,"filename":"image_02052025_10_40_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355281295","file1":"1355281292","file0":"1355281284","file4":"1355281306","file5":"1355281327","file3":"1355281299"},"map_files_photo_id_array":[{"photo_id":"1355281327","filename":"file5"},{"photo_id":"1355281295","filename":"file2"},{"photo_id":"1355281306","filename":"file4"},{"photo_id":"1355281292","filename":"file1"},{"photo_id":"1355281284","filename":"file0"},{"photo_id":"1355281299","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355281292":["hashtag1","hashtag2"]},{"1355281295":["hashtag1","hashtag2"]},{"1355281327":["hashtag1","hashtag2"]},{"1355281306":["hashtag1","hashtag2"]},{"1355281299":["hashtag1","hashtag2"]},{"1355281284":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355281292, 1355281295, 1355281327, 1355281306, 1355281299, 1355281284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.67468547821045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:08:33.148021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/41/image_02052025_10_41_54_9479.jpg', '/home/pi/Desktop/images/02052025/10/41/image_02052025_10_42_05_10356.jpg', '/home/pi/Desktop/images/02052025/10/42/image_02052025_10_42_15_10337.jpg', '/home/pi/Desktop/images/02052025/10/42/image_02052025_10_42_25_9413.jpg', '/home/pi/Desktop/images/02052025/10/42/image_02052025_10_42_35_10349.jpg', '/home/pi/Desktop/images/02052025/10/42/image_02052025_10_42_44_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/41/image_02052025_10_41_54_9479.jpg
/home/pi/Desktop/images/02052025/10/41/image_02052025_10_42_05_10356.jpg
/home/pi/Desktop/images/02052025/10/42/image_02052025_10_42_15_10337.jpg
/home/pi/Desktop/images/02052025/10/42/image_02052025_10_42_25_9413.jpg
/home/pi/Desktop/images/02052025/10/42/image_02052025_10_42_35_10349.jpg
/home/pi/Desktop/images/02052025/10/42/image_02052025_10_42_44_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":["1355281847","1355281736","1355281792","1355281936","1355281885","1355281912"],"photo_ids_order":["1355281736","1355281792","1355281847","1355281885","1355281912","1355281936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b671d57379fce7c1200f38c4a7ba6699.jpg","text":"TemporaryFile(/tmp/multipartBody5803043634201549550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184173603,"filename":"image_02052025_10_42_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/5/2/92ea7c4158898cd270f15c6fcbe8fc58.jpg","text":"TemporaryFile(/tmp/multipartBody8900044006652637188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184173603,"filename":"image_02052025_10_41_54_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/404ae2c52c2ea93a43fbc295f186f4bf.jpg","text":"TemporaryFile(/tmp/multipartBody8195709636757274894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184173603,"filename":"image_02052025_10_42_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/5/2/90c392bcd6493f907835d8d11c1c606a.jpg","text":"TemporaryFile(/tmp/multipartBody8009588974112246841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184173603,"filename":"image_02052025_10_42_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/5/2/a4f9c33919dcf72e388a3d7ae29305fc.jpg","text":"TemporaryFile(/tmp/multipartBody2138841313163597974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184173603,"filename":"image_02052025_10_42_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/5/2/77ad60b948eecf91b2c739adac6b6af9.jpg","text":"TemporaryFile(/tmp/multipartBody7778784926541348185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184173603,"filename":"image_02052025_10_42_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355281847","file1":"1355281792","file0":"1355281736","file4":"1355281912","file5":"1355281936","file3":"1355281885"},"map_files_photo_id_array":[{"photo_id":"1355281936","filename":"file5"},{"photo_id":"1355281847","filename":"file2"},{"photo_id":"1355281912","filename":"file4"},{"photo_id":"1355281792","filename":"file1"},{"photo_id":"1355281736","filename":"file0"},{"photo_id":"1355281885","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355281847":["hashtag1","hashtag2"]},{"1355281736":["hashtag1","hashtag2"]},{"1355281792":["hashtag1","hashtag2"]},{"1355281936":["hashtag1","hashtag2"]},{"1355281885":["hashtag1","hashtag2"]},{"1355281912":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355281847, 1355281736, 1355281792, 1355281936, 1355281885, 1355281912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.201030731201172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:09:32.378413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/42/image_02052025_10_42_55_10351.jpg', '/home/pi/Desktop/images/02052025/10/42/image_02052025_10_43_05_10442.jpg', '/home/pi/Desktop/images/02052025/10/43/image_02052025_10_43_14_9393.jpg', '/home/pi/Desktop/images/02052025/10/43/image_02052025_10_43_25_10369.jpg', '/home/pi/Desktop/images/02052025/10/43/image_02052025_10_43_35_10346.jpg', '/home/pi/Desktop/images/02052025/10/43/image_02052025_10_43_44_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/42/image_02052025_10_42_55_10351.jpg
/home/pi/Desktop/images/02052025/10/42/image_02052025_10_43_05_10442.jpg
/home/pi/Desktop/images/02052025/10/43/image_02052025_10_43_14_9393.jpg
/home/pi/Desktop/images/02052025/10/43/image_02052025_10_43_25_10369.jpg
/home/pi/Desktop/images/02052025/10/43/image_02052025_10_43_35_10346.jpg
/home/pi/Desktop/images/02052025/10/43/image_02052025_10_43_44_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":["1355282645","1355282525","1355282680","1355282578","1355282443","1355282349"],"photo_ids_order":["1355282349","1355282443","1355282525","1355282578","1355282645","1355282680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7e332a6485f91bfde7412526c16e3f8.jpg","text":"TemporaryFile(/tmp/multipartBody6636155173346327477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184232852,"filename":"image_02052025_10_43_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/5/2/0665445f22ffeafd6986a96919e866d4.jpg","text":"TemporaryFile(/tmp/multipartBody3476076759506220394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184232852,"filename":"image_02052025_10_43_14_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8cf07ef1651a5be54a77b4a519daeeba.jpg","text":"TemporaryFile(/tmp/multipartBody9179980014046339219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184232852,"filename":"image_02052025_10_43_44_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aaf0868062d9455b05594e6142999bd1.jpg","text":"TemporaryFile(/tmp/multipartBody7449043822739632179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184232852,"filename":"image_02052025_10_43_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1231e117de857ab8ac715a0b19564ff7.jpg","text":"TemporaryFile(/tmp/multipartBody3448986394894925096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184232852,"filename":"image_02052025_10_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/5/2/f4b0189fde82cd6927c527311e8226c5.jpg","text":"TemporaryFile(/tmp/multipartBody3857911651279818708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184232852,"filename":"image_02052025_10_42_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355282525","file1":"1355282443","file0":"1355282349","file4":"1355282645","file5":"1355282680","file3":"1355282578"},"map_files_photo_id_array":[{"photo_id":"1355282680","filename":"file5"},{"photo_id":"1355282525","filename":"file2"},{"photo_id":"1355282645","filename":"file4"},{"photo_id":"1355282443","filename":"file1"},{"photo_id":"1355282349","filename":"file0"},{"photo_id":"1355282578","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355282645":["hashtag1","hashtag2"]},{"1355282525":["hashtag1","hashtag2"]},{"1355282680":["hashtag1","hashtag2"]},{"1355282578":["hashtag1","hashtag2"]},{"1355282443":["hashtag1","hashtag2"]},{"1355282349":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355282645, 1355282525, 1355282680, 1355282578, 1355282443, 1355282349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.20456838607788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:10:32.549705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/43/image_02052025_10_43_55_10366.jpg', '/home/pi/Desktop/images/02052025/10/43/image_02052025_10_44_05_10347.jpg', '/home/pi/Desktop/images/02052025/10/44/image_02052025_10_44_15_9355.jpg', '/home/pi/Desktop/images/02052025/10/44/image_02052025_10_44_25_10362.jpg', '/home/pi/Desktop/images/02052025/10/44/image_02052025_10_44_34_9328.jpg', '/home/pi/Desktop/images/02052025/10/44/image_02052025_10_44_45_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/43/image_02052025_10_43_55_10366.jpg
/home/pi/Desktop/images/02052025/10/43/image_02052025_10_44_05_10347.jpg
/home/pi/Desktop/images/02052025/10/44/image_02052025_10_44_15_9355.jpg
/home/pi/Desktop/images/02052025/10/44/image_02052025_10_44_25_10362.jpg
/home/pi/Desktop/images/02052025/10/44/image_02052025_10_44_34_9328.jpg
/home/pi/Desktop/images/02052025/10/44/image_02052025_10_44_45_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":["1355283252","1355283525","1355283194","1355283428","1355283329","1355283137"],"photo_ids_order":["1355283137","1355283194","1355283252","1355283329","1355283428","1355283525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb525b77174a87c32f02e0868c124c88.jpg","text":"TemporaryFile(/tmp/multipartBody2565935943615954476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184293120,"filename":"image_02052025_10_44_15_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b65e415b21042cf386f93c9b0a4c9bbe.jpg","text":"TemporaryFile(/tmp/multipartBody7563185315412954937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184293120,"filename":"image_02052025_10_44_45_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f2244f8784f2663067edc5d69e3318ac.jpg","text":"TemporaryFile(/tmp/multipartBody8905403629138428789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184293120,"filename":"image_02052025_10_44_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/5/2/6f3f65a51bcbc22e3c92361dd6a78971.jpg","text":"TemporaryFile(/tmp/multipartBody827677147011445173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184293120,"filename":"image_02052025_10_44_34_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/033a0f6b48dc1f2dcfdcc05b5622de78.jpg","text":"TemporaryFile(/tmp/multipartBody7795858197620789477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184293120,"filename":"image_02052025_10_44_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/76ea5331221a307d860f81e963a43365.jpg","text":"TemporaryFile(/tmp/multipartBody3156971585312497821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184293120,"filename":"image_02052025_10_43_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355283252","file1":"1355283194","file0":"1355283137","file4":"1355283428","file5":"1355283525","file3":"1355283329"},"map_files_photo_id_array":[{"photo_id":"1355283525","filename":"file5"},{"photo_id":"1355283252","filename":"file2"},{"photo_id":"1355283428","filename":"file4"},{"photo_id":"1355283194","filename":"file1"},{"photo_id":"1355283137","filename":"file0"},{"photo_id":"1355283329","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355283252":["hashtag1","hashtag2"]},{"1355283525":["hashtag1","hashtag2"]},{"1355283194":["hashtag1","hashtag2"]},{"1355283428":["hashtag1","hashtag2"]},{"1355283329":["hashtag1","hashtag2"]},{"1355283137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355283252, 1355283525, 1355283194, 1355283428, 1355283329, 1355283137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.955286979675293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:11:32.858977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/44/image_02052025_10_44_55_10455.jpg', '/home/pi/Desktop/images/02052025/10/44/image_02052025_10_45_05_9443.jpg', '/home/pi/Desktop/images/02052025/10/45/image_02052025_10_45_15_10343.jpg', '/home/pi/Desktop/images/02052025/10/45/image_02052025_10_45_24_9480.jpg', '/home/pi/Desktop/images/02052025/10/45/image_02052025_10_45_45_10417.jpg', '/home/pi/Desktop/images/02052025/10/45/image_02052025_10_45_54_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/44/image_02052025_10_44_55_10455.jpg
/home/pi/Desktop/images/02052025/10/44/image_02052025_10_45_05_9443.jpg
/home/pi/Desktop/images/02052025/10/45/image_02052025_10_45_15_10343.jpg
/home/pi/Desktop/images/02052025/10/45/image_02052025_10_45_24_9480.jpg
/home/pi/Desktop/images/02052025/10/45/image_02052025_10_45_45_10417.jpg
/home/pi/Desktop/images/02052025/10/45/image_02052025_10_45_54_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":["1355284282","1355284555","1355284642","1355284350","1355284716","1355284252"],"photo_ids_order":["1355284252","1355284282","1355284350","1355284555","1355284642","1355284716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/73846a7d8cd19bd91cc96923ccd28829.jpg","text":"TemporaryFile(/tmp/multipartBody7578023034286467268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184353328,"filename":"image_02052025_10_45_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/5/2/070313ab189795df9143b9c54aec8259.jpg","text":"TemporaryFile(/tmp/multipartBody1724116226345058895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184353328,"filename":"image_02052025_10_45_24_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3cdff55ab2a90af89b0a328ea00ade49.jpg","text":"TemporaryFile(/tmp/multipartBody2882172418104147097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184353328,"filename":"image_02052025_10_45_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/5/2/f1d9eac3560cab2265ce9e067bba4fe8.jpg","text":"TemporaryFile(/tmp/multipartBody1510883664034047178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184353328,"filename":"image_02052025_10_45_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/5/2/897299abd1227af5fe36dd0531c692ca.jpg","text":"TemporaryFile(/tmp/multipartBody5213535574720464501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184353328,"filename":"image_02052025_10_45_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cb84c0a8e5e3884b61ee970327302339.jpg","text":"TemporaryFile(/tmp/multipartBody4643732329499209125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184353328,"filename":"image_02052025_10_44_55_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355284350","file1":"1355284282","file0":"1355284252","file4":"1355284642","file5":"1355284716","file3":"1355284555"},"map_files_photo_id_array":[{"photo_id":"1355284716","filename":"file5"},{"photo_id":"1355284350","filename":"file2"},{"photo_id":"1355284642","filename":"file4"},{"photo_id":"1355284282","filename":"file1"},{"photo_id":"1355284252","filename":"file0"},{"photo_id":"1355284555","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355284282":["hashtag1","hashtag2"]},{"1355284555":["hashtag1","hashtag2"]},{"1355284642":["hashtag1","hashtag2"]},{"1355284350":["hashtag1","hashtag2"]},{"1355284716":["hashtag1","hashtag2"]},{"1355284252":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355284282, 1355284555, 1355284642, 1355284350, 1355284716, 1355284252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.225154876708984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:12:33.151686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/45/image_02052025_10_46_05_10356.jpg', '/home/pi/Desktop/images/02052025/10/46/image_02052025_10_46_14_9344.jpg', '/home/pi/Desktop/images/02052025/10/46/image_02052025_10_46_25_10384.jpg', '/home/pi/Desktop/images/02052025/10/46/image_02052025_10_46_35_10366.jpg', '/home/pi/Desktop/images/02052025/10/46/image_02052025_10_46_44_9465.jpg', '/home/pi/Desktop/images/02052025/10/46/image_02052025_10_47_05_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/45/image_02052025_10_46_05_10356.jpg
/home/pi/Desktop/images/02052025/10/46/image_02052025_10_46_14_9344.jpg
/home/pi/Desktop/images/02052025/10/46/image_02052025_10_46_25_10384.jpg
/home/pi/Desktop/images/02052025/10/46/image_02052025_10_46_35_10366.jpg
/home/pi/Desktop/images/02052025/10/46/image_02052025_10_46_44_9465.jpg
/home/pi/Desktop/images/02052025/10/46/image_02052025_10_47_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":["1355285212","1355285121","1355285288","1355285182","1355285344","1355285242"],"photo_ids_order":["1355285121","1355285182","1355285212","1355285242","1355285288","1355285344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8a907f67cc13e28f9dfb94149a3f8153.jpg","text":"TemporaryFile(/tmp/multipartBody2260860830075876210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184413627,"filename":"image_02052025_10_46_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/5/2/284e505ec65c57102544f2af1212142b.jpg","text":"TemporaryFile(/tmp/multipartBody1781997603131894875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184413627,"filename":"image_02052025_10_46_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/78618bef3dd5df6496a92a96f870589a.jpg","text":"TemporaryFile(/tmp/multipartBody1357611103305664138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184413627,"filename":"image_02052025_10_46_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/5/2/82783df64bb0f50bb1db1b16931b7226.jpg","text":"TemporaryFile(/tmp/multipartBody5358053812108898923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184413627,"filename":"image_02052025_10_46_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c0ab90622b62bba647b519261385c60.jpg","text":"TemporaryFile(/tmp/multipartBody5409584342193625807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184413627,"filename":"image_02052025_10_47_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/5/2/8ab2c5753fb254417d225f0ed174ed28.jpg","text":"TemporaryFile(/tmp/multipartBody2653702039282782336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184413627,"filename":"image_02052025_10_46_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355285212","file1":"1355285182","file0":"1355285121","file4":"1355285288","file5":"1355285344","file3":"1355285242"},"map_files_photo_id_array":[{"photo_id":"1355285344","filename":"file5"},{"photo_id":"1355285212","filename":"file2"},{"photo_id":"1355285288","filename":"file4"},{"photo_id":"1355285182","filename":"file1"},{"photo_id":"1355285121","filename":"file0"},{"photo_id":"1355285242","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355285212":["hashtag1","hashtag2"]},{"1355285121":["hashtag1","hashtag2"]},{"1355285288":["hashtag1","hashtag2"]},{"1355285182":["hashtag1","hashtag2"]},{"1355285344":["hashtag1","hashtag2"]},{"1355285242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355285212, 1355285121, 1355285288, 1355285182, 1355285344, 1355285242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.672077894210815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:13:32.463320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/47/image_02052025_10_47_15_9395.jpg', '/home/pi/Desktop/images/02052025/10/47/image_02052025_10_47_25_10253.jpg', '/home/pi/Desktop/images/02052025/10/47/image_02052025_10_47_35_10338.jpg', '/home/pi/Desktop/images/02052025/10/47/image_02052025_10_47_45_9376.jpg', '/home/pi/Desktop/images/02052025/10/47/image_02052025_10_47_55_10488.jpg', '/home/pi/Desktop/images/02052025/10/47/image_02052025_10_48_04_9494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/47/image_02052025_10_47_15_9395.jpg
/home/pi/Desktop/images/02052025/10/47/image_02052025_10_47_25_10253.jpg
/home/pi/Desktop/images/02052025/10/47/image_02052025_10_47_35_10338.jpg
/home/pi/Desktop/images/02052025/10/47/image_02052025_10_47_45_9376.jpg
/home/pi/Desktop/images/02052025/10/47/image_02052025_10_47_55_10488.jpg
/home/pi/Desktop/images/02052025/10/47/image_02052025_10_48_04_9494.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355285841","1355285990","1355285786","1355285960","1355285887","1355285917"],"photo_ids_order":["1355285786","1355285841","1355285887","1355285917","1355285960","1355285990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c8952a758b5f82770905f995c5c3693b.jpg","text":"TemporaryFile(/tmp/multipartBody5444217625891181185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184472944,"filename":"image_02052025_10_47_25_10253.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a26634120b5a222a42e960110478da6.jpg","text":"TemporaryFile(/tmp/multipartBody8229914182920308878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184472944,"filename":"image_02052025_10_48_04_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39b9ab59266c605e837d2ddcf711eb34.jpg","text":"TemporaryFile(/tmp/multipartBody2186623401716358558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184472944,"filename":"image_02052025_10_47_15_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ca7f3e7f0f4966a3546d5fe0b758bc07.jpg","text":"TemporaryFile(/tmp/multipartBody20207337391043593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184472944,"filename":"image_02052025_10_47_55_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/93e524a1460b31bf6f085ac30314c5a7.jpg","text":"TemporaryFile(/tmp/multipartBody3956659035629295657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184472944,"filename":"image_02052025_10_47_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/5/2/de8f2d1fde0367be55d3e1aa5f141670.jpg","text":"TemporaryFile(/tmp/multipartBody8741963300799742217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184472944,"filename":"image_02052025_10_47_45_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355285887","file1":"1355285841","file0":"1355285786","file4":"1355285960","file5":"1355285990","file3":"1355285917"},"map_files_photo_id_array":[{"photo_id":"1355285990","filename":"file5"},{"photo_id":"1355285887","filename":"file2"},{"photo_id":"1355285960","filename":"file4"},{"photo_id":"1355285841","filename":"file1"},{"photo_id":"1355285786","filename":"file0"},{"photo_id":"1355285917","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355285841":["hashtag1","hashtag2"]},{"1355285990":["hashtag1","hashtag2"]},{"1355285786":["hashtag1","hashtag2"]},{"1355285960":["hashtag1","hashtag2"]},{"1355285887":["hashtag1","hashtag2"]},{"1355285917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355285841, 1355285990, 1355285786, 1355285960, 1355285887, 1355285917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.118061780929565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:14:32.562916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/48/image_02052025_10_48_15_10374.jpg', '/home/pi/Desktop/images/02052025/10/48/image_02052025_10_48_24_9349.jpg', '/home/pi/Desktop/images/02052025/10/48/image_02052025_10_48_35_10443.jpg', '/home/pi/Desktop/images/02052025/10/48/image_02052025_10_48_45_10354.jpg', '/home/pi/Desktop/images/02052025/10/48/image_02052025_10_48_54_9403.jpg', '/home/pi/Desktop/images/02052025/10/48/image_02052025_10_49_05_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/48/image_02052025_10_48_15_10374.jpg
/home/pi/Desktop/images/02052025/10/48/image_02052025_10_48_24_9349.jpg
/home/pi/Desktop/images/02052025/10/48/image_02052025_10_48_35_10443.jpg
/home/pi/Desktop/images/02052025/10/48/image_02052025_10_48_45_10354.jpg
/home/pi/Desktop/images/02052025/10/48/image_02052025_10_48_54_9403.jpg
/home/pi/Desktop/images/02052025/10/48/image_02052025_10_49_05_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":["1355286264","1355286222","1355286191","1355286161","1355286291","1355286252"],"photo_ids_order":["1355286161","1355286191","1355286222","1355286252","1355286264","1355286291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/424045d356a50d6e92aa0d5595a36315.jpg","text":"TemporaryFile(/tmp/multipartBody4164622323530281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184533025,"filename":"image_02052025_10_48_54_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/12c4653a204d326abc9a1fc4219cf375.jpg","text":"TemporaryFile(/tmp/multipartBody7719796294028700072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184533025,"filename":"image_02052025_10_48_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/5/2/fc50e0a1cff0e336a65854ad019c2c74.jpg","text":"TemporaryFile(/tmp/multipartBody5513502626338734752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184533025,"filename":"image_02052025_10_48_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/5/2/d29ce80af4f93002fa8a20d26ba9d698.jpg","text":"TemporaryFile(/tmp/multipartBody5739416073290702894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184533025,"filename":"image_02052025_10_48_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ede5a5829641735cc4e4a228e2a98f67.jpg","text":"TemporaryFile(/tmp/multipartBody6488292845622942916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184533025,"filename":"image_02052025_10_49_05_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f1395015ba6512bb240590922cedec51.jpg","text":"TemporaryFile(/tmp/multipartBody7041524636395577464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184533025,"filename":"image_02052025_10_48_45_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355286222","file1":"1355286191","file0":"1355286161","file4":"1355286264","file5":"1355286291","file3":"1355286252"},"map_files_photo_id_array":[{"photo_id":"1355286291","filename":"file5"},{"photo_id":"1355286222","filename":"file2"},{"photo_id":"1355286264","filename":"file4"},{"photo_id":"1355286191","filename":"file1"},{"photo_id":"1355286161","filename":"file0"},{"photo_id":"1355286252","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355286264":["hashtag1","hashtag2"]},{"1355286222":["hashtag1","hashtag2"]},{"1355286191":["hashtag1","hashtag2"]},{"1355286161":["hashtag1","hashtag2"]},{"1355286291":["hashtag1","hashtag2"]},{"1355286252":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355286264, 1355286222, 1355286191, 1355286161, 1355286291, 1355286252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.346548557281494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:15:32.835306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/49/image_02052025_10_49_14_9342.jpg', '/home/pi/Desktop/images/02052025/10/49/image_02052025_10_49_25_10357.jpg', '/home/pi/Desktop/images/02052025/10/49/image_02052025_10_49_35_10369.jpg', '/home/pi/Desktop/images/02052025/10/49/image_02052025_10_49_44_9431.jpg', '/home/pi/Desktop/images/02052025/10/49/image_02052025_10_49_55_10338.jpg', '/home/pi/Desktop/images/02052025/10/49/image_02052025_10_50_05_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/49/image_02052025_10_49_14_9342.jpg
/home/pi/Desktop/images/02052025/10/49/image_02052025_10_49_25_10357.jpg
/home/pi/Desktop/images/02052025/10/49/image_02052025_10_49_35_10369.jpg
/home/pi/Desktop/images/02052025/10/49/image_02052025_10_49_44_9431.jpg
/home/pi/Desktop/images/02052025/10/49/image_02052025_10_49_55_10338.jpg
/home/pi/Desktop/images/02052025/10/49/image_02052025_10_50_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":["1355286525","1355286507","1355286515","1355286520","1355286502","1355286511"],"photo_ids_order":["1355286502","1355286507","1355286511","1355286515","1355286520","1355286525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1415fb2ce59f68ca33ced2f889fb924f.jpg","text":"TemporaryFile(/tmp/multipartBody3539684701835347040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184593318,"filename":"image_02052025_10_50_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/5/2/b5b74d88717a0bb6ca0ae3dc01dfb117.jpg","text":"TemporaryFile(/tmp/multipartBody527301701118372489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184593318,"filename":"image_02052025_10_49_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/5/2/e9e8da124dd08a6a7db8fe46e9733413.jpg","text":"TemporaryFile(/tmp/multipartBody7231207291391162168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184593318,"filename":"image_02052025_10_49_44_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6146a991dd1168cf334d159f10e94c5.jpg","text":"TemporaryFile(/tmp/multipartBody5149222324022531330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184593318,"filename":"image_02052025_10_49_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/5/2/7a11a5bf383371915d3b1d87565adb19.jpg","text":"TemporaryFile(/tmp/multipartBody3970814077478457906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184593318,"filename":"image_02052025_10_49_14_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e7c9c7bcd007a5b087c549e8a98018ef.jpg","text":"TemporaryFile(/tmp/multipartBody8281541572203641423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184593318,"filename":"image_02052025_10_49_35_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355286511","file1":"1355286507","file0":"1355286502","file4":"1355286520","file5":"1355286525","file3":"1355286515"},"map_files_photo_id_array":[{"photo_id":"1355286525","filename":"file5"},{"photo_id":"1355286511","filename":"file2"},{"photo_id":"1355286520","filename":"file4"},{"photo_id":"1355286507","filename":"file1"},{"photo_id":"1355286502","filename":"file0"},{"photo_id":"1355286515","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355286525":["hashtag1","hashtag2"]},{"1355286507":["hashtag1","hashtag2"]},{"1355286515":["hashtag1","hashtag2"]},{"1355286520":["hashtag1","hashtag2"]},{"1355286502":["hashtag1","hashtag2"]},{"1355286511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355286525, 1355286507, 1355286515, 1355286520, 1355286502, 1355286511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.57081627845764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:16:33.166377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/50/image_02052025_10_50_14_9411.jpg', '/home/pi/Desktop/images/02052025/10/50/image_02052025_10_50_25_10364.jpg', '/home/pi/Desktop/images/02052025/10/50/image_02052025_10_50_34_9344.jpg', '/home/pi/Desktop/images/02052025/10/50/image_02052025_10_50_45_10365.jpg', '/home/pi/Desktop/images/02052025/10/50/image_02052025_10_50_55_10457.jpg', '/home/pi/Desktop/images/02052025/10/50/image_02052025_10_51_04_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/50/image_02052025_10_50_14_9411.jpg
/home/pi/Desktop/images/02052025/10/50/image_02052025_10_50_25_10364.jpg
/home/pi/Desktop/images/02052025/10/50/image_02052025_10_50_34_9344.jpg
/home/pi/Desktop/images/02052025/10/50/image_02052025_10_50_45_10365.jpg
/home/pi/Desktop/images/02052025/10/50/image_02052025_10_50_55_10457.jpg
/home/pi/Desktop/images/02052025/10/50/image_02052025_10_51_04_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":["1355286560","1355286623","1355286551","1355286592","1355286652","1355286556"],"photo_ids_order":["1355286551","1355286556","1355286560","1355286592","1355286623","1355286652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e02dbec16f4dff74c421ce1ad97f7bf3.jpg","text":"TemporaryFile(/tmp/multipartBody5018415414396652357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184653634,"filename":"image_02052025_10_50_34_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/994810b806660f3ce90114370cbef7e7.jpg","text":"TemporaryFile(/tmp/multipartBody2026550499313546450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184653634,"filename":"image_02052025_10_50_55_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/434280cc48b59f905543ae5f06f36079.jpg","text":"TemporaryFile(/tmp/multipartBody1582911458705560085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184653634,"filename":"image_02052025_10_50_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/5/2/2d2374a0406938f8884871b398eb374d.jpg","text":"TemporaryFile(/tmp/multipartBody3521426196679340505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184653634,"filename":"image_02052025_10_50_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/5/2/f3e5a8ba679218f819df6e1da9659113.jpg","text":"TemporaryFile(/tmp/multipartBody8509557224839791308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184653634,"filename":"image_02052025_10_51_04_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da2d1e52a31b1b5b88c8c75dd1bd4a74.jpg","text":"TemporaryFile(/tmp/multipartBody4866389024043538148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184653634,"filename":"image_02052025_10_50_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355286560","file1":"1355286556","file0":"1355286551","file4":"1355286623","file5":"1355286652","file3":"1355286592"},"map_files_photo_id_array":[{"photo_id":"1355286652","filename":"file5"},{"photo_id":"1355286560","filename":"file2"},{"photo_id":"1355286623","filename":"file4"},{"photo_id":"1355286556","filename":"file1"},{"photo_id":"1355286551","filename":"file0"},{"photo_id":"1355286592","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355286560":["hashtag1","hashtag2"]},{"1355286623":["hashtag1","hashtag2"]},{"1355286551":["hashtag1","hashtag2"]},{"1355286592":["hashtag1","hashtag2"]},{"1355286652":["hashtag1","hashtag2"]},{"1355286556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355286560, 1355286623, 1355286551, 1355286592, 1355286652, 1355286556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32277727127075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:17:32.414463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/51/image_02052025_10_51_15_10363.jpg', '/home/pi/Desktop/images/02052025/10/51/image_02052025_10_51_25_10395.jpg', '/home/pi/Desktop/images/02052025/10/51/image_02052025_10_51_35_9411.jpg', '/home/pi/Desktop/images/02052025/10/51/image_02052025_10_51_45_10348.jpg', '/home/pi/Desktop/images/02052025/10/51/image_02052025_10_51_54_9401.jpg', '/home/pi/Desktop/images/02052025/10/51/image_02052025_10_52_05_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/51/image_02052025_10_51_15_10363.jpg
/home/pi/Desktop/images/02052025/10/51/image_02052025_10_51_25_10395.jpg
/home/pi/Desktop/images/02052025/10/51/image_02052025_10_51_35_9411.jpg
/home/pi/Desktop/images/02052025/10/51/image_02052025_10_51_45_10348.jpg
/home/pi/Desktop/images/02052025/10/51/image_02052025_10_51_54_9401.jpg
/home/pi/Desktop/images/02052025/10/51/image_02052025_10_52_05_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355286771","1355286872","1355286812","1355286713","1355286838","1355286742"],"photo_ids_order":["1355286713","1355286742","1355286771","1355286812","1355286838","1355286872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49f845f4283b3dc173405170ef148cd9.jpg","text":"TemporaryFile(/tmp/multipartBody1234316737503218305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184712881,"filename":"image_02052025_10_51_35_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2607afcbf976fca6cb71d13941acf908.jpg","text":"TemporaryFile(/tmp/multipartBody1679372582620234570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184712881,"filename":"image_02052025_10_52_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/48c5d300336d5a955c42b2aa3c942653.jpg","text":"TemporaryFile(/tmp/multipartBody3890768067410757590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184712881,"filename":"image_02052025_10_51_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/5/2/8f2dbdbbbbeb2f26cb2e26012cc8bc35.jpg","text":"TemporaryFile(/tmp/multipartBody939572483261180226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184712881,"filename":"image_02052025_10_51_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/5/2/15b798829f23b09b5061f195ecb1aa98.jpg","text":"TemporaryFile(/tmp/multipartBody841643072582264095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184712881,"filename":"image_02052025_10_51_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/5/2/73674fbd4985e608505c2e4ff87c10c7.jpg","text":"TemporaryFile(/tmp/multipartBody1403070476187406994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184712881,"filename":"image_02052025_10_51_25_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355286771","file1":"1355286742","file0":"1355286713","file4":"1355286838","file5":"1355286872","file3":"1355286812"},"map_files_photo_id_array":[{"photo_id":"1355286872","filename":"file5"},{"photo_id":"1355286771","filename":"file2"},{"photo_id":"1355286838","filename":"file4"},{"photo_id":"1355286742","filename":"file1"},{"photo_id":"1355286713","filename":"file0"},{"photo_id":"1355286812","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355286771":["hashtag1","hashtag2"]},{"1355286872":["hashtag1","hashtag2"]},{"1355286812":["hashtag1","hashtag2"]},{"1355286713":["hashtag1","hashtag2"]},{"1355286838":["hashtag1","hashtag2"]},{"1355286742":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355286771, 1355286872, 1355286812, 1355286713, 1355286838, 1355286742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.46989369392395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:18:32.535797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/52/image_02052025_10_52_15_10415.jpg', '/home/pi/Desktop/images/02052025/10/52/image_02052025_10_52_25_9456.jpg', '/home/pi/Desktop/images/02052025/10/52/image_02052025_10_52_35_10364.jpg', '/home/pi/Desktop/images/02052025/10/52/image_02052025_10_52_44_9410.jpg', '/home/pi/Desktop/images/02052025/10/52/image_02052025_10_52_55_10353.jpg', '/home/pi/Desktop/images/02052025/10/52/image_02052025_10_53_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/52/image_02052025_10_52_15_10415.jpg
/home/pi/Desktop/images/02052025/10/52/image_02052025_10_52_25_9456.jpg
/home/pi/Desktop/images/02052025/10/52/image_02052025_10_52_35_10364.jpg
/home/pi/Desktop/images/02052025/10/52/image_02052025_10_52_44_9410.jpg
/home/pi/Desktop/images/02052025/10/52/image_02052025_10_52_55_10353.jpg
/home/pi/Desktop/images/02052025/10/52/image_02052025_10_53_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":["1355287973","1355287865","1355287952","1355287654","1355287456","1355287965"],"photo_ids_order":["1355287456","1355287654","1355287865","1355287952","1355287965","1355287973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f0f32b71a6c1dd1e27feee81fcb66c2.jpg","text":"TemporaryFile(/tmp/multipartBody2168657243323958417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184773018,"filename":"image_02052025_10_53_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/5/2/f953c9321cc774f4a3a82053ea6aaa8f.jpg","text":"TemporaryFile(/tmp/multipartBody2255557515702351172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184773018,"filename":"image_02052025_10_52_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/5/2/45b0fbde7e2138141a8443e01e95510c.jpg","text":"TemporaryFile(/tmp/multipartBody1871255197381527808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184773018,"filename":"image_02052025_10_52_44_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/989b24417980269843db76a1402156a5.jpg","text":"TemporaryFile(/tmp/multipartBody1234731907445764025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184773018,"filename":"image_02052025_10_52_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/5/2/ffb052d2c45fbe6e38bfd8829fbe3568.jpg","text":"TemporaryFile(/tmp/multipartBody7628341778101046127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184773018,"filename":"image_02052025_10_52_15_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58dd91f95e3a06df24c1aa8f3457866b.jpg","text":"TemporaryFile(/tmp/multipartBody1009624693792237613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184773018,"filename":"image_02052025_10_52_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355287865","file1":"1355287654","file0":"1355287456","file4":"1355287965","file5":"1355287973","file3":"1355287952"},"map_files_photo_id_array":[{"photo_id":"1355287973","filename":"file5"},{"photo_id":"1355287865","filename":"file2"},{"photo_id":"1355287965","filename":"file4"},{"photo_id":"1355287654","filename":"file1"},{"photo_id":"1355287456","filename":"file0"},{"photo_id":"1355287952","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355287973":["hashtag1","hashtag2"]},{"1355287865":["hashtag1","hashtag2"]},{"1355287952":["hashtag1","hashtag2"]},{"1355287654":["hashtag1","hashtag2"]},{"1355287456":["hashtag1","hashtag2"]},{"1355287965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355287973, 1355287865, 1355287952, 1355287654, 1355287456, 1355287965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63640570640564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:19:32.787988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/53/image_02052025_10_53_14_9410.jpg', '/home/pi/Desktop/images/02052025/10/53/image_02052025_10_53_25_10359.jpg', '/home/pi/Desktop/images/02052025/10/53/image_02052025_10_53_34_9497.jpg', '/home/pi/Desktop/images/02052025/10/53/image_02052025_10_53_45_10369.jpg', '/home/pi/Desktop/images/02052025/10/53/image_02052025_10_53_55_10369.jpg', '/home/pi/Desktop/images/02052025/10/53/image_02052025_10_54_04_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/53/image_02052025_10_53_14_9410.jpg
/home/pi/Desktop/images/02052025/10/53/image_02052025_10_53_25_10359.jpg
/home/pi/Desktop/images/02052025/10/53/image_02052025_10_53_34_9497.jpg
/home/pi/Desktop/images/02052025/10/53/image_02052025_10_53_45_10369.jpg
/home/pi/Desktop/images/02052025/10/53/image_02052025_10_53_55_10369.jpg
/home/pi/Desktop/images/02052025/10/53/image_02052025_10_54_04_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355288078","1355288550","1355288523","1355288418","1355288214","1355288109"],"photo_ids_order":["1355288078","1355288109","1355288214","1355288418","1355288523","1355288550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4952d23e8ad265fcb4afbb1dc4ec2c0a.jpg","text":"TemporaryFile(/tmp/multipartBody2433771184543085496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184833245,"filename":"image_02052025_10_53_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/5/2/011c878e75e209c51052393c3599cf57.jpg","text":"TemporaryFile(/tmp/multipartBody5279644348697257562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184833245,"filename":"image_02052025_10_54_04_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/78c3dea7e2eeaa83e5bec0b692b77c7a.jpg","text":"TemporaryFile(/tmp/multipartBody4999357347177733046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184833245,"filename":"image_02052025_10_53_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9651144afba0812354c6a5b0dfc48b6.jpg","text":"TemporaryFile(/tmp/multipartBody7635599910624478012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184833245,"filename":"image_02052025_10_53_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/5/2/fd3bfe6b6ef570645b0cd0020972f23e.jpg","text":"TemporaryFile(/tmp/multipartBody3074600667862529764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184833245,"filename":"image_02052025_10_53_34_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af9582c993054c85a1e97bede007f4ce.jpg","text":"TemporaryFile(/tmp/multipartBody4915570823171901129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184833245,"filename":"image_02052025_10_53_25_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355288214","file1":"1355288109","file0":"1355288078","file4":"1355288523","file5":"1355288550","file3":"1355288418"},"map_files_photo_id_array":[{"photo_id":"1355288550","filename":"file5"},{"photo_id":"1355288214","filename":"file2"},{"photo_id":"1355288523","filename":"file4"},{"photo_id":"1355288109","filename":"file1"},{"photo_id":"1355288078","filename":"file0"},{"photo_id":"1355288418","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355288078":["hashtag1","hashtag2"]},{"1355288550":["hashtag1","hashtag2"]},{"1355288523":["hashtag1","hashtag2"]},{"1355288418":["hashtag1","hashtag2"]},{"1355288214":["hashtag1","hashtag2"]},{"1355288109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355288078, 1355288550, 1355288523, 1355288418, 1355288214, 1355288109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2660653591156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:20:33.014686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/54/image_02052025_10_54_15_10367.jpg', '/home/pi/Desktop/images/02052025/10/54/image_02052025_10_54_35_10377.jpg', '/home/pi/Desktop/images/02052025/10/54/image_02052025_10_54_45_10387.jpg', '/home/pi/Desktop/images/02052025/10/54/image_02052025_10_54_54_9448.jpg', '/home/pi/Desktop/images/02052025/10/54/image_02052025_10_55_05_10382.jpg', '/home/pi/Desktop/images/02052025/10/55/image_02052025_10_55_15_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/54/image_02052025_10_54_15_10367.jpg
/home/pi/Desktop/images/02052025/10/54/image_02052025_10_54_35_10377.jpg
/home/pi/Desktop/images/02052025/10/54/image_02052025_10_54_45_10387.jpg
/home/pi/Desktop/images/02052025/10/54/image_02052025_10_54_54_9448.jpg
/home/pi/Desktop/images/02052025/10/54/image_02052025_10_55_05_10382.jpg
/home/pi/Desktop/images/02052025/10/55/image_02052025_10_55_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":["1355288716","1355288713","1355288742","1355288721","1355288990","1355288805"],"photo_ids_order":["1355288713","1355288716","1355288721","1355288742","1355288805","1355288990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b760854b10ad7505e0ea16a44e93dd2c.jpg","text":"TemporaryFile(/tmp/multipartBody814140660968886441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184893491,"filename":"image_02052025_10_54_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6caad76df23e77b972d325ae572cb687.jpg","text":"TemporaryFile(/tmp/multipartBody8742410105188235580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184893491,"filename":"image_02052025_10_54_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb8826255148535b6da91a631d8a5b06.jpg","text":"TemporaryFile(/tmp/multipartBody8995864164954867856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184893491,"filename":"image_02052025_10_54_54_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ba741905cca4ed9a36d52b9793fe7bb.jpg","text":"TemporaryFile(/tmp/multipartBody6680352998831879626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184893491,"filename":"image_02052025_10_54_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/5/2/1610a3521c79527b74012841a0c6a645.jpg","text":"TemporaryFile(/tmp/multipartBody6380155126069462220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184893491,"filename":"image_02052025_10_55_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/5/2/9adbb9f44b553b7bef3f492810408b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8581431589372155100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184893491,"filename":"image_02052025_10_55_05_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355288721","file1":"1355288716","file0":"1355288713","file4":"1355288805","file5":"1355288990","file3":"1355288742"},"map_files_photo_id_array":[{"photo_id":"1355288990","filename":"file5"},{"photo_id":"1355288721","filename":"file2"},{"photo_id":"1355288805","filename":"file4"},{"photo_id":"1355288716","filename":"file1"},{"photo_id":"1355288713","filename":"file0"},{"photo_id":"1355288742","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355288716":["hashtag1","hashtag2"]},{"1355288713":["hashtag1","hashtag2"]},{"1355288742":["hashtag1","hashtag2"]},{"1355288721":["hashtag1","hashtag2"]},{"1355288990":["hashtag1","hashtag2"]},{"1355288805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355288716, 1355288713, 1355288742, 1355288721, 1355288990, 1355288805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.691747426986694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:21:32.450921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/55/image_02052025_10_55_25_9363.jpg', '/home/pi/Desktop/images/02052025/10/55/image_02052025_10_55_35_10358.jpg', '/home/pi/Desktop/images/02052025/10/55/image_02052025_10_55_44_9348.jpg', '/home/pi/Desktop/images/02052025/10/55/image_02052025_10_55_55_10371.jpg', '/home/pi/Desktop/images/02052025/10/55/image_02052025_10_56_05_10351.jpg', '/home/pi/Desktop/images/02052025/10/56/image_02052025_10_56_14_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/55/image_02052025_10_55_25_9363.jpg
/home/pi/Desktop/images/02052025/10/55/image_02052025_10_55_35_10358.jpg
/home/pi/Desktop/images/02052025/10/55/image_02052025_10_55_44_9348.jpg
/home/pi/Desktop/images/02052025/10/55/image_02052025_10_55_55_10371.jpg
/home/pi/Desktop/images/02052025/10/55/image_02052025_10_56_05_10351.jpg
/home/pi/Desktop/images/02052025/10/56/image_02052025_10_56_14_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":["1355289163","1355289151","1355289154","1355289141","1355289158","1355289146"],"photo_ids_order":["1355289141","1355289146","1355289151","1355289154","1355289158","1355289163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e892b799b2c76e1169ea23cfd3f7df9.jpg","text":"TemporaryFile(/tmp/multipartBody3366012532204503162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184956258,"filename":"image_02052025_10_56_14_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cf583ed5037d40496f933fac9c553de4.jpg","text":"TemporaryFile(/tmp/multipartBody4764259220565184582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184956258,"filename":"image_02052025_10_55_44_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4076e512921a9c4c832f03ee6a250a1.jpg","text":"TemporaryFile(/tmp/multipartBody4202608239859713082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184956258,"filename":"image_02052025_10_55_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/5/2/29c0ebad86ce30c1f040bcc3bc1ef539.jpg","text":"TemporaryFile(/tmp/multipartBody5280316742098063265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184956258,"filename":"image_02052025_10_55_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/5/2/b7c400494fe2928cc98a795cf0529ba4.jpg","text":"TemporaryFile(/tmp/multipartBody1405978918771510699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184956258,"filename":"image_02052025_10_56_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa9787ba025c7d8d781c7b105f679a47.jpg","text":"TemporaryFile(/tmp/multipartBody7092800912070003059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746184956258,"filename":"image_02052025_10_55_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355289151","file1":"1355289146","file0":"1355289141","file4":"1355289158","file5":"1355289163","file3":"1355289154"},"map_files_photo_id_array":[{"photo_id":"1355289163","filename":"file5"},{"photo_id":"1355289151","filename":"file2"},{"photo_id":"1355289158","filename":"file4"},{"photo_id":"1355289146","filename":"file1"},{"photo_id":"1355289141","filename":"file0"},{"photo_id":"1355289154","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355289163":["hashtag1","hashtag2"]},{"1355289151":["hashtag1","hashtag2"]},{"1355289154":["hashtag1","hashtag2"]},{"1355289141":["hashtag1","hashtag2"]},{"1355289158":["hashtag1","hashtag2"]},{"1355289146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355289163, 1355289151, 1355289154, 1355289141, 1355289158, 1355289146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84157633781433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:22:32.534190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/56/image_02052025_10_56_25_10403.jpg', '/home/pi/Desktop/images/02052025/10/56/image_02052025_10_56_35_10372.jpg', '/home/pi/Desktop/images/02052025/10/56/image_02052025_10_56_44_9331.jpg', '/home/pi/Desktop/images/02052025/10/56/image_02052025_10_56_55_10344.jpg', '/home/pi/Desktop/images/02052025/10/56/image_02052025_10_57_04_9457.jpg', '/home/pi/Desktop/images/02052025/10/57/image_02052025_10_57_15_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/56/image_02052025_10_56_25_10403.jpg
/home/pi/Desktop/images/02052025/10/56/image_02052025_10_56_35_10372.jpg
/home/pi/Desktop/images/02052025/10/56/image_02052025_10_56_44_9331.jpg
/home/pi/Desktop/images/02052025/10/56/image_02052025_10_56_55_10344.jpg
/home/pi/Desktop/images/02052025/10/56/image_02052025_10_57_04_9457.jpg
/home/pi/Desktop/images/02052025/10/57/image_02052025_10_57_15_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355289178","1355289198","1355289183","1355289201","1355289194","1355289188"],"photo_ids_order":["1355289178","1355289183","1355289188","1355289194","1355289198","1355289201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1798633c7289e320b066edd9205404b0.jpg","text":"TemporaryFile(/tmp/multipartBody8961953724437598506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185013136,"filename":"image_02052025_10_56_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/5/2/870a4e2c5d5d568a3719e59692337cfd.jpg","text":"TemporaryFile(/tmp/multipartBody2022242033299341155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185013136,"filename":"image_02052025_10_57_04_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd2271f1edafee42770578e086c0ec92.jpg","text":"TemporaryFile(/tmp/multipartBody3008496204128960171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185013136,"filename":"image_02052025_10_56_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/5/2/4ec5ac104a08ca2276c54e13d3fc62be.jpg","text":"TemporaryFile(/tmp/multipartBody8184567524242581040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185013136,"filename":"image_02052025_10_57_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/5/2/20c7f9cfa9780077a4b9b7e0a291ca96.jpg","text":"TemporaryFile(/tmp/multipartBody9220207680516843197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185013136,"filename":"image_02052025_10_56_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6729c7b783c85869e9ed4cc15130fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7066041919170217862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185013136,"filename":"image_02052025_10_56_44_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355289188","file1":"1355289183","file0":"1355289178","file4":"1355289198","file5":"1355289201","file3":"1355289194"},"map_files_photo_id_array":[{"photo_id":"1355289201","filename":"file5"},{"photo_id":"1355289188","filename":"file2"},{"photo_id":"1355289198","filename":"file4"},{"photo_id":"1355289183","filename":"file1"},{"photo_id":"1355289178","filename":"file0"},{"photo_id":"1355289194","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355289178":["hashtag1","hashtag2"]},{"1355289198":["hashtag1","hashtag2"]},{"1355289183":["hashtag1","hashtag2"]},{"1355289201":["hashtag1","hashtag2"]},{"1355289194":["hashtag1","hashtag2"]},{"1355289188":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355289178, 1355289198, 1355289183, 1355289201, 1355289194, 1355289188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57142996788025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:23:32.815832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/57/image_02052025_10_57_25_10368.jpg', '/home/pi/Desktop/images/02052025/10/57/image_02052025_10_57_34_9434.jpg', '/home/pi/Desktop/images/02052025/10/57/image_02052025_10_57_45_10350.jpg', '/home/pi/Desktop/images/02052025/10/57/image_02052025_10_57_55_10364.jpg', '/home/pi/Desktop/images/02052025/10/57/image_02052025_10_58_04_9344.jpg', '/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_15_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/57/image_02052025_10_57_25_10368.jpg
/home/pi/Desktop/images/02052025/10/57/image_02052025_10_57_34_9434.jpg
/home/pi/Desktop/images/02052025/10/57/image_02052025_10_57_45_10350.jpg
/home/pi/Desktop/images/02052025/10/57/image_02052025_10_57_55_10364.jpg
/home/pi/Desktop/images/02052025/10/57/image_02052025_10_58_04_9344.jpg
/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_15_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355289274","1355289268","1355289283","1355289223","1355289220","1355289279"],"photo_ids_order":["1355289220","1355289223","1355289268","1355289274","1355289279","1355289283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c8b49bff7df5028eea839c599065e3a7.jpg","text":"TemporaryFile(/tmp/multipartBody2580419666015115113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185073293,"filename":"image_02052025_10_57_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/5/2/e06e175b67ede37fa366b3c1da533394.jpg","text":"TemporaryFile(/tmp/multipartBody2875797636578720871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185073293,"filename":"image_02052025_10_57_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/5/2/bf98eb63a9d7fe5adc83959bb91c0512.jpg","text":"TemporaryFile(/tmp/multipartBody3574359302808400524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185073293,"filename":"image_02052025_10_58_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/5/2/ddd5aee80fcb8a430eabac3f3dc93fda.jpg","text":"TemporaryFile(/tmp/multipartBody9173934797274561669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185073293,"filename":"image_02052025_10_57_34_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea41fe87a3d6eb0d71aa716ab3c2e7d1.jpg","text":"TemporaryFile(/tmp/multipartBody3133431465471388016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185073293,"filename":"image_02052025_10_57_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/5/2/0f5c58ac1d6a8fc4ab3d57b247b2e046.jpg","text":"TemporaryFile(/tmp/multipartBody1326451474002229467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185073293,"filename":"image_02052025_10_58_04_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355289268","file1":"1355289223","file0":"1355289220","file4":"1355289279","file5":"1355289283","file3":"1355289274"},"map_files_photo_id_array":[{"photo_id":"1355289283","filename":"file5"},{"photo_id":"1355289268","filename":"file2"},{"photo_id":"1355289279","filename":"file4"},{"photo_id":"1355289223","filename":"file1"},{"photo_id":"1355289220","filename":"file0"},{"photo_id":"1355289274","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355289274":["hashtag1","hashtag2"]},{"1355289268":["hashtag1","hashtag2"]},{"1355289283":["hashtag1","hashtag2"]},{"1355289223":["hashtag1","hashtag2"]},{"1355289220":["hashtag1","hashtag2"]},{"1355289279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355289274, 1355289268, 1355289283, 1355289223, 1355289220, 1355289279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50589871406555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:24:33.126010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_24_9346.jpg', '/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_35_10361.jpg', '/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_45_10363.jpg', '/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_54_9436.jpg', '/home/pi/Desktop/images/02052025/10/58/image_02052025_10_59_05_10366.jpg', '/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_15_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_24_9346.jpg
/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_35_10361.jpg
/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_45_10363.jpg
/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_54_9436.jpg
/home/pi/Desktop/images/02052025/10/58/image_02052025_10_59_05_10366.jpg
/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_15_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3762989044189453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 13:24:43.187131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_24_9346.jpg', '/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_35_10361.jpg', '/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_45_10363.jpg', '/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_54_9436.jpg', '/home/pi/Desktop/images/02052025/10/58/image_02052025_10_59_05_10366.jpg', '/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_15_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_24_9346.jpg
/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_35_10361.jpg
/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_45_10363.jpg
/home/pi/Desktop/images/02052025/10/58/image_02052025_10_58_54_9436.jpg
/home/pi/Desktop/images/02052025/10/58/image_02052025_10_59_05_10366.jpg
/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_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":["1355289331","1355289348","1355289321","1355289368","1355289350","1355289344"],"photo_ids_order":["1355289321","1355289331","1355289344","1355289348","1355289350","1355289368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ebbe3c5aa9504530d65449c23d8a604e.jpg","text":"TemporaryFile(/tmp/multipartBody5133670816415686789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185143657,"filename":"image_02052025_10_58_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/5/2/316d40d3e0462495b5c18433e0175192.jpg","text":"TemporaryFile(/tmp/multipartBody3564040340379245666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185143657,"filename":"image_02052025_10_58_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/5/2/bb356dfe1e493d454ed3d920b4f88883.jpg","text":"TemporaryFile(/tmp/multipartBody4181139433217879928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185143657,"filename":"image_02052025_10_58_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/5/2/adc0988e2930d0ff5847ca5c33aa6d88.jpg","text":"TemporaryFile(/tmp/multipartBody2768025197171627546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185143657,"filename":"image_02052025_10_59_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/5/2/189b3c68a74f5cd5143dcd37c5a167ac.jpg","text":"TemporaryFile(/tmp/multipartBody5211447832388545634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185143657,"filename":"image_02052025_10_59_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/5/2/919094fb828a5c94b965ea9dfac61d8c.jpg","text":"TemporaryFile(/tmp/multipartBody7946841322234177301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185143657,"filename":"image_02052025_10_58_45_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355289344","file1":"1355289331","file0":"1355289321","file4":"1355289350","file5":"1355289368","file3":"1355289348"},"map_files_photo_id_array":[{"photo_id":"1355289368","filename":"file5"},{"photo_id":"1355289344","filename":"file2"},{"photo_id":"1355289350","filename":"file4"},{"photo_id":"1355289331","filename":"file1"},{"photo_id":"1355289321","filename":"file0"},{"photo_id":"1355289348","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355289331":["hashtag1","hashtag2"]},{"1355289348":["hashtag1","hashtag2"]},{"1355289321":["hashtag1","hashtag2"]},{"1355289368":["hashtag1","hashtag2"]},{"1355289350":["hashtag1","hashtag2"]},{"1355289344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355289331, 1355289348, 1355289321, 1355289368, 1355289350, 1355289344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.893136978149414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:25:32.338910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_24_9408.jpg', '/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_35_10352.jpg', '/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_44_9351.jpg', '/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_55_10346.jpg', '/home/pi/Desktop/images/02052025/11/00/image_02052025_11_00_16_10069.jpg', '/home/pi/Desktop/images/02052025/11/00/image_02052025_11_00_26_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_24_9408.jpg
/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_35_10352.jpg
/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_44_9351.jpg
/home/pi/Desktop/images/02052025/10/59/image_02052025_10_59_55_10346.jpg
/home/pi/Desktop/images/02052025/11/00/image_02052025_11_00_16_10069.jpg
/home/pi/Desktop/images/02052025/11/00/image_02052025_11_00_26_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355289416","1355289382","1355289378","1355289432","1355289411","1355289395"],"photo_ids_order":["1355289378","1355289382","1355289395","1355289411","1355289416","1355289432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/02325e7bb3730d3fcd2db67c7e8206c4.jpg","text":"TemporaryFile(/tmp/multipartBody3998769765922653593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185192802,"filename":"image_02052025_11_00_16_10069.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd73b3ba382ef2359a6e9eca48bfbd1a.jpg","text":"TemporaryFile(/tmp/multipartBody284930126825082153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185192802,"filename":"image_02052025_10_59_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d9d487c5161aaa0ede78f097e6b25132.jpg","text":"TemporaryFile(/tmp/multipartBody8446663382583318104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185192802,"filename":"image_02052025_10_59_24_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ef0bbd9cbb9ae0c63652903f3882552.jpg","text":"TemporaryFile(/tmp/multipartBody813244684378514772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185192802,"filename":"image_02052025_11_00_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/5/2/b84477c34948ce6defa69dca9ad61ff9.jpg","text":"TemporaryFile(/tmp/multipartBody5602644124117060261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185192802,"filename":"image_02052025_10_59_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/5/2/2fbfb82d92f9245eeefd4f1f0b990c47.jpg","text":"TemporaryFile(/tmp/multipartBody7683232611100780734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185192802,"filename":"image_02052025_10_59_44_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355289395","file1":"1355289382","file0":"1355289378","file4":"1355289416","file5":"1355289432","file3":"1355289411"},"map_files_photo_id_array":[{"photo_id":"1355289432","filename":"file5"},{"photo_id":"1355289395","filename":"file2"},{"photo_id":"1355289416","filename":"file4"},{"photo_id":"1355289382","filename":"file1"},{"photo_id":"1355289378","filename":"file0"},{"photo_id":"1355289411","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355289416":["hashtag1","hashtag2"]},{"1355289382":["hashtag1","hashtag2"]},{"1355289378":["hashtag1","hashtag2"]},{"1355289432":["hashtag1","hashtag2"]},{"1355289411":["hashtag1","hashtag2"]},{"1355289395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355289416, 1355289382, 1355289378, 1355289432, 1355289411, 1355289395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.933496952056885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:26:32.542908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/00/image_02052025_11_00_36_10443.jpg', '/home/pi/Desktop/images/02052025/11/00/image_02052025_11_00_46_9380.jpg', '/home/pi/Desktop/images/02052025/11/00/image_02052025_11_00_56_10365.jpg', '/home/pi/Desktop/images/02052025/11/00/image_02052025_11_01_06_9456.jpg', '/home/pi/Desktop/images/02052025/11/01/image_02052025_11_01_16_10342.jpg', '/home/pi/Desktop/images/02052025/11/01/image_02052025_11_01_26_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/00/image_02052025_11_00_36_10443.jpg
/home/pi/Desktop/images/02052025/11/00/image_02052025_11_00_46_9380.jpg
/home/pi/Desktop/images/02052025/11/00/image_02052025_11_00_56_10365.jpg
/home/pi/Desktop/images/02052025/11/00/image_02052025_11_01_06_9456.jpg
/home/pi/Desktop/images/02052025/11/01/image_02052025_11_01_16_10342.jpg
/home/pi/Desktop/images/02052025/11/01/image_02052025_11_01_26_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355289523","1355289534","1355289513","1355289519","1355289530","1355289527"],"photo_ids_order":["1355289513","1355289519","1355289523","1355289527","1355289530","1355289534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/feb945dcbd895edb70594f6f554bc3af.jpg","text":"TemporaryFile(/tmp/multipartBody4941060950875113333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185253005,"filename":"image_02052025_11_00_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/5/2/e2143d864460e0b74499bfe31f22c048.jpg","text":"TemporaryFile(/tmp/multipartBody7664662936669395183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185253005,"filename":"image_02052025_11_01_26_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd50f63870ec5fe16be604689d06166c.jpg","text":"TemporaryFile(/tmp/multipartBody5535036745636914146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185253005,"filename":"image_02052025_11_00_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/5/2/948dc4d9eb29002e3f6397467d7ad9ac.jpg","text":"TemporaryFile(/tmp/multipartBody8570974955895545603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185253005,"filename":"image_02052025_11_00_46_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0447138b7d5796de1199091dcd49fb73.jpg","text":"TemporaryFile(/tmp/multipartBody4928072237034063555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185253005,"filename":"image_02052025_11_01_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/5/2/97a2c5cff27e57c53508f888be37a5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1161015977124731909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185253005,"filename":"image_02052025_11_01_06_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355289523","file1":"1355289519","file0":"1355289513","file4":"1355289530","file5":"1355289534","file3":"1355289527"},"map_files_photo_id_array":[{"photo_id":"1355289534","filename":"file5"},{"photo_id":"1355289523","filename":"file2"},{"photo_id":"1355289530","filename":"file4"},{"photo_id":"1355289519","filename":"file1"},{"photo_id":"1355289513","filename":"file0"},{"photo_id":"1355289527","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355289523":["hashtag1","hashtag2"]},{"1355289534":["hashtag1","hashtag2"]},{"1355289513":["hashtag1","hashtag2"]},{"1355289519":["hashtag1","hashtag2"]},{"1355289530":["hashtag1","hashtag2"]},{"1355289527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355289523, 1355289534, 1355289513, 1355289519, 1355289530, 1355289527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.291361808776855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:27:32.754285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/01/image_02052025_11_01_36_9431.jpg', '/home/pi/Desktop/images/02052025/11/01/image_02052025_11_01_46_10340.jpg', '/home/pi/Desktop/images/02052025/11/01/image_02052025_11_01_56_9468.jpg', '/home/pi/Desktop/images/02052025/11/01/image_02052025_11_02_06_10356.jpg', '/home/pi/Desktop/images/02052025/11/02/image_02052025_11_02_16_10497.jpg', '/home/pi/Desktop/images/02052025/11/02/image_02052025_11_02_36_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/01/image_02052025_11_01_36_9431.jpg
/home/pi/Desktop/images/02052025/11/01/image_02052025_11_01_46_10340.jpg
/home/pi/Desktop/images/02052025/11/01/image_02052025_11_01_56_9468.jpg
/home/pi/Desktop/images/02052025/11/01/image_02052025_11_02_06_10356.jpg
/home/pi/Desktop/images/02052025/11/02/image_02052025_11_02_16_10497.jpg
/home/pi/Desktop/images/02052025/11/02/image_02052025_11_02_36_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355289652","1355289643","1355289660","1355289663","1355289647","1355289656"],"photo_ids_order":["1355289643","1355289647","1355289652","1355289656","1355289660","1355289663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3941bd2e0e7c52b219ea09419de559f4.jpg","text":"TemporaryFile(/tmp/multipartBody2304787324069727040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185313252,"filename":"image_02052025_11_01_56_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb40c35d66d08b83127f49996a3c3e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1274310386904026818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185313252,"filename":"image_02052025_11_01_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/5/2/9d0e0c797667fa88d34ada6f47862d97.jpg","text":"TemporaryFile(/tmp/multipartBody6376016778163389256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185313252,"filename":"image_02052025_11_02_16_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aeef56a874aad064b1e5c49d2c94d60e.jpg","text":"TemporaryFile(/tmp/multipartBody7493718134732256359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185313252,"filename":"image_02052025_11_02_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/5/2/ae6d671b00e0db5bb6ee308d0b219877.jpg","text":"TemporaryFile(/tmp/multipartBody3417803307327959059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185313252,"filename":"image_02052025_11_01_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/5/2/986740091736b1f901a0eda71ce7d2fc.jpg","text":"TemporaryFile(/tmp/multipartBody6448392488533314683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185313252,"filename":"image_02052025_11_02_06_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355289652","file1":"1355289647","file0":"1355289643","file4":"1355289660","file5":"1355289663","file3":"1355289656"},"map_files_photo_id_array":[{"photo_id":"1355289663","filename":"file5"},{"photo_id":"1355289652","filename":"file2"},{"photo_id":"1355289660","filename":"file4"},{"photo_id":"1355289647","filename":"file1"},{"photo_id":"1355289643","filename":"file0"},{"photo_id":"1355289656","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355289652":["hashtag1","hashtag2"]},{"1355289643":["hashtag1","hashtag2"]},{"1355289660":["hashtag1","hashtag2"]},{"1355289663":["hashtag1","hashtag2"]},{"1355289647":["hashtag1","hashtag2"]},{"1355289656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355289652, 1355289643, 1355289660, 1355289663, 1355289647, 1355289656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79514980316162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:28:32.959143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/02/image_02052025_11_02_46_9368.jpg', '/home/pi/Desktop/images/02052025/11/02/image_02052025_11_02_56_10361.jpg', '/home/pi/Desktop/images/02052025/11/02/image_02052025_11_03_06_9761.jpg', '/home/pi/Desktop/images/02052025/11/03/image_02052025_11_03_16_10338.jpg', '/home/pi/Desktop/images/02052025/11/03/image_02052025_11_03_26_10466.jpg', '/home/pi/Desktop/images/02052025/11/03/image_02052025_11_03_36_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/02/image_02052025_11_02_46_9368.jpg
/home/pi/Desktop/images/02052025/11/02/image_02052025_11_02_56_10361.jpg
/home/pi/Desktop/images/02052025/11/02/image_02052025_11_03_06_9761.jpg
/home/pi/Desktop/images/02052025/11/03/image_02052025_11_03_16_10338.jpg
/home/pi/Desktop/images/02052025/11/03/image_02052025_11_03_26_10466.jpg
/home/pi/Desktop/images/02052025/11/03/image_02052025_11_03_36_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355289691","1355289685","1355289688","1355289700","1355289696","1355289681"],"photo_ids_order":["1355289681","1355289685","1355289688","1355289691","1355289696","1355289700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ebb6f61269e3c5b8a22f2ae2fbdb197.jpg","text":"TemporaryFile(/tmp/multipartBody5325889955444922564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185373420,"filename":"image_02052025_11_03_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/5/2/e542b9793b5028f57f9dbd0eba4bda09.jpg","text":"TemporaryFile(/tmp/multipartBody4933067985991198401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185373420,"filename":"image_02052025_11_02_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/5/2/a18b094cc15effe9e448cf75405ed62c.jpg","text":"TemporaryFile(/tmp/multipartBody8168464603862512944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185373420,"filename":"image_02052025_11_03_06_9761.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0bc0582004419987755fe57ccc124f06.jpg","text":"TemporaryFile(/tmp/multipartBody4685167713690908097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185373420,"filename":"image_02052025_11_03_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/5/2/c525456fa7a1eec6dc72227099050cab.jpg","text":"TemporaryFile(/tmp/multipartBody2771962245082336795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185373420,"filename":"image_02052025_11_03_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/5/2/2084678e82bd040a511a1bcb11d3c268.jpg","text":"TemporaryFile(/tmp/multipartBody5365546020620219959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185373420,"filename":"image_02052025_11_02_46_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355289688","file1":"1355289685","file0":"1355289681","file4":"1355289696","file5":"1355289700","file3":"1355289691"},"map_files_photo_id_array":[{"photo_id":"1355289700","filename":"file5"},{"photo_id":"1355289688","filename":"file2"},{"photo_id":"1355289696","filename":"file4"},{"photo_id":"1355289685","filename":"file1"},{"photo_id":"1355289681","filename":"file0"},{"photo_id":"1355289691","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355289691":["hashtag1","hashtag2"]},{"1355289685":["hashtag1","hashtag2"]},{"1355289688":["hashtag1","hashtag2"]},{"1355289700":["hashtag1","hashtag2"]},{"1355289696":["hashtag1","hashtag2"]},{"1355289681":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355289691, 1355289685, 1355289688, 1355289700, 1355289696, 1355289681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.7379310131073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:29:32.274687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/03/image_02052025_11_03_46_10389.jpg', '/home/pi/Desktop/images/02052025/11/03/image_02052025_11_03_56_9416.jpg', '/home/pi/Desktop/images/02052025/11/03/image_02052025_11_04_06_10354.jpg', '/home/pi/Desktop/images/02052025/11/04/image_02052025_11_04_16_10480.jpg', '/home/pi/Desktop/images/02052025/11/04/image_02052025_11_04_26_9367.jpg', '/home/pi/Desktop/images/02052025/11/04/image_02052025_11_04_36_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/03/image_02052025_11_03_46_10389.jpg
/home/pi/Desktop/images/02052025/11/03/image_02052025_11_03_56_9416.jpg
/home/pi/Desktop/images/02052025/11/03/image_02052025_11_04_06_10354.jpg
/home/pi/Desktop/images/02052025/11/04/image_02052025_11_04_16_10480.jpg
/home/pi/Desktop/images/02052025/11/04/image_02052025_11_04_26_9367.jpg
/home/pi/Desktop/images/02052025/11/04/image_02052025_11_04_36_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355289763","1355289733","1355289727","1355289723","1355289752","1355289758"],"photo_ids_order":["1355289723","1355289727","1355289733","1355289752","1355289758","1355289763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1688d17e4d87e9efc34f81ed8f938000.jpg","text":"TemporaryFile(/tmp/multipartBody3290771421651655264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185432740,"filename":"image_02052025_11_04_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/5/2/e6f37e531909102bef788be7da4f7f32.jpg","text":"TemporaryFile(/tmp/multipartBody5609586337583397517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185432740,"filename":"image_02052025_11_04_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/5/2/ca0d49b083c01ce62d07ef3a08ff0fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4929146228334454915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185432740,"filename":"image_02052025_11_03_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/5/2/89c3dc2fe9f7934cedf693586fb4e2ea.jpg","text":"TemporaryFile(/tmp/multipartBody2348805094499539846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185432740,"filename":"image_02052025_11_03_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/5/2/83afd5c5ac7c32647136994a6a106d14.jpg","text":"TemporaryFile(/tmp/multipartBody7107483504378447410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185432740,"filename":"image_02052025_11_04_16_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de60c676a82e3086798ade98c01879bc.jpg","text":"TemporaryFile(/tmp/multipartBody4605030427555563295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185432740,"filename":"image_02052025_11_04_26_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355289733","file1":"1355289727","file0":"1355289723","file4":"1355289758","file5":"1355289763","file3":"1355289752"},"map_files_photo_id_array":[{"photo_id":"1355289763","filename":"file5"},{"photo_id":"1355289733","filename":"file2"},{"photo_id":"1355289758","filename":"file4"},{"photo_id":"1355289727","filename":"file1"},{"photo_id":"1355289723","filename":"file0"},{"photo_id":"1355289752","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355289763":["hashtag1","hashtag2"]},{"1355289733":["hashtag1","hashtag2"]},{"1355289727":["hashtag1","hashtag2"]},{"1355289723":["hashtag1","hashtag2"]},{"1355289752":["hashtag1","hashtag2"]},{"1355289758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355289763, 1355289733, 1355289727, 1355289723, 1355289752, 1355289758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.329967737197876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:30:32.486384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/04/image_02052025_11_04_46_9442.jpg', '/home/pi/Desktop/images/02052025/11/04/image_02052025_11_04_56_10367.jpg', '/home/pi/Desktop/images/02052025/11/04/image_02052025_11_05_06_10467.jpg', '/home/pi/Desktop/images/02052025/11/05/image_02052025_11_05_16_9367.jpg', '/home/pi/Desktop/images/02052025/11/05/image_02052025_11_05_26_10392.jpg', '/home/pi/Desktop/images/02052025/11/05/image_02052025_11_05_36_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/04/image_02052025_11_04_46_9442.jpg
/home/pi/Desktop/images/02052025/11/04/image_02052025_11_04_56_10367.jpg
/home/pi/Desktop/images/02052025/11/04/image_02052025_11_05_06_10467.jpg
/home/pi/Desktop/images/02052025/11/05/image_02052025_11_05_16_9367.jpg
/home/pi/Desktop/images/02052025/11/05/image_02052025_11_05_26_10392.jpg
/home/pi/Desktop/images/02052025/11/05/image_02052025_11_05_36_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355289796","1355289790","1355289786","1355289780","1355289828","1355289857"],"photo_ids_order":["1355289780","1355289786","1355289790","1355289796","1355289828","1355289857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/790d4f76ae026243140a5199b34c2d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5486183255075227735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185492949,"filename":"image_02052025_11_05_16_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb2c5c43651b6ffbae378319421acefa.jpg","text":"TemporaryFile(/tmp/multipartBody7902635509342215380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185492949,"filename":"image_02052025_11_05_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/5/2/02b3d5726cef1b136dd6160e129cb732.jpg","text":"TemporaryFile(/tmp/multipartBody4553686422571146481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185492949,"filename":"image_02052025_11_04_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/5/2/08f92ac33294f2129931138f191db8f4.jpg","text":"TemporaryFile(/tmp/multipartBody2553433316025515589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185492949,"filename":"image_02052025_11_04_46_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/99b2e819367e532b4d4eb8c5b1994b65.jpg","text":"TemporaryFile(/tmp/multipartBody7221456760660671811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185492949,"filename":"image_02052025_11_05_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/5/2/22fbff9270cd5085a10cdc4d1198b5bf.jpg","text":"TemporaryFile(/tmp/multipartBody415350684727165719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185492949,"filename":"image_02052025_11_05_36_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355289790","file1":"1355289786","file0":"1355289780","file4":"1355289828","file5":"1355289857","file3":"1355289796"},"map_files_photo_id_array":[{"photo_id":"1355289857","filename":"file5"},{"photo_id":"1355289790","filename":"file2"},{"photo_id":"1355289828","filename":"file4"},{"photo_id":"1355289786","filename":"file1"},{"photo_id":"1355289780","filename":"file0"},{"photo_id":"1355289796","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355289796":["hashtag1","hashtag2"]},{"1355289790":["hashtag1","hashtag2"]},{"1355289786":["hashtag1","hashtag2"]},{"1355289780":["hashtag1","hashtag2"]},{"1355289828":["hashtag1","hashtag2"]},{"1355289857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355289796, 1355289790, 1355289786, 1355289780, 1355289828, 1355289857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96660280227661 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:31:32.618117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/05/image_02052025_11_05_46_10343.jpg', '/home/pi/Desktop/images/02052025/11/05/image_02052025_11_05_56_10436.jpg', '/home/pi/Desktop/images/02052025/11/05/image_02052025_11_06_06_9400.jpg', '/home/pi/Desktop/images/02052025/11/06/image_02052025_11_06_16_10335.jpg', '/home/pi/Desktop/images/02052025/11/06/image_02052025_11_06_26_9453.jpg', '/home/pi/Desktop/images/02052025/11/06/image_02052025_11_06_36_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/05/image_02052025_11_05_46_10343.jpg
/home/pi/Desktop/images/02052025/11/05/image_02052025_11_05_56_10436.jpg
/home/pi/Desktop/images/02052025/11/05/image_02052025_11_06_06_9400.jpg
/home/pi/Desktop/images/02052025/11/06/image_02052025_11_06_16_10335.jpg
/home/pi/Desktop/images/02052025/11/06/image_02052025_11_06_26_9453.jpg
/home/pi/Desktop/images/02052025/11/06/image_02052025_11_06_36_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355290106","1355290093","1355290102","1355290089","1355290097","1355290070"],"photo_ids_order":["1355290070","1355290089","1355290093","1355290097","1355290102","1355290106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/790f38ca18d5ed979af7977edb0e971f.jpg","text":"TemporaryFile(/tmp/multipartBody596613517018923530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185553102,"filename":"image_02052025_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/5/2/0cd42a1cb7ffac1275f1209d65c5ea83.jpg","text":"TemporaryFile(/tmp/multipartBody4374625048179348194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185553102,"filename":"image_02052025_11_06_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f82b23b4a01b8953fd7bc3429eb60f73.jpg","text":"TemporaryFile(/tmp/multipartBody1720211785056373377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185553102,"filename":"image_02052025_11_06_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/5/2/c1035ff5ec7f9e99248ffd01731a9c80.jpg","text":"TemporaryFile(/tmp/multipartBody1867106771004145867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185553102,"filename":"image_02052025_11_05_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/5/2/f0d0e9abf7ae4f26cf56ba9f4be607f1.jpg","text":"TemporaryFile(/tmp/multipartBody821387951207694447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185553102,"filename":"image_02052025_11_06_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/5/2/d5d16cbb7528b016ed769b11ad8c75d6.jpg","text":"TemporaryFile(/tmp/multipartBody8594974385514786299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185553102,"filename":"image_02052025_11_05_46_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355290093","file1":"1355290089","file0":"1355290070","file4":"1355290102","file5":"1355290106","file3":"1355290097"},"map_files_photo_id_array":[{"photo_id":"1355290106","filename":"file5"},{"photo_id":"1355290093","filename":"file2"},{"photo_id":"1355290102","filename":"file4"},{"photo_id":"1355290089","filename":"file1"},{"photo_id":"1355290070","filename":"file0"},{"photo_id":"1355290097","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355290106":["hashtag1","hashtag2"]},{"1355290093":["hashtag1","hashtag2"]},{"1355290102":["hashtag1","hashtag2"]},{"1355290089":["hashtag1","hashtag2"]},{"1355290097":["hashtag1","hashtag2"]},{"1355290070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355290106, 1355290093, 1355290102, 1355290089, 1355290097, 1355290070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69847917556763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:32:32.793955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/06/image_02052025_11_06_46_10453.jpg', '/home/pi/Desktop/images/02052025/11/06/image_02052025_11_06_56_9379.jpg', '/home/pi/Desktop/images/02052025/11/06/image_02052025_11_07_06_10363.jpg', '/home/pi/Desktop/images/02052025/11/07/image_02052025_11_07_16_9432.jpg', '/home/pi/Desktop/images/02052025/11/07/image_02052025_11_07_26_10362.jpg', '/home/pi/Desktop/images/02052025/11/07/image_02052025_11_07_36_10503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/06/image_02052025_11_06_46_10453.jpg
/home/pi/Desktop/images/02052025/11/06/image_02052025_11_06_56_9379.jpg
/home/pi/Desktop/images/02052025/11/06/image_02052025_11_07_06_10363.jpg
/home/pi/Desktop/images/02052025/11/07/image_02052025_11_07_16_9432.jpg
/home/pi/Desktop/images/02052025/11/07/image_02052025_11_07_26_10362.jpg
/home/pi/Desktop/images/02052025/11/07/image_02052025_11_07_36_10503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355290124","1355290136","1355290132","1355290128","1355290157","1355290142"],"photo_ids_order":["1355290124","1355290128","1355290132","1355290136","1355290142","1355290157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb067f775b4bf34b37cd94cd4721ae75.jpg","text":"TemporaryFile(/tmp/multipartBody9012538919876129664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185613276,"filename":"image_02052025_11_06_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/5/2/d3349117f997224a37104bfda45dd6cc.jpg","text":"TemporaryFile(/tmp/multipartBody6566917979574015350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185613276,"filename":"image_02052025_11_07_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/5/2/b0ccee46d4cc4104a5aee1fe70fa4d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5143687998300976615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185613276,"filename":"image_02052025_11_07_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/5/2/2465c9480e202eb79bfe5c9b2e613e3c.jpg","text":"TemporaryFile(/tmp/multipartBody1595403071040610057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185613276,"filename":"image_02052025_11_06_56_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d9fa8cbd47aff1c2f5270c6990264f2b.jpg","text":"TemporaryFile(/tmp/multipartBody1120399761269775578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185613276,"filename":"image_02052025_11_07_36_10503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5bad48f7eaf9b81c8e47917a51848cf5.jpg","text":"TemporaryFile(/tmp/multipartBody8455823484638062879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185613276,"filename":"image_02052025_11_07_26_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355290132","file1":"1355290128","file0":"1355290124","file4":"1355290142","file5":"1355290157","file3":"1355290136"},"map_files_photo_id_array":[{"photo_id":"1355290157","filename":"file5"},{"photo_id":"1355290132","filename":"file2"},{"photo_id":"1355290142","filename":"file4"},{"photo_id":"1355290128","filename":"file1"},{"photo_id":"1355290124","filename":"file0"},{"photo_id":"1355290136","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355290124":["hashtag1","hashtag2"]},{"1355290136":["hashtag1","hashtag2"]},{"1355290132":["hashtag1","hashtag2"]},{"1355290128":["hashtag1","hashtag2"]},{"1355290157":["hashtag1","hashtag2"]},{"1355290142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355290124, 1355290136, 1355290132, 1355290128, 1355290157, 1355290142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42868995666504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:33:32.963849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/07/image_02052025_11_07_46_9398.jpg', '/home/pi/Desktop/images/02052025/11/07/image_02052025_11_07_56_10366.jpg', '/home/pi/Desktop/images/02052025/11/07/image_02052025_11_08_06_9407.jpg', '/home/pi/Desktop/images/02052025/11/08/image_02052025_11_08_16_10382.jpg', '/home/pi/Desktop/images/02052025/11/08/image_02052025_11_08_26_10444.jpg', '/home/pi/Desktop/images/02052025/11/08/image_02052025_11_08_46_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/07/image_02052025_11_07_46_9398.jpg
/home/pi/Desktop/images/02052025/11/07/image_02052025_11_07_56_10366.jpg
/home/pi/Desktop/images/02052025/11/07/image_02052025_11_08_06_9407.jpg
/home/pi/Desktop/images/02052025/11/08/image_02052025_11_08_16_10382.jpg
/home/pi/Desktop/images/02052025/11/08/image_02052025_11_08_26_10444.jpg
/home/pi/Desktop/images/02052025/11/08/image_02052025_11_08_46_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355290198","1355290195","1355290383","1355290191","1355290470","1355290467"],"photo_ids_order":["1355290191","1355290195","1355290198","1355290383","1355290467","1355290470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3ccf27557296241ce196efb154da9a43.jpg","text":"TemporaryFile(/tmp/multipartBody5417092768206717359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185673421,"filename":"image_02052025_11_08_06_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a5a7fe3a4d21dec74c346b8ff4a65a28.jpg","text":"TemporaryFile(/tmp/multipartBody5331033480397639594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185673421,"filename":"image_02052025_11_07_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/5/2/50f3d8d5c16f62a2d19300deb682f9f9.jpg","text":"TemporaryFile(/tmp/multipartBody2449752965264785059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185673421,"filename":"image_02052025_11_08_16_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/19212fba4c0f2dc8eb3cb552b8b0423d.jpg","text":"TemporaryFile(/tmp/multipartBody8164550669841634951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185673421,"filename":"image_02052025_11_07_46_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3470398bfab41966795dc3c9048d642d.jpg","text":"TemporaryFile(/tmp/multipartBody2276987010950663795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185673421,"filename":"image_02052025_11_08_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/5/2/fbea62f34bd3789a25abde8a5883dd76.jpg","text":"TemporaryFile(/tmp/multipartBody880020460081064772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185673421,"filename":"image_02052025_11_08_26_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355290198","file1":"1355290195","file0":"1355290191","file4":"1355290467","file5":"1355290470","file3":"1355290383"},"map_files_photo_id_array":[{"photo_id":"1355290470","filename":"file5"},{"photo_id":"1355290198","filename":"file2"},{"photo_id":"1355290467","filename":"file4"},{"photo_id":"1355290195","filename":"file1"},{"photo_id":"1355290191","filename":"file0"},{"photo_id":"1355290383","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355290198":["hashtag1","hashtag2"]},{"1355290195":["hashtag1","hashtag2"]},{"1355290383":["hashtag1","hashtag2"]},{"1355290191":["hashtag1","hashtag2"]},{"1355290470":["hashtag1","hashtag2"]},{"1355290467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355290198, 1355290195, 1355290383, 1355290191, 1355290470, 1355290467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.179455995559692 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:34:32.178331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/08/image_02052025_11_08_56_10345.jpg', '/home/pi/Desktop/images/02052025/11/08/image_02052025_11_09_06_9365.jpg', '/home/pi/Desktop/images/02052025/11/09/image_02052025_11_09_16_10346.jpg', '/home/pi/Desktop/images/02052025/11/09/image_02052025_11_09_26_9356.jpg', '/home/pi/Desktop/images/02052025/11/09/image_02052025_11_09_36_10338.jpg', '/home/pi/Desktop/images/02052025/11/09/image_02052025_11_09_46_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/08/image_02052025_11_08_56_10345.jpg
/home/pi/Desktop/images/02052025/11/08/image_02052025_11_09_06_9365.jpg
/home/pi/Desktop/images/02052025/11/09/image_02052025_11_09_16_10346.jpg
/home/pi/Desktop/images/02052025/11/09/image_02052025_11_09_26_9356.jpg
/home/pi/Desktop/images/02052025/11/09/image_02052025_11_09_36_10338.jpg
/home/pi/Desktop/images/02052025/11/09/image_02052025_11_09_46_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":["1355290649","1355290693","1355290761","1355290755","1355290764","1355290644"],"photo_ids_order":["1355290644","1355290649","1355290693","1355290755","1355290761","1355290764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7a2fc5c0c5a4f4cacebb414cf62921a0.jpg","text":"TemporaryFile(/tmp/multipartBody8160396340728557412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185732652,"filename":"image_02052025_11_09_06_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/706f02aedfb94aa91806144cd2405072.jpg","text":"TemporaryFile(/tmp/multipartBody8289078126673766707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185732652,"filename":"image_02052025_11_09_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/5/2/8ff85a9c0da05e9f77f0cb73a718add5.jpg","text":"TemporaryFile(/tmp/multipartBody7063768643783513526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185732652,"filename":"image_02052025_11_09_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d73a035a8ba2028958ab3d108fc10fd.jpg","text":"TemporaryFile(/tmp/multipartBody2676358037718690847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185732652,"filename":"image_02052025_11_09_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/5/2/a460cfe8de10a34d728b1c0d5eb94ee6.jpg","text":"TemporaryFile(/tmp/multipartBody1791609342776979234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185732652,"filename":"image_02052025_11_09_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/5/2/235b9f1029f9370066e94c47e33dcdb4.jpg","text":"TemporaryFile(/tmp/multipartBody3967826743674669283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185732652,"filename":"image_02052025_11_08_56_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355290693","file1":"1355290649","file0":"1355290644","file4":"1355290761","file5":"1355290764","file3":"1355290755"},"map_files_photo_id_array":[{"photo_id":"1355290764","filename":"file5"},{"photo_id":"1355290693","filename":"file2"},{"photo_id":"1355290761","filename":"file4"},{"photo_id":"1355290649","filename":"file1"},{"photo_id":"1355290644","filename":"file0"},{"photo_id":"1355290755","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355290649":["hashtag1","hashtag2"]},{"1355290693":["hashtag1","hashtag2"]},{"1355290761":["hashtag1","hashtag2"]},{"1355290755":["hashtag1","hashtag2"]},{"1355290764":["hashtag1","hashtag2"]},{"1355290644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355290649, 1355290693, 1355290761, 1355290755, 1355290764, 1355290644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.998754024505615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:35:32.282227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/09/image_02052025_11_09_56_9402.jpg', '/home/pi/Desktop/images/02052025/11/09/image_02052025_11_10_06_10377.jpg', '/home/pi/Desktop/images/02052025/11/10/image_02052025_11_10_16_10406.jpg', '/home/pi/Desktop/images/02052025/11/10/image_02052025_11_10_36_10345.jpg', '/home/pi/Desktop/images/02052025/11/10/image_02052025_11_10_46_9373.jpg', '/home/pi/Desktop/images/02052025/11/10/image_02052025_11_10_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/09/image_02052025_11_09_56_9402.jpg
/home/pi/Desktop/images/02052025/11/09/image_02052025_11_10_06_10377.jpg
/home/pi/Desktop/images/02052025/11/10/image_02052025_11_10_16_10406.jpg
/home/pi/Desktop/images/02052025/11/10/image_02052025_11_10_36_10345.jpg
/home/pi/Desktop/images/02052025/11/10/image_02052025_11_10_46_9373.jpg
/home/pi/Desktop/images/02052025/11/10/image_02052025_11_10_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":["1355290795","1355290840","1355290810","1355290791","1355290887","1355290871"],"photo_ids_order":["1355290791","1355290795","1355290810","1355290840","1355290871","1355290887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0d4a6e38a02c65c39ba2a110a5fa0d6.jpg","text":"TemporaryFile(/tmp/multipartBody7649907485109877351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185792757,"filename":"image_02052025_11_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/5/2/b16613bda61ae0dd66bbf896ed81e509.jpg","text":"TemporaryFile(/tmp/multipartBody2815798342108347581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185792757,"filename":"image_02052025_11_10_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/5/2/b5ffbc3c331d32b8bb19ee7eb87356c6.jpg","text":"TemporaryFile(/tmp/multipartBody554943269782274728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185792757,"filename":"image_02052025_11_10_16_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/feddd5fcc0ba631d8e3c39448820cb44.jpg","text":"TemporaryFile(/tmp/multipartBody1623309608641013822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185792757,"filename":"image_02052025_11_09_56_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b8897e20caa5a79cbdcc1c8e34b6c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5978732480955705481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185792757,"filename":"image_02052025_11_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/5/2/9fe1a53d197605a5f98da862919f7c58.jpg","text":"TemporaryFile(/tmp/multipartBody1638173193503926436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185792757,"filename":"image_02052025_11_10_46_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355290810","file1":"1355290795","file0":"1355290791","file4":"1355290871","file5":"1355290887","file3":"1355290840"},"map_files_photo_id_array":[{"photo_id":"1355290887","filename":"file5"},{"photo_id":"1355290810","filename":"file2"},{"photo_id":"1355290871","filename":"file4"},{"photo_id":"1355290795","filename":"file1"},{"photo_id":"1355290791","filename":"file0"},{"photo_id":"1355290840","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355290795":["hashtag1","hashtag2"]},{"1355290840":["hashtag1","hashtag2"]},{"1355290810":["hashtag1","hashtag2"]},{"1355290791":["hashtag1","hashtag2"]},{"1355290887":["hashtag1","hashtag2"]},{"1355290871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355290795, 1355290840, 1355290810, 1355290791, 1355290887, 1355290871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.656819343566895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:36:32.588790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/10/image_02052025_11_11_06_10398.jpg', '/home/pi/Desktop/images/02052025/11/11/image_02052025_11_11_16_9361.jpg', '/home/pi/Desktop/images/02052025/11/11/image_02052025_11_11_26_10372.jpg', '/home/pi/Desktop/images/02052025/11/11/image_02052025_11_11_36_10352.jpg', '/home/pi/Desktop/images/02052025/11/11/image_02052025_11_11_46_9922.jpg', '/home/pi/Desktop/images/02052025/11/11/image_02052025_11_11_56_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/10/image_02052025_11_11_06_10398.jpg
/home/pi/Desktop/images/02052025/11/11/image_02052025_11_11_16_9361.jpg
/home/pi/Desktop/images/02052025/11/11/image_02052025_11_11_26_10372.jpg
/home/pi/Desktop/images/02052025/11/11/image_02052025_11_11_36_10352.jpg
/home/pi/Desktop/images/02052025/11/11/image_02052025_11_11_46_9922.jpg
/home/pi/Desktop/images/02052025/11/11/image_02052025_11_11_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":["1355291003","1355290990","1355290987","1355290998","1355291001","1355290994"],"photo_ids_order":["1355290987","1355290990","1355290994","1355290998","1355291001","1355291003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/37e0c09e25a83097e75f716c901acb8a.jpg","text":"TemporaryFile(/tmp/multipartBody601917400915857497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185853063,"filename":"image_02052025_11_11_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/5/2/d845c66d61ed87c5186bd685b4195a88.jpg","text":"TemporaryFile(/tmp/multipartBody5438763677965452832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185853063,"filename":"image_02052025_11_11_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/5/2/b387a465aeb2335fd7b157194de2e45a.jpg","text":"TemporaryFile(/tmp/multipartBody1474291079776672277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185853063,"filename":"image_02052025_11_11_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/5/2/139ff5544023e549ef64e81e41670627.jpg","text":"TemporaryFile(/tmp/multipartBody6582354960343365082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185853063,"filename":"image_02052025_11_11_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/5/2/fe3ddbdadba8a56a56751abbe3d28460.jpg","text":"TemporaryFile(/tmp/multipartBody7072405461329798207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185853063,"filename":"image_02052025_11_11_46_9922.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/92bbfc82589cc87f204bd5203718364e.jpg","text":"TemporaryFile(/tmp/multipartBody7803474931752703930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185853063,"filename":"image_02052025_11_11_26_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355290994","file1":"1355290990","file0":"1355290987","file4":"1355291001","file5":"1355291003","file3":"1355290998"},"map_files_photo_id_array":[{"photo_id":"1355291003","filename":"file5"},{"photo_id":"1355290994","filename":"file2"},{"photo_id":"1355291001","filename":"file4"},{"photo_id":"1355290990","filename":"file1"},{"photo_id":"1355290987","filename":"file0"},{"photo_id":"1355290998","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355291003":["hashtag1","hashtag2"]},{"1355290990":["hashtag1","hashtag2"]},{"1355290987":["hashtag1","hashtag2"]},{"1355290998":["hashtag1","hashtag2"]},{"1355291001":["hashtag1","hashtag2"]},{"1355290994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355291003, 1355290990, 1355290987, 1355290998, 1355291001, 1355290994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.57335638999939 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:37:32.723718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/11/image_02052025_11_12_06_10360.jpg', '/home/pi/Desktop/images/02052025/11/12/image_02052025_11_12_16_9462.jpg', '/home/pi/Desktop/images/02052025/11/12/image_02052025_11_12_26_10354.jpg', '/home/pi/Desktop/images/02052025/11/12/image_02052025_11_12_36_10369.jpg', '/home/pi/Desktop/images/02052025/11/12/image_02052025_11_12_46_9446.jpg', '/home/pi/Desktop/images/02052025/11/12/image_02052025_11_12_56_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/11/image_02052025_11_12_06_10360.jpg
/home/pi/Desktop/images/02052025/11/12/image_02052025_11_12_16_9462.jpg
/home/pi/Desktop/images/02052025/11/12/image_02052025_11_12_26_10354.jpg
/home/pi/Desktop/images/02052025/11/12/image_02052025_11_12_36_10369.jpg
/home/pi/Desktop/images/02052025/11/12/image_02052025_11_12_46_9446.jpg
/home/pi/Desktop/images/02052025/11/12/image_02052025_11_12_56_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355291245","1355291221","1355291259","1355291166","1355291208","1355291195"],"photo_ids_order":["1355291166","1355291195","1355291208","1355291221","1355291245","1355291259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f90330f6373a34cbd69be35937a3cd4.jpg","text":"TemporaryFile(/tmp/multipartBody7775687639922392759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185913184,"filename":"image_02052025_11_12_46_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/59965ba94c6b7de4b987c0bcc3aac039.jpg","text":"TemporaryFile(/tmp/multipartBody2503451254991780238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185913184,"filename":"image_02052025_11_12_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/5/2/e75ea74ac96ef877d8fdac6aa41f49be.jpg","text":"TemporaryFile(/tmp/multipartBody8397794583201265112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185913184,"filename":"image_02052025_11_12_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/31dbb0946c9028e828c448659aacce5f.jpg","text":"TemporaryFile(/tmp/multipartBody463985970564741371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185913184,"filename":"image_02052025_11_12_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/5/2/4b1ebe2f59a26b7d34a0adcd19558e51.jpg","text":"TemporaryFile(/tmp/multipartBody1800914466299834824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185913184,"filename":"image_02052025_11_12_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/5/2/c1ecdaf5b0d5d2f9d3459ffa7dd8af31.jpg","text":"TemporaryFile(/tmp/multipartBody8955456979095029294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185913184,"filename":"image_02052025_11_12_16_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355291208","file1":"1355291195","file0":"1355291166","file4":"1355291245","file5":"1355291259","file3":"1355291221"},"map_files_photo_id_array":[{"photo_id":"1355291259","filename":"file5"},{"photo_id":"1355291208","filename":"file2"},{"photo_id":"1355291245","filename":"file4"},{"photo_id":"1355291195","filename":"file1"},{"photo_id":"1355291166","filename":"file0"},{"photo_id":"1355291221","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355291245":["hashtag1","hashtag2"]},{"1355291221":["hashtag1","hashtag2"]},{"1355291259":["hashtag1","hashtag2"]},{"1355291166":["hashtag1","hashtag2"]},{"1355291208":["hashtag1","hashtag2"]},{"1355291195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355291245, 1355291221, 1355291259, 1355291166, 1355291208, 1355291195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.367037534713745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:38:32.924658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/12/image_02052025_11_13_05_9441.jpg', '/home/pi/Desktop/images/02052025/11/13/image_02052025_11_13_26_10401.jpg', '/home/pi/Desktop/images/02052025/11/13/image_02052025_11_13_36_9439.jpg', '/home/pi/Desktop/images/02052025/11/13/image_02052025_11_13_46_10439.jpg', '/home/pi/Desktop/images/02052025/11/13/image_02052025_11_13_55_9360.jpg', '/home/pi/Desktop/images/02052025/11/13/image_02052025_11_14_06_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/12/image_02052025_11_13_05_9441.jpg
/home/pi/Desktop/images/02052025/11/13/image_02052025_11_13_26_10401.jpg
/home/pi/Desktop/images/02052025/11/13/image_02052025_11_13_36_9439.jpg
/home/pi/Desktop/images/02052025/11/13/image_02052025_11_13_46_10439.jpg
/home/pi/Desktop/images/02052025/11/13/image_02052025_11_13_55_9360.jpg
/home/pi/Desktop/images/02052025/11/13/image_02052025_11_14_06_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":["1355291455","1355291512","1355291484","1355291541","1355291393","1355291426"],"photo_ids_order":["1355291393","1355291426","1355291455","1355291484","1355291512","1355291541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6695166df7cfc36e72f447115a62a81.jpg","text":"TemporaryFile(/tmp/multipartBody3306224484425725462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185973399,"filename":"image_02052025_11_13_36_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a8138c6d71437197eddfb040f62adc9c.jpg","text":"TemporaryFile(/tmp/multipartBody1070773782762226437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185973399,"filename":"image_02052025_11_13_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/5/2/f1718a58a35b1ddbf4e2d4338846f742.jpg","text":"TemporaryFile(/tmp/multipartBody4049670978720323395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185973399,"filename":"image_02052025_11_13_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/5/2/d7edd43bf51eb040f1fc18a57d202029.jpg","text":"TemporaryFile(/tmp/multipartBody3678809074060849673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185973399,"filename":"image_02052025_11_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/5/2/46f4365384ec9437da2fb7c0fd78cd8e.jpg","text":"TemporaryFile(/tmp/multipartBody4669466636747429293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185973399,"filename":"image_02052025_11_13_05_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9eabd6bab613a775853fbd38377a7e8.jpg","text":"TemporaryFile(/tmp/multipartBody5467063117861389386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746185973399,"filename":"image_02052025_11_13_26_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355291455","file1":"1355291426","file0":"1355291393","file4":"1355291512","file5":"1355291541","file3":"1355291484"},"map_files_photo_id_array":[{"photo_id":"1355291541","filename":"file5"},{"photo_id":"1355291455","filename":"file2"},{"photo_id":"1355291512","filename":"file4"},{"photo_id":"1355291426","filename":"file1"},{"photo_id":"1355291393","filename":"file0"},{"photo_id":"1355291484","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355291455":["hashtag1","hashtag2"]},{"1355291512":["hashtag1","hashtag2"]},{"1355291484":["hashtag1","hashtag2"]},{"1355291541":["hashtag1","hashtag2"]},{"1355291393":["hashtag1","hashtag2"]},{"1355291426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355291455, 1355291512, 1355291484, 1355291541, 1355291393, 1355291426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.404666423797607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:39:32.194826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/14/image_02052025_11_14_16_10356.jpg', '/home/pi/Desktop/images/02052025/11/14/image_02052025_11_14_26_9360.jpg', '/home/pi/Desktop/images/02052025/11/14/image_02052025_11_14_36_10417.jpg', '/home/pi/Desktop/images/02052025/11/14/image_02052025_11_14_46_10426.jpg', '/home/pi/Desktop/images/02052025/11/14/image_02052025_11_14_56_9341.jpg', '/home/pi/Desktop/images/02052025/11/14/image_02052025_11_15_06_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/14/image_02052025_11_14_16_10356.jpg
/home/pi/Desktop/images/02052025/11/14/image_02052025_11_14_26_9360.jpg
/home/pi/Desktop/images/02052025/11/14/image_02052025_11_14_36_10417.jpg
/home/pi/Desktop/images/02052025/11/14/image_02052025_11_14_46_10426.jpg
/home/pi/Desktop/images/02052025/11/14/image_02052025_11_14_56_9341.jpg
/home/pi/Desktop/images/02052025/11/14/image_02052025_11_15_06_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355291900","1355292019","1355291978","1355291802","1355291867","1355291834"],"photo_ids_order":["1355291802","1355291834","1355291867","1355291900","1355291978","1355292019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dea2161a63a68fd4edac36a4dab97736.jpg","text":"TemporaryFile(/tmp/multipartBody2602804657072504551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186032670,"filename":"image_02052025_11_14_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/5/2/027fb6fbfae02e71348324f6386d62a5.jpg","text":"TemporaryFile(/tmp/multipartBody7506984986577984607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186032670,"filename":"image_02052025_11_15_06_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5e018fbf3ebb355eeae90338b7d56452.jpg","text":"TemporaryFile(/tmp/multipartBody7068627924028459643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186032670,"filename":"image_02052025_11_14_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/5/2/ba626693b273fc2241cb07c8f5a503dd.jpg","text":"TemporaryFile(/tmp/multipartBody7700977721298421006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186032670,"filename":"image_02052025_11_14_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/5/2/c8546f29d25f0616b255d6d15f6d3803.jpg","text":"TemporaryFile(/tmp/multipartBody148194978970921731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186032670,"filename":"image_02052025_11_14_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/5/2/b5b3bdbc8646b3c88f0be1ad70fe9f76.jpg","text":"TemporaryFile(/tmp/multipartBody2902137649607390205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186032670,"filename":"image_02052025_11_14_26_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355291867","file1":"1355291834","file0":"1355291802","file4":"1355291978","file5":"1355292019","file3":"1355291900"},"map_files_photo_id_array":[{"photo_id":"1355292019","filename":"file5"},{"photo_id":"1355291867","filename":"file2"},{"photo_id":"1355291978","filename":"file4"},{"photo_id":"1355291834","filename":"file1"},{"photo_id":"1355291802","filename":"file0"},{"photo_id":"1355291900","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355291900":["hashtag1","hashtag2"]},{"1355292019":["hashtag1","hashtag2"]},{"1355291978":["hashtag1","hashtag2"]},{"1355291802":["hashtag1","hashtag2"]},{"1355291867":["hashtag1","hashtag2"]},{"1355291834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355291900, 1355292019, 1355291978, 1355291802, 1355291867, 1355291834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17372727394104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:40:32.323890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/15/image_02052025_11_15_16_9422.jpg', '/home/pi/Desktop/images/02052025/11/15/image_02052025_11_15_36_10466.jpg', '/home/pi/Desktop/images/02052025/11/15/image_02052025_11_15_46_9459.jpg', '/home/pi/Desktop/images/02052025/11/15/image_02052025_11_15_56_10360.jpg', '/home/pi/Desktop/images/02052025/11/15/image_02052025_11_16_06_9432.jpg', '/home/pi/Desktop/images/02052025/11/16/image_02052025_11_16_16_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/15/image_02052025_11_15_16_9422.jpg
/home/pi/Desktop/images/02052025/11/15/image_02052025_11_15_36_10466.jpg
/home/pi/Desktop/images/02052025/11/15/image_02052025_11_15_46_9459.jpg
/home/pi/Desktop/images/02052025/11/15/image_02052025_11_15_56_10360.jpg
/home/pi/Desktop/images/02052025/11/15/image_02052025_11_16_06_9432.jpg
/home/pi/Desktop/images/02052025/11/16/image_02052025_11_16_16_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355292616","1355292424","1355292371","1355292623","1355292500","1355292574"],"photo_ids_order":["1355292371","1355292424","1355292500","1355292574","1355292616","1355292623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75efa5a19654b5069ecbe47ce5573b1a.jpg","text":"TemporaryFile(/tmp/multipartBody2352459386478310727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186092796,"filename":"image_02052025_11_16_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/5/2/2f342d60316f108dd885023fc73fbcd0.jpg","text":"TemporaryFile(/tmp/multipartBody628429222932828285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186092796,"filename":"image_02052025_11_15_36_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d938fc7e10ae9001fa792cfcb7a95c34.jpg","text":"TemporaryFile(/tmp/multipartBody2376542512101115446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186092796,"filename":"image_02052025_11_15_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/5/2/281525ee0c7bcee6f2ead42a93aa2505.jpg","text":"TemporaryFile(/tmp/multipartBody1267516448787671139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186092796,"filename":"image_02052025_11_16_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c121721516b604eba26e55626ee28729.jpg","text":"TemporaryFile(/tmp/multipartBody4474558653440510152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186092796,"filename":"image_02052025_11_15_46_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/35cbc2d076ace18512d4b97c1954fab4.jpg","text":"TemporaryFile(/tmp/multipartBody272640314161817900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186092796,"filename":"image_02052025_11_15_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355292500","file1":"1355292424","file0":"1355292371","file4":"1355292616","file5":"1355292623","file3":"1355292574"},"map_files_photo_id_array":[{"photo_id":"1355292623","filename":"file5"},{"photo_id":"1355292500","filename":"file2"},{"photo_id":"1355292616","filename":"file4"},{"photo_id":"1355292424","filename":"file1"},{"photo_id":"1355292371","filename":"file0"},{"photo_id":"1355292574","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355292616":["hashtag1","hashtag2"]},{"1355292424":["hashtag1","hashtag2"]},{"1355292371":["hashtag1","hashtag2"]},{"1355292623":["hashtag1","hashtag2"]},{"1355292500":["hashtag1","hashtag2"]},{"1355292574":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355292616, 1355292424, 1355292371, 1355292623, 1355292500, 1355292574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.643616914749146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:41:32.419878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/16/image_02052025_11_16_36_9346.jpg', '/home/pi/Desktop/images/02052025/11/16/image_02052025_11_16_46_10349.jpg', '/home/pi/Desktop/images/02052025/11/16/image_02052025_11_16_56_9429.jpg', '/home/pi/Desktop/images/02052025/11/16/image_02052025_11_17_06_10359.jpg', '/home/pi/Desktop/images/02052025/11/17/image_02052025_11_17_16_10351.jpg', '/home/pi/Desktop/images/02052025/11/17/image_02052025_11_17_26_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/16/image_02052025_11_16_36_9346.jpg
/home/pi/Desktop/images/02052025/11/16/image_02052025_11_16_46_10349.jpg
/home/pi/Desktop/images/02052025/11/16/image_02052025_11_16_56_9429.jpg
/home/pi/Desktop/images/02052025/11/16/image_02052025_11_17_06_10359.jpg
/home/pi/Desktop/images/02052025/11/17/image_02052025_11_17_16_10351.jpg
/home/pi/Desktop/images/02052025/11/17/image_02052025_11_17_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":["1355292847","1355292897","1355292881","1355292878","1355292869","1355292874"],"photo_ids_order":["1355292847","1355292869","1355292874","1355292878","1355292881","1355292897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f49bf6f2f4ed46abb71ba8b2cdfc67d.jpg","text":"TemporaryFile(/tmp/multipartBody2264699019968759802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186152913,"filename":"image_02052025_11_16_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/5/2/060031bc96d484a719458049f8bcdafc.jpg","text":"TemporaryFile(/tmp/multipartBody6090014569504181024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186152913,"filename":"image_02052025_11_17_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/5/2/ea46ca51a8fadd45952985c1b5d3651a.jpg","text":"TemporaryFile(/tmp/multipartBody9081477892371287205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186152913,"filename":"image_02052025_11_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/5/2/86f05b5e8e7119b5239bfb91637d325d.jpg","text":"TemporaryFile(/tmp/multipartBody3154955102360142771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186152913,"filename":"image_02052025_11_17_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/5/2/33c071f454eb5a2b914eff642d12196b.jpg","text":"TemporaryFile(/tmp/multipartBody3703371499506134440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186152913,"filename":"image_02052025_11_16_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/5/2/ed43481ca881ca95065dfd9f4f064e33.jpg","text":"TemporaryFile(/tmp/multipartBody5303720244411772852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186152913,"filename":"image_02052025_11_16_56_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355292874","file1":"1355292869","file0":"1355292847","file4":"1355292881","file5":"1355292897","file3":"1355292878"},"map_files_photo_id_array":[{"photo_id":"1355292897","filename":"file5"},{"photo_id":"1355292874","filename":"file2"},{"photo_id":"1355292881","filename":"file4"},{"photo_id":"1355292869","filename":"file1"},{"photo_id":"1355292847","filename":"file0"},{"photo_id":"1355292878","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355292847":["hashtag1","hashtag2"]},{"1355292897":["hashtag1","hashtag2"]},{"1355292881":["hashtag1","hashtag2"]},{"1355292878":["hashtag1","hashtag2"]},{"1355292869":["hashtag1","hashtag2"]},{"1355292874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355292847, 1355292897, 1355292881, 1355292878, 1355292869, 1355292874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22466969490051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:42:32.598821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/17/image_02052025_11_17_36_10377.jpg', '/home/pi/Desktop/images/02052025/11/17/image_02052025_11_17_46_10374.jpg', '/home/pi/Desktop/images/02052025/11/17/image_02052025_11_18_06_10363.jpg', '/home/pi/Desktop/images/02052025/11/18/image_02052025_11_18_16_9428.jpg', '/home/pi/Desktop/images/02052025/11/18/image_02052025_11_18_26_10363.jpg', '/home/pi/Desktop/images/02052025/11/18/image_02052025_11_18_36_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/17/image_02052025_11_17_36_10377.jpg
/home/pi/Desktop/images/02052025/11/17/image_02052025_11_17_46_10374.jpg
/home/pi/Desktop/images/02052025/11/17/image_02052025_11_18_06_10363.jpg
/home/pi/Desktop/images/02052025/11/18/image_02052025_11_18_16_9428.jpg
/home/pi/Desktop/images/02052025/11/18/image_02052025_11_18_26_10363.jpg
/home/pi/Desktop/images/02052025/11/18/image_02052025_11_18_36_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355293284","1355293263","1355293173","1355293206","1355293235","1355293316"],"photo_ids_order":["1355293173","1355293206","1355293235","1355293263","1355293284","1355293316"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/363ff2b3c05e686fcdcd168f663e1531.jpg","text":"TemporaryFile(/tmp/multipartBody8942956475713877355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186213071,"filename":"image_02052025_11_18_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/5/2/3796ab11680fa43fa8de6c0fe7dca588.jpg","text":"TemporaryFile(/tmp/multipartBody8225831049041494335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186213071,"filename":"image_02052025_11_18_16_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97fe97032a902d0da5c9e78a50b7b70c.jpg","text":"TemporaryFile(/tmp/multipartBody4074122987070488685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186213071,"filename":"image_02052025_11_17_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/5/2/9f4aef97b9748be98fa9a9cf4e848b09.jpg","text":"TemporaryFile(/tmp/multipartBody5898660329125676215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186213071,"filename":"image_02052025_11_17_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/5/2/9b97e0664f7ef20d12f7adafa0ccd261.jpg","text":"TemporaryFile(/tmp/multipartBody3290219215063312128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186213071,"filename":"image_02052025_11_18_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/5/2/093ebaa991d0e018ad4ad1d8abf78473.jpg","text":"TemporaryFile(/tmp/multipartBody4471755412660589195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186213071,"filename":"image_02052025_11_18_36_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355293235","file1":"1355293206","file0":"1355293173","file4":"1355293284","file5":"1355293316","file3":"1355293263"},"map_files_photo_id_array":[{"photo_id":"1355293316","filename":"file5"},{"photo_id":"1355293235","filename":"file2"},{"photo_id":"1355293284","filename":"file4"},{"photo_id":"1355293206","filename":"file1"},{"photo_id":"1355293173","filename":"file0"},{"photo_id":"1355293263","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355293284":["hashtag1","hashtag2"]},{"1355293263":["hashtag1","hashtag2"]},{"1355293173":["hashtag1","hashtag2"]},{"1355293206":["hashtag1","hashtag2"]},{"1355293235":["hashtag1","hashtag2"]},{"1355293316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355293284, 1355293263, 1355293173, 1355293206, 1355293235, 1355293316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.76448154449463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:43:32.912793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/18/image_02052025_11_18_46_9363.jpg', '/home/pi/Desktop/images/02052025/11/18/image_02052025_11_18_56_10492.jpg', '/home/pi/Desktop/images/02052025/11/18/image_02052025_11_19_06_9409.jpg', '/home/pi/Desktop/images/02052025/11/19/image_02052025_11_19_16_10355.jpg', '/home/pi/Desktop/images/02052025/11/19/image_02052025_11_19_25_9458.jpg', '/home/pi/Desktop/images/02052025/11/19/image_02052025_11_19_36_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/18/image_02052025_11_18_46_9363.jpg
/home/pi/Desktop/images/02052025/11/18/image_02052025_11_18_56_10492.jpg
/home/pi/Desktop/images/02052025/11/18/image_02052025_11_19_06_9409.jpg
/home/pi/Desktop/images/02052025/11/19/image_02052025_11_19_16_10355.jpg
/home/pi/Desktop/images/02052025/11/19/image_02052025_11_19_25_9458.jpg
/home/pi/Desktop/images/02052025/11/19/image_02052025_11_19_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":["1355293506","1355293509","1355293424","1355293511","1355293495","1355293462"],"photo_ids_order":["1355293424","1355293462","1355293495","1355293506","1355293509","1355293511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f693670d100a22f3fa2402a5a48c65fe.jpg","text":"TemporaryFile(/tmp/multipartBody8607685896064651908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186273383,"filename":"image_02052025_11_19_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cb7f80a2d98f4adacc04375c7872548b.jpg","text":"TemporaryFile(/tmp/multipartBody1296021897241304516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186273383,"filename":"image_02052025_11_19_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/5/2/ec5061c005c6bf63aba2b2fc58ef73a1.jpg","text":"TemporaryFile(/tmp/multipartBody5320615457857778909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186273383,"filename":"image_02052025_11_18_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/5/2/e23990ad4c655c0353332d100650bacf.jpg","text":"TemporaryFile(/tmp/multipartBody365046277367552126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186273383,"filename":"image_02052025_11_19_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/5/2/9ed74c384c680f4eb81c2c6a858863a1.jpg","text":"TemporaryFile(/tmp/multipartBody7037808396783754664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186273383,"filename":"image_02052025_11_19_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/5/2/e098265a3167ed62d5c08bba38fad9b5.jpg","text":"TemporaryFile(/tmp/multipartBody5945970596417544562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186273383,"filename":"image_02052025_11_18_56_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355293495","file1":"1355293462","file0":"1355293424","file4":"1355293509","file5":"1355293511","file3":"1355293506"},"map_files_photo_id_array":[{"photo_id":"1355293511","filename":"file5"},{"photo_id":"1355293495","filename":"file2"},{"photo_id":"1355293509","filename":"file4"},{"photo_id":"1355293462","filename":"file1"},{"photo_id":"1355293424","filename":"file0"},{"photo_id":"1355293506","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355293506":["hashtag1","hashtag2"]},{"1355293509":["hashtag1","hashtag2"]},{"1355293424":["hashtag1","hashtag2"]},{"1355293511":["hashtag1","hashtag2"]},{"1355293495":["hashtag1","hashtag2"]},{"1355293462":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355293506, 1355293509, 1355293424, 1355293511, 1355293495, 1355293462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.073081970214844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:44:33.079320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/19/image_02052025_11_19_46_10365.jpg', '/home/pi/Desktop/images/02052025/11/19/image_02052025_11_19_56_9404.jpg', '/home/pi/Desktop/images/02052025/11/19/image_02052025_11_20_06_10429.jpg', '/home/pi/Desktop/images/02052025/11/20/image_02052025_11_20_26_9369.jpg', '/home/pi/Desktop/images/02052025/11/20/image_02052025_11_20_36_10440.jpg', '/home/pi/Desktop/images/02052025/11/20/image_02052025_11_20_46_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/19/image_02052025_11_19_46_10365.jpg
/home/pi/Desktop/images/02052025/11/19/image_02052025_11_19_56_9404.jpg
/home/pi/Desktop/images/02052025/11/19/image_02052025_11_20_06_10429.jpg
/home/pi/Desktop/images/02052025/11/20/image_02052025_11_20_26_9369.jpg
/home/pi/Desktop/images/02052025/11/20/image_02052025_11_20_36_10440.jpg
/home/pi/Desktop/images/02052025/11/20/image_02052025_11_20_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":["1355293548","1355293563","1355293545","1355293539","1355293580","1355293610"],"photo_ids_order":["1355293539","1355293545","1355293548","1355293563","1355293580","1355293610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/859e4c23a56bc4cfff593d2cc3992bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2825340021516470897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186333542,"filename":"image_02052025_11_20_06_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5879baad13f1f8656939a71766225f2d.jpg","text":"TemporaryFile(/tmp/multipartBody4780299907120754981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186333542,"filename":"image_02052025_11_20_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/5/2/c030bfef9a2d502b67d12e104382ef49.jpg","text":"TemporaryFile(/tmp/multipartBody2631698268157502436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186333542,"filename":"image_02052025_11_19_56_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d06cbe6d9902193b0335a5a26ff671d2.jpg","text":"TemporaryFile(/tmp/multipartBody3881322918465412669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186333542,"filename":"image_02052025_11_19_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/5/2/391840461d6c35e6c076492a383080a2.jpg","text":"TemporaryFile(/tmp/multipartBody7592101888083024572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186333542,"filename":"image_02052025_11_20_36_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc63667b5b2da490fa56ccd1bf7487b4.jpg","text":"TemporaryFile(/tmp/multipartBody7778902759356216267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186333542,"filename":"image_02052025_11_20_46_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355293548","file1":"1355293545","file0":"1355293539","file4":"1355293580","file5":"1355293610","file3":"1355293563"},"map_files_photo_id_array":[{"photo_id":"1355293610","filename":"file5"},{"photo_id":"1355293548","filename":"file2"},{"photo_id":"1355293580","filename":"file4"},{"photo_id":"1355293545","filename":"file1"},{"photo_id":"1355293539","filename":"file0"},{"photo_id":"1355293563","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355293548":["hashtag1","hashtag2"]},{"1355293563":["hashtag1","hashtag2"]},{"1355293545":["hashtag1","hashtag2"]},{"1355293539":["hashtag1","hashtag2"]},{"1355293580":["hashtag1","hashtag2"]},{"1355293610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355293548, 1355293563, 1355293545, 1355293539, 1355293580, 1355293610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88083052635193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:45:32.342788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/21/image_02052025_11_21_36_9465.jpg', '/home/pi/Desktop/images/02052025/11/21/image_02052025_11_21_46_10414.jpg', '/home/pi/Desktop/images/02052025/11/21/image_02052025_11_21_56_10398.jpg', '/home/pi/Desktop/images/02052025/11/22/image_02052025_11_22_16_10426.jpg', '/home/pi/Desktop/images/02052025/11/22/image_02052025_11_22_26_9425.jpg', '/home/pi/Desktop/images/02052025/11/22/image_02052025_11_22_36_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/21/image_02052025_11_21_36_9465.jpg
/home/pi/Desktop/images/02052025/11/21/image_02052025_11_21_46_10414.jpg
/home/pi/Desktop/images/02052025/11/21/image_02052025_11_21_56_10398.jpg
/home/pi/Desktop/images/02052025/11/22/image_02052025_11_22_16_10426.jpg
/home/pi/Desktop/images/02052025/11/22/image_02052025_11_22_26_9425.jpg
/home/pi/Desktop/images/02052025/11/22/image_02052025_11_22_36_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":["1355293889","1355293949","1355293937","1355293919","1355293942","1355293945"],"photo_ids_order":["1355293889","1355293919","1355293937","1355293942","1355293945","1355293949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cbd8fd8c02e81b96f53b55522bf98a98.jpg","text":"TemporaryFile(/tmp/multipartBody6141918331943954693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186392807,"filename":"image_02052025_11_21_36_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ec3fb69a76276f0b6bf8320fb8fe61c.jpg","text":"TemporaryFile(/tmp/multipartBody8644699936890725105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186392807,"filename":"image_02052025_11_22_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/5/2/5c6685fdc721999dea489b626a1da156.jpg","text":"TemporaryFile(/tmp/multipartBody483557415089706034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186392807,"filename":"image_02052025_11_21_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90d4a06beae9be25cd62b6c103dce808.jpg","text":"TemporaryFile(/tmp/multipartBody4832823970611043697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186392807,"filename":"image_02052025_11_21_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fbf465f5dc818bf511509f2f46361ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1222992621910975827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186392807,"filename":"image_02052025_11_22_16_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9e0429bf9e9862af0a6acc128b23d66.jpg","text":"TemporaryFile(/tmp/multipartBody4321356377270676350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186392807,"filename":"image_02052025_11_22_26_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355293937","file1":"1355293919","file0":"1355293889","file4":"1355293945","file5":"1355293949","file3":"1355293942"},"map_files_photo_id_array":[{"photo_id":"1355293949","filename":"file5"},{"photo_id":"1355293937","filename":"file2"},{"photo_id":"1355293945","filename":"file4"},{"photo_id":"1355293919","filename":"file1"},{"photo_id":"1355293889","filename":"file0"},{"photo_id":"1355293942","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355293889":["hashtag1","hashtag2"]},{"1355293949":["hashtag1","hashtag2"]},{"1355293937":["hashtag1","hashtag2"]},{"1355293919":["hashtag1","hashtag2"]},{"1355293942":["hashtag1","hashtag2"]},{"1355293945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355293889, 1355293949, 1355293937, 1355293919, 1355293942, 1355293945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.40721893310547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:46:32.414901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/22/image_02052025_11_22_45_9443.jpg', '/home/pi/Desktop/images/02052025/11/22/image_02052025_11_22_56_10369.jpg', '/home/pi/Desktop/images/02052025/11/22/image_02052025_11_23_06_10336.jpg', '/home/pi/Desktop/images/02052025/11/23/image_02052025_11_23_16_9395.jpg', '/home/pi/Desktop/images/02052025/11/23/image_02052025_11_23_26_10394.jpg', '/home/pi/Desktop/images/02052025/11/23/image_02052025_11_23_36_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/22/image_02052025_11_22_45_9443.jpg
/home/pi/Desktop/images/02052025/11/22/image_02052025_11_22_56_10369.jpg
/home/pi/Desktop/images/02052025/11/22/image_02052025_11_23_06_10336.jpg
/home/pi/Desktop/images/02052025/11/23/image_02052025_11_23_16_9395.jpg
/home/pi/Desktop/images/02052025/11/23/image_02052025_11_23_26_10394.jpg
/home/pi/Desktop/images/02052025/11/23/image_02052025_11_23_36_10467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355293971","1355293976","1355293984","1355293992","1355293989","1355293980"],"photo_ids_order":["1355293971","1355293976","1355293980","1355293984","1355293989","1355293992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75a1f33905c5f24ad42a62a62ff3682a.jpg","text":"TemporaryFile(/tmp/multipartBody3144096912408097595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186452884,"filename":"image_02052025_11_22_45_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7bd77ffc98997cf169d54ab241b5a154.jpg","text":"TemporaryFile(/tmp/multipartBody2103236835979935297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186452884,"filename":"image_02052025_11_22_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/5/2/f2dba920afd4318e81eb740e9bebfd76.jpg","text":"TemporaryFile(/tmp/multipartBody7053270420949866146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186452884,"filename":"image_02052025_11_23_16_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a54cdfa7eb3386b2128c60d37ca60a92.jpg","text":"TemporaryFile(/tmp/multipartBody1336367649113275882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186452884,"filename":"image_02052025_11_23_36_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e92c0fca5448c31c74672f6c433e7241.jpg","text":"TemporaryFile(/tmp/multipartBody858029433314363489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186452884,"filename":"image_02052025_11_23_26_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a79dd82181793d517fb7d72d1947dbf.jpg","text":"TemporaryFile(/tmp/multipartBody1722282389515954097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186452884,"filename":"image_02052025_11_23_06_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355293980","file1":"1355293976","file0":"1355293971","file4":"1355293989","file5":"1355293992","file3":"1355293984"},"map_files_photo_id_array":[{"photo_id":"1355293992","filename":"file5"},{"photo_id":"1355293980","filename":"file2"},{"photo_id":"1355293989","filename":"file4"},{"photo_id":"1355293976","filename":"file1"},{"photo_id":"1355293971","filename":"file0"},{"photo_id":"1355293984","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355293971":["hashtag1","hashtag2"]},{"1355293976":["hashtag1","hashtag2"]},{"1355293984":["hashtag1","hashtag2"]},{"1355293992":["hashtag1","hashtag2"]},{"1355293989":["hashtag1","hashtag2"]},{"1355293980":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355293971, 1355293976, 1355293984, 1355293992, 1355293989, 1355293980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.99241280555725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:47:32.715980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/23/image_02052025_11_23_46_9347.jpg', '/home/pi/Desktop/images/02052025/11/23/image_02052025_11_23_56_10378.jpg', '/home/pi/Desktop/images/02052025/11/23/image_02052025_11_24_06_9361.jpg', '/home/pi/Desktop/images/02052025/11/24/image_02052025_11_24_16_10418.jpg', '/home/pi/Desktop/images/02052025/11/24/image_02052025_11_24_26_10417.jpg', '/home/pi/Desktop/images/02052025/11/24/image_02052025_11_24_36_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/23/image_02052025_11_23_46_9347.jpg
/home/pi/Desktop/images/02052025/11/23/image_02052025_11_23_56_10378.jpg
/home/pi/Desktop/images/02052025/11/23/image_02052025_11_24_06_9361.jpg
/home/pi/Desktop/images/02052025/11/24/image_02052025_11_24_16_10418.jpg
/home/pi/Desktop/images/02052025/11/24/image_02052025_11_24_26_10417.jpg
/home/pi/Desktop/images/02052025/11/24/image_02052025_11_24_36_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":["1355294025","1355294016","1355294010","1355294021","1355294030","1355294027"],"photo_ids_order":["1355294010","1355294016","1355294021","1355294025","1355294027","1355294030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/025e5404242c94a669301e5dfbbec8d1.jpg","text":"TemporaryFile(/tmp/multipartBody1674047231003370139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186513184,"filename":"image_02052025_11_24_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/5/2/89358c36c35755209f25047584929314.jpg","text":"TemporaryFile(/tmp/multipartBody2253182101434317677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186513184,"filename":"image_02052025_11_23_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90aab65a0ac7877f1dd77775b15d0e08.jpg","text":"TemporaryFile(/tmp/multipartBody5472978517095226772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186513184,"filename":"image_02052025_11_23_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/5/2/4f7655d89580806a0cb7f88eb4cef280.jpg","text":"TemporaryFile(/tmp/multipartBody7378439154643041024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186513184,"filename":"image_02052025_11_24_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/5/2/f021a884f511d62cfb1e28f6198c5327.jpg","text":"TemporaryFile(/tmp/multipartBody6826535523727781385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186513184,"filename":"image_02052025_11_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/5/2/0bdede7f3d7b978bfbc0027fe210cabc.jpg","text":"TemporaryFile(/tmp/multipartBody6988977852251979079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186513184,"filename":"image_02052025_11_24_26_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355294021","file1":"1355294016","file0":"1355294010","file4":"1355294027","file5":"1355294030","file3":"1355294025"},"map_files_photo_id_array":[{"photo_id":"1355294030","filename":"file5"},{"photo_id":"1355294021","filename":"file2"},{"photo_id":"1355294027","filename":"file4"},{"photo_id":"1355294016","filename":"file1"},{"photo_id":"1355294010","filename":"file0"},{"photo_id":"1355294025","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355294025":["hashtag1","hashtag2"]},{"1355294016":["hashtag1","hashtag2"]},{"1355294010":["hashtag1","hashtag2"]},{"1355294021":["hashtag1","hashtag2"]},{"1355294030":["hashtag1","hashtag2"]},{"1355294027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355294025, 1355294016, 1355294010, 1355294021, 1355294030, 1355294027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83349657058716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:48:32.699850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/24/image_02052025_11_24_46_10427.jpg', '/home/pi/Desktop/images/02052025/11/24/image_02052025_11_24_56_9417.jpg', '/home/pi/Desktop/images/02052025/11/24/image_02052025_11_25_06_10341.jpg', '/home/pi/Desktop/images/02052025/11/25/image_02052025_11_25_15_9471.jpg', '/home/pi/Desktop/images/02052025/11/25/image_02052025_11_25_26_10379.jpg', '/home/pi/Desktop/images/02052025/11/25/image_02052025_11_25_36_10538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/24/image_02052025_11_24_46_10427.jpg
/home/pi/Desktop/images/02052025/11/24/image_02052025_11_24_56_9417.jpg
/home/pi/Desktop/images/02052025/11/24/image_02052025_11_25_06_10341.jpg
/home/pi/Desktop/images/02052025/11/25/image_02052025_11_25_15_9471.jpg
/home/pi/Desktop/images/02052025/11/25/image_02052025_11_25_26_10379.jpg
/home/pi/Desktop/images/02052025/11/25/image_02052025_11_25_36_10538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355294067","1355294046","1355294054","1355294050","1355294062","1355294058"],"photo_ids_order":["1355294046","1355294050","1355294054","1355294058","1355294062","1355294067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fea725a2dc52bc0693b7c51e6e934d1e.jpg","text":"TemporaryFile(/tmp/multipartBody5402523339662528550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186573163,"filename":"image_02052025_11_25_36_10538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/099719c1b49a52a285a76d3503b386e6.jpg","text":"TemporaryFile(/tmp/multipartBody3054077573073835388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186573163,"filename":"image_02052025_11_24_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/5/2/b0607eb4df040f0afc3c0417c6102c08.jpg","text":"TemporaryFile(/tmp/multipartBody7559903792794445083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186573163,"filename":"image_02052025_11_25_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2894b8a0d35170ffa47fdb2bbeadd750.jpg","text":"TemporaryFile(/tmp/multipartBody8125046636837029096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186573163,"filename":"image_02052025_11_24_56_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/15447b68ca95e89d65461224f28da923.jpg","text":"TemporaryFile(/tmp/multipartBody7081167739154839065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186573163,"filename":"image_02052025_11_25_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/5/2/3b1066b54f4aa7d3f65d80e9f8006979.jpg","text":"TemporaryFile(/tmp/multipartBody7382061723585336112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186573163,"filename":"image_02052025_11_25_15_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355294054","file1":"1355294050","file0":"1355294046","file4":"1355294062","file5":"1355294067","file3":"1355294058"},"map_files_photo_id_array":[{"photo_id":"1355294067","filename":"file5"},{"photo_id":"1355294054","filename":"file2"},{"photo_id":"1355294062","filename":"file4"},{"photo_id":"1355294050","filename":"file1"},{"photo_id":"1355294046","filename":"file0"},{"photo_id":"1355294058","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355294067":["hashtag1","hashtag2"]},{"1355294046":["hashtag1","hashtag2"]},{"1355294054":["hashtag1","hashtag2"]},{"1355294050":["hashtag1","hashtag2"]},{"1355294062":["hashtag1","hashtag2"]},{"1355294058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355294067, 1355294046, 1355294054, 1355294050, 1355294062, 1355294058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4458065032959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:49:33.043340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/25/image_02052025_11_25_46_9352.jpg', '/home/pi/Desktop/images/02052025/11/25/image_02052025_11_25_56_10345.jpg', '/home/pi/Desktop/images/02052025/11/25/image_02052025_11_26_06_10346.jpg', '/home/pi/Desktop/images/02052025/11/26/image_02052025_11_26_16_9375.jpg', '/home/pi/Desktop/images/02052025/11/26/image_02052025_11_26_26_10357.jpg', '/home/pi/Desktop/images/02052025/11/26/image_02052025_11_26_36_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/25/image_02052025_11_25_46_9352.jpg
/home/pi/Desktop/images/02052025/11/25/image_02052025_11_25_56_10345.jpg
/home/pi/Desktop/images/02052025/11/25/image_02052025_11_26_06_10346.jpg
/home/pi/Desktop/images/02052025/11/26/image_02052025_11_26_16_9375.jpg
/home/pi/Desktop/images/02052025/11/26/image_02052025_11_26_26_10357.jpg
/home/pi/Desktop/images/02052025/11/26/image_02052025_11_26_36_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355294148","1355294144","1355294152","1355294113","1355294122","1355294101"],"photo_ids_order":["1355294101","1355294113","1355294122","1355294144","1355294148","1355294152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/535ecca06a5484cc943f84c7124360b7.jpg","text":"TemporaryFile(/tmp/multipartBody7947306720661922507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186633529,"filename":"image_02052025_11_26_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/5/2/c19c26750e6ef7e9f7e2c8781d0d8e83.jpg","text":"TemporaryFile(/tmp/multipartBody8395631316831454782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186633529,"filename":"image_02052025_11_26_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/5/2/db0b439f3ef8edffd39f3111a87e3371.jpg","text":"TemporaryFile(/tmp/multipartBody2289398936305962355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186633529,"filename":"image_02052025_11_26_36_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3672dfa04c0fc165bd87c149ab2d876.jpg","text":"TemporaryFile(/tmp/multipartBody5788334639819012098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186633529,"filename":"image_02052025_11_25_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/5/2/d2319dd0dd2160c30b9c0c0c479d8ba8.jpg","text":"TemporaryFile(/tmp/multipartBody4597276631941585412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186633529,"filename":"image_02052025_11_26_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/5/2/f9bfa613ddde09772a2646d966cb9783.jpg","text":"TemporaryFile(/tmp/multipartBody522033379362687781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186633529,"filename":"image_02052025_11_25_46_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355294122","file1":"1355294113","file0":"1355294101","file4":"1355294148","file5":"1355294152","file3":"1355294144"},"map_files_photo_id_array":[{"photo_id":"1355294152","filename":"file5"},{"photo_id":"1355294122","filename":"file2"},{"photo_id":"1355294148","filename":"file4"},{"photo_id":"1355294113","filename":"file1"},{"photo_id":"1355294101","filename":"file0"},{"photo_id":"1355294144","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355294148":["hashtag1","hashtag2"]},{"1355294144":["hashtag1","hashtag2"]},{"1355294152":["hashtag1","hashtag2"]},{"1355294113":["hashtag1","hashtag2"]},{"1355294122":["hashtag1","hashtag2"]},{"1355294101":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355294148, 1355294144, 1355294152, 1355294113, 1355294122, 1355294101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76025986671448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:50:32.207923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/26/image_02052025_11_26_46_10351.jpg', '/home/pi/Desktop/images/02052025/11/26/image_02052025_11_26_56_10469.jpg', '/home/pi/Desktop/images/02052025/11/26/image_02052025_11_27_06_9350.jpg', '/home/pi/Desktop/images/02052025/11/27/image_02052025_11_27_16_10409.jpg', '/home/pi/Desktop/images/02052025/11/27/image_02052025_11_27_26_9369.jpg', '/home/pi/Desktop/images/02052025/11/27/image_02052025_11_27_36_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/26/image_02052025_11_26_46_10351.jpg
/home/pi/Desktop/images/02052025/11/26/image_02052025_11_26_56_10469.jpg
/home/pi/Desktop/images/02052025/11/26/image_02052025_11_27_06_9350.jpg
/home/pi/Desktop/images/02052025/11/27/image_02052025_11_27_16_10409.jpg
/home/pi/Desktop/images/02052025/11/27/image_02052025_11_27_26_9369.jpg
/home/pi/Desktop/images/02052025/11/27/image_02052025_11_27_36_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355294265","1355294220","1355294270","1355294269","1355294224","1355294206"],"photo_ids_order":["1355294206","1355294220","1355294224","1355294265","1355294269","1355294270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/960082c46fea42ba3211ea0967adaab7.jpg","text":"TemporaryFile(/tmp/multipartBody3872281652889342952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186692698,"filename":"image_02052025_11_27_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/5/2/11ceb815e03d71c66017526cfc749ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2217435327065958429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186692698,"filename":"image_02052025_11_26_56_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f39375ef6a29ab8fff406ef225bd8c9.jpg","text":"TemporaryFile(/tmp/multipartBody1225291971918344794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186692698,"filename":"image_02052025_11_27_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/5/2/a27708d8705d78276bcc18f007675363.jpg","text":"TemporaryFile(/tmp/multipartBody5869185891521438303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186692698,"filename":"image_02052025_11_27_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/5/2/a366a36a9a5e9ba481f983736dcb035a.jpg","text":"TemporaryFile(/tmp/multipartBody7811495375400888830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186692698,"filename":"image_02052025_11_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/5/2/aded02675e338bcba5d0b74f6d5405b8.jpg","text":"TemporaryFile(/tmp/multipartBody6077094196379083110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186692698,"filename":"image_02052025_11_26_46_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355294224","file1":"1355294220","file0":"1355294206","file4":"1355294269","file5":"1355294270","file3":"1355294265"},"map_files_photo_id_array":[{"photo_id":"1355294270","filename":"file5"},{"photo_id":"1355294224","filename":"file2"},{"photo_id":"1355294269","filename":"file4"},{"photo_id":"1355294220","filename":"file1"},{"photo_id":"1355294206","filename":"file0"},{"photo_id":"1355294265","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355294265":["hashtag1","hashtag2"]},{"1355294220":["hashtag1","hashtag2"]},{"1355294270":["hashtag1","hashtag2"]},{"1355294269":["hashtag1","hashtag2"]},{"1355294224":["hashtag1","hashtag2"]},{"1355294206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355294265, 1355294220, 1355294270, 1355294269, 1355294224, 1355294206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.23932123184204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:51:32.383400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/27/image_02052025_11_27_46_10420.jpg', '/home/pi/Desktop/images/02052025/11/27/image_02052025_11_27_56_9395.jpg', '/home/pi/Desktop/images/02052025/11/27/image_02052025_11_28_06_10421.jpg', '/home/pi/Desktop/images/02052025/11/28/image_02052025_11_28_16_9396.jpg', '/home/pi/Desktop/images/02052025/11/28/image_02052025_11_28_26_10369.jpg', '/home/pi/Desktop/images/02052025/11/28/image_02052025_11_28_36_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/27/image_02052025_11_27_46_10420.jpg
/home/pi/Desktop/images/02052025/11/27/image_02052025_11_27_56_9395.jpg
/home/pi/Desktop/images/02052025/11/27/image_02052025_11_28_06_10421.jpg
/home/pi/Desktop/images/02052025/11/28/image_02052025_11_28_16_9396.jpg
/home/pi/Desktop/images/02052025/11/28/image_02052025_11_28_26_10369.jpg
/home/pi/Desktop/images/02052025/11/28/image_02052025_11_28_36_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355294297","1355294285","1355294294","1355294299","1355294290","1355294280"],"photo_ids_order":["1355294280","1355294285","1355294290","1355294294","1355294297","1355294299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bba936962288b8a7bbfa6395f44b087e.jpg","text":"TemporaryFile(/tmp/multipartBody4945474195276913580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186752912,"filename":"image_02052025_11_28_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7bf3a8bdc3b47c6aeed48c5ad2941090.jpg","text":"TemporaryFile(/tmp/multipartBody8958709491129491745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186752912,"filename":"image_02052025_11_27_56_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cf3cd32d5624f96e95da357a7c676b4c.jpg","text":"TemporaryFile(/tmp/multipartBody5622278572336673634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186752912,"filename":"image_02052025_11_28_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/5/2/815e79fb11c60b427bd6bf9b5e46a957.jpg","text":"TemporaryFile(/tmp/multipartBody4773314458125076660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186752912,"filename":"image_02052025_11_28_36_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d09e2f682b5a8e5c8b9fe28ccfc34ebf.jpg","text":"TemporaryFile(/tmp/multipartBody340221346788503812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186752912,"filename":"image_02052025_11_28_06_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/efee7aad6f5db975b66253fdf51c73c6.jpg","text":"TemporaryFile(/tmp/multipartBody7446882025601647843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186752912,"filename":"image_02052025_11_27_46_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355294290","file1":"1355294285","file0":"1355294280","file4":"1355294297","file5":"1355294299","file3":"1355294294"},"map_files_photo_id_array":[{"photo_id":"1355294299","filename":"file5"},{"photo_id":"1355294290","filename":"file2"},{"photo_id":"1355294297","filename":"file4"},{"photo_id":"1355294285","filename":"file1"},{"photo_id":"1355294280","filename":"file0"},{"photo_id":"1355294294","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355294297":["hashtag1","hashtag2"]},{"1355294285":["hashtag1","hashtag2"]},{"1355294294":["hashtag1","hashtag2"]},{"1355294299":["hashtag1","hashtag2"]},{"1355294290":["hashtag1","hashtag2"]},{"1355294280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355294297, 1355294285, 1355294294, 1355294299, 1355294290, 1355294280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11523985862732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:52:32.619710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/28/image_02052025_11_28_46_9379.jpg', '/home/pi/Desktop/images/02052025/11/28/image_02052025_11_28_56_10367.jpg', '/home/pi/Desktop/images/02052025/11/29/image_02052025_11_29_16_10358.jpg', '/home/pi/Desktop/images/02052025/11/29/image_02052025_11_29_26_10364.jpg', '/home/pi/Desktop/images/02052025/11/29/image_02052025_11_29_36_9388.jpg', '/home/pi/Desktop/images/02052025/11/29/image_02052025_11_29_46_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/28/image_02052025_11_28_46_9379.jpg
/home/pi/Desktop/images/02052025/11/28/image_02052025_11_28_56_10367.jpg
/home/pi/Desktop/images/02052025/11/29/image_02052025_11_29_16_10358.jpg
/home/pi/Desktop/images/02052025/11/29/image_02052025_11_29_26_10364.jpg
/home/pi/Desktop/images/02052025/11/29/image_02052025_11_29_36_9388.jpg
/home/pi/Desktop/images/02052025/11/29/image_02052025_11_29_46_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":["1355294601","1355294319","1355294315","1355294599","1355294324","1355294443"],"photo_ids_order":["1355294315","1355294319","1355294324","1355294443","1355294599","1355294601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e76ff199f13e4616a7041494fc1e0305.jpg","text":"TemporaryFile(/tmp/multipartBody3782798572416133077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186813091,"filename":"image_02052025_11_29_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/5/2/d9ecfebb57cede0271733d8605f99c43.jpg","text":"TemporaryFile(/tmp/multipartBody3046239422108371246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186813091,"filename":"image_02052025_11_28_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/5/2/fd58f55adcf265b7b324d84f14752a56.jpg","text":"TemporaryFile(/tmp/multipartBody6215003956312078544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186813091,"filename":"image_02052025_11_28_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/5/2/b0bb1b4b87c2fa9160d02da835c035c5.jpg","text":"TemporaryFile(/tmp/multipartBody890063794121795270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186813091,"filename":"image_02052025_11_29_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/5/2/5e90ebf3b51a6302fc770dfd6c9c54f1.jpg","text":"TemporaryFile(/tmp/multipartBody2815247380038920687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186813091,"filename":"image_02052025_11_29_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/5/2/69af433db3ba33e22504e21e19653e23.jpg","text":"TemporaryFile(/tmp/multipartBody3821949341503280628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186813091,"filename":"image_02052025_11_29_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355294324","file1":"1355294319","file0":"1355294315","file4":"1355294599","file5":"1355294601","file3":"1355294443"},"map_files_photo_id_array":[{"photo_id":"1355294601","filename":"file5"},{"photo_id":"1355294324","filename":"file2"},{"photo_id":"1355294599","filename":"file4"},{"photo_id":"1355294319","filename":"file1"},{"photo_id":"1355294315","filename":"file0"},{"photo_id":"1355294443","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355294601":["hashtag1","hashtag2"]},{"1355294319":["hashtag1","hashtag2"]},{"1355294315":["hashtag1","hashtag2"]},{"1355294599":["hashtag1","hashtag2"]},{"1355294324":["hashtag1","hashtag2"]},{"1355294443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355294601, 1355294319, 1355294315, 1355294599, 1355294324, 1355294443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22553896903992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:53:32.706203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/29/image_02052025_11_29_56_10464.jpg', '/home/pi/Desktop/images/02052025/11/29/image_02052025_11_30_06_9433.jpg', '/home/pi/Desktop/images/02052025/11/30/image_02052025_11_30_16_10356.jpg', '/home/pi/Desktop/images/02052025/11/30/image_02052025_11_30_26_9355.jpg', '/home/pi/Desktop/images/02052025/11/30/image_02052025_11_30_36_10350.jpg', '/home/pi/Desktop/images/02052025/11/30/image_02052025_11_30_46_10484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/29/image_02052025_11_29_56_10464.jpg
/home/pi/Desktop/images/02052025/11/29/image_02052025_11_30_06_9433.jpg
/home/pi/Desktop/images/02052025/11/30/image_02052025_11_30_16_10356.jpg
/home/pi/Desktop/images/02052025/11/30/image_02052025_11_30_26_9355.jpg
/home/pi/Desktop/images/02052025/11/30/image_02052025_11_30_36_10350.jpg
/home/pi/Desktop/images/02052025/11/30/image_02052025_11_30_46_10484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355294642","1355294636","1355294645","1355294633","1355294647","1355294638"],"photo_ids_order":["1355294633","1355294636","1355294638","1355294642","1355294645","1355294647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/317c3da26dbdb9aeda29fbdcf733382a.jpg","text":"TemporaryFile(/tmp/multipartBody1445695779528466297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186873186,"filename":"image_02052025_11_30_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2be66fa1feccd1068869105567fb97ba.jpg","text":"TemporaryFile(/tmp/multipartBody9042754521899387309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186873186,"filename":"image_02052025_11_30_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/5/2/26479176ae92fafb2e8aefb6b551c87a.jpg","text":"TemporaryFile(/tmp/multipartBody4908349416142015555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186873186,"filename":"image_02052025_11_30_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/5/2/18ba686a7eb89ee5f1fbdbdf8650aa08.jpg","text":"TemporaryFile(/tmp/multipartBody5645613251533021605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186873186,"filename":"image_02052025_11_29_56_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f359bc2645722db3cf47c10dfa7ae50.jpg","text":"TemporaryFile(/tmp/multipartBody3760649027789210879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186873186,"filename":"image_02052025_11_30_46_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed64c9c8a532251ed26e9641175141ad.jpg","text":"TemporaryFile(/tmp/multipartBody8483171899800574506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186873186,"filename":"image_02052025_11_30_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355294638","file1":"1355294636","file0":"1355294633","file4":"1355294645","file5":"1355294647","file3":"1355294642"},"map_files_photo_id_array":[{"photo_id":"1355294647","filename":"file5"},{"photo_id":"1355294638","filename":"file2"},{"photo_id":"1355294645","filename":"file4"},{"photo_id":"1355294636","filename":"file1"},{"photo_id":"1355294633","filename":"file0"},{"photo_id":"1355294642","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355294642":["hashtag1","hashtag2"]},{"1355294636":["hashtag1","hashtag2"]},{"1355294645":["hashtag1","hashtag2"]},{"1355294633":["hashtag1","hashtag2"]},{"1355294647":["hashtag1","hashtag2"]},{"1355294638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355294642, 1355294636, 1355294645, 1355294633, 1355294647, 1355294638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57744860649109 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:54:32.988660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/30/image_02052025_11_30_56_9343.jpg', '/home/pi/Desktop/images/02052025/11/30/image_02052025_11_31_06_10368.jpg', '/home/pi/Desktop/images/02052025/11/31/image_02052025_11_31_16_9440.jpg', '/home/pi/Desktop/images/02052025/11/31/image_02052025_11_31_26_10369.jpg', '/home/pi/Desktop/images/02052025/11/31/image_02052025_11_31_36_10424.jpg', '/home/pi/Desktop/images/02052025/11/31/image_02052025_11_31_46_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/30/image_02052025_11_30_56_9343.jpg
/home/pi/Desktop/images/02052025/11/30/image_02052025_11_31_06_10368.jpg
/home/pi/Desktop/images/02052025/11/31/image_02052025_11_31_16_9440.jpg
/home/pi/Desktop/images/02052025/11/31/image_02052025_11_31_26_10369.jpg
/home/pi/Desktop/images/02052025/11/31/image_02052025_11_31_36_10424.jpg
/home/pi/Desktop/images/02052025/11/31/image_02052025_11_31_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":["1355294672","1355294660","1355294674","1355294668","1355294677","1355294664"],"photo_ids_order":["1355294660","1355294664","1355294668","1355294672","1355294674","1355294677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/23eb7041cf0230e3117bb41086203e7a.jpg","text":"TemporaryFile(/tmp/multipartBody4321970006823770137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186933471,"filename":"image_02052025_11_31_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/5/2/8d88400c03ea97ef1d9d05a727acb404.jpg","text":"TemporaryFile(/tmp/multipartBody7002914848686341705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186933471,"filename":"image_02052025_11_30_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/71105052ab81213c2a2fc084916efd2c.jpg","text":"TemporaryFile(/tmp/multipartBody3995097191932407880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186933471,"filename":"image_02052025_11_31_36_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0eaa3d3b4f6c99c9880f94c337d38a6d.jpg","text":"TemporaryFile(/tmp/multipartBody3701366942117186841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186933471,"filename":"image_02052025_11_31_16_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55bee0db669e8cf8c8f563569453982e.jpg","text":"TemporaryFile(/tmp/multipartBody6336984863654754174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186933471,"filename":"image_02052025_11_31_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/5/2/6c4afed568165393ff375ba26add0f6e.jpg","text":"TemporaryFile(/tmp/multipartBody5924855161120241669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186933471,"filename":"image_02052025_11_31_06_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355294668","file1":"1355294664","file0":"1355294660","file4":"1355294674","file5":"1355294677","file3":"1355294672"},"map_files_photo_id_array":[{"photo_id":"1355294677","filename":"file5"},{"photo_id":"1355294668","filename":"file2"},{"photo_id":"1355294674","filename":"file4"},{"photo_id":"1355294664","filename":"file1"},{"photo_id":"1355294660","filename":"file0"},{"photo_id":"1355294672","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355294672":["hashtag1","hashtag2"]},{"1355294660":["hashtag1","hashtag2"]},{"1355294674":["hashtag1","hashtag2"]},{"1355294668":["hashtag1","hashtag2"]},{"1355294677":["hashtag1","hashtag2"]},{"1355294664":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355294672, 1355294660, 1355294674, 1355294668, 1355294677, 1355294664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62173056602478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:55:33.234543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/31/image_02052025_11_31_56_10416.jpg', '/home/pi/Desktop/images/02052025/11/31/image_02052025_11_32_06_9409.jpg', '/home/pi/Desktop/images/02052025/11/32/image_02052025_11_32_16_10378.jpg', '/home/pi/Desktop/images/02052025/11/32/image_02052025_11_32_26_10479.jpg', '/home/pi/Desktop/images/02052025/11/32/image_02052025_11_32_36_9347.jpg', '/home/pi/Desktop/images/02052025/11/32/image_02052025_11_32_46_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/31/image_02052025_11_31_56_10416.jpg
/home/pi/Desktop/images/02052025/11/31/image_02052025_11_32_06_9409.jpg
/home/pi/Desktop/images/02052025/11/32/image_02052025_11_32_16_10378.jpg
/home/pi/Desktop/images/02052025/11/32/image_02052025_11_32_26_10479.jpg
/home/pi/Desktop/images/02052025/11/32/image_02052025_11_32_36_9347.jpg
/home/pi/Desktop/images/02052025/11/32/image_02052025_11_32_46_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355294712","1355294706","1355294700","1355294689","1355294697","1355294691"],"photo_ids_order":["1355294689","1355294691","1355294697","1355294700","1355294706","1355294712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bde663b4769384a071938f8bf05ca5f9.jpg","text":"TemporaryFile(/tmp/multipartBody6915464443489488668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186993705,"filename":"image_02052025_11_32_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/33bb697ef79cc66c3b5da7774f98cb24.jpg","text":"TemporaryFile(/tmp/multipartBody3214960883027838005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186993705,"filename":"image_02052025_11_32_36_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/98fd377456ffe81cde153935a5c6077a.jpg","text":"TemporaryFile(/tmp/multipartBody1829347802013874576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186993705,"filename":"image_02052025_11_32_26_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/17400d54cf1411a58374b0efff7a9546.jpg","text":"TemporaryFile(/tmp/multipartBody8248494861276875141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186993705,"filename":"image_02052025_11_31_56_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5712da7cd2830223a34452cf9aff5340.jpg","text":"TemporaryFile(/tmp/multipartBody4996420244696582357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186993705,"filename":"image_02052025_11_32_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/5/2/d67939c0caa1d9de21600b8e36d9dcc1.jpg","text":"TemporaryFile(/tmp/multipartBody3112252858220746365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746186993705,"filename":"image_02052025_11_32_06_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355294697","file1":"1355294691","file0":"1355294689","file4":"1355294706","file5":"1355294712","file3":"1355294700"},"map_files_photo_id_array":[{"photo_id":"1355294712","filename":"file5"},{"photo_id":"1355294697","filename":"file2"},{"photo_id":"1355294706","filename":"file4"},{"photo_id":"1355294691","filename":"file1"},{"photo_id":"1355294689","filename":"file0"},{"photo_id":"1355294700","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355294712":["hashtag1","hashtag2"]},{"1355294706":["hashtag1","hashtag2"]},{"1355294700":["hashtag1","hashtag2"]},{"1355294689":["hashtag1","hashtag2"]},{"1355294697":["hashtag1","hashtag2"]},{"1355294691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355294712, 1355294706, 1355294700, 1355294689, 1355294697, 1355294691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.65216326713562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:56:32.276874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/32/image_02052025_11_32_56_9438.jpg', '/home/pi/Desktop/images/02052025/11/32/image_02052025_11_33_06_10339.jpg', '/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_16_10352.jpg', '/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_26_9435.jpg', '/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_36_10408.jpg', '/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_46_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/32/image_02052025_11_32_56_9438.jpg
/home/pi/Desktop/images/02052025/11/32/image_02052025_11_33_06_10339.jpg
/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_16_10352.jpg
/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_26_9435.jpg
/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_36_10408.jpg
/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_46_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":["1355294727","1355294735","1355294738","1355294742","1355294730","1355294724"],"photo_ids_order":["1355294724","1355294727","1355294730","1355294735","1355294738","1355294742"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4221886c72ef1a9db6af1207df0a296.jpg","text":"TemporaryFile(/tmp/multipartBody4779838871271784765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187052769,"filename":"image_02052025_11_33_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/5/2/e6320c1a8221aa0180d03def751604ba.jpg","text":"TemporaryFile(/tmp/multipartBody5943585731925524587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187052769,"filename":"image_02052025_11_33_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/5/2/4bd0d642201217430de7a8030db36fff.jpg","text":"TemporaryFile(/tmp/multipartBody4998986756040507351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187052769,"filename":"image_02052025_11_33_36_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9941a254c6751f1ee2030d30874e82b9.jpg","text":"TemporaryFile(/tmp/multipartBody170612597915085771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187052769,"filename":"image_02052025_11_33_46_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6dac85c4df5302afce4e365e1a9e3e5d.jpg","text":"TemporaryFile(/tmp/multipartBody4061567395179549599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187052769,"filename":"image_02052025_11_33_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/5/2/8e65e807a7d05628cc4bb88d3f8e378a.jpg","text":"TemporaryFile(/tmp/multipartBody3465508124100282909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187052769,"filename":"image_02052025_11_32_56_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355294730","file1":"1355294727","file0":"1355294724","file4":"1355294738","file5":"1355294742","file3":"1355294735"},"map_files_photo_id_array":[{"photo_id":"1355294742","filename":"file5"},{"photo_id":"1355294730","filename":"file2"},{"photo_id":"1355294738","filename":"file4"},{"photo_id":"1355294727","filename":"file1"},{"photo_id":"1355294724","filename":"file0"},{"photo_id":"1355294735","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355294727":["hashtag1","hashtag2"]},{"1355294735":["hashtag1","hashtag2"]},{"1355294738":["hashtag1","hashtag2"]},{"1355294742":["hashtag1","hashtag2"]},{"1355294730":["hashtag1","hashtag2"]},{"1355294724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355294727, 1355294735, 1355294738, 1355294742, 1355294730, 1355294724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35559153556824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 13:57:32.457025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_56_10362.jpg', '/home/pi/Desktop/images/02052025/11/33/image_02052025_11_34_06_10495.jpg', '/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_16_9344.jpg', '/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_26_10377.jpg', '/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_36_9446.jpg', '/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_46_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_56_10362.jpg
/home/pi/Desktop/images/02052025/11/33/image_02052025_11_34_06_10495.jpg
/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_16_9344.jpg
/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_26_10377.jpg
/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_36_9446.jpg
/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_46_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 13:59:04.046536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_56_10362.jpg', '/home/pi/Desktop/images/02052025/11/33/image_02052025_11_34_06_10495.jpg', '/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_16_9344.jpg', '/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_26_10377.jpg', '/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_36_9446.jpg', '/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_46_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/33/image_02052025_11_33_56_10362.jpg
/home/pi/Desktop/images/02052025/11/33/image_02052025_11_34_06_10495.jpg
/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_16_9344.jpg
/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_26_10377.jpg
/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_36_9446.jpg
/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_46_10354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355295114","1355295164","1355295302","1355295235","1355295049","1355294991"],"photo_ids_order":["1355294991","1355295049","1355295114","1355295164","1355295235","1355295302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e0ce62153f03e550472d3b35c90ddf6.jpg","text":"TemporaryFile(/tmp/multipartBody541359253592913385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187204630,"filename":"image_02052025_11_34_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/5/2/e9b6ca6b4108187f79b3bbfe898b61e5.jpg","text":"TemporaryFile(/tmp/multipartBody3486314826385250520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187204630,"filename":"image_02052025_11_34_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/177c968cc664cc802e065537e29a3fd9.jpg","text":"TemporaryFile(/tmp/multipartBody6107426742011244417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187204630,"filename":"image_02052025_11_34_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de432501806ae5e52f804d3f2b9f62e5.jpg","text":"TemporaryFile(/tmp/multipartBody5559747641386382318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187204630,"filename":"image_02052025_11_34_36_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/615950a55b17d51a0fc18140dac5bd75.jpg","text":"TemporaryFile(/tmp/multipartBody9136597897961740377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187204630,"filename":"image_02052025_11_34_06_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2000b7c7b8f8595c258a36603e33cfd1.jpg","text":"TemporaryFile(/tmp/multipartBody7569966446275604346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187204630,"filename":"image_02052025_11_33_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355295114","file1":"1355295049","file0":"1355294991","file4":"1355295235","file5":"1355295302","file3":"1355295164"},"map_files_photo_id_array":[{"photo_id":"1355295302","filename":"file5"},{"photo_id":"1355295114","filename":"file2"},{"photo_id":"1355295235","filename":"file4"},{"photo_id":"1355295049","filename":"file1"},{"photo_id":"1355294991","filename":"file0"},{"photo_id":"1355295164","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355295114":["hashtag1","hashtag2"]},{"1355295164":["hashtag1","hashtag2"]},{"1355295302":["hashtag1","hashtag2"]},{"1355295235":["hashtag1","hashtag2"]},{"1355295049":["hashtag1","hashtag2"]},{"1355294991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355295114, 1355295164, 1355295302, 1355295235, 1355295049, 1355294991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45678424835205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 13:59:42.992064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_56_10443.jpg', '/home/pi/Desktop/images/02052025/11/34/image_02052025_11_35_06_9395.jpg', '/home/pi/Desktop/images/02052025/11/35/image_02052025_11_35_16_10360.jpg', '/home/pi/Desktop/images/02052025/11/35/image_02052025_11_35_25_9358.jpg', '/home/pi/Desktop/images/02052025/11/35/image_02052025_11_35_36_10399.jpg', '/home/pi/Desktop/images/02052025/11/35/image_02052025_11_35_46_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/34/image_02052025_11_34_56_10443.jpg
/home/pi/Desktop/images/02052025/11/34/image_02052025_11_35_06_9395.jpg
/home/pi/Desktop/images/02052025/11/35/image_02052025_11_35_16_10360.jpg
/home/pi/Desktop/images/02052025/11/35/image_02052025_11_35_25_9358.jpg
/home/pi/Desktop/images/02052025/11/35/image_02052025_11_35_36_10399.jpg
/home/pi/Desktop/images/02052025/11/35/image_02052025_11_35_46_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":["1355295809","1355295577","1355295509","1355295709","1355295759","1355295639"],"photo_ids_order":["1355295509","1355295577","1355295639","1355295709","1355295759","1355295809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1abb843abba47f30fc5f101a6eaff46a.jpg","text":"TemporaryFile(/tmp/multipartBody6532686433262197724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187243467,"filename":"image_02052025_11_35_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/31cdfddf79da6b5f3480160634498fe0.jpg","text":"TemporaryFile(/tmp/multipartBody5754486999613108693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187243467,"filename":"image_02052025_11_35_06_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0a222023415d42d62406bd6c3de29e06.jpg","text":"TemporaryFile(/tmp/multipartBody5117492073854125835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187243467,"filename":"image_02052025_11_34_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/5/2/b02109daf123a3cb528a35a0c65ff069.jpg","text":"TemporaryFile(/tmp/multipartBody911212447762156546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187243467,"filename":"image_02052025_11_35_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/5/2/c5fdbf79c515ededfc7f18fbdf9a886d.jpg","text":"TemporaryFile(/tmp/multipartBody7933071506980387650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187243467,"filename":"image_02052025_11_35_36_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7fe1c67323b9cdf5e530e58ec20dcf64.jpg","text":"TemporaryFile(/tmp/multipartBody6529685809235349792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187243467,"filename":"image_02052025_11_35_16_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355295639","file1":"1355295577","file0":"1355295509","file4":"1355295759","file5":"1355295809","file3":"1355295709"},"map_files_photo_id_array":[{"photo_id":"1355295809","filename":"file5"},{"photo_id":"1355295639","filename":"file2"},{"photo_id":"1355295759","filename":"file4"},{"photo_id":"1355295577","filename":"file1"},{"photo_id":"1355295509","filename":"file0"},{"photo_id":"1355295709","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355295809":["hashtag1","hashtag2"]},{"1355295577":["hashtag1","hashtag2"]},{"1355295509":["hashtag1","hashtag2"]},{"1355295709":["hashtag1","hashtag2"]},{"1355295759":["hashtag1","hashtag2"]},{"1355295639":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355295809, 1355295577, 1355295509, 1355295709, 1355295759, 1355295639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58855748176575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:00:32.136145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/35/image_02052025_11_35_56_9476.jpg', '/home/pi/Desktop/images/02052025/11/35/image_02052025_11_36_06_10399.jpg', '/home/pi/Desktop/images/02052025/11/36/image_02052025_11_36_15_9344.jpg', '/home/pi/Desktop/images/02052025/11/36/image_02052025_11_36_26_10356.jpg', '/home/pi/Desktop/images/02052025/11/36/image_02052025_11_36_36_10334.jpg', '/home/pi/Desktop/images/02052025/11/36/image_02052025_11_36_46_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/35/image_02052025_11_35_56_9476.jpg
/home/pi/Desktop/images/02052025/11/35/image_02052025_11_36_06_10399.jpg
/home/pi/Desktop/images/02052025/11/36/image_02052025_11_36_15_9344.jpg
/home/pi/Desktop/images/02052025/11/36/image_02052025_11_36_26_10356.jpg
/home/pi/Desktop/images/02052025/11/36/image_02052025_11_36_36_10334.jpg
/home/pi/Desktop/images/02052025/11/36/image_02052025_11_36_46_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355296138","1355296242","1355296191","1355296053","1355296110","1355296082"],"photo_ids_order":["1355296053","1355296082","1355296110","1355296138","1355296191","1355296242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16655fa1d9c2ba87cd6e096e1e892c58.jpg","text":"TemporaryFile(/tmp/multipartBody7876732789125486969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187292611,"filename":"image_02052025_11_36_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/660ddec1d8ec89d02b39d63b86b8639f.jpg","text":"TemporaryFile(/tmp/multipartBody5432162248384338062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187292611,"filename":"image_02052025_11_36_46_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9b2d23e4b3757b443c1e2b3044cee8f.jpg","text":"TemporaryFile(/tmp/multipartBody7805469436271065458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187292611,"filename":"image_02052025_11_36_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/5/2/7905e4e6be23e214be23504f91e14dfd.jpg","text":"TemporaryFile(/tmp/multipartBody8463668601383248518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187292611,"filename":"image_02052025_11_35_56_9476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/caa995fdd36b5a86a6671492bbbdc208.jpg","text":"TemporaryFile(/tmp/multipartBody3489087576649669570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187292611,"filename":"image_02052025_11_36_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/5/2/e10bf95cfed6f0055fce2301c6b1253c.jpg","text":"TemporaryFile(/tmp/multipartBody6602241724151356709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187292611,"filename":"image_02052025_11_36_06_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355296110","file1":"1355296082","file0":"1355296053","file4":"1355296191","file5":"1355296242","file3":"1355296138"},"map_files_photo_id_array":[{"photo_id":"1355296242","filename":"file5"},{"photo_id":"1355296110","filename":"file2"},{"photo_id":"1355296191","filename":"file4"},{"photo_id":"1355296082","filename":"file1"},{"photo_id":"1355296053","filename":"file0"},{"photo_id":"1355296138","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355296138":["hashtag1","hashtag2"]},{"1355296242":["hashtag1","hashtag2"]},{"1355296191":["hashtag1","hashtag2"]},{"1355296053":["hashtag1","hashtag2"]},{"1355296110":["hashtag1","hashtag2"]},{"1355296082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355296138, 1355296242, 1355296191, 1355296053, 1355296110, 1355296082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43949317932129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:01:32.327966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/36/image_02052025_11_36_56_10378.jpg', '/home/pi/Desktop/images/02052025/11/36/image_02052025_11_37_06_10472.jpg', '/home/pi/Desktop/images/02052025/11/37/image_02052025_11_37_16_9092.jpg', '/home/pi/Desktop/images/02052025/11/37/image_02052025_11_37_26_10370.jpg', '/home/pi/Desktop/images/02052025/11/37/image_02052025_11_37_36_10407.jpg', '/home/pi/Desktop/images/02052025/11/37/image_02052025_11_37_46_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/36/image_02052025_11_36_56_10378.jpg
/home/pi/Desktop/images/02052025/11/36/image_02052025_11_37_06_10472.jpg
/home/pi/Desktop/images/02052025/11/37/image_02052025_11_37_16_9092.jpg
/home/pi/Desktop/images/02052025/11/37/image_02052025_11_37_26_10370.jpg
/home/pi/Desktop/images/02052025/11/37/image_02052025_11_37_36_10407.jpg
/home/pi/Desktop/images/02052025/11/37/image_02052025_11_37_46_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355296439","1355296480","1355296612","1355296516","1355296647","1355296571"],"photo_ids_order":["1355296439","1355296480","1355296516","1355296571","1355296612","1355296647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f53fad10c2b4fb158fa18a4dfd9ef58e.jpg","text":"TemporaryFile(/tmp/multipartBody6261675566442867270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187352798,"filename":"image_02052025_11_36_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0e91f426963b9019cbba018d8778a102.jpg","text":"TemporaryFile(/tmp/multipartBody6683640351311912834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187352798,"filename":"image_02052025_11_37_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/5/2/1b4df7106ab9962d25cff2bca51a065f.jpg","text":"TemporaryFile(/tmp/multipartBody5593760576401574636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187352798,"filename":"image_02052025_11_37_36_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4aca7a61d00f6161263ea2a753613e5b.jpg","text":"TemporaryFile(/tmp/multipartBody7424212055569960476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187352798,"filename":"image_02052025_11_37_16_9092.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94bb749a72031fd7791b4d0026f00105.jpg","text":"TemporaryFile(/tmp/multipartBody5834659630793094974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187352798,"filename":"image_02052025_11_37_46_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9c0f39df5eba915b41e63c3e8b4f2af.jpg","text":"TemporaryFile(/tmp/multipartBody6989634294501093550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187352798,"filename":"image_02052025_11_37_26_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355296516","file1":"1355296480","file0":"1355296439","file4":"1355296612","file5":"1355296647","file3":"1355296571"},"map_files_photo_id_array":[{"photo_id":"1355296647","filename":"file5"},{"photo_id":"1355296516","filename":"file2"},{"photo_id":"1355296612","filename":"file4"},{"photo_id":"1355296480","filename":"file1"},{"photo_id":"1355296439","filename":"file0"},{"photo_id":"1355296571","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355296439":["hashtag1","hashtag2"]},{"1355296480":["hashtag1","hashtag2"]},{"1355296612":["hashtag1","hashtag2"]},{"1355296516":["hashtag1","hashtag2"]},{"1355296647":["hashtag1","hashtag2"]},{"1355296571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355296439, 1355296480, 1355296612, 1355296516, 1355296647, 1355296571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9425950050354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:02:32.637145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/37/image_02052025_11_37_56_10374.jpg', '/home/pi/Desktop/images/02052025/11/37/image_02052025_11_38_06_9364.jpg', '/home/pi/Desktop/images/02052025/11/38/image_02052025_11_38_16_10436.jpg', '/home/pi/Desktop/images/02052025/11/38/image_02052025_11_38_26_10484.jpg', '/home/pi/Desktop/images/02052025/11/38/image_02052025_11_38_36_9330.jpg', '/home/pi/Desktop/images/02052025/11/38/image_02052025_11_38_46_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/37/image_02052025_11_37_56_10374.jpg
/home/pi/Desktop/images/02052025/11/37/image_02052025_11_38_06_9364.jpg
/home/pi/Desktop/images/02052025/11/38/image_02052025_11_38_16_10436.jpg
/home/pi/Desktop/images/02052025/11/38/image_02052025_11_38_26_10484.jpg
/home/pi/Desktop/images/02052025/11/38/image_02052025_11_38_36_9330.jpg
/home/pi/Desktop/images/02052025/11/38/image_02052025_11_38_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":["1355296747","1355296770","1355296830","1355296860","1355296800","1355296745"],"photo_ids_order":["1355296745","1355296747","1355296770","1355296800","1355296830","1355296860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/511f915e924fe0d3f3ccdcc1191f7da8.jpg","text":"TemporaryFile(/tmp/multipartBody5403595732733297310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187413124,"filename":"image_02052025_11_38_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/5/2/cc06bfc15bfd6385dfb745a354c78ab5.jpg","text":"TemporaryFile(/tmp/multipartBody1868779130545118578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187413124,"filename":"image_02052025_11_38_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/5/2/390fae627c8100ab18e5c0b0fbffe5c6.jpg","text":"TemporaryFile(/tmp/multipartBody659991976914166839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187413124,"filename":"image_02052025_11_38_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/5/2/1e7c230604e52aed2f216bf35ca9d5a1.jpg","text":"TemporaryFile(/tmp/multipartBody5165927341041312396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187413124,"filename":"image_02052025_11_38_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/5/2/bc48049f145bd4be11d2eaae55f1d5f1.jpg","text":"TemporaryFile(/tmp/multipartBody2997153632337203684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187413124,"filename":"image_02052025_11_38_26_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d94fa4200afe5fbb47edc4506c7b67e8.jpg","text":"TemporaryFile(/tmp/multipartBody1866961989701318519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187413124,"filename":"image_02052025_11_37_56_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355296770","file1":"1355296747","file0":"1355296745","file4":"1355296830","file5":"1355296860","file3":"1355296800"},"map_files_photo_id_array":[{"photo_id":"1355296860","filename":"file5"},{"photo_id":"1355296770","filename":"file2"},{"photo_id":"1355296830","filename":"file4"},{"photo_id":"1355296747","filename":"file1"},{"photo_id":"1355296745","filename":"file0"},{"photo_id":"1355296800","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355296747":["hashtag1","hashtag2"]},{"1355296770":["hashtag1","hashtag2"]},{"1355296830":["hashtag1","hashtag2"]},{"1355296860":["hashtag1","hashtag2"]},{"1355296800":["hashtag1","hashtag2"]},{"1355296745":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355296747, 1355296770, 1355296830, 1355296860, 1355296800, 1355296745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.492852210998535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:03:32.718997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/38/image_02052025_11_38_56_10368.jpg', '/home/pi/Desktop/images/02052025/11/38/image_02052025_11_39_06_9340.jpg', '/home/pi/Desktop/images/02052025/11/39/image_02052025_11_39_16_10336.jpg', '/home/pi/Desktop/images/02052025/11/39/image_02052025_11_39_25_9351.jpg', '/home/pi/Desktop/images/02052025/11/39/image_02052025_11_39_36_10384.jpg', '/home/pi/Desktop/images/02052025/11/39/image_02052025_11_39_46_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/38/image_02052025_11_38_56_10368.jpg
/home/pi/Desktop/images/02052025/11/38/image_02052025_11_39_06_9340.jpg
/home/pi/Desktop/images/02052025/11/39/image_02052025_11_39_16_10336.jpg
/home/pi/Desktop/images/02052025/11/39/image_02052025_11_39_25_9351.jpg
/home/pi/Desktop/images/02052025/11/39/image_02052025_11_39_36_10384.jpg
/home/pi/Desktop/images/02052025/11/39/image_02052025_11_39_46_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355297224","1355297227","1355297140","1355297110","1355297168","1355297201"],"photo_ids_order":["1355297110","1355297140","1355297168","1355297201","1355297224","1355297227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a5468d651c289e110b07443d618177cb.jpg","text":"TemporaryFile(/tmp/multipartBody3592521876721303574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187473180,"filename":"image_02052025_11_39_36_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c4da23ff8ea755cfea347951feae3a0.jpg","text":"TemporaryFile(/tmp/multipartBody663262712365582488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187473180,"filename":"image_02052025_11_39_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/5/2/6f69a28eacdd58f18f490c605d4ee798.jpg","text":"TemporaryFile(/tmp/multipartBody2867265867292473998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187473180,"filename":"image_02052025_11_39_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/5/2/05e74981f9633303701a310e71039d67.jpg","text":"TemporaryFile(/tmp/multipartBody5575252098179846134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187473180,"filename":"image_02052025_11_38_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/5/2/618f43e7bd86a1043542007b51bc2f27.jpg","text":"TemporaryFile(/tmp/multipartBody5149182672621659965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187473180,"filename":"image_02052025_11_39_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/5/2/66b7d8d3b2af4c7c21be0b4db23e6b2e.jpg","text":"TemporaryFile(/tmp/multipartBody5409679893860134655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187473180,"filename":"image_02052025_11_39_25_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355297168","file1":"1355297140","file0":"1355297110","file4":"1355297224","file5":"1355297227","file3":"1355297201"},"map_files_photo_id_array":[{"photo_id":"1355297227","filename":"file5"},{"photo_id":"1355297168","filename":"file2"},{"photo_id":"1355297224","filename":"file4"},{"photo_id":"1355297140","filename":"file1"},{"photo_id":"1355297110","filename":"file0"},{"photo_id":"1355297201","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355297224":["hashtag1","hashtag2"]},{"1355297227":["hashtag1","hashtag2"]},{"1355297140":["hashtag1","hashtag2"]},{"1355297110":["hashtag1","hashtag2"]},{"1355297168":["hashtag1","hashtag2"]},{"1355297201":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355297224, 1355297227, 1355297140, 1355297110, 1355297168, 1355297201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92444896697998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:04:32.968694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/39/image_02052025_11_39_56_9412.jpg', '/home/pi/Desktop/images/02052025/11/39/image_02052025_11_40_06_10458.jpg', '/home/pi/Desktop/images/02052025/11/40/image_02052025_11_40_16_9451.jpg', '/home/pi/Desktop/images/02052025/11/40/image_02052025_11_40_26_10369.jpg', '/home/pi/Desktop/images/02052025/11/40/image_02052025_11_40_36_10415.jpg', '/home/pi/Desktop/images/02052025/11/40/image_02052025_11_40_46_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/39/image_02052025_11_39_56_9412.jpg
/home/pi/Desktop/images/02052025/11/39/image_02052025_11_40_06_10458.jpg
/home/pi/Desktop/images/02052025/11/40/image_02052025_11_40_16_9451.jpg
/home/pi/Desktop/images/02052025/11/40/image_02052025_11_40_26_10369.jpg
/home/pi/Desktop/images/02052025/11/40/image_02052025_11_40_36_10415.jpg
/home/pi/Desktop/images/02052025/11/40/image_02052025_11_40_46_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":["1355298031","1355298001","1355298066","1355298044","1355298041","1355298038"],"photo_ids_order":["1355298001","1355298031","1355298038","1355298041","1355298044","1355298066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/76b3da50aa5222a2eea3724fe5db8606.jpg","text":"TemporaryFile(/tmp/multipartBody422677879069771350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187533458,"filename":"image_02052025_11_40_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/5/2/7babebea29f4a23bdcea7d3192b6af96.jpg","text":"TemporaryFile(/tmp/multipartBody2879877262193127675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187533458,"filename":"image_02052025_11_39_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21a192b9ca1b457c6c2134324b21eddb.jpg","text":"TemporaryFile(/tmp/multipartBody8644157134616489244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187533458,"filename":"image_02052025_11_40_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/5/2/c37b0fe3e1f234d0a8dc7e2a814428e1.jpg","text":"TemporaryFile(/tmp/multipartBody4035409576408604701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187533458,"filename":"image_02052025_11_40_36_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e4eead695bdbe189717ce2c79bf872ca.jpg","text":"TemporaryFile(/tmp/multipartBody7409375150558599015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187533458,"filename":"image_02052025_11_40_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/5/2/3e94351bc5b95e9b0db7faadaa9957b5.jpg","text":"TemporaryFile(/tmp/multipartBody614986853893299593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187533458,"filename":"image_02052025_11_40_16_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355298038","file1":"1355298031","file0":"1355298001","file4":"1355298044","file5":"1355298066","file3":"1355298041"},"map_files_photo_id_array":[{"photo_id":"1355298066","filename":"file5"},{"photo_id":"1355298038","filename":"file2"},{"photo_id":"1355298044","filename":"file4"},{"photo_id":"1355298031","filename":"file1"},{"photo_id":"1355298001","filename":"file0"},{"photo_id":"1355298041","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355298031":["hashtag1","hashtag2"]},{"1355298001":["hashtag1","hashtag2"]},{"1355298066":["hashtag1","hashtag2"]},{"1355298044":["hashtag1","hashtag2"]},{"1355298041":["hashtag1","hashtag2"]},{"1355298038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355298031, 1355298001, 1355298066, 1355298044, 1355298041, 1355298038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11711025238037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:05:32.164775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/40/image_02052025_11_40_56_10361.jpg', '/home/pi/Desktop/images/02052025/11/40/image_02052025_11_41_06_9458.jpg', '/home/pi/Desktop/images/02052025/11/41/image_02052025_11_41_16_10348.jpg', '/home/pi/Desktop/images/02052025/11/41/image_02052025_11_41_26_10467.jpg', '/home/pi/Desktop/images/02052025/11/41/image_02052025_11_41_36_9342.jpg', '/home/pi/Desktop/images/02052025/11/41/image_02052025_11_41_56_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/40/image_02052025_11_40_56_10361.jpg
/home/pi/Desktop/images/02052025/11/40/image_02052025_11_41_06_9458.jpg
/home/pi/Desktop/images/02052025/11/41/image_02052025_11_41_16_10348.jpg
/home/pi/Desktop/images/02052025/11/41/image_02052025_11_41_26_10467.jpg
/home/pi/Desktop/images/02052025/11/41/image_02052025_11_41_36_9342.jpg
/home/pi/Desktop/images/02052025/11/41/image_02052025_11_41_56_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":["1355298508","1355298450","1355298519","1355298299","1355298479","1355298407"],"photo_ids_order":["1355298299","1355298407","1355298450","1355298479","1355298508","1355298519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b50ea8ed0da550d10d8609ea4c293c4.jpg","text":"TemporaryFile(/tmp/multipartBody5172987356884293518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187592639,"filename":"image_02052025_11_41_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/5/2/2e7c6a426426ad5ad71ad98f5dc8d19a.jpg","text":"TemporaryFile(/tmp/multipartBody4118199698394881288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187592639,"filename":"image_02052025_11_41_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/5/2/595ea02937d744066dc93d2a724eafa6.jpg","text":"TemporaryFile(/tmp/multipartBody658437657071719769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187592639,"filename":"image_02052025_11_41_56_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3924a433b3d9063025851da960492b92.jpg","text":"TemporaryFile(/tmp/multipartBody894948164547541513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187592639,"filename":"image_02052025_11_40_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/5/2/943824d8933635357805ae9549b8c7c8.jpg","text":"TemporaryFile(/tmp/multipartBody838319063816310991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187592639,"filename":"image_02052025_11_41_26_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/99f6a71e29439550f4e4fc1cf9008829.jpg","text":"TemporaryFile(/tmp/multipartBody6959545663371808320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187592639,"filename":"image_02052025_11_41_06_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355298450","file1":"1355298407","file0":"1355298299","file4":"1355298508","file5":"1355298519","file3":"1355298479"},"map_files_photo_id_array":[{"photo_id":"1355298519","filename":"file5"},{"photo_id":"1355298450","filename":"file2"},{"photo_id":"1355298508","filename":"file4"},{"photo_id":"1355298407","filename":"file1"},{"photo_id":"1355298299","filename":"file0"},{"photo_id":"1355298479","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355298508":["hashtag1","hashtag2"]},{"1355298450":["hashtag1","hashtag2"]},{"1355298519":["hashtag1","hashtag2"]},{"1355298299":["hashtag1","hashtag2"]},{"1355298479":["hashtag1","hashtag2"]},{"1355298407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355298508, 1355298450, 1355298519, 1355298299, 1355298479, 1355298407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30914545059204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:06:32.279252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/41/image_02052025_11_42_06_10397.jpg', '/home/pi/Desktop/images/02052025/11/42/image_02052025_11_42_16_10439.jpg', '/home/pi/Desktop/images/02052025/11/42/image_02052025_11_42_26_9367.jpg', '/home/pi/Desktop/images/02052025/11/42/image_02052025_11_42_46_9449.jpg', '/home/pi/Desktop/images/02052025/11/42/image_02052025_11_42_56_10373.jpg', '/home/pi/Desktop/images/02052025/11/42/image_02052025_11_43_06_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/41/image_02052025_11_42_06_10397.jpg
/home/pi/Desktop/images/02052025/11/42/image_02052025_11_42_16_10439.jpg
/home/pi/Desktop/images/02052025/11/42/image_02052025_11_42_26_9367.jpg
/home/pi/Desktop/images/02052025/11/42/image_02052025_11_42_46_9449.jpg
/home/pi/Desktop/images/02052025/11/42/image_02052025_11_42_56_10373.jpg
/home/pi/Desktop/images/02052025/11/42/image_02052025_11_43_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":["1355298649","1355298774","1355298776","1355298770","1355298767","1355298778"],"photo_ids_order":["1355298649","1355298767","1355298770","1355298774","1355298776","1355298778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/42939da44b4bfdbcb43a15e279d7af1e.jpg","text":"TemporaryFile(/tmp/multipartBody9094392894933684058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187652748,"filename":"image_02052025_11_42_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86016dcd7e9605483693c693eb5decdc.jpg","text":"TemporaryFile(/tmp/multipartBody5531007179930260324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187652748,"filename":"image_02052025_11_42_46_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f1af55f817cbe4ea4855baef37429d92.jpg","text":"TemporaryFile(/tmp/multipartBody1103015664631048491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187652748,"filename":"image_02052025_11_42_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/5/2/0501e531ce4a8137ccb945630266233f.jpg","text":"TemporaryFile(/tmp/multipartBody1701038977287718025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187652748,"filename":"image_02052025_11_42_26_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/004d0f860baa76e0743243f5f23e40db.jpg","text":"TemporaryFile(/tmp/multipartBody4564105875515016102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187652748,"filename":"image_02052025_11_42_16_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e58cce104ef171723df697c82eab365.jpg","text":"TemporaryFile(/tmp/multipartBody6260187199377199956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187652748,"filename":"image_02052025_11_43_06_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355298770","file1":"1355298767","file0":"1355298649","file4":"1355298776","file5":"1355298778","file3":"1355298774"},"map_files_photo_id_array":[{"photo_id":"1355298778","filename":"file5"},{"photo_id":"1355298770","filename":"file2"},{"photo_id":"1355298776","filename":"file4"},{"photo_id":"1355298767","filename":"file1"},{"photo_id":"1355298649","filename":"file0"},{"photo_id":"1355298774","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355298649":["hashtag1","hashtag2"]},{"1355298774":["hashtag1","hashtag2"]},{"1355298776":["hashtag1","hashtag2"]},{"1355298770":["hashtag1","hashtag2"]},{"1355298767":["hashtag1","hashtag2"]},{"1355298778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355298649, 1355298774, 1355298776, 1355298770, 1355298767, 1355298778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60816836357117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:07:32.477987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/43/image_02052025_11_43_16_9340.jpg', '/home/pi/Desktop/images/02052025/11/43/image_02052025_11_43_26_10382.jpg', '/home/pi/Desktop/images/02052025/11/43/image_02052025_11_43_36_10407.jpg', '/home/pi/Desktop/images/02052025/11/43/image_02052025_11_43_46_9372.jpg', '/home/pi/Desktop/images/02052025/11/43/image_02052025_11_43_56_10345.jpg', '/home/pi/Desktop/images/02052025/11/43/image_02052025_11_44_06_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/43/image_02052025_11_43_16_9340.jpg
/home/pi/Desktop/images/02052025/11/43/image_02052025_11_43_26_10382.jpg
/home/pi/Desktop/images/02052025/11/43/image_02052025_11_43_36_10407.jpg
/home/pi/Desktop/images/02052025/11/43/image_02052025_11_43_46_9372.jpg
/home/pi/Desktop/images/02052025/11/43/image_02052025_11_43_56_10345.jpg
/home/pi/Desktop/images/02052025/11/43/image_02052025_11_44_06_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":["1355298811","1355298822","1355298819","1355298807","1355298815","1355298803"],"photo_ids_order":["1355298803","1355298807","1355298811","1355298815","1355298819","1355298822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d707945f8b045dfde02c4ced95c56e63.jpg","text":"TemporaryFile(/tmp/multipartBody4256513481459140216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187712943,"filename":"image_02052025_11_43_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/5/2/4c72c86cc6e6888bb9fcd6f01acc25a1.jpg","text":"TemporaryFile(/tmp/multipartBody6413778763271472893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187712943,"filename":"image_02052025_11_44_06_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b734814a4eb4d25d7c1ba666d958c42.jpg","text":"TemporaryFile(/tmp/multipartBody5223601542334420712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187712943,"filename":"image_02052025_11_43_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/5/2/0b10db535c740939cd0a01852bd3edc4.jpg","text":"TemporaryFile(/tmp/multipartBody2287241533739353289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187712943,"filename":"image_02052025_11_43_26_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d149f636a385a3f5be67e1f8d16b6f1.jpg","text":"TemporaryFile(/tmp/multipartBody2351784262836919007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187712943,"filename":"image_02052025_11_43_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/5/2/3e0975382634b5e03fdd96138628409f.jpg","text":"TemporaryFile(/tmp/multipartBody4179245215958921962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187712943,"filename":"image_02052025_11_43_16_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355298811","file1":"1355298807","file0":"1355298803","file4":"1355298819","file5":"1355298822","file3":"1355298815"},"map_files_photo_id_array":[{"photo_id":"1355298822","filename":"file5"},{"photo_id":"1355298811","filename":"file2"},{"photo_id":"1355298819","filename":"file4"},{"photo_id":"1355298807","filename":"file1"},{"photo_id":"1355298803","filename":"file0"},{"photo_id":"1355298815","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355298811":["hashtag1","hashtag2"]},{"1355298822":["hashtag1","hashtag2"]},{"1355298819":["hashtag1","hashtag2"]},{"1355298807":["hashtag1","hashtag2"]},{"1355298815":["hashtag1","hashtag2"]},{"1355298803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355298811, 1355298822, 1355298819, 1355298807, 1355298815, 1355298803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7505829334259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:08:32.687485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_16_10365.jpg', '/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_26_10368.jpg', '/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_36_9400.jpg', '/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_46_10358.jpg', '/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_56_10402.jpg', '/home/pi/Desktop/images/02052025/11/44/image_02052025_11_45_06_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_16_10365.jpg
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_26_10368.jpg
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_36_9400.jpg
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_46_10358.jpg
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_56_10402.jpg
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_45_06_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37525439262390137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 14:08:42.653935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_16_10365.jpg', '/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_26_10368.jpg', '/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_36_9400.jpg', '/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_46_10358.jpg', '/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_56_10402.jpg', '/home/pi/Desktop/images/02052025/11/44/image_02052025_11_45_06_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_16_10365.jpg
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_26_10368.jpg
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_36_9400.jpg
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_46_10358.jpg
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_44_56_10402.jpg
/home/pi/Desktop/images/02052025/11/44/image_02052025_11_45_06_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":["1355298919","1355298904","1355298901","1355298906","1355298892","1355298862"],"photo_ids_order":["1355298862","1355298892","1355298901","1355298904","1355298906","1355298919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e4d993fd9c6d2b1289369ed5a8b1448e.jpg","text":"TemporaryFile(/tmp/multipartBody893132518439865500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187783176,"filename":"image_02052025_11_45_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/5/2/587b02772e6f6e3f87228079e69a965b.jpg","text":"TemporaryFile(/tmp/multipartBody4589348397615173173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187783176,"filename":"image_02052025_11_44_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/5/2/a041b5c905157f0fdb4db558b7f38fbd.jpg","text":"TemporaryFile(/tmp/multipartBody1759387898290765186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187783176,"filename":"image_02052025_11_44_36_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6bd49fd76fdd76cd564f6545ec58ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6751455369394990319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187783176,"filename":"image_02052025_11_44_56_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/42b857e811be5f1229273ce76955902b.jpg","text":"TemporaryFile(/tmp/multipartBody7211800488693753771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187783176,"filename":"image_02052025_11_44_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0c4eb373c76da300643d87f23307ceba.jpg","text":"TemporaryFile(/tmp/multipartBody7201257602550208040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187783176,"filename":"image_02052025_11_44_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355298901","file1":"1355298892","file0":"1355298862","file4":"1355298906","file5":"1355298919","file3":"1355298904"},"map_files_photo_id_array":[{"photo_id":"1355298919","filename":"file5"},{"photo_id":"1355298901","filename":"file2"},{"photo_id":"1355298906","filename":"file4"},{"photo_id":"1355298892","filename":"file1"},{"photo_id":"1355298862","filename":"file0"},{"photo_id":"1355298904","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355298919":["hashtag1","hashtag2"]},{"1355298904":["hashtag1","hashtag2"]},{"1355298901":["hashtag1","hashtag2"]},{"1355298906":["hashtag1","hashtag2"]},{"1355298892":["hashtag1","hashtag2"]},{"1355298862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355298919, 1355298904, 1355298901, 1355298906, 1355298892, 1355298862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04748749732971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:09:32.881989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/45/image_02052025_11_45_36_10350.jpg', '/home/pi/Desktop/images/02052025/11/45/image_02052025_11_45_46_10454.jpg', '/home/pi/Desktop/images/02052025/11/45/image_02052025_11_45_56_9371.jpg', '/home/pi/Desktop/images/02052025/11/45/image_02052025_11_46_06_10351.jpg', '/home/pi/Desktop/images/02052025/11/46/image_02052025_11_46_16_9399.jpg', '/home/pi/Desktop/images/02052025/11/46/image_02052025_11_46_26_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/45/image_02052025_11_45_36_10350.jpg
/home/pi/Desktop/images/02052025/11/45/image_02052025_11_45_46_10454.jpg
/home/pi/Desktop/images/02052025/11/45/image_02052025_11_45_56_9371.jpg
/home/pi/Desktop/images/02052025/11/45/image_02052025_11_46_06_10351.jpg
/home/pi/Desktop/images/02052025/11/46/image_02052025_11_46_16_9399.jpg
/home/pi/Desktop/images/02052025/11/46/image_02052025_11_46_26_10814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355299047","1355298999","1355299049","1355299013","1355298979","1355298964"],"photo_ids_order":["1355298964","1355298979","1355298999","1355299013","1355299047","1355299049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6a50638b1aa1c66199fceb187f46f58e.jpg","text":"TemporaryFile(/tmp/multipartBody5010807946640554452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187833350,"filename":"image_02052025_11_46_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/5/2/b33f01a36abc8336fb98a7bb3678ba95.jpg","text":"TemporaryFile(/tmp/multipartBody4019556291942895478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187833350,"filename":"image_02052025_11_45_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/5/2/87c5f918018c5b725cfdae391eb4ded8.jpg","text":"TemporaryFile(/tmp/multipartBody1499448802593209018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187833350,"filename":"image_02052025_11_46_26_10814.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84ea51fc390d3734a10601442fbcbf0c.jpg","text":"TemporaryFile(/tmp/multipartBody9008551782219271132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187833350,"filename":"image_02052025_11_46_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/5/2/dd58d9e9462d3fa351f86efa3f565aae.jpg","text":"TemporaryFile(/tmp/multipartBody269848279067276782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187833350,"filename":"image_02052025_11_45_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/5/2/d566e2b47b03c771d9c143199fc93162.jpg","text":"TemporaryFile(/tmp/multipartBody7845183634884013652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187833350,"filename":"image_02052025_11_45_36_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355298999","file1":"1355298979","file0":"1355298964","file4":"1355299047","file5":"1355299049","file3":"1355299013"},"map_files_photo_id_array":[{"photo_id":"1355299049","filename":"file5"},{"photo_id":"1355298999","filename":"file2"},{"photo_id":"1355299047","filename":"file4"},{"photo_id":"1355298979","filename":"file1"},{"photo_id":"1355298964","filename":"file0"},{"photo_id":"1355299013","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355299047":["hashtag1","hashtag2"]},{"1355298999":["hashtag1","hashtag2"]},{"1355299049":["hashtag1","hashtag2"]},{"1355299013":["hashtag1","hashtag2"]},{"1355298979":["hashtag1","hashtag2"]},{"1355298964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355299047, 1355298999, 1355299049, 1355299013, 1355298979, 1355298964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21534323692322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:10:33.123392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/46/image_02052025_11_46_36_9431.jpg', '/home/pi/Desktop/images/02052025/11/46/image_02052025_11_46_46_10360.jpg', '/home/pi/Desktop/images/02052025/11/46/image_02052025_11_46_56_9441.jpg', '/home/pi/Desktop/images/02052025/11/46/image_02052025_11_47_06_10372.jpg', '/home/pi/Desktop/images/02052025/11/47/image_02052025_11_47_26_9432.jpg', '/home/pi/Desktop/images/02052025/11/47/image_02052025_11_47_36_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/46/image_02052025_11_46_36_9431.jpg
/home/pi/Desktop/images/02052025/11/46/image_02052025_11_46_46_10360.jpg
/home/pi/Desktop/images/02052025/11/46/image_02052025_11_46_56_9441.jpg
/home/pi/Desktop/images/02052025/11/46/image_02052025_11_47_06_10372.jpg
/home/pi/Desktop/images/02052025/11/47/image_02052025_11_47_26_9432.jpg
/home/pi/Desktop/images/02052025/11/47/image_02052025_11_47_36_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355299284","1355299338","1355299311","1355299259","1355299276","1355299228"],"photo_ids_order":["1355299228","1355299259","1355299276","1355299284","1355299311","1355299338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f5c857b74284c993618918a077c6a845.jpg","text":"TemporaryFile(/tmp/multipartBody8769671802138359365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187893585,"filename":"image_02052025_11_47_06_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/88667d7161522f8965668c4448aa9f51.jpg","text":"TemporaryFile(/tmp/multipartBody1220282660654961979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187893585,"filename":"image_02052025_11_47_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/5/2/63550e2bc026eb22c2194180dd90c7fb.jpg","text":"TemporaryFile(/tmp/multipartBody4102368663306165628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187893585,"filename":"image_02052025_11_47_26_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ddc37a39f0a215d472c34390fbaa00b.jpg","text":"TemporaryFile(/tmp/multipartBody8908713081310734211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187893585,"filename":"image_02052025_11_46_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d8bb5ff81b3ef42d84c1a8c339138ab.jpg","text":"TemporaryFile(/tmp/multipartBody6825710226821339860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187893585,"filename":"image_02052025_11_46_56_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de9f2c90a24abb8ec985522792627c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4840846180671140853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187893585,"filename":"image_02052025_11_46_36_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355299276","file1":"1355299259","file0":"1355299228","file4":"1355299311","file5":"1355299338","file3":"1355299284"},"map_files_photo_id_array":[{"photo_id":"1355299338","filename":"file5"},{"photo_id":"1355299276","filename":"file2"},{"photo_id":"1355299311","filename":"file4"},{"photo_id":"1355299259","filename":"file1"},{"photo_id":"1355299228","filename":"file0"},{"photo_id":"1355299284","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355299284":["hashtag1","hashtag2"]},{"1355299338":["hashtag1","hashtag2"]},{"1355299311":["hashtag1","hashtag2"]},{"1355299259":["hashtag1","hashtag2"]},{"1355299276":["hashtag1","hashtag2"]},{"1355299228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355299284, 1355299338, 1355299311, 1355299259, 1355299276, 1355299228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97509026527405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:11:32.376516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/47/image_02052025_11_47_46_9349.jpg', '/home/pi/Desktop/images/02052025/11/47/image_02052025_11_47_56_10416.jpg', '/home/pi/Desktop/images/02052025/11/47/image_02052025_11_48_06_10470.jpg', '/home/pi/Desktop/images/02052025/11/48/image_02052025_11_48_16_9408.jpg', '/home/pi/Desktop/images/02052025/11/48/image_02052025_11_48_26_10378.jpg', '/home/pi/Desktop/images/02052025/11/48/image_02052025_11_48_36_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/47/image_02052025_11_47_46_9349.jpg
/home/pi/Desktop/images/02052025/11/47/image_02052025_11_47_56_10416.jpg
/home/pi/Desktop/images/02052025/11/47/image_02052025_11_48_06_10470.jpg
/home/pi/Desktop/images/02052025/11/48/image_02052025_11_48_16_9408.jpg
/home/pi/Desktop/images/02052025/11/48/image_02052025_11_48_26_10378.jpg
/home/pi/Desktop/images/02052025/11/48/image_02052025_11_48_36_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":["1355299830","1355299728","1355299769","1355299859","1355299798","1355299672"],"photo_ids_order":["1355299672","1355299728","1355299769","1355299798","1355299830","1355299859"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/37303c409cee41a37a5b1c213d99e306.jpg","text":"TemporaryFile(/tmp/multipartBody1324148159410300391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187952844,"filename":"image_02052025_11_48_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cd6757b8a2b269903831e1c027c2d9d3.jpg","text":"TemporaryFile(/tmp/multipartBody7732756611213849779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187952844,"filename":"image_02052025_11_47_56_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f535ceef631673a2fee35eb10cda5320.jpg","text":"TemporaryFile(/tmp/multipartBody376180677041948365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187952844,"filename":"image_02052025_11_48_06_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c313ae04bdfb8963e5de3a7653a8da4b.jpg","text":"TemporaryFile(/tmp/multipartBody4767640448952240521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187952844,"filename":"image_02052025_11_48_36_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc9514f3bafbfa294dd1ce6a12efd28d.jpg","text":"TemporaryFile(/tmp/multipartBody5902163811144770336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187952844,"filename":"image_02052025_11_48_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/5/2/acfca574ff8e1d9b94b6244dd170eea7.jpg","text":"TemporaryFile(/tmp/multipartBody652108328414812097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746187952844,"filename":"image_02052025_11_47_46_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355299769","file1":"1355299728","file0":"1355299672","file4":"1355299830","file5":"1355299859","file3":"1355299798"},"map_files_photo_id_array":[{"photo_id":"1355299859","filename":"file5"},{"photo_id":"1355299769","filename":"file2"},{"photo_id":"1355299830","filename":"file4"},{"photo_id":"1355299728","filename":"file1"},{"photo_id":"1355299672","filename":"file0"},{"photo_id":"1355299798","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355299830":["hashtag1","hashtag2"]},{"1355299728":["hashtag1","hashtag2"]},{"1355299769":["hashtag1","hashtag2"]},{"1355299859":["hashtag1","hashtag2"]},{"1355299798":["hashtag1","hashtag2"]},{"1355299672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355299830, 1355299728, 1355299769, 1355299859, 1355299798, 1355299672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67822980880737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:12:32.645038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/48/image_02052025_11_48_46_10395.jpg', '/home/pi/Desktop/images/02052025/11/48/image_02052025_11_48_55_9456.jpg', '/home/pi/Desktop/images/02052025/11/48/image_02052025_11_49_06_10365.jpg', '/home/pi/Desktop/images/02052025/11/49/image_02052025_11_49_16_10371.jpg', '/home/pi/Desktop/images/02052025/11/49/image_02052025_11_49_26_9357.jpg', '/home/pi/Desktop/images/02052025/11/49/image_02052025_11_49_36_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/48/image_02052025_11_48_46_10395.jpg
/home/pi/Desktop/images/02052025/11/48/image_02052025_11_48_55_9456.jpg
/home/pi/Desktop/images/02052025/11/48/image_02052025_11_49_06_10365.jpg
/home/pi/Desktop/images/02052025/11/49/image_02052025_11_49_16_10371.jpg
/home/pi/Desktop/images/02052025/11/49/image_02052025_11_49_26_9357.jpg
/home/pi/Desktop/images/02052025/11/49/image_02052025_11_49_36_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355301050","1355300590","1355300851","1355300719","1355300928","1355300987"],"photo_ids_order":["1355300590","1355300719","1355300851","1355300928","1355300987","1355301050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e30e3c800beb2d4f7edc994cc057bdd.jpg","text":"TemporaryFile(/tmp/multipartBody3346019660008012520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188013142,"filename":"image_02052025_11_49_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/5/2/d6db9b19f1887800eb3f81c5e02b2cdc.jpg","text":"TemporaryFile(/tmp/multipartBody6226235744375825778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188013142,"filename":"image_02052025_11_48_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/5/2/2e58fc34ff56c92ed63aceaf139de052.jpg","text":"TemporaryFile(/tmp/multipartBody1076708481804441197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188013142,"filename":"image_02052025_11_49_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff7d02421776847a30d08aec319ee366.jpg","text":"TemporaryFile(/tmp/multipartBody2585979125564961566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188013142,"filename":"image_02052025_11_48_55_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/481de3ec0e63c888824384daa273a1a7.jpg","text":"TemporaryFile(/tmp/multipartBody4062166097590831923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188013142,"filename":"image_02052025_11_49_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/35bb3db46b79c7ab7697e5953ee86364.jpg","text":"TemporaryFile(/tmp/multipartBody514834063198263658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188013142,"filename":"image_02052025_11_49_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355300851","file1":"1355300719","file0":"1355300590","file4":"1355300987","file5":"1355301050","file3":"1355300928"},"map_files_photo_id_array":[{"photo_id":"1355301050","filename":"file5"},{"photo_id":"1355300851","filename":"file2"},{"photo_id":"1355300987","filename":"file4"},{"photo_id":"1355300719","filename":"file1"},{"photo_id":"1355300590","filename":"file0"},{"photo_id":"1355300928","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355301050":["hashtag1","hashtag2"]},{"1355300590":["hashtag1","hashtag2"]},{"1355300851":["hashtag1","hashtag2"]},{"1355300719":["hashtag1","hashtag2"]},{"1355300928":["hashtag1","hashtag2"]},{"1355300987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355301050, 1355300590, 1355300851, 1355300719, 1355300928, 1355300987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31199073791504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:13:32.878682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/49/image_02052025_11_49_46_10413.jpg', '/home/pi/Desktop/images/02052025/11/49/image_02052025_11_49_56_9456.jpg', '/home/pi/Desktop/images/02052025/11/50/image_02052025_11_50_16_9416.jpg', '/home/pi/Desktop/images/02052025/11/50/image_02052025_11_50_26_10364.jpg', '/home/pi/Desktop/images/02052025/11/50/image_02052025_11_50_36_10427.jpg', '/home/pi/Desktop/images/02052025/11/50/image_02052025_11_50_46_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/49/image_02052025_11_49_46_10413.jpg
/home/pi/Desktop/images/02052025/11/49/image_02052025_11_49_56_9456.jpg
/home/pi/Desktop/images/02052025/11/50/image_02052025_11_50_16_9416.jpg
/home/pi/Desktop/images/02052025/11/50/image_02052025_11_50_26_10364.jpg
/home/pi/Desktop/images/02052025/11/50/image_02052025_11_50_36_10427.jpg
/home/pi/Desktop/images/02052025/11/50/image_02052025_11_50_46_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355301493","1355301410","1355301505","1355301502","1355301450","1355301497"],"photo_ids_order":["1355301410","1355301450","1355301493","1355301497","1355301502","1355301505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/982ff20dbaa43b3e81987ce42ac2debc.jpg","text":"TemporaryFile(/tmp/multipartBody8249460491930363876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188073350,"filename":"image_02052025_11_50_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/5/2/07f57c1984ff441b06a66f9350993ebc.jpg","text":"TemporaryFile(/tmp/multipartBody5108669298472381417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188073350,"filename":"image_02052025_11_49_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/5/2/dd9bcd22e582958dde11a82091ad5986.jpg","text":"TemporaryFile(/tmp/multipartBody1912210593175768254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188073350,"filename":"image_02052025_11_50_46_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/62e3b358402101849958a10cdee68c51.jpg","text":"TemporaryFile(/tmp/multipartBody2805547037661543562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188073350,"filename":"image_02052025_11_50_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7377e644f6e954e9b4e08fd18132839.jpg","text":"TemporaryFile(/tmp/multipartBody3413939041300848387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188073350,"filename":"image_02052025_11_49_56_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/60beca080a181e586bab59cb33f99cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1063950094694156742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188073350,"filename":"image_02052025_11_50_26_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355301493","file1":"1355301450","file0":"1355301410","file4":"1355301502","file5":"1355301505","file3":"1355301497"},"map_files_photo_id_array":[{"photo_id":"1355301505","filename":"file5"},{"photo_id":"1355301493","filename":"file2"},{"photo_id":"1355301502","filename":"file4"},{"photo_id":"1355301450","filename":"file1"},{"photo_id":"1355301410","filename":"file0"},{"photo_id":"1355301497","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355301493":["hashtag1","hashtag2"]},{"1355301410":["hashtag1","hashtag2"]},{"1355301505":["hashtag1","hashtag2"]},{"1355301502":["hashtag1","hashtag2"]},{"1355301450":["hashtag1","hashtag2"]},{"1355301497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355301493, 1355301410, 1355301505, 1355301502, 1355301450, 1355301497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14323353767395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:14:33.120762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/50/image_02052025_11_50_56_10446.jpg', '/home/pi/Desktop/images/02052025/11/50/image_02052025_11_51_06_9387.jpg', '/home/pi/Desktop/images/02052025/11/51/image_02052025_11_51_16_10366.jpg', '/home/pi/Desktop/images/02052025/11/51/image_02052025_11_51_25_9493.jpg', '/home/pi/Desktop/images/02052025/11/51/image_02052025_11_51_36_10344.jpg', '/home/pi/Desktop/images/02052025/11/51/image_02052025_11_51_46_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/50/image_02052025_11_50_56_10446.jpg
/home/pi/Desktop/images/02052025/11/50/image_02052025_11_51_06_9387.jpg
/home/pi/Desktop/images/02052025/11/51/image_02052025_11_51_16_10366.jpg
/home/pi/Desktop/images/02052025/11/51/image_02052025_11_51_25_9493.jpg
/home/pi/Desktop/images/02052025/11/51/image_02052025_11_51_36_10344.jpg
/home/pi/Desktop/images/02052025/11/51/image_02052025_11_51_46_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355301824","1355301955","1355301774","1355301867","1355302101","1355301743"],"photo_ids_order":["1355301743","1355301774","1355301824","1355301867","1355301955","1355302101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/408b759bc7357161ef9610803ef64744.jpg","text":"TemporaryFile(/tmp/multipartBody6878283196545746608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188133588,"filename":"image_02052025_11_51_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/5/2/35906c19b769f6af40fefd5900323832.jpg","text":"TemporaryFile(/tmp/multipartBody6633378450505536327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188133588,"filename":"image_02052025_11_51_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/5/2/dc042a6968b6385fe6c0b9ee985ccebc.jpg","text":"TemporaryFile(/tmp/multipartBody1214002702692630577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188133588,"filename":"image_02052025_11_51_06_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/42beefef67870cc917a8ddce10afe7ca.jpg","text":"TemporaryFile(/tmp/multipartBody6572253382179781807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188133588,"filename":"image_02052025_11_51_25_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8221ab3e68a06b203894c5ec828e70ba.jpg","text":"TemporaryFile(/tmp/multipartBody8951816150749465559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188133588,"filename":"image_02052025_11_51_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/5/2/95b22593090e46128a47f67259518880.jpg","text":"TemporaryFile(/tmp/multipartBody3201482280055551465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188133588,"filename":"image_02052025_11_50_56_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355301824","file1":"1355301774","file0":"1355301743","file4":"1355301955","file5":"1355302101","file3":"1355301867"},"map_files_photo_id_array":[{"photo_id":"1355302101","filename":"file5"},{"photo_id":"1355301824","filename":"file2"},{"photo_id":"1355301955","filename":"file4"},{"photo_id":"1355301774","filename":"file1"},{"photo_id":"1355301743","filename":"file0"},{"photo_id":"1355301867","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355301824":["hashtag1","hashtag2"]},{"1355301955":["hashtag1","hashtag2"]},{"1355301774":["hashtag1","hashtag2"]},{"1355301867":["hashtag1","hashtag2"]},{"1355302101":["hashtag1","hashtag2"]},{"1355301743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355301824, 1355301955, 1355301774, 1355301867, 1355302101, 1355301743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18582248687744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:15:32.427607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/51/image_02052025_11_51_56_9362.jpg', '/home/pi/Desktop/images/02052025/11/51/image_02052025_11_52_06_10347.jpg', '/home/pi/Desktop/images/02052025/11/52/image_02052025_11_52_16_10355.jpg', '/home/pi/Desktop/images/02052025/11/52/image_02052025_11_52_26_9398.jpg', '/home/pi/Desktop/images/02052025/11/52/image_02052025_11_52_36_10352.jpg', '/home/pi/Desktop/images/02052025/11/52/image_02052025_11_52_46_10491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/51/image_02052025_11_51_56_9362.jpg
/home/pi/Desktop/images/02052025/11/51/image_02052025_11_52_06_10347.jpg
/home/pi/Desktop/images/02052025/11/52/image_02052025_11_52_16_10355.jpg
/home/pi/Desktop/images/02052025/11/52/image_02052025_11_52_26_9398.jpg
/home/pi/Desktop/images/02052025/11/52/image_02052025_11_52_36_10352.jpg
/home/pi/Desktop/images/02052025/11/52/image_02052025_11_52_46_10491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355303611","1355303655","1355303249","1355303689","1355303377","1355303530"],"photo_ids_order":["1355303249","1355303377","1355303530","1355303611","1355303655","1355303689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/178b954dc2a803ac248c1c5e63e63bc6.jpg","text":"TemporaryFile(/tmp/multipartBody8469732715099938770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188192898,"filename":"image_02052025_11_52_26_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9b4cbbd59641ac97e1be690573e8ea1.jpg","text":"TemporaryFile(/tmp/multipartBody655450586058999941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188192898,"filename":"image_02052025_11_52_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/5/2/ca5dfd7d4897258be0d4320c0abd2022.jpg","text":"TemporaryFile(/tmp/multipartBody5114863750567826596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188192898,"filename":"image_02052025_11_51_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/5/2/2b7a8fe64372fb8360518dbdf291a2f1.jpg","text":"TemporaryFile(/tmp/multipartBody4357143946278342153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188192898,"filename":"image_02052025_11_52_46_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0eec9da96993534aa8f30f5c03e93105.jpg","text":"TemporaryFile(/tmp/multipartBody2185558973580196966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188192898,"filename":"image_02052025_11_52_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/5/2/b5e08540cbc2540f68efa48702045f3f.jpg","text":"TemporaryFile(/tmp/multipartBody6858486132457452659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188192898,"filename":"image_02052025_11_52_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355303530","file1":"1355303377","file0":"1355303249","file4":"1355303655","file5":"1355303689","file3":"1355303611"},"map_files_photo_id_array":[{"photo_id":"1355303689","filename":"file5"},{"photo_id":"1355303530","filename":"file2"},{"photo_id":"1355303655","filename":"file4"},{"photo_id":"1355303377","filename":"file1"},{"photo_id":"1355303249","filename":"file0"},{"photo_id":"1355303611","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355303611":["hashtag1","hashtag2"]},{"1355303655":["hashtag1","hashtag2"]},{"1355303249":["hashtag1","hashtag2"]},{"1355303689":["hashtag1","hashtag2"]},{"1355303377":["hashtag1","hashtag2"]},{"1355303530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355303611, 1355303655, 1355303249, 1355303689, 1355303377, 1355303530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.683276891708374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:16:32.797222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/52/image_02052025_11_52_56_9375.jpg', '/home/pi/Desktop/images/02052025/11/52/image_02052025_11_53_06_10338.jpg', '/home/pi/Desktop/images/02052025/11/53/image_02052025_11_53_16_9332.jpg', '/home/pi/Desktop/images/02052025/11/53/image_02052025_11_53_26_10375.jpg', '/home/pi/Desktop/images/02052025/11/53/image_02052025_11_53_36_10430.jpg', '/home/pi/Desktop/images/02052025/11/53/image_02052025_11_53_46_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/52/image_02052025_11_52_56_9375.jpg
/home/pi/Desktop/images/02052025/11/52/image_02052025_11_53_06_10338.jpg
/home/pi/Desktop/images/02052025/11/53/image_02052025_11_53_16_9332.jpg
/home/pi/Desktop/images/02052025/11/53/image_02052025_11_53_26_10375.jpg
/home/pi/Desktop/images/02052025/11/53/image_02052025_11_53_36_10430.jpg
/home/pi/Desktop/images/02052025/11/53/image_02052025_11_53_46_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":["1355304261","1355304402","1355304147","1355304185","1355304344","1355304214"],"photo_ids_order":["1355304147","1355304185","1355304214","1355304261","1355304344","1355304402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4660c7284b26e6d8a3dde8a0e65df401.jpg","text":"TemporaryFile(/tmp/multipartBody6127237484053152601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188253261,"filename":"image_02052025_11_53_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/5/2/f298bbe85d7c1b1bb4729de7f61c8815.jpg","text":"TemporaryFile(/tmp/multipartBody3032497996069164134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188253261,"filename":"image_02052025_11_53_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/5/2/9e91b9fc7817762f8977c9c108457e6b.jpg","text":"TemporaryFile(/tmp/multipartBody5521761161687473701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188253261,"filename":"image_02052025_11_52_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/5/2/1904e0c9eaabe5f646348179f00c2e74.jpg","text":"TemporaryFile(/tmp/multipartBody3002594723991997005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188253261,"filename":"image_02052025_11_53_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/5/2/b0805e72b38fdd358988b52801daa72d.jpg","text":"TemporaryFile(/tmp/multipartBody4805709194272071829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188253261,"filename":"image_02052025_11_53_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/5/2/95f6cf751e656aa1493a89c3619146b3.jpg","text":"TemporaryFile(/tmp/multipartBody4443452815530943740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188253261,"filename":"image_02052025_11_53_16_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355304214","file1":"1355304185","file0":"1355304147","file4":"1355304344","file5":"1355304402","file3":"1355304261"},"map_files_photo_id_array":[{"photo_id":"1355304402","filename":"file5"},{"photo_id":"1355304214","filename":"file2"},{"photo_id":"1355304344","filename":"file4"},{"photo_id":"1355304185","filename":"file1"},{"photo_id":"1355304147","filename":"file0"},{"photo_id":"1355304261","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355304261":["hashtag1","hashtag2"]},{"1355304402":["hashtag1","hashtag2"]},{"1355304147":["hashtag1","hashtag2"]},{"1355304185":["hashtag1","hashtag2"]},{"1355304344":["hashtag1","hashtag2"]},{"1355304214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355304261, 1355304402, 1355304147, 1355304185, 1355304344, 1355304214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.875162363052368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:17:32.966254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/53/image_02052025_11_53_56_10359.jpg', '/home/pi/Desktop/images/02052025/11/53/image_02052025_11_54_06_10382.jpg', '/home/pi/Desktop/images/02052025/11/54/image_02052025_11_54_16_9404.jpg', '/home/pi/Desktop/images/02052025/11/54/image_02052025_11_54_26_10373.jpg', '/home/pi/Desktop/images/02052025/11/54/image_02052025_11_54_36_9417.jpg', '/home/pi/Desktop/images/02052025/11/54/image_02052025_11_54_46_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/53/image_02052025_11_53_56_10359.jpg
/home/pi/Desktop/images/02052025/11/53/image_02052025_11_54_06_10382.jpg
/home/pi/Desktop/images/02052025/11/54/image_02052025_11_54_16_9404.jpg
/home/pi/Desktop/images/02052025/11/54/image_02052025_11_54_26_10373.jpg
/home/pi/Desktop/images/02052025/11/54/image_02052025_11_54_36_9417.jpg
/home/pi/Desktop/images/02052025/11/54/image_02052025_11_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":["1355304687","1355304735","1355304697","1355304685","1355304694","1355304706"],"photo_ids_order":["1355304685","1355304687","1355304694","1355304697","1355304706","1355304735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3fc1747d3834cbbb47b1dfcd5bab0761.jpg","text":"TemporaryFile(/tmp/multipartBody7117357413868541649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188313439,"filename":"image_02052025_11_54_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39eef8d1835ac2e248a4f309fff24a12.jpg","text":"TemporaryFile(/tmp/multipartBody720343789378108521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188313439,"filename":"image_02052025_11_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/5/2/f849309da0ad0415c2cf53b521d5558b.jpg","text":"TemporaryFile(/tmp/multipartBody7297303918778241637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188313439,"filename":"image_02052025_11_54_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/5/2/f5f5ca8b62f773731f12ab0aa09bb4ea.jpg","text":"TemporaryFile(/tmp/multipartBody4910430877189464815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188313439,"filename":"image_02052025_11_53_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/5/2/89bf99912055e9328019da09a4a19d8d.jpg","text":"TemporaryFile(/tmp/multipartBody3368376147289383048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188313439,"filename":"image_02052025_11_54_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/92da8d9d058bf76f7482ca42b3f49e28.jpg","text":"TemporaryFile(/tmp/multipartBody6740694449787432558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188313439,"filename":"image_02052025_11_54_36_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355304694","file1":"1355304687","file0":"1355304685","file4":"1355304706","file5":"1355304735","file3":"1355304697"},"map_files_photo_id_array":[{"photo_id":"1355304735","filename":"file5"},{"photo_id":"1355304694","filename":"file2"},{"photo_id":"1355304706","filename":"file4"},{"photo_id":"1355304687","filename":"file1"},{"photo_id":"1355304685","filename":"file0"},{"photo_id":"1355304697","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355304687":["hashtag1","hashtag2"]},{"1355304735":["hashtag1","hashtag2"]},{"1355304697":["hashtag1","hashtag2"]},{"1355304685":["hashtag1","hashtag2"]},{"1355304694":["hashtag1","hashtag2"]},{"1355304706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355304687, 1355304735, 1355304697, 1355304685, 1355304694, 1355304706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.465282917022705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:18:33.193682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/54/image_02052025_11_54_56_10438.jpg', '/home/pi/Desktop/images/02052025/11/54/image_02052025_11_55_06_9337.jpg', '/home/pi/Desktop/images/02052025/11/55/image_02052025_11_55_16_10344.jpg', '/home/pi/Desktop/images/02052025/11/55/image_02052025_11_55_26_9422.jpg', '/home/pi/Desktop/images/02052025/11/55/image_02052025_11_55_36_10352.jpg', '/home/pi/Desktop/images/02052025/11/55/image_02052025_11_55_46_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/54/image_02052025_11_54_56_10438.jpg
/home/pi/Desktop/images/02052025/11/54/image_02052025_11_55_06_9337.jpg
/home/pi/Desktop/images/02052025/11/55/image_02052025_11_55_16_10344.jpg
/home/pi/Desktop/images/02052025/11/55/image_02052025_11_55_26_9422.jpg
/home/pi/Desktop/images/02052025/11/55/image_02052025_11_55_36_10352.jpg
/home/pi/Desktop/images/02052025/11/55/image_02052025_11_55_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":["1355305116","1355305022","1355304962","1355305060","1355304994","1355304966"],"photo_ids_order":["1355304962","1355304966","1355304994","1355305022","1355305060","1355305116"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/15e13853a2429542c5a40bf7f75360b6.jpg","text":"TemporaryFile(/tmp/multipartBody5531079597031150589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188373665,"filename":"image_02052025_11_55_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/5/2/4544b6f825bdabda123a152e3d32fe9a.jpg","text":"TemporaryFile(/tmp/multipartBody1663934418898635834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188373665,"filename":"image_02052025_11_55_26_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b12851981fed206d8c1ffaa2ad2c6bcb.jpg","text":"TemporaryFile(/tmp/multipartBody8447228724708640481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188373665,"filename":"image_02052025_11_54_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/5/2/9a30c6d1ebc566db4a58b71fc8bb7c9d.jpg","text":"TemporaryFile(/tmp/multipartBody4862788684923571643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188373665,"filename":"image_02052025_11_55_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/5/2/eae114a6a4bf3cad0dcf7d7761c03531.jpg","text":"TemporaryFile(/tmp/multipartBody6114037038968928617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188373665,"filename":"image_02052025_11_55_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/5/2/e5459845a166dc0ed54a36a9e70d09ce.jpg","text":"TemporaryFile(/tmp/multipartBody3100828373446298670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188373665,"filename":"image_02052025_11_55_06_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355304994","file1":"1355304966","file0":"1355304962","file4":"1355305060","file5":"1355305116","file3":"1355305022"},"map_files_photo_id_array":[{"photo_id":"1355305116","filename":"file5"},{"photo_id":"1355304994","filename":"file2"},{"photo_id":"1355305060","filename":"file4"},{"photo_id":"1355304966","filename":"file1"},{"photo_id":"1355304962","filename":"file0"},{"photo_id":"1355305022","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355305116":["hashtag1","hashtag2"]},{"1355305022":["hashtag1","hashtag2"]},{"1355304962":["hashtag1","hashtag2"]},{"1355305060":["hashtag1","hashtag2"]},{"1355304994":["hashtag1","hashtag2"]},{"1355304966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355305116, 1355305022, 1355304962, 1355305060, 1355304994, 1355304966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63069820404053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:19:32.437408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/55/image_02052025_11_55_56_9443.jpg', '/home/pi/Desktop/images/02052025/11/55/image_02052025_11_56_06_10347.jpg', '/home/pi/Desktop/images/02052025/11/56/image_02052025_11_56_16_10409.jpg', '/home/pi/Desktop/images/02052025/11/56/image_02052025_11_56_26_9374.jpg', '/home/pi/Desktop/images/02052025/11/56/image_02052025_11_56_36_10420.jpg', '/home/pi/Desktop/images/02052025/11/56/image_02052025_11_56_46_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/55/image_02052025_11_55_56_9443.jpg
/home/pi/Desktop/images/02052025/11/55/image_02052025_11_56_06_10347.jpg
/home/pi/Desktop/images/02052025/11/56/image_02052025_11_56_16_10409.jpg
/home/pi/Desktop/images/02052025/11/56/image_02052025_11_56_26_9374.jpg
/home/pi/Desktop/images/02052025/11/56/image_02052025_11_56_36_10420.jpg
/home/pi/Desktop/images/02052025/11/56/image_02052025_11_56_46_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355305506","1355305521","1355305515","1355305518","1355305498","1355305513"],"photo_ids_order":["1355305498","1355305506","1355305513","1355305515","1355305518","1355305521"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55f2dbd05c117beecff6fd489e0fad3a.jpg","text":"TemporaryFile(/tmp/multipartBody1382324848929159905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188432896,"filename":"image_02052025_11_56_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/5/2/54181e15cb31a0076b3752e3bcebdaab.jpg","text":"TemporaryFile(/tmp/multipartBody5953130387196785906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188432896,"filename":"image_02052025_11_56_46_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b88590b2b33e4008f684d7d88834ab08.jpg","text":"TemporaryFile(/tmp/multipartBody2801325953856781927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188432896,"filename":"image_02052025_11_56_26_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75a54557eff79004ab460d54ec9da7ea.jpg","text":"TemporaryFile(/tmp/multipartBody3561941766053971112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188432896,"filename":"image_02052025_11_56_36_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8ce236fdd189f698aa4841bf84e8dc0a.jpg","text":"TemporaryFile(/tmp/multipartBody6083020331762849453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188432896,"filename":"image_02052025_11_55_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/5/2/b628de771e83b4be8e01d64d1daed1dc.jpg","text":"TemporaryFile(/tmp/multipartBody8267090179498748749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188432896,"filename":"image_02052025_11_56_16_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355305513","file1":"1355305506","file0":"1355305498","file4":"1355305518","file5":"1355305521","file3":"1355305515"},"map_files_photo_id_array":[{"photo_id":"1355305521","filename":"file5"},{"photo_id":"1355305513","filename":"file2"},{"photo_id":"1355305518","filename":"file4"},{"photo_id":"1355305506","filename":"file1"},{"photo_id":"1355305498","filename":"file0"},{"photo_id":"1355305515","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355305506":["hashtag1","hashtag2"]},{"1355305521":["hashtag1","hashtag2"]},{"1355305515":["hashtag1","hashtag2"]},{"1355305518":["hashtag1","hashtag2"]},{"1355305498":["hashtag1","hashtag2"]},{"1355305513":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355305506, 1355305521, 1355305515, 1355305518, 1355305498, 1355305513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.528762578964233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:20:32.613646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/56/image_02052025_11_56_56_10345.jpg', '/home/pi/Desktop/images/02052025/11/56/image_02052025_11_57_06_10440.jpg', '/home/pi/Desktop/images/02052025/11/57/image_02052025_11_57_16_9336.jpg', '/home/pi/Desktop/images/02052025/11/57/image_02052025_11_57_26_10373.jpg', '/home/pi/Desktop/images/02052025/11/57/image_02052025_11_57_36_9449.jpg', '/home/pi/Desktop/images/02052025/11/57/image_02052025_11_57_46_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/56/image_02052025_11_56_56_10345.jpg
/home/pi/Desktop/images/02052025/11/56/image_02052025_11_57_06_10440.jpg
/home/pi/Desktop/images/02052025/11/57/image_02052025_11_57_16_9336.jpg
/home/pi/Desktop/images/02052025/11/57/image_02052025_11_57_26_10373.jpg
/home/pi/Desktop/images/02052025/11/57/image_02052025_11_57_36_9449.jpg
/home/pi/Desktop/images/02052025/11/57/image_02052025_11_57_46_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355305731","1355305725","1355305728","1355305718","1355305696","1355305722"],"photo_ids_order":["1355305696","1355305718","1355305722","1355305725","1355305728","1355305731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/efe83477de45204ceabf0b1968436eee.jpg","text":"TemporaryFile(/tmp/multipartBody7768466993388769827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188493076,"filename":"image_02052025_11_57_46_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2faf637ba97d384cc51d4f4134931269.jpg","text":"TemporaryFile(/tmp/multipartBody2731737768728006311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188493076,"filename":"image_02052025_11_57_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/5/2/7ef9853a086ce0ee63a1adab4408d72c.jpg","text":"TemporaryFile(/tmp/multipartBody1775893274832419329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188493076,"filename":"image_02052025_11_57_36_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/116783129972f6528bd855a17311f601.jpg","text":"TemporaryFile(/tmp/multipartBody8583921402498060867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188493076,"filename":"image_02052025_11_57_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/5/2/93cf6b538aad7ee3e2f5c49ff4d61631.jpg","text":"TemporaryFile(/tmp/multipartBody6269887949238768935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188493076,"filename":"image_02052025_11_56_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/5/2/8681ce0b571c391d33e36a7eadc3ced0.jpg","text":"TemporaryFile(/tmp/multipartBody5769713076102341939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188493076,"filename":"image_02052025_11_57_16_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355305722","file1":"1355305718","file0":"1355305696","file4":"1355305728","file5":"1355305731","file3":"1355305725"},"map_files_photo_id_array":[{"photo_id":"1355305731","filename":"file5"},{"photo_id":"1355305722","filename":"file2"},{"photo_id":"1355305728","filename":"file4"},{"photo_id":"1355305718","filename":"file1"},{"photo_id":"1355305696","filename":"file0"},{"photo_id":"1355305725","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355305731":["hashtag1","hashtag2"]},{"1355305725":["hashtag1","hashtag2"]},{"1355305728":["hashtag1","hashtag2"]},{"1355305718":["hashtag1","hashtag2"]},{"1355305696":["hashtag1","hashtag2"]},{"1355305722":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355305731, 1355305725, 1355305728, 1355305718, 1355305696, 1355305722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.894827127456665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:21:32.841477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/57/image_02052025_11_57_56_10360.jpg', '/home/pi/Desktop/images/02052025/11/57/image_02052025_11_58_06_9332.jpg', '/home/pi/Desktop/images/02052025/11/58/image_02052025_11_58_16_10346.jpg', '/home/pi/Desktop/images/02052025/11/58/image_02052025_11_58_26_9459.jpg', '/home/pi/Desktop/images/02052025/11/58/image_02052025_11_58_36_10384.jpg', '/home/pi/Desktop/images/02052025/11/58/image_02052025_11_58_46_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/57/image_02052025_11_57_56_10360.jpg
/home/pi/Desktop/images/02052025/11/57/image_02052025_11_58_06_9332.jpg
/home/pi/Desktop/images/02052025/11/58/image_02052025_11_58_16_10346.jpg
/home/pi/Desktop/images/02052025/11/58/image_02052025_11_58_26_9459.jpg
/home/pi/Desktop/images/02052025/11/58/image_02052025_11_58_36_10384.jpg
/home/pi/Desktop/images/02052025/11/58/image_02052025_11_58_46_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":["1355305786","1355305789","1355305780","1355305783","1355305791","1355305773"],"photo_ids_order":["1355305773","1355305780","1355305783","1355305786","1355305789","1355305791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e24b8f5d3a7c0235cd49d94146c2401d.jpg","text":"TemporaryFile(/tmp/multipartBody7961449308481501955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188553303,"filename":"image_02052025_11_58_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/5/2/e4a600971ed16c8d0f3ea74d3a8cecee.jpg","text":"TemporaryFile(/tmp/multipartBody8977948467167162927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188553303,"filename":"image_02052025_11_58_36_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c4e9165b204f9e9e85e6e7406a13ee4.jpg","text":"TemporaryFile(/tmp/multipartBody5026304931820711815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188553303,"filename":"image_02052025_11_58_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f027039e5419e3f92dd47922ba7a534e.jpg","text":"TemporaryFile(/tmp/multipartBody1224768680969907110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188553303,"filename":"image_02052025_11_58_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/5/2/e2c64e538ade4ad375cd779c8a93ab22.jpg","text":"TemporaryFile(/tmp/multipartBody3414733005965995035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188553303,"filename":"image_02052025_11_58_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/5/2/9f5e951c8f14660bca0ca1a474d61561.jpg","text":"TemporaryFile(/tmp/multipartBody5541450772926262077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188553303,"filename":"image_02052025_11_57_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355305783","file1":"1355305780","file0":"1355305773","file4":"1355305789","file5":"1355305791","file3":"1355305786"},"map_files_photo_id_array":[{"photo_id":"1355305791","filename":"file5"},{"photo_id":"1355305783","filename":"file2"},{"photo_id":"1355305789","filename":"file4"},{"photo_id":"1355305780","filename":"file1"},{"photo_id":"1355305773","filename":"file0"},{"photo_id":"1355305786","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355305786":["hashtag1","hashtag2"]},{"1355305789":["hashtag1","hashtag2"]},{"1355305780":["hashtag1","hashtag2"]},{"1355305783":["hashtag1","hashtag2"]},{"1355305791":["hashtag1","hashtag2"]},{"1355305773":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355305786, 1355305789, 1355305780, 1355305783, 1355305791, 1355305773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79193639755249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:22:33.028643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/58/image_02052025_11_58_56_9392.jpg', '/home/pi/Desktop/images/02052025/11/58/image_02052025_11_59_06_10346.jpg', '/home/pi/Desktop/images/02052025/11/59/image_02052025_11_59_16_10352.jpg', '/home/pi/Desktop/images/02052025/11/59/image_02052025_11_59_26_9343.jpg', '/home/pi/Desktop/images/02052025/11/59/image_02052025_11_59_36_10355.jpg', '/home/pi/Desktop/images/02052025/11/59/image_02052025_11_59_46_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/58/image_02052025_11_58_56_9392.jpg
/home/pi/Desktop/images/02052025/11/58/image_02052025_11_59_06_10346.jpg
/home/pi/Desktop/images/02052025/11/59/image_02052025_11_59_16_10352.jpg
/home/pi/Desktop/images/02052025/11/59/image_02052025_11_59_26_9343.jpg
/home/pi/Desktop/images/02052025/11/59/image_02052025_11_59_36_10355.jpg
/home/pi/Desktop/images/02052025/11/59/image_02052025_11_59_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":["1355305845","1355305853","1355305861","1355305858","1355305840","1355305848"],"photo_ids_order":["1355305840","1355305845","1355305848","1355305853","1355305858","1355305861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55a2c2284cd1171e40509e9ac205e42c.jpg","text":"TemporaryFile(/tmp/multipartBody1687701048437462056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188613529,"filename":"image_02052025_11_59_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/5/2/a29dcebe9ae24e9972ab31b6966de812.jpg","text":"TemporaryFile(/tmp/multipartBody718952604733083832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188613529,"filename":"image_02052025_11_59_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/91fea1ad8ed0da40e64518544ff51957.jpg","text":"TemporaryFile(/tmp/multipartBody8994062433405899151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188613529,"filename":"image_02052025_11_59_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/5/2/93000f245208dc6a67c288309653e277.jpg","text":"TemporaryFile(/tmp/multipartBody634000936859211449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188613529,"filename":"image_02052025_11_59_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/5/2/374b1f24e42940d5837f01adc56424a4.jpg","text":"TemporaryFile(/tmp/multipartBody5784186785445417477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188613529,"filename":"image_02052025_11_58_56_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2cd237762e61e14445afdb36d2231a00.jpg","text":"TemporaryFile(/tmp/multipartBody5086057318060656043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188613529,"filename":"image_02052025_11_59_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355305848","file1":"1355305845","file0":"1355305840","file4":"1355305858","file5":"1355305861","file3":"1355305853"},"map_files_photo_id_array":[{"photo_id":"1355305861","filename":"file5"},{"photo_id":"1355305848","filename":"file2"},{"photo_id":"1355305858","filename":"file4"},{"photo_id":"1355305845","filename":"file1"},{"photo_id":"1355305840","filename":"file0"},{"photo_id":"1355305853","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355305845":["hashtag1","hashtag2"]},{"1355305853":["hashtag1","hashtag2"]},{"1355305861":["hashtag1","hashtag2"]},{"1355305858":["hashtag1","hashtag2"]},{"1355305840":["hashtag1","hashtag2"]},{"1355305848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355305845, 1355305853, 1355305861, 1355305858, 1355305840, 1355305848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.852731466293335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:23:32.291803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/11/59/image_02052025_11_59_56_10360.jpg', '/home/pi/Desktop/images/02052025/12/00/image_02052025_12_00_16_10073.jpg', '/home/pi/Desktop/images/02052025/12/00/image_02052025_12_00_27_10368.jpg', '/home/pi/Desktop/images/02052025/12/00/image_02052025_12_00_37_10328.jpg', '/home/pi/Desktop/images/02052025/12/00/image_02052025_12_00_46_9474.jpg', '/home/pi/Desktop/images/02052025/12/00/image_02052025_12_00_57_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/11/59/image_02052025_11_59_56_10360.jpg
/home/pi/Desktop/images/02052025/12/00/image_02052025_12_00_16_10073.jpg
/home/pi/Desktop/images/02052025/12/00/image_02052025_12_00_27_10368.jpg
/home/pi/Desktop/images/02052025/12/00/image_02052025_12_00_37_10328.jpg
/home/pi/Desktop/images/02052025/12/00/image_02052025_12_00_46_9474.jpg
/home/pi/Desktop/images/02052025/12/00/image_02052025_12_00_57_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":["1355306081","1355306084","1355306024","1355306053","1355306077","1355305996"],"photo_ids_order":["1355305996","1355306024","1355306053","1355306077","1355306081","1355306084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/982edb022a3739ab1ecc0be82d4323a3.jpg","text":"TemporaryFile(/tmp/multipartBody3799952355931506038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188672766,"filename":"image_02052025_12_00_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/5/2/ab2f59bb4dfdef4bbcd5ccd315921cf7.jpg","text":"TemporaryFile(/tmp/multipartBody5310142976750949059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188672766,"filename":"image_02052025_12_00_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/5/2/10c92bf8e3074359eac580f9da1be405.jpg","text":"TemporaryFile(/tmp/multipartBody7519307549011814257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188672766,"filename":"image_02052025_12_00_16_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2af3522515db154257982c08a6f56621.jpg","text":"TemporaryFile(/tmp/multipartBody9048339564854209633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188672766,"filename":"image_02052025_12_00_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d747079865bc86cc2259b6bdace7abc7.jpg","text":"TemporaryFile(/tmp/multipartBody4917513778134508689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188672766,"filename":"image_02052025_12_00_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/5/2/c7dbe3ee5e9327fe6e567971480215c0.jpg","text":"TemporaryFile(/tmp/multipartBody8905643834699540551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188672766,"filename":"image_02052025_11_59_56_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355306053","file1":"1355306024","file0":"1355305996","file4":"1355306081","file5":"1355306084","file3":"1355306077"},"map_files_photo_id_array":[{"photo_id":"1355306084","filename":"file5"},{"photo_id":"1355306053","filename":"file2"},{"photo_id":"1355306081","filename":"file4"},{"photo_id":"1355306024","filename":"file1"},{"photo_id":"1355305996","filename":"file0"},{"photo_id":"1355306077","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355306081":["hashtag1","hashtag2"]},{"1355306084":["hashtag1","hashtag2"]},{"1355306024":["hashtag1","hashtag2"]},{"1355306053":["hashtag1","hashtag2"]},{"1355306077":["hashtag1","hashtag2"]},{"1355305996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355306081, 1355306084, 1355306024, 1355306053, 1355306077, 1355305996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.089871406555176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:24:32.424266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/00/image_02052025_12_01_07_10361.jpg', '/home/pi/Desktop/images/02052025/12/01/image_02052025_12_01_27_10378.jpg', '/home/pi/Desktop/images/02052025/12/01/image_02052025_12_01_36_9444.jpg', '/home/pi/Desktop/images/02052025/12/01/image_02052025_12_01_47_10406.jpg', '/home/pi/Desktop/images/02052025/12/01/image_02052025_12_01_56_9395.jpg', '/home/pi/Desktop/images/02052025/12/02/image_02052025_12_02_17_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/00/image_02052025_12_01_07_10361.jpg
/home/pi/Desktop/images/02052025/12/01/image_02052025_12_01_27_10378.jpg
/home/pi/Desktop/images/02052025/12/01/image_02052025_12_01_36_9444.jpg
/home/pi/Desktop/images/02052025/12/01/image_02052025_12_01_47_10406.jpg
/home/pi/Desktop/images/02052025/12/01/image_02052025_12_01_56_9395.jpg
/home/pi/Desktop/images/02052025/12/02/image_02052025_12_02_17_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":["1355306141","1355306135","1355306150","1355306145","1355306154","1355306112"],"photo_ids_order":["1355306112","1355306135","1355306141","1355306145","1355306150","1355306154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7bd3f818e6cb911f732bde1ab1cb1ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5865765109765118748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188732892,"filename":"image_02052025_12_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/5/2/268eec54730507ad3b7004ce67d42f79.jpg","text":"TemporaryFile(/tmp/multipartBody4086983299608173349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188732892,"filename":"image_02052025_12_01_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/5/2/d08c11ac57fc0f5d867b7978dad1515c.jpg","text":"TemporaryFile(/tmp/multipartBody4612909556655319964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188732892,"filename":"image_02052025_12_01_56_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/244c11fe1864cb0a99cfbdcc48c96d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5778413241854907962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188732892,"filename":"image_02052025_12_01_47_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d79c0241b03816374d93bcb975bd0157.jpg","text":"TemporaryFile(/tmp/multipartBody4661208364205281127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188732892,"filename":"image_02052025_12_02_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/5/2/bd507c719aa58baa5410be146ebd5362.jpg","text":"TemporaryFile(/tmp/multipartBody7405988505022876195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188732892,"filename":"image_02052025_12_01_07_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355306141","file1":"1355306135","file0":"1355306112","file4":"1355306150","file5":"1355306154","file3":"1355306145"},"map_files_photo_id_array":[{"photo_id":"1355306154","filename":"file5"},{"photo_id":"1355306141","filename":"file2"},{"photo_id":"1355306150","filename":"file4"},{"photo_id":"1355306135","filename":"file1"},{"photo_id":"1355306112","filename":"file0"},{"photo_id":"1355306145","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355306141":["hashtag1","hashtag2"]},{"1355306135":["hashtag1","hashtag2"]},{"1355306150":["hashtag1","hashtag2"]},{"1355306145":["hashtag1","hashtag2"]},{"1355306154":["hashtag1","hashtag2"]},{"1355306112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355306141, 1355306135, 1355306150, 1355306145, 1355306154, 1355306112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06099843978882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:25:32.625323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/02/image_02052025_12_02_26_9409.jpg', '/home/pi/Desktop/images/02052025/12/02/image_02052025_12_02_37_10389.jpg', '/home/pi/Desktop/images/02052025/12/02/image_02052025_12_02_46_9435.jpg', '/home/pi/Desktop/images/02052025/12/02/image_02052025_12_02_57_10433.jpg', '/home/pi/Desktop/images/02052025/12/02/image_02052025_12_03_07_10397.jpg', '/home/pi/Desktop/images/02052025/12/03/image_02052025_12_03_16_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/02/image_02052025_12_02_26_9409.jpg
/home/pi/Desktop/images/02052025/12/02/image_02052025_12_02_37_10389.jpg
/home/pi/Desktop/images/02052025/12/02/image_02052025_12_02_46_9435.jpg
/home/pi/Desktop/images/02052025/12/02/image_02052025_12_02_57_10433.jpg
/home/pi/Desktop/images/02052025/12/02/image_02052025_12_03_07_10397.jpg
/home/pi/Desktop/images/02052025/12/03/image_02052025_12_03_16_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355306255","1355306249","1355306339","1355306312","1355306224","1355306274"],"photo_ids_order":["1355306224","1355306249","1355306255","1355306274","1355306312","1355306339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d02850edefbe156f41995181258ff344.jpg","text":"TemporaryFile(/tmp/multipartBody228930023702807146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188793134,"filename":"image_02052025_12_02_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/5/2/5fe4af37a375f6ac7e4462a31c47e25e.jpg","text":"TemporaryFile(/tmp/multipartBody3362738481594344631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188793134,"filename":"image_02052025_12_02_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/5/2/f67dde56d125b4ee0b2c68a9405db37f.jpg","text":"TemporaryFile(/tmp/multipartBody1941768213417704079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188793134,"filename":"image_02052025_12_03_16_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5e828d9e1277b36746b4aa728192bcbc.jpg","text":"TemporaryFile(/tmp/multipartBody5617389291673696343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188793134,"filename":"image_02052025_12_03_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/5/2/97f05e5d4100370702780f04f1990b18.jpg","text":"TemporaryFile(/tmp/multipartBody5379826000865264163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188793134,"filename":"image_02052025_12_02_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/5/2/e2d611c19490167090b8208960e42f7b.jpg","text":"TemporaryFile(/tmp/multipartBody5801762887159547546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188793134,"filename":"image_02052025_12_02_57_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355306255","file1":"1355306249","file0":"1355306224","file4":"1355306312","file5":"1355306339","file3":"1355306274"},"map_files_photo_id_array":[{"photo_id":"1355306339","filename":"file5"},{"photo_id":"1355306255","filename":"file2"},{"photo_id":"1355306312","filename":"file4"},{"photo_id":"1355306249","filename":"file1"},{"photo_id":"1355306224","filename":"file0"},{"photo_id":"1355306274","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355306255":["hashtag1","hashtag2"]},{"1355306249":["hashtag1","hashtag2"]},{"1355306339":["hashtag1","hashtag2"]},{"1355306312":["hashtag1","hashtag2"]},{"1355306224":["hashtag1","hashtag2"]},{"1355306274":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355306255, 1355306249, 1355306339, 1355306312, 1355306224, 1355306274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.810797691345215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:26:32.710263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/03/image_02052025_12_03_27_10405.jpg', '/home/pi/Desktop/images/02052025/12/03/image_02052025_12_03_36_9325.jpg', '/home/pi/Desktop/images/02052025/12/03/image_02052025_12_03_47_10431.jpg', '/home/pi/Desktop/images/02052025/12/03/image_02052025_12_03_57_10366.jpg', '/home/pi/Desktop/images/02052025/12/03/image_02052025_12_04_06_9489.jpg', '/home/pi/Desktop/images/02052025/12/04/image_02052025_12_04_17_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/03/image_02052025_12_03_27_10405.jpg
/home/pi/Desktop/images/02052025/12/03/image_02052025_12_03_36_9325.jpg
/home/pi/Desktop/images/02052025/12/03/image_02052025_12_03_47_10431.jpg
/home/pi/Desktop/images/02052025/12/03/image_02052025_12_03_57_10366.jpg
/home/pi/Desktop/images/02052025/12/03/image_02052025_12_04_06_9489.jpg
/home/pi/Desktop/images/02052025/12/04/image_02052025_12_04_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":["1355306585","1355306600","1355306590","1355306602","1355306595","1355306582"],"photo_ids_order":["1355306582","1355306585","1355306590","1355306595","1355306600","1355306602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4cd86f477cd7cfda978a3b4606bd1665.jpg","text":"TemporaryFile(/tmp/multipartBody7852708281297365078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188853184,"filename":"image_02052025_12_03_36_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c6fef37d428d6c53b03764e281f73d6.jpg","text":"TemporaryFile(/tmp/multipartBody8268864231942314573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188853184,"filename":"image_02052025_12_04_06_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9fba5bf11831fd7255e713c7b3d77e4d.jpg","text":"TemporaryFile(/tmp/multipartBody2293972844691812890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188853184,"filename":"image_02052025_12_03_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/5/2/12cd10aadbf4e521ea0fd37f953af9e3.jpg","text":"TemporaryFile(/tmp/multipartBody891379492468675053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188853184,"filename":"image_02052025_12_04_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/5/2/48690f6b5944ab440e60d660ebdb9fbf.jpg","text":"TemporaryFile(/tmp/multipartBody9180683697532239826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188853184,"filename":"image_02052025_12_03_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/5/2/3690dd091d476214ac4d4c773f939ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5722870468006813577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188853184,"filename":"image_02052025_12_03_27_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355306590","file1":"1355306585","file0":"1355306582","file4":"1355306600","file5":"1355306602","file3":"1355306595"},"map_files_photo_id_array":[{"photo_id":"1355306602","filename":"file5"},{"photo_id":"1355306590","filename":"file2"},{"photo_id":"1355306600","filename":"file4"},{"photo_id":"1355306585","filename":"file1"},{"photo_id":"1355306582","filename":"file0"},{"photo_id":"1355306595","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355306585":["hashtag1","hashtag2"]},{"1355306600":["hashtag1","hashtag2"]},{"1355306590":["hashtag1","hashtag2"]},{"1355306602":["hashtag1","hashtag2"]},{"1355306595":["hashtag1","hashtag2"]},{"1355306582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355306585, 1355306600, 1355306590, 1355306602, 1355306595, 1355306582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.954209327697754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:27:32.975291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/04/image_02052025_12_04_26_9399.jpg', '/home/pi/Desktop/images/02052025/12/04/image_02052025_12_04_37_10406.jpg', '/home/pi/Desktop/images/02052025/12/04/image_02052025_12_04_47_10352.jpg', '/home/pi/Desktop/images/02052025/12/04/image_02052025_12_04_56_9416.jpg', '/home/pi/Desktop/images/02052025/12/04/image_02052025_12_05_07_10346.jpg', '/home/pi/Desktop/images/02052025/12/05/image_02052025_12_05_17_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/04/image_02052025_12_04_26_9399.jpg
/home/pi/Desktop/images/02052025/12/04/image_02052025_12_04_37_10406.jpg
/home/pi/Desktop/images/02052025/12/04/image_02052025_12_04_47_10352.jpg
/home/pi/Desktop/images/02052025/12/04/image_02052025_12_04_56_9416.jpg
/home/pi/Desktop/images/02052025/12/04/image_02052025_12_05_07_10346.jpg
/home/pi/Desktop/images/02052025/12/05/image_02052025_12_05_17_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":["1355306744","1355306735","1355306740","1355306746","1355306731","1355306725"],"photo_ids_order":["1355306725","1355306731","1355306735","1355306740","1355306744","1355306746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/209240848665f3fbe5740c37e2088579.jpg","text":"TemporaryFile(/tmp/multipartBody1041721394549538847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188913444,"filename":"image_02052025_12_05_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/5/2/7c101092f6fa61ddb5c62e0a2a981ff6.jpg","text":"TemporaryFile(/tmp/multipartBody3999989066285817381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188913444,"filename":"image_02052025_12_04_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/5/2/28fc825c4714457901d296cce76c57b3.jpg","text":"TemporaryFile(/tmp/multipartBody4168239787749316107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188913444,"filename":"image_02052025_12_04_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/5/2/df6b908d9601ef061a846976345b8cbf.jpg","text":"TemporaryFile(/tmp/multipartBody1188332383823830914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188913444,"filename":"image_02052025_12_05_17_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/15da3905c85d41b6b217167917c61471.jpg","text":"TemporaryFile(/tmp/multipartBody8587933622093176938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188913444,"filename":"image_02052025_12_04_37_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a4637349684d1d85bd5661ae95e2664.jpg","text":"TemporaryFile(/tmp/multipartBody6142349024777485829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188913444,"filename":"image_02052025_12_04_26_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355306735","file1":"1355306731","file0":"1355306725","file4":"1355306744","file5":"1355306746","file3":"1355306740"},"map_files_photo_id_array":[{"photo_id":"1355306746","filename":"file5"},{"photo_id":"1355306735","filename":"file2"},{"photo_id":"1355306744","filename":"file4"},{"photo_id":"1355306731","filename":"file1"},{"photo_id":"1355306725","filename":"file0"},{"photo_id":"1355306740","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355306744":["hashtag1","hashtag2"]},{"1355306735":["hashtag1","hashtag2"]},{"1355306740":["hashtag1","hashtag2"]},{"1355306746":["hashtag1","hashtag2"]},{"1355306731":["hashtag1","hashtag2"]},{"1355306725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355306744, 1355306735, 1355306740, 1355306746, 1355306731, 1355306725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13394641876221 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:28:32.228693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/05/image_02052025_12_05_26_9342.jpg', '/home/pi/Desktop/images/02052025/12/05/image_02052025_12_05_37_10360.jpg', '/home/pi/Desktop/images/02052025/12/05/image_02052025_12_05_46_9401.jpg', '/home/pi/Desktop/images/02052025/12/05/image_02052025_12_05_57_10365.jpg', '/home/pi/Desktop/images/02052025/12/05/image_02052025_12_06_07_10355.jpg', '/home/pi/Desktop/images/02052025/12/06/image_02052025_12_06_16_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/05/image_02052025_12_05_26_9342.jpg
/home/pi/Desktop/images/02052025/12/05/image_02052025_12_05_37_10360.jpg
/home/pi/Desktop/images/02052025/12/05/image_02052025_12_05_46_9401.jpg
/home/pi/Desktop/images/02052025/12/05/image_02052025_12_05_57_10365.jpg
/home/pi/Desktop/images/02052025/12/05/image_02052025_12_06_07_10355.jpg
/home/pi/Desktop/images/02052025/12/06/image_02052025_12_06_16_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":["1355306777","1355306770","1355306782","1355306796","1355306790","1355306774"],"photo_ids_order":["1355306770","1355306774","1355306777","1355306782","1355306790","1355306796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6660c54cd55054c493c94e16da6c2433.jpg","text":"TemporaryFile(/tmp/multipartBody6997088081500302752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188972690,"filename":"image_02052025_12_05_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/5/2/6d3e652a88b31aa5dcce3e3522a9a1e1.jpg","text":"TemporaryFile(/tmp/multipartBody823397226793908828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188972690,"filename":"image_02052025_12_05_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/5/2/ebfd98df64899bbc56f9b883ff77f797.jpg","text":"TemporaryFile(/tmp/multipartBody564563426354061631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188972690,"filename":"image_02052025_12_05_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/5/2/97b8e3c29efa843eacfebe58f4f39542.jpg","text":"TemporaryFile(/tmp/multipartBody7057912648263518396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188972690,"filename":"image_02052025_12_06_16_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3bd856c61a15d4c6f940e5bef0131e3.jpg","text":"TemporaryFile(/tmp/multipartBody3991325329718883648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188972690,"filename":"image_02052025_12_06_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f3f7a81361910c6e6b92c2fc2860d96c.jpg","text":"TemporaryFile(/tmp/multipartBody3858282023085850989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746188972690,"filename":"image_02052025_12_05_37_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355306777","file1":"1355306774","file0":"1355306770","file4":"1355306790","file5":"1355306796","file3":"1355306782"},"map_files_photo_id_array":[{"photo_id":"1355306796","filename":"file5"},{"photo_id":"1355306777","filename":"file2"},{"photo_id":"1355306790","filename":"file4"},{"photo_id":"1355306774","filename":"file1"},{"photo_id":"1355306770","filename":"file0"},{"photo_id":"1355306782","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355306777":["hashtag1","hashtag2"]},{"1355306770":["hashtag1","hashtag2"]},{"1355306782":["hashtag1","hashtag2"]},{"1355306796":["hashtag1","hashtag2"]},{"1355306790":["hashtag1","hashtag2"]},{"1355306774":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355306777, 1355306770, 1355306782, 1355306796, 1355306790, 1355306774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61818242073059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:29:32.410751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/06/image_02052025_12_06_27_10374.jpg', '/home/pi/Desktop/images/02052025/12/06/image_02052025_12_06_37_10345.jpg', '/home/pi/Desktop/images/02052025/12/06/image_02052025_12_06_47_9478.jpg', '/home/pi/Desktop/images/02052025/12/06/image_02052025_12_06_57_10357.jpg', '/home/pi/Desktop/images/02052025/12/06/image_02052025_12_07_06_9480.jpg', '/home/pi/Desktop/images/02052025/12/07/image_02052025_12_07_17_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/06/image_02052025_12_06_27_10374.jpg
/home/pi/Desktop/images/02052025/12/06/image_02052025_12_06_37_10345.jpg
/home/pi/Desktop/images/02052025/12/06/image_02052025_12_06_47_9478.jpg
/home/pi/Desktop/images/02052025/12/06/image_02052025_12_06_57_10357.jpg
/home/pi/Desktop/images/02052025/12/06/image_02052025_12_07_06_9480.jpg
/home/pi/Desktop/images/02052025/12/07/image_02052025_12_07_17_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":["1355306848","1355306824","1355306818","1355306827","1355306844","1355306841"],"photo_ids_order":["1355306818","1355306824","1355306827","1355306841","1355306844","1355306848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/80943b271816fd8eca67f681ddc7418d.jpg","text":"TemporaryFile(/tmp/multipartBody5349307741429207531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189032884,"filename":"image_02052025_12_07_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f413e51c5d2ec2ac46272e1d3a19ba1.jpg","text":"TemporaryFile(/tmp/multipartBody7694279286127623869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189032884,"filename":"image_02052025_12_06_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/5/2/39c6030a1dd798923d41a8680d2e91c9.jpg","text":"TemporaryFile(/tmp/multipartBody5259722088547425202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189032884,"filename":"image_02052025_12_06_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/5/2/087da989a451dd0991b01e8f3c6a842b.jpg","text":"TemporaryFile(/tmp/multipartBody8150997561553151717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189032884,"filename":"image_02052025_12_06_47_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/477444f1c53177b9753eb677c6a405d7.jpg","text":"TemporaryFile(/tmp/multipartBody6169502578195294688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189032884,"filename":"image_02052025_12_07_06_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2176c28be84e7fcad505abcad6eda47f.jpg","text":"TemporaryFile(/tmp/multipartBody5107573624941314052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189032884,"filename":"image_02052025_12_06_57_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355306827","file1":"1355306824","file0":"1355306818","file4":"1355306844","file5":"1355306848","file3":"1355306841"},"map_files_photo_id_array":[{"photo_id":"1355306848","filename":"file5"},{"photo_id":"1355306827","filename":"file2"},{"photo_id":"1355306844","filename":"file4"},{"photo_id":"1355306824","filename":"file1"},{"photo_id":"1355306818","filename":"file0"},{"photo_id":"1355306841","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355306848":["hashtag1","hashtag2"]},{"1355306824":["hashtag1","hashtag2"]},{"1355306818":["hashtag1","hashtag2"]},{"1355306827":["hashtag1","hashtag2"]},{"1355306844":["hashtag1","hashtag2"]},{"1355306841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355306848, 1355306824, 1355306818, 1355306827, 1355306844, 1355306841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50653624534607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:30:32.706559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/07/image_02052025_12_07_27_10348.jpg', '/home/pi/Desktop/images/02052025/12/07/image_02052025_12_07_37_9442.jpg', '/home/pi/Desktop/images/02052025/12/07/image_02052025_12_07_47_10370.jpg', '/home/pi/Desktop/images/02052025/12/07/image_02052025_12_07_56_9410.jpg', '/home/pi/Desktop/images/02052025/12/07/image_02052025_12_08_07_10418.jpg', '/home/pi/Desktop/images/02052025/12/08/image_02052025_12_08_17_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/07/image_02052025_12_07_27_10348.jpg
/home/pi/Desktop/images/02052025/12/07/image_02052025_12_07_37_9442.jpg
/home/pi/Desktop/images/02052025/12/07/image_02052025_12_07_47_10370.jpg
/home/pi/Desktop/images/02052025/12/07/image_02052025_12_07_56_9410.jpg
/home/pi/Desktop/images/02052025/12/07/image_02052025_12_08_07_10418.jpg
/home/pi/Desktop/images/02052025/12/08/image_02052025_12_08_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":["1355306878","1355306881","1355306875","1355306869","1355306886","1355306885"],"photo_ids_order":["1355306869","1355306875","1355306878","1355306881","1355306885","1355306886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4630697b53742719c6ec5aa60f624003.jpg","text":"TemporaryFile(/tmp/multipartBody5472916679002448137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189093169,"filename":"image_02052025_12_07_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1fd59c2f6b04fb98bf1697c5eee58272.jpg","text":"TemporaryFile(/tmp/multipartBody3106523148685232840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189093169,"filename":"image_02052025_12_07_56_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/baf941f8c5b5d21ac7fde703f77b45a3.jpg","text":"TemporaryFile(/tmp/multipartBody2660318794704500980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189093169,"filename":"image_02052025_12_07_37_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7cdc8e45711c502dca2a03270268f0f.jpg","text":"TemporaryFile(/tmp/multipartBody4322342567810269591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189093169,"filename":"image_02052025_12_07_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/618a9291f335e167ec47001f843a7093.jpg","text":"TemporaryFile(/tmp/multipartBody2591026644575958362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189093169,"filename":"image_02052025_12_08_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/5/2/924406b868ace8418984c28635e2e6ab.jpg","text":"TemporaryFile(/tmp/multipartBody1439180976510929190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189093169,"filename":"image_02052025_12_08_07_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355306878","file1":"1355306875","file0":"1355306869","file4":"1355306885","file5":"1355306886","file3":"1355306881"},"map_files_photo_id_array":[{"photo_id":"1355306886","filename":"file5"},{"photo_id":"1355306878","filename":"file2"},{"photo_id":"1355306885","filename":"file4"},{"photo_id":"1355306875","filename":"file1"},{"photo_id":"1355306869","filename":"file0"},{"photo_id":"1355306881","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355306878":["hashtag1","hashtag2"]},{"1355306881":["hashtag1","hashtag2"]},{"1355306875":["hashtag1","hashtag2"]},{"1355306869":["hashtag1","hashtag2"]},{"1355306886":["hashtag1","hashtag2"]},{"1355306885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355306878, 1355306881, 1355306875, 1355306869, 1355306886, 1355306885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42615294456482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:31:33.090642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/08/image_02052025_12_08_26_9380.jpg', '/home/pi/Desktop/images/02052025/12/08/image_02052025_12_08_37_10355.jpg', '/home/pi/Desktop/images/02052025/12/08/image_02052025_12_08_47_10355.jpg', '/home/pi/Desktop/images/02052025/12/08/image_02052025_12_08_57_9462.jpg', '/home/pi/Desktop/images/02052025/12/08/image_02052025_12_09_07_10356.jpg', '/home/pi/Desktop/images/02052025/12/09/image_02052025_12_09_16_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/08/image_02052025_12_08_26_9380.jpg
/home/pi/Desktop/images/02052025/12/08/image_02052025_12_08_37_10355.jpg
/home/pi/Desktop/images/02052025/12/08/image_02052025_12_08_47_10355.jpg
/home/pi/Desktop/images/02052025/12/08/image_02052025_12_08_57_9462.jpg
/home/pi/Desktop/images/02052025/12/08/image_02052025_12_09_07_10356.jpg
/home/pi/Desktop/images/02052025/12/09/image_02052025_12_09_16_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355307058","1355307052","1355307180","1355307078","1355307161","1355307134"],"photo_ids_order":["1355307052","1355307058","1355307078","1355307134","1355307161","1355307180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6a9ceede1c8c9067e2f3fae3bf0e2e1.jpg","text":"TemporaryFile(/tmp/multipartBody3976083251027243083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189153569,"filename":"image_02052025_12_08_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/5/2/eaec1fa15265b652fde63cb8b7ab4b7c.jpg","text":"TemporaryFile(/tmp/multipartBody8704429517820844618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189153569,"filename":"image_02052025_12_08_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/5/2/e4a026ea70845269f260164eb14cfbbb.jpg","text":"TemporaryFile(/tmp/multipartBody45064823069942972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189153569,"filename":"image_02052025_12_09_16_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87490f4301b4d84ba37c77cfc8aef20b.jpg","text":"TemporaryFile(/tmp/multipartBody7418590985051457532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189153569,"filename":"image_02052025_12_08_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/5/2/4b541a75ffb68fa411ea49f794874133.jpg","text":"TemporaryFile(/tmp/multipartBody642705756118130450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189153569,"filename":"image_02052025_12_09_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/5/2/3e94bc40e0fc519fa9ac19dd679a91bd.jpg","text":"TemporaryFile(/tmp/multipartBody1147353080843503621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189153569,"filename":"image_02052025_12_08_57_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355307078","file1":"1355307058","file0":"1355307052","file4":"1355307161","file5":"1355307180","file3":"1355307134"},"map_files_photo_id_array":[{"photo_id":"1355307180","filename":"file5"},{"photo_id":"1355307078","filename":"file2"},{"photo_id":"1355307161","filename":"file4"},{"photo_id":"1355307058","filename":"file1"},{"photo_id":"1355307052","filename":"file0"},{"photo_id":"1355307134","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355307058":["hashtag1","hashtag2"]},{"1355307052":["hashtag1","hashtag2"]},{"1355307180":["hashtag1","hashtag2"]},{"1355307078":["hashtag1","hashtag2"]},{"1355307161":["hashtag1","hashtag2"]},{"1355307134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355307058, 1355307052, 1355307180, 1355307078, 1355307161, 1355307134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.50451636314392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:32:32.143704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/09/image_02052025_12_09_27_10419.jpg', '/home/pi/Desktop/images/02052025/12/09/image_02052025_12_09_36_9341.jpg', '/home/pi/Desktop/images/02052025/12/09/image_02052025_12_09_47_10362.jpg', '/home/pi/Desktop/images/02052025/12/09/image_02052025_12_09_57_10405.jpg', '/home/pi/Desktop/images/02052025/12/09/image_02052025_12_10_06_9383.jpg', '/home/pi/Desktop/images/02052025/12/10/image_02052025_12_10_17_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/09/image_02052025_12_09_27_10419.jpg
/home/pi/Desktop/images/02052025/12/09/image_02052025_12_09_36_9341.jpg
/home/pi/Desktop/images/02052025/12/09/image_02052025_12_09_47_10362.jpg
/home/pi/Desktop/images/02052025/12/09/image_02052025_12_09_57_10405.jpg
/home/pi/Desktop/images/02052025/12/09/image_02052025_12_10_06_9383.jpg
/home/pi/Desktop/images/02052025/12/10/image_02052025_12_10_17_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":["1355307230","1355307267","1355307261","1355307249","1355307234","1355307246"],"photo_ids_order":["1355307230","1355307234","1355307246","1355307249","1355307261","1355307267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/951467c7f427f05d901a2e79f78d08ce.jpg","text":"TemporaryFile(/tmp/multipartBody2785701949049044131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189212619,"filename":"image_02052025_12_09_27_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f8a87237d218dc9a4f61276fc9e4be0.jpg","text":"TemporaryFile(/tmp/multipartBody102613610938253785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189212619,"filename":"image_02052025_12_10_17_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1efb05ae3c050566d4901eb7bb55e6c0.jpg","text":"TemporaryFile(/tmp/multipartBody5267719335343217813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189212619,"filename":"image_02052025_12_10_06_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/23f9b970261b1277670910e2c3be3644.jpg","text":"TemporaryFile(/tmp/multipartBody5867207777081335553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189212619,"filename":"image_02052025_12_09_57_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09c2e0f709fdcd703b229afac9c4c424.jpg","text":"TemporaryFile(/tmp/multipartBody8457241505618790630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189212619,"filename":"image_02052025_12_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/5/2/4ca08eb4166998e3d0bfd4a3e3984443.jpg","text":"TemporaryFile(/tmp/multipartBody1353776941331234119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189212619,"filename":"image_02052025_12_09_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355307246","file1":"1355307234","file0":"1355307230","file4":"1355307261","file5":"1355307267","file3":"1355307249"},"map_files_photo_id_array":[{"photo_id":"1355307267","filename":"file5"},{"photo_id":"1355307246","filename":"file2"},{"photo_id":"1355307261","filename":"file4"},{"photo_id":"1355307234","filename":"file1"},{"photo_id":"1355307230","filename":"file0"},{"photo_id":"1355307249","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355307230":["hashtag1","hashtag2"]},{"1355307267":["hashtag1","hashtag2"]},{"1355307261":["hashtag1","hashtag2"]},{"1355307249":["hashtag1","hashtag2"]},{"1355307234":["hashtag1","hashtag2"]},{"1355307246":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355307230, 1355307267, 1355307261, 1355307249, 1355307234, 1355307246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53509259223938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:33:32.432973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/10/image_02052025_12_10_26_9412.jpg', '/home/pi/Desktop/images/02052025/12/10/image_02052025_12_10_37_10343.jpg', '/home/pi/Desktop/images/02052025/12/10/image_02052025_12_10_47_10363.jpg', '/home/pi/Desktop/images/02052025/12/10/image_02052025_12_10_56_9484.jpg', '/home/pi/Desktop/images/02052025/12/10/image_02052025_12_11_07_10444.jpg', '/home/pi/Desktop/images/02052025/12/11/image_02052025_12_11_16_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/10/image_02052025_12_10_26_9412.jpg
/home/pi/Desktop/images/02052025/12/10/image_02052025_12_10_37_10343.jpg
/home/pi/Desktop/images/02052025/12/10/image_02052025_12_10_47_10363.jpg
/home/pi/Desktop/images/02052025/12/10/image_02052025_12_10_56_9484.jpg
/home/pi/Desktop/images/02052025/12/10/image_02052025_12_11_07_10444.jpg
/home/pi/Desktop/images/02052025/12/11/image_02052025_12_11_16_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355307517","1355307483","1355307444","1355307402","1355307339","1355307371"],"photo_ids_order":["1355307339","1355307371","1355307402","1355307444","1355307483","1355307517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/937266343b01771f1db6b8e2f50e97b8.jpg","text":"TemporaryFile(/tmp/multipartBody2258960366029060220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189272889,"filename":"image_02052025_12_11_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/5/2/beda699400872528cb1d66c3a930640d.jpg","text":"TemporaryFile(/tmp/multipartBody4613739426450255333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189272889,"filename":"image_02052025_12_11_07_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d92fd85c2aeeb9eef1c94f1962e1540.jpg","text":"TemporaryFile(/tmp/multipartBody8344588646696121055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189272889,"filename":"image_02052025_12_10_56_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da770cf583ccfeae1c13164c734da9f0.jpg","text":"TemporaryFile(/tmp/multipartBody3057848611435766979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189272889,"filename":"image_02052025_12_10_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/5/2/b25248929a7b6ad689871ab28fc4f295.jpg","text":"TemporaryFile(/tmp/multipartBody4303718393299515707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189272889,"filename":"image_02052025_12_10_26_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5dd1509671191685083dd1ea418283f6.jpg","text":"TemporaryFile(/tmp/multipartBody5438287272330047922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189272889,"filename":"image_02052025_12_10_37_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355307402","file1":"1355307371","file0":"1355307339","file4":"1355307483","file5":"1355307517","file3":"1355307444"},"map_files_photo_id_array":[{"photo_id":"1355307517","filename":"file5"},{"photo_id":"1355307402","filename":"file2"},{"photo_id":"1355307483","filename":"file4"},{"photo_id":"1355307371","filename":"file1"},{"photo_id":"1355307339","filename":"file0"},{"photo_id":"1355307444","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355307517":["hashtag1","hashtag2"]},{"1355307483":["hashtag1","hashtag2"]},{"1355307444":["hashtag1","hashtag2"]},{"1355307402":["hashtag1","hashtag2"]},{"1355307339":["hashtag1","hashtag2"]},{"1355307371":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355307517, 1355307483, 1355307444, 1355307402, 1355307339, 1355307371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.259765625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:34:32.446467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/11/image_02052025_12_11_27_10440.jpg', '/home/pi/Desktop/images/02052025/12/11/image_02052025_12_11_37_10380.jpg', '/home/pi/Desktop/images/02052025/12/11/image_02052025_12_11_47_9467.jpg', '/home/pi/Desktop/images/02052025/12/11/image_02052025_12_11_57_10373.jpg', '/home/pi/Desktop/images/02052025/12/11/image_02052025_12_12_06_9445.jpg', '/home/pi/Desktop/images/02052025/12/12/image_02052025_12_12_17_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/11/image_02052025_12_11_27_10440.jpg
/home/pi/Desktop/images/02052025/12/11/image_02052025_12_11_37_10380.jpg
/home/pi/Desktop/images/02052025/12/11/image_02052025_12_11_47_9467.jpg
/home/pi/Desktop/images/02052025/12/11/image_02052025_12_11_57_10373.jpg
/home/pi/Desktop/images/02052025/12/11/image_02052025_12_12_06_9445.jpg
/home/pi/Desktop/images/02052025/12/12/image_02052025_12_12_17_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355307994","1355308024","1355308083","1355307952","1355307912","1355308145"],"photo_ids_order":["1355307912","1355307952","1355307994","1355308024","1355308083","1355308145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e1a17d37ef50dfc978997e13399f6b4.jpg","text":"TemporaryFile(/tmp/multipartBody8721687321939740167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189332911,"filename":"image_02052025_12_11_47_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f3546ed18465c5a0a8d67c5af149d3ee.jpg","text":"TemporaryFile(/tmp/multipartBody8033879183923940388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189332911,"filename":"image_02052025_12_11_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3aed433bbaa2f55dd2c40e6a4589fe45.jpg","text":"TemporaryFile(/tmp/multipartBody7021954080211832118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189332911,"filename":"image_02052025_12_12_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/5/2/f8150c07dfeb2bb76f41c0a19c607108.jpg","text":"TemporaryFile(/tmp/multipartBody4746711829248705159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189332911,"filename":"image_02052025_12_11_37_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/028b5d8c8b5e25541ed794b32130d09c.jpg","text":"TemporaryFile(/tmp/multipartBody5223964565639202589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189332911,"filename":"image_02052025_12_11_27_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ca9a4ce1410bd031eb1aac2270890fb2.jpg","text":"TemporaryFile(/tmp/multipartBody5479775982983762943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189332911,"filename":"image_02052025_12_12_17_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355307994","file1":"1355307952","file0":"1355307912","file4":"1355308083","file5":"1355308145","file3":"1355308024"},"map_files_photo_id_array":[{"photo_id":"1355308145","filename":"file5"},{"photo_id":"1355307994","filename":"file2"},{"photo_id":"1355308083","filename":"file4"},{"photo_id":"1355307952","filename":"file1"},{"photo_id":"1355307912","filename":"file0"},{"photo_id":"1355308024","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355307994":["hashtag1","hashtag2"]},{"1355308024":["hashtag1","hashtag2"]},{"1355308083":["hashtag1","hashtag2"]},{"1355307952":["hashtag1","hashtag2"]},{"1355307912":["hashtag1","hashtag2"]},{"1355308145":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355307994, 1355308024, 1355308083, 1355307952, 1355307912, 1355308145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39250564575195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:35:32.720706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/12/image_02052025_12_12_26_9764.jpg', '/home/pi/Desktop/images/02052025/12/12/image_02052025_12_12_37_10358.jpg', '/home/pi/Desktop/images/02052025/12/12/image_02052025_12_12_46_9352.jpg', '/home/pi/Desktop/images/02052025/12/12/image_02052025_12_12_57_10452.jpg', '/home/pi/Desktop/images/02052025/12/12/image_02052025_12_13_07_10331.jpg', '/home/pi/Desktop/images/02052025/12/13/image_02052025_12_13_16_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/12/image_02052025_12_12_26_9764.jpg
/home/pi/Desktop/images/02052025/12/12/image_02052025_12_12_37_10358.jpg
/home/pi/Desktop/images/02052025/12/12/image_02052025_12_12_46_9352.jpg
/home/pi/Desktop/images/02052025/12/12/image_02052025_12_12_57_10452.jpg
/home/pi/Desktop/images/02052025/12/12/image_02052025_12_13_07_10331.jpg
/home/pi/Desktop/images/02052025/12/13/image_02052025_12_13_16_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":["1355308762","1355308678","1355308540","1355308603","1355308854","1355308480"],"photo_ids_order":["1355308480","1355308540","1355308603","1355308678","1355308762","1355308854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/47ad2b1c8c1fa976da88abe08b4903d0.jpg","text":"TemporaryFile(/tmp/multipartBody6266274363379386827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189393176,"filename":"image_02052025_12_13_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/5/2/1b5d880780fb61c50f6666e70594dfb6.jpg","text":"TemporaryFile(/tmp/multipartBody7194329840679997534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189393176,"filename":"image_02052025_12_12_57_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a0a53da4dacc032573ff6fecb7aaae8f.jpg","text":"TemporaryFile(/tmp/multipartBody4757230715239612462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189393176,"filename":"image_02052025_12_12_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/5/2/f547d819dd79c7c8dc041398a12547c0.jpg","text":"TemporaryFile(/tmp/multipartBody3514977301882164689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189393176,"filename":"image_02052025_12_12_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22e99394c54f37a22280bb54aa78f587.jpg","text":"TemporaryFile(/tmp/multipartBody8031815637876200451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189393176,"filename":"image_02052025_12_13_16_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/62191499f9ef905a1eb787439b695ff2.jpg","text":"TemporaryFile(/tmp/multipartBody7573183852311420620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189393176,"filename":"image_02052025_12_12_26_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355308603","file1":"1355308540","file0":"1355308480","file4":"1355308762","file5":"1355308854","file3":"1355308678"},"map_files_photo_id_array":[{"photo_id":"1355308854","filename":"file5"},{"photo_id":"1355308603","filename":"file2"},{"photo_id":"1355308762","filename":"file4"},{"photo_id":"1355308540","filename":"file1"},{"photo_id":"1355308480","filename":"file0"},{"photo_id":"1355308678","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355308762":["hashtag1","hashtag2"]},{"1355308678":["hashtag1","hashtag2"]},{"1355308540":["hashtag1","hashtag2"]},{"1355308603":["hashtag1","hashtag2"]},{"1355308854":["hashtag1","hashtag2"]},{"1355308480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355308762, 1355308678, 1355308540, 1355308603, 1355308854, 1355308480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32005190849304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:36:32.722996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/13/image_02052025_12_13_27_10358.jpg', '/home/pi/Desktop/images/02052025/12/13/image_02052025_12_13_37_10360.jpg', '/home/pi/Desktop/images/02052025/12/13/image_02052025_12_13_46_9396.jpg', '/home/pi/Desktop/images/02052025/12/13/image_02052025_12_13_57_10347.jpg', '/home/pi/Desktop/images/02052025/12/13/image_02052025_12_14_07_10346.jpg', '/home/pi/Desktop/images/02052025/12/14/image_02052025_12_14_16_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/13/image_02052025_12_13_27_10358.jpg
/home/pi/Desktop/images/02052025/12/13/image_02052025_12_13_37_10360.jpg
/home/pi/Desktop/images/02052025/12/13/image_02052025_12_13_46_9396.jpg
/home/pi/Desktop/images/02052025/12/13/image_02052025_12_13_57_10347.jpg
/home/pi/Desktop/images/02052025/12/13/image_02052025_12_14_07_10346.jpg
/home/pi/Desktop/images/02052025/12/14/image_02052025_12_14_16_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355309961","1355310036","1355309779","1355309872","1355309680","1355309596"],"photo_ids_order":["1355309596","1355309680","1355309779","1355309872","1355309961","1355310036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fcd641f991890074f65fcecea0e53b00.jpg","text":"TemporaryFile(/tmp/multipartBody2827860134438282317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189453178,"filename":"image_02052025_12_14_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/5/2/c36764920a4e2bf52fcd9e2e80b513a3.jpg","text":"TemporaryFile(/tmp/multipartBody975002444157852350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189453178,"filename":"image_02052025_12_14_16_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b8c6d7291d899e1f6aceac6a72cc62a.jpg","text":"TemporaryFile(/tmp/multipartBody4177587810829884998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189453178,"filename":"image_02052025_12_13_46_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ca9e8b35f855098edd739998e9a12ba.jpg","text":"TemporaryFile(/tmp/multipartBody1560498640918183728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189453178,"filename":"image_02052025_12_13_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/5/2/5310e6da46ab1e2a372509f5f3f97f11.jpg","text":"TemporaryFile(/tmp/multipartBody5809265647787314677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189453178,"filename":"image_02052025_12_13_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/5/2/cce71db736edae3699944b3837b660a1.jpg","text":"TemporaryFile(/tmp/multipartBody818935719419349653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189453178,"filename":"image_02052025_12_13_27_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355309779","file1":"1355309680","file0":"1355309596","file4":"1355309961","file5":"1355310036","file3":"1355309872"},"map_files_photo_id_array":[{"photo_id":"1355310036","filename":"file5"},{"photo_id":"1355309779","filename":"file2"},{"photo_id":"1355309961","filename":"file4"},{"photo_id":"1355309680","filename":"file1"},{"photo_id":"1355309596","filename":"file0"},{"photo_id":"1355309872","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355309961":["hashtag1","hashtag2"]},{"1355310036":["hashtag1","hashtag2"]},{"1355309779":["hashtag1","hashtag2"]},{"1355309872":["hashtag1","hashtag2"]},{"1355309680":["hashtag1","hashtag2"]},{"1355309596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355309961, 1355310036, 1355309779, 1355309872, 1355309680, 1355309596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4209361076355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:37:32.965550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/14/image_02052025_12_14_27_10343.jpg', '/home/pi/Desktop/images/02052025/12/14/image_02052025_12_14_36_9337.jpg', '/home/pi/Desktop/images/02052025/12/14/image_02052025_12_14_47_10349.jpg', '/home/pi/Desktop/images/02052025/12/14/image_02052025_12_14_57_10346.jpg', '/home/pi/Desktop/images/02052025/12/14/image_02052025_12_15_06_9369.jpg', '/home/pi/Desktop/images/02052025/12/15/image_02052025_12_15_17_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/14/image_02052025_12_14_27_10343.jpg
/home/pi/Desktop/images/02052025/12/14/image_02052025_12_14_36_9337.jpg
/home/pi/Desktop/images/02052025/12/14/image_02052025_12_14_47_10349.jpg
/home/pi/Desktop/images/02052025/12/14/image_02052025_12_14_57_10346.jpg
/home/pi/Desktop/images/02052025/12/14/image_02052025_12_15_06_9369.jpg
/home/pi/Desktop/images/02052025/12/15/image_02052025_12_15_17_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":["1355310544","1355310400","1355310492","1355310462","1355310431","1355310512"],"photo_ids_order":["1355310400","1355310431","1355310462","1355310492","1355310512","1355310544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/abd30b04647fed644de5c4b3a36363f4.jpg","text":"TemporaryFile(/tmp/multipartBody3145316450993189868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189513422,"filename":"image_02052025_12_15_17_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c15d378f24f70f5b046c0dee699a4b20.jpg","text":"TemporaryFile(/tmp/multipartBody5756928252469200403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189513422,"filename":"image_02052025_12_14_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/5/2/62f5f509282f71fa64f7c84d3a47cf0f.jpg","text":"TemporaryFile(/tmp/multipartBody8860616254537330366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189513422,"filename":"image_02052025_12_14_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/5/2/f7cb6ca53838efb89f526e690bea7e6e.jpg","text":"TemporaryFile(/tmp/multipartBody6382903973529557218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189513422,"filename":"image_02052025_12_14_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/5/2/d8070c3ea4572292033b0f801688d5ac.jpg","text":"TemporaryFile(/tmp/multipartBody7547596416052281113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189513422,"filename":"image_02052025_12_14_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/713b22baf7033dac6811d88905281d94.jpg","text":"TemporaryFile(/tmp/multipartBody5526083815642184563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189513422,"filename":"image_02052025_12_15_06_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355310462","file1":"1355310431","file0":"1355310400","file4":"1355310512","file5":"1355310544","file3":"1355310492"},"map_files_photo_id_array":[{"photo_id":"1355310544","filename":"file5"},{"photo_id":"1355310462","filename":"file2"},{"photo_id":"1355310512","filename":"file4"},{"photo_id":"1355310431","filename":"file1"},{"photo_id":"1355310400","filename":"file0"},{"photo_id":"1355310492","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355310544":["hashtag1","hashtag2"]},{"1355310400":["hashtag1","hashtag2"]},{"1355310492":["hashtag1","hashtag2"]},{"1355310462":["hashtag1","hashtag2"]},{"1355310431":["hashtag1","hashtag2"]},{"1355310512":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355310544, 1355310400, 1355310492, 1355310462, 1355310431, 1355310512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2957661151886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:38:32.187723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/15/image_02052025_12_15_27_10357.jpg', '/home/pi/Desktop/images/02052025/12/15/image_02052025_12_15_36_9439.jpg', '/home/pi/Desktop/images/02052025/12/15/image_02052025_12_15_47_10416.jpg', '/home/pi/Desktop/images/02052025/12/15/image_02052025_12_15_56_9549.jpg', '/home/pi/Desktop/images/02052025/12/15/image_02052025_12_16_07_10372.jpg', '/home/pi/Desktop/images/02052025/12/16/image_02052025_12_16_16_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/15/image_02052025_12_15_27_10357.jpg
/home/pi/Desktop/images/02052025/12/15/image_02052025_12_15_36_9439.jpg
/home/pi/Desktop/images/02052025/12/15/image_02052025_12_15_47_10416.jpg
/home/pi/Desktop/images/02052025/12/15/image_02052025_12_15_56_9549.jpg
/home/pi/Desktop/images/02052025/12/15/image_02052025_12_16_07_10372.jpg
/home/pi/Desktop/images/02052025/12/16/image_02052025_12_16_16_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":["1355311062","1355311032","1355311028","1355311016","1355311106","1355311036"],"photo_ids_order":["1355311016","1355311028","1355311032","1355311036","1355311062","1355311106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b81123c9831f20e06a4578e87c1dfded.jpg","text":"TemporaryFile(/tmp/multipartBody4496035895465881045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189572651,"filename":"image_02052025_12_16_07_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae8207773d3af5bd12a344acc360e09c.jpg","text":"TemporaryFile(/tmp/multipartBody8218507975092948735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189572651,"filename":"image_02052025_12_15_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/5/2/6d33bca4b0b63dc1e20f4be88b158928.jpg","text":"TemporaryFile(/tmp/multipartBody4046778824170270019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189572651,"filename":"image_02052025_12_15_36_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d317eb75e5578fd757056c2200669647.jpg","text":"TemporaryFile(/tmp/multipartBody253653372988238067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189572651,"filename":"image_02052025_12_15_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/5/2/2a0acf31b9c9f915a56c00d00c939945.jpg","text":"TemporaryFile(/tmp/multipartBody8703367080026074477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189572651,"filename":"image_02052025_12_16_16_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5347140cff8463bb45654dd3cc0ebe92.jpg","text":"TemporaryFile(/tmp/multipartBody2682923727403265719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189572651,"filename":"image_02052025_12_15_56_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355311032","file1":"1355311028","file0":"1355311016","file4":"1355311062","file5":"1355311106","file3":"1355311036"},"map_files_photo_id_array":[{"photo_id":"1355311106","filename":"file5"},{"photo_id":"1355311032","filename":"file2"},{"photo_id":"1355311062","filename":"file4"},{"photo_id":"1355311028","filename":"file1"},{"photo_id":"1355311016","filename":"file0"},{"photo_id":"1355311036","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355311062":["hashtag1","hashtag2"]},{"1355311032":["hashtag1","hashtag2"]},{"1355311028":["hashtag1","hashtag2"]},{"1355311016":["hashtag1","hashtag2"]},{"1355311106":["hashtag1","hashtag2"]},{"1355311036":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355311062, 1355311032, 1355311028, 1355311016, 1355311106, 1355311036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.751054286956787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:39:32.365487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/16/image_02052025_12_16_37_10354.jpg', '/home/pi/Desktop/images/02052025/12/16/image_02052025_12_16_46_9333.jpg', '/home/pi/Desktop/images/02052025/12/16/image_02052025_12_16_57_10446.jpg', '/home/pi/Desktop/images/02052025/12/16/image_02052025_12_17_07_10436.jpg', '/home/pi/Desktop/images/02052025/12/17/image_02052025_12_17_16_9340.jpg', '/home/pi/Desktop/images/02052025/12/17/image_02052025_12_17_27_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/16/image_02052025_12_16_37_10354.jpg
/home/pi/Desktop/images/02052025/12/16/image_02052025_12_16_46_9333.jpg
/home/pi/Desktop/images/02052025/12/16/image_02052025_12_16_57_10446.jpg
/home/pi/Desktop/images/02052025/12/16/image_02052025_12_17_07_10436.jpg
/home/pi/Desktop/images/02052025/12/17/image_02052025_12_17_16_9340.jpg
/home/pi/Desktop/images/02052025/12/17/image_02052025_12_17_27_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":["1355311562","1355311502","1355311445","1355311597","1355311387","1355311672"],"photo_ids_order":["1355311387","1355311445","1355311502","1355311562","1355311597","1355311672"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b96e64ce52f71ef412c0591370f25b05.jpg","text":"TemporaryFile(/tmp/multipartBody3643511535421638998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189632823,"filename":"image_02052025_12_17_07_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c02f3a817073a6c007a82a74d3a64315.jpg","text":"TemporaryFile(/tmp/multipartBody1385112879399799296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189632823,"filename":"image_02052025_12_16_57_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94e8633d97e0c21320bba2ba5009fb8e.jpg","text":"TemporaryFile(/tmp/multipartBody8566990073905530869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189632823,"filename":"image_02052025_12_16_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/5/2/a9608e5542a5590697a706aae6745527.jpg","text":"TemporaryFile(/tmp/multipartBody4556508731846280990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189632823,"filename":"image_02052025_12_17_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/5/2/c52059982a54933ee452ad7540eb6ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2043104689909459812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189632823,"filename":"image_02052025_12_16_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/5/2/389a2342fb51925c4a8c6dcb3389a742.jpg","text":"TemporaryFile(/tmp/multipartBody769870724938546378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189632823,"filename":"image_02052025_12_17_27_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355311502","file1":"1355311445","file0":"1355311387","file4":"1355311597","file5":"1355311672","file3":"1355311562"},"map_files_photo_id_array":[{"photo_id":"1355311672","filename":"file5"},{"photo_id":"1355311502","filename":"file2"},{"photo_id":"1355311597","filename":"file4"},{"photo_id":"1355311445","filename":"file1"},{"photo_id":"1355311387","filename":"file0"},{"photo_id":"1355311562","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355311562":["hashtag1","hashtag2"]},{"1355311502":["hashtag1","hashtag2"]},{"1355311445":["hashtag1","hashtag2"]},{"1355311597":["hashtag1","hashtag2"]},{"1355311387":["hashtag1","hashtag2"]},{"1355311672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355311562, 1355311502, 1355311445, 1355311597, 1355311387, 1355311672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50551724433899 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:40:32.530287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/17/image_02052025_12_17_36_9336.jpg', '/home/pi/Desktop/images/02052025/12/17/image_02052025_12_17_47_10465.jpg', '/home/pi/Desktop/images/02052025/12/17/image_02052025_12_17_57_10425.jpg', '/home/pi/Desktop/images/02052025/12/17/image_02052025_12_18_06_9354.jpg', '/home/pi/Desktop/images/02052025/12/18/image_02052025_12_18_17_10379.jpg', '/home/pi/Desktop/images/02052025/12/18/image_02052025_12_18_26_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/17/image_02052025_12_17_36_9336.jpg
/home/pi/Desktop/images/02052025/12/17/image_02052025_12_17_47_10465.jpg
/home/pi/Desktop/images/02052025/12/17/image_02052025_12_17_57_10425.jpg
/home/pi/Desktop/images/02052025/12/17/image_02052025_12_18_06_9354.jpg
/home/pi/Desktop/images/02052025/12/18/image_02052025_12_18_17_10379.jpg
/home/pi/Desktop/images/02052025/12/18/image_02052025_12_18_26_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355311980","1355311983","1355311977","1355311909","1355311873","1355311957"],"photo_ids_order":["1355311873","1355311909","1355311957","1355311977","1355311980","1355311983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f5e698590f39d17f695c88bc07bd282.jpg","text":"TemporaryFile(/tmp/multipartBody6272795667660051305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189692985,"filename":"image_02052025_12_18_17_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8bec064b1cfaba646e390a659d5867da.jpg","text":"TemporaryFile(/tmp/multipartBody2493880696913911041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189692985,"filename":"image_02052025_12_18_26_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cd9e05719bcd54519505ac4ee4a00a38.jpg","text":"TemporaryFile(/tmp/multipartBody6471756397353440889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189692985,"filename":"image_02052025_12_18_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d051f75022add8f9ea2777133d12d2d.jpg","text":"TemporaryFile(/tmp/multipartBody6469704605945939743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189692985,"filename":"image_02052025_12_17_47_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e18452a701f9bd4bb7b1dd170ed7a10.jpg","text":"TemporaryFile(/tmp/multipartBody4278377166015636618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189692985,"filename":"image_02052025_12_17_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/873df9b0a2ca1da08bc6a5944d2599c3.jpg","text":"TemporaryFile(/tmp/multipartBody3475325483128494239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189692985,"filename":"image_02052025_12_17_57_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355311957","file1":"1355311909","file0":"1355311873","file4":"1355311980","file5":"1355311983","file3":"1355311977"},"map_files_photo_id_array":[{"photo_id":"1355311983","filename":"file5"},{"photo_id":"1355311957","filename":"file2"},{"photo_id":"1355311980","filename":"file4"},{"photo_id":"1355311909","filename":"file1"},{"photo_id":"1355311873","filename":"file0"},{"photo_id":"1355311977","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355311980":["hashtag1","hashtag2"]},{"1355311983":["hashtag1","hashtag2"]},{"1355311977":["hashtag1","hashtag2"]},{"1355311909":["hashtag1","hashtag2"]},{"1355311873":["hashtag1","hashtag2"]},{"1355311957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355311980, 1355311983, 1355311977, 1355311909, 1355311873, 1355311957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.83315682411194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:41:32.801094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/18/image_02052025_12_18_37_10330.jpg', '/home/pi/Desktop/images/02052025/12/18/image_02052025_12_18_47_10361.jpg', '/home/pi/Desktop/images/02052025/12/18/image_02052025_12_18_56_9468.jpg', '/home/pi/Desktop/images/02052025/12/18/image_02052025_12_19_07_10406.jpg', '/home/pi/Desktop/images/02052025/12/19/image_02052025_12_19_17_10359.jpg', '/home/pi/Desktop/images/02052025/12/19/image_02052025_12_19_27_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/18/image_02052025_12_18_37_10330.jpg
/home/pi/Desktop/images/02052025/12/18/image_02052025_12_18_47_10361.jpg
/home/pi/Desktop/images/02052025/12/18/image_02052025_12_18_56_9468.jpg
/home/pi/Desktop/images/02052025/12/18/image_02052025_12_19_07_10406.jpg
/home/pi/Desktop/images/02052025/12/19/image_02052025_12_19_17_10359.jpg
/home/pi/Desktop/images/02052025/12/19/image_02052025_12_19_27_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":["1355312106","1355312198","1355312136","1355312167","1355312047","1355312076"],"photo_ids_order":["1355312047","1355312076","1355312106","1355312136","1355312167","1355312198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e548ad1ba3c93a7c804ffcd02d19adb.jpg","text":"TemporaryFile(/tmp/multipartBody8590373856548722528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189753313,"filename":"image_02052025_12_18_56_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a5ecc95b66b1e314337bf83107535b78.jpg","text":"TemporaryFile(/tmp/multipartBody2834110052137841085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189753313,"filename":"image_02052025_12_19_27_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/50f0c2ea953e9c51f1f417b205084e56.jpg","text":"TemporaryFile(/tmp/multipartBody844930745162346448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189753313,"filename":"image_02052025_12_19_07_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cb9e286230111157f35dd76010bef11f.jpg","text":"TemporaryFile(/tmp/multipartBody1297763398457500921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189753313,"filename":"image_02052025_12_19_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/5/2/dba3ba94d271a4d466d513428d252f30.jpg","text":"TemporaryFile(/tmp/multipartBody3741143985010085806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189753313,"filename":"image_02052025_12_18_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/5/2/b88b30bab3b222861a8658c0aadc0f45.jpg","text":"TemporaryFile(/tmp/multipartBody4004096564435928108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189753313,"filename":"image_02052025_12_18_47_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355312106","file1":"1355312076","file0":"1355312047","file4":"1355312167","file5":"1355312198","file3":"1355312136"},"map_files_photo_id_array":[{"photo_id":"1355312198","filename":"file5"},{"photo_id":"1355312106","filename":"file2"},{"photo_id":"1355312167","filename":"file4"},{"photo_id":"1355312076","filename":"file1"},{"photo_id":"1355312047","filename":"file0"},{"photo_id":"1355312136","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355312106":["hashtag1","hashtag2"]},{"1355312198":["hashtag1","hashtag2"]},{"1355312136":["hashtag1","hashtag2"]},{"1355312167":["hashtag1","hashtag2"]},{"1355312047":["hashtag1","hashtag2"]},{"1355312076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355312106, 1355312198, 1355312136, 1355312167, 1355312047, 1355312076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3773136138916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:42:33.076288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/19/image_02052025_12_19_37_10351.jpg', '/home/pi/Desktop/images/02052025/12/19/image_02052025_12_19_46_9457.jpg', '/home/pi/Desktop/images/02052025/12/19/image_02052025_12_19_57_10347.jpg', '/home/pi/Desktop/images/02052025/12/19/image_02052025_12_20_07_10341.jpg', '/home/pi/Desktop/images/02052025/12/20/image_02052025_12_20_16_9413.jpg', '/home/pi/Desktop/images/02052025/12/20/image_02052025_12_20_27_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/19/image_02052025_12_19_37_10351.jpg
/home/pi/Desktop/images/02052025/12/19/image_02052025_12_19_46_9457.jpg
/home/pi/Desktop/images/02052025/12/19/image_02052025_12_19_57_10347.jpg
/home/pi/Desktop/images/02052025/12/19/image_02052025_12_20_07_10341.jpg
/home/pi/Desktop/images/02052025/12/20/image_02052025_12_20_16_9413.jpg
/home/pi/Desktop/images/02052025/12/20/image_02052025_12_20_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":["1355312349","1355312319","1355312327","1355312321","1355312329","1355312323"],"photo_ids_order":["1355312319","1355312321","1355312323","1355312327","1355312329","1355312349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85f601963497bd4d6723f84f5a0c9a37.jpg","text":"TemporaryFile(/tmp/multipartBody8431062511754361526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189813531,"filename":"image_02052025_12_20_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/5/2/a9f6bb1ae499e0223cd077660c5bd114.jpg","text":"TemporaryFile(/tmp/multipartBody6422088349942605506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189813531,"filename":"image_02052025_12_19_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/5/2/2c7e582adf5c473e673d6834d3400f4b.jpg","text":"TemporaryFile(/tmp/multipartBody2188546416450052551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189813531,"filename":"image_02052025_12_20_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/5/2/48dbf588c462bc5c2743ed648d2c8171.jpg","text":"TemporaryFile(/tmp/multipartBody5183647078341047698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189813531,"filename":"image_02052025_12_19_46_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7feb9c5d9eb38e4e8ff9be5d5f305cc.jpg","text":"TemporaryFile(/tmp/multipartBody636382040274537564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189813531,"filename":"image_02052025_12_20_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/5/2/bf60cc7da286aa889b9e8a792f470410.jpg","text":"TemporaryFile(/tmp/multipartBody2408729243663965589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189813531,"filename":"image_02052025_12_19_57_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355312323","file1":"1355312321","file0":"1355312319","file4":"1355312329","file5":"1355312349","file3":"1355312327"},"map_files_photo_id_array":[{"photo_id":"1355312349","filename":"file5"},{"photo_id":"1355312323","filename":"file2"},{"photo_id":"1355312329","filename":"file4"},{"photo_id":"1355312321","filename":"file1"},{"photo_id":"1355312319","filename":"file0"},{"photo_id":"1355312327","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355312349":["hashtag1","hashtag2"]},{"1355312319":["hashtag1","hashtag2"]},{"1355312327":["hashtag1","hashtag2"]},{"1355312321":["hashtag1","hashtag2"]},{"1355312329":["hashtag1","hashtag2"]},{"1355312323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355312349, 1355312319, 1355312327, 1355312321, 1355312329, 1355312323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.139511108398438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:43:32.239997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/20/image_02052025_12_20_36_9344.jpg', '/home/pi/Desktop/images/02052025/12/20/image_02052025_12_20_47_10382.jpg', '/home/pi/Desktop/images/02052025/12/20/image_02052025_12_20_57_10355.jpg', '/home/pi/Desktop/images/02052025/12/20/image_02052025_12_21_06_9390.jpg', '/home/pi/Desktop/images/02052025/12/21/image_02052025_12_21_17_10447.jpg', '/home/pi/Desktop/images/02052025/12/21/image_02052025_12_21_27_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/20/image_02052025_12_20_36_9344.jpg
/home/pi/Desktop/images/02052025/12/20/image_02052025_12_20_47_10382.jpg
/home/pi/Desktop/images/02052025/12/20/image_02052025_12_20_57_10355.jpg
/home/pi/Desktop/images/02052025/12/20/image_02052025_12_21_06_9390.jpg
/home/pi/Desktop/images/02052025/12/21/image_02052025_12_21_17_10447.jpg
/home/pi/Desktop/images/02052025/12/21/image_02052025_12_21_27_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":["1355312739","1355312884","1355312767","1355312827","1355312935","1355312796"],"photo_ids_order":["1355312739","1355312767","1355312796","1355312827","1355312884","1355312935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa5dc98ed2980db299b12c7108e997a9.jpg","text":"TemporaryFile(/tmp/multipartBody8423659184750797887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189872713,"filename":"image_02052025_12_20_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/5/2/cfc23b0d275b5ce0c6ef7341ae3abe1a.jpg","text":"TemporaryFile(/tmp/multipartBody5631120259217462117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189872713,"filename":"image_02052025_12_21_17_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/114a34f1fbf8ec828b37a0ae2afda3c8.jpg","text":"TemporaryFile(/tmp/multipartBody2306383043037473559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189872713,"filename":"image_02052025_12_20_47_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d34d427f841ea8151df9192421a698ed.jpg","text":"TemporaryFile(/tmp/multipartBody5987263859745866901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189872713,"filename":"image_02052025_12_21_06_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b397f55d6eb5d3f4d28b6a856379d977.jpg","text":"TemporaryFile(/tmp/multipartBody1883953052988936162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189872713,"filename":"image_02052025_12_21_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/71c25c3d4e734cebaebe7661b52add04.jpg","text":"TemporaryFile(/tmp/multipartBody9093617679623099963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189872713,"filename":"image_02052025_12_20_57_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355312796","file1":"1355312767","file0":"1355312739","file4":"1355312884","file5":"1355312935","file3":"1355312827"},"map_files_photo_id_array":[{"photo_id":"1355312935","filename":"file5"},{"photo_id":"1355312796","filename":"file2"},{"photo_id":"1355312884","filename":"file4"},{"photo_id":"1355312767","filename":"file1"},{"photo_id":"1355312739","filename":"file0"},{"photo_id":"1355312827","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355312739":["hashtag1","hashtag2"]},{"1355312884":["hashtag1","hashtag2"]},{"1355312767":["hashtag1","hashtag2"]},{"1355312827":["hashtag1","hashtag2"]},{"1355312935":["hashtag1","hashtag2"]},{"1355312796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355312739, 1355312884, 1355312767, 1355312827, 1355312935, 1355312796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.74956440925598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:44:32.386463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/21/image_02052025_12_21_37_9378.jpg', '/home/pi/Desktop/images/02052025/12/21/image_02052025_12_21_47_10405.jpg', '/home/pi/Desktop/images/02052025/12/21/image_02052025_12_21_56_9349.jpg', '/home/pi/Desktop/images/02052025/12/21/image_02052025_12_22_07_10355.jpg', '/home/pi/Desktop/images/02052025/12/22/image_02052025_12_22_17_10336.jpg', '/home/pi/Desktop/images/02052025/12/22/image_02052025_12_22_26_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/21/image_02052025_12_21_37_9378.jpg
/home/pi/Desktop/images/02052025/12/21/image_02052025_12_21_47_10405.jpg
/home/pi/Desktop/images/02052025/12/21/image_02052025_12_21_56_9349.jpg
/home/pi/Desktop/images/02052025/12/21/image_02052025_12_22_07_10355.jpg
/home/pi/Desktop/images/02052025/12/22/image_02052025_12_22_17_10336.jpg
/home/pi/Desktop/images/02052025/12/22/image_02052025_12_22_26_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":["1355313773","1355313551","1355313658","1355313607","1355313723","1355313453"],"photo_ids_order":["1355313453","1355313551","1355313607","1355313658","1355313723","1355313773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a947f465d3ebb98f9d540cf2d1cbe96d.jpg","text":"TemporaryFile(/tmp/multipartBody7494250913466473190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189932921,"filename":"image_02052025_12_22_26_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/06f768670f1995bf58adbe5316b2a41a.jpg","text":"TemporaryFile(/tmp/multipartBody7075726129272054596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189932921,"filename":"image_02052025_12_21_47_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c05a8232ee7285037bebe99cdb84a19.jpg","text":"TemporaryFile(/tmp/multipartBody2596434888219026859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189932921,"filename":"image_02052025_12_22_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/92d35d694e5a224de24136a0523fd30f.jpg","text":"TemporaryFile(/tmp/multipartBody2330510639907817866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189932921,"filename":"image_02052025_12_21_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/5/2/77145f6bbeef5f1ddc248d296b5916dd.jpg","text":"TemporaryFile(/tmp/multipartBody4451907537252652318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189932921,"filename":"image_02052025_12_22_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/5/2/6606a565e1b32ef3913b02ded8e873b4.jpg","text":"TemporaryFile(/tmp/multipartBody7444128144387931635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189932921,"filename":"image_02052025_12_21_37_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355313607","file1":"1355313551","file0":"1355313453","file4":"1355313723","file5":"1355313773","file3":"1355313658"},"map_files_photo_id_array":[{"photo_id":"1355313773","filename":"file5"},{"photo_id":"1355313607","filename":"file2"},{"photo_id":"1355313723","filename":"file4"},{"photo_id":"1355313551","filename":"file1"},{"photo_id":"1355313453","filename":"file0"},{"photo_id":"1355313658","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355313773":["hashtag1","hashtag2"]},{"1355313551":["hashtag1","hashtag2"]},{"1355313658":["hashtag1","hashtag2"]},{"1355313607":["hashtag1","hashtag2"]},{"1355313723":["hashtag1","hashtag2"]},{"1355313453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355313773, 1355313551, 1355313658, 1355313607, 1355313723, 1355313453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.244160413742065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:45:32.523343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/22/image_02052025_12_22_37_10352.jpg', '/home/pi/Desktop/images/02052025/12/22/image_02052025_12_22_56_9348.jpg', '/home/pi/Desktop/images/02052025/12/23/image_02052025_12_23_17_10339.jpg', '/home/pi/Desktop/images/02052025/12/23/image_02052025_12_23_27_9417.jpg', '/home/pi/Desktop/images/02052025/12/23/image_02052025_12_23_37_10412.jpg', '/home/pi/Desktop/images/02052025/12/23/image_02052025_12_23_46_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/22/image_02052025_12_22_37_10352.jpg
/home/pi/Desktop/images/02052025/12/22/image_02052025_12_22_56_9348.jpg
/home/pi/Desktop/images/02052025/12/23/image_02052025_12_23_17_10339.jpg
/home/pi/Desktop/images/02052025/12/23/image_02052025_12_23_27_9417.jpg
/home/pi/Desktop/images/02052025/12/23/image_02052025_12_23_37_10412.jpg
/home/pi/Desktop/images/02052025/12/23/image_02052025_12_23_46_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355314340","1355314395","1355314368","1355314311","1355314233","1355314280"],"photo_ids_order":["1355314233","1355314280","1355314311","1355314340","1355314368","1355314395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a5ba5a2d342e3edc8a5ea2b565d8f1df.jpg","text":"TemporaryFile(/tmp/multipartBody5320310404639752339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189992998,"filename":"image_02052025_12_23_27_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7153401b1d3376a6356013509df8e812.jpg","text":"TemporaryFile(/tmp/multipartBody8961793618749046626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189992998,"filename":"image_02052025_12_23_46_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a547647cce343fbbd0d1c4e95ee43fae.jpg","text":"TemporaryFile(/tmp/multipartBody9162973955608937522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189992998,"filename":"image_02052025_12_23_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/5/2/1e4e5b8ce8032143d6a8e7bc363dd33e.jpg","text":"TemporaryFile(/tmp/multipartBody7359411946891892321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189992998,"filename":"image_02052025_12_23_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/5/2/fd75e554d5cdddf620ddf91a0257a78d.jpg","text":"TemporaryFile(/tmp/multipartBody3308246016059767085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189992998,"filename":"image_02052025_12_22_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/5/2/62409732bc764e641db20f5f6f356890.jpg","text":"TemporaryFile(/tmp/multipartBody8806189953839796344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746189992998,"filename":"image_02052025_12_22_56_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355314311","file1":"1355314280","file0":"1355314233","file4":"1355314368","file5":"1355314395","file3":"1355314340"},"map_files_photo_id_array":[{"photo_id":"1355314395","filename":"file5"},{"photo_id":"1355314311","filename":"file2"},{"photo_id":"1355314368","filename":"file4"},{"photo_id":"1355314280","filename":"file1"},{"photo_id":"1355314233","filename":"file0"},{"photo_id":"1355314340","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355314340":["hashtag1","hashtag2"]},{"1355314395":["hashtag1","hashtag2"]},{"1355314368":["hashtag1","hashtag2"]},{"1355314311":["hashtag1","hashtag2"]},{"1355314233":["hashtag1","hashtag2"]},{"1355314280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355314340, 1355314395, 1355314368, 1355314311, 1355314233, 1355314280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.955283403396606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:46:32.642424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/23/image_02052025_12_23_57_10357.jpg', '/home/pi/Desktop/images/02052025/12/23/image_02052025_12_24_06_9395.jpg', '/home/pi/Desktop/images/02052025/12/24/image_02052025_12_24_17_10328.jpg', '/home/pi/Desktop/images/02052025/12/24/image_02052025_12_24_27_10337.jpg', '/home/pi/Desktop/images/02052025/12/24/image_02052025_12_24_36_9357.jpg', '/home/pi/Desktop/images/02052025/12/24/image_02052025_12_24_47_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/23/image_02052025_12_23_57_10357.jpg
/home/pi/Desktop/images/02052025/12/23/image_02052025_12_24_06_9395.jpg
/home/pi/Desktop/images/02052025/12/24/image_02052025_12_24_17_10328.jpg
/home/pi/Desktop/images/02052025/12/24/image_02052025_12_24_27_10337.jpg
/home/pi/Desktop/images/02052025/12/24/image_02052025_12_24_36_9357.jpg
/home/pi/Desktop/images/02052025/12/24/image_02052025_12_24_47_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":["1355314910","1355314972","1355314882","1355314819","1355314695","1355314940"],"photo_ids_order":["1355314695","1355314819","1355314882","1355314910","1355314940","1355314972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1588b172d5c600fe070e9cc691828507.jpg","text":"TemporaryFile(/tmp/multipartBody7552077273491577365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190053153,"filename":"image_02052025_12_24_27_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6bbf623299dafa10b4cbced1f16aeb1.jpg","text":"TemporaryFile(/tmp/multipartBody2388713899730042817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190053153,"filename":"image_02052025_12_24_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/5/2/6b43145e334c548f0e09d46056036093.jpg","text":"TemporaryFile(/tmp/multipartBody808955232627571056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190053153,"filename":"image_02052025_12_24_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/5/2/7fadb669c90ef2170482492c9eab488e.jpg","text":"TemporaryFile(/tmp/multipartBody3092967072631813716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190053153,"filename":"image_02052025_12_24_06_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b73e8b890790c43252f506aeea38aa1c.jpg","text":"TemporaryFile(/tmp/multipartBody459314632451506469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190053153,"filename":"image_02052025_12_23_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/5/2/c8e443bc8c1c5f28b8bef5bd7db73686.jpg","text":"TemporaryFile(/tmp/multipartBody8562710238758702843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190053153,"filename":"image_02052025_12_24_36_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355314882","file1":"1355314819","file0":"1355314695","file4":"1355314940","file5":"1355314972","file3":"1355314910"},"map_files_photo_id_array":[{"photo_id":"1355314972","filename":"file5"},{"photo_id":"1355314882","filename":"file2"},{"photo_id":"1355314940","filename":"file4"},{"photo_id":"1355314819","filename":"file1"},{"photo_id":"1355314695","filename":"file0"},{"photo_id":"1355314910","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355314910":["hashtag1","hashtag2"]},{"1355314972":["hashtag1","hashtag2"]},{"1355314882":["hashtag1","hashtag2"]},{"1355314819":["hashtag1","hashtag2"]},{"1355314695":["hashtag1","hashtag2"]},{"1355314940":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355314910, 1355314972, 1355314882, 1355314819, 1355314695, 1355314940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00247001647949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:47:32.805228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/24/image_02052025_12_24_57_10352.jpg', '/home/pi/Desktop/images/02052025/12/24/image_02052025_12_25_06_9457.jpg', '/home/pi/Desktop/images/02052025/12/25/image_02052025_12_25_17_10388.jpg', '/home/pi/Desktop/images/02052025/12/25/image_02052025_12_25_26_9354.jpg', '/home/pi/Desktop/images/02052025/12/25/image_02052025_12_25_37_10462.jpg', '/home/pi/Desktop/images/02052025/12/25/image_02052025_12_25_47_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/24/image_02052025_12_24_57_10352.jpg
/home/pi/Desktop/images/02052025/12/24/image_02052025_12_25_06_9457.jpg
/home/pi/Desktop/images/02052025/12/25/image_02052025_12_25_17_10388.jpg
/home/pi/Desktop/images/02052025/12/25/image_02052025_12_25_26_9354.jpg
/home/pi/Desktop/images/02052025/12/25/image_02052025_12_25_37_10462.jpg
/home/pi/Desktop/images/02052025/12/25/image_02052025_12_25_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":["1355315197","1355315242","1355315268","1355315192","1355315360","1355315315"],"photo_ids_order":["1355315192","1355315197","1355315242","1355315268","1355315315","1355315360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9638a6a893cab874c3c8dad6cddb0e7.jpg","text":"TemporaryFile(/tmp/multipartBody3627462156382461168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190113262,"filename":"image_02052025_12_25_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/5/2/0aa34c0202e5146fe55c928ba19a0bcf.jpg","text":"TemporaryFile(/tmp/multipartBody9148657012855356642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190113262,"filename":"image_02052025_12_25_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/5/2/d8c627f0736f8659e4cfaf58584f2ab2.jpg","text":"TemporaryFile(/tmp/multipartBody139076279250251530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190113262,"filename":"image_02052025_12_25_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/5/2/d37fe0dd49ba4a06aebb9b56a5f35727.jpg","text":"TemporaryFile(/tmp/multipartBody6588883604675723271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190113262,"filename":"image_02052025_12_24_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/5/2/09656c04f75567263f8507cb1ef112a1.jpg","text":"TemporaryFile(/tmp/multipartBody6500635149577482937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190113262,"filename":"image_02052025_12_25_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/5/2/28a986c2e41e6cbfb03f4a305b290dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8761062604772969354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190113262,"filename":"image_02052025_12_25_37_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355315242","file1":"1355315197","file0":"1355315192","file4":"1355315315","file5":"1355315360","file3":"1355315268"},"map_files_photo_id_array":[{"photo_id":"1355315360","filename":"file5"},{"photo_id":"1355315242","filename":"file2"},{"photo_id":"1355315315","filename":"file4"},{"photo_id":"1355315197","filename":"file1"},{"photo_id":"1355315192","filename":"file0"},{"photo_id":"1355315268","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355315197":["hashtag1","hashtag2"]},{"1355315242":["hashtag1","hashtag2"]},{"1355315268":["hashtag1","hashtag2"]},{"1355315192":["hashtag1","hashtag2"]},{"1355315360":["hashtag1","hashtag2"]},{"1355315315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355315197, 1355315242, 1355315268, 1355315192, 1355315360, 1355315315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.663482904434204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:48:33.084084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/25/image_02052025_12_25_57_9461.jpg', '/home/pi/Desktop/images/02052025/12/25/image_02052025_12_26_07_10333.jpg', '/home/pi/Desktop/images/02052025/12/26/image_02052025_12_26_16_9340.jpg', '/home/pi/Desktop/images/02052025/12/26/image_02052025_12_26_27_10439.jpg', '/home/pi/Desktop/images/02052025/12/26/image_02052025_12_26_37_10367.jpg', '/home/pi/Desktop/images/02052025/12/26/image_02052025_12_26_46_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/25/image_02052025_12_25_57_9461.jpg
/home/pi/Desktop/images/02052025/12/25/image_02052025_12_26_07_10333.jpg
/home/pi/Desktop/images/02052025/12/26/image_02052025_12_26_16_9340.jpg
/home/pi/Desktop/images/02052025/12/26/image_02052025_12_26_27_10439.jpg
/home/pi/Desktop/images/02052025/12/26/image_02052025_12_26_37_10367.jpg
/home/pi/Desktop/images/02052025/12/26/image_02052025_12_26_46_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":["1355315833","1355315776","1355315722","1355315667","1355315610","1355315576"],"photo_ids_order":["1355315576","1355315610","1355315667","1355315722","1355315776","1355315833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9603c30450760086e5354c3d530ed1f.jpg","text":"TemporaryFile(/tmp/multipartBody1804077354009495744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190173617,"filename":"image_02052025_12_26_46_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f7e7d32e9e363b597273c3020f0cafd.jpg","text":"TemporaryFile(/tmp/multipartBody6876777718234413536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190173617,"filename":"image_02052025_12_26_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/5/2/ea73352be9e1352cf84533fae532a20b.jpg","text":"TemporaryFile(/tmp/multipartBody3632229713681754847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190173617,"filename":"image_02052025_12_26_27_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6eb62a4496b9d319401ddb28502c2a6c.jpg","text":"TemporaryFile(/tmp/multipartBody4157230645560222959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190173617,"filename":"image_02052025_12_26_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/5/2/f65b20e25e39985eb174a76de620d06a.jpg","text":"TemporaryFile(/tmp/multipartBody3872497959264545932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190173617,"filename":"image_02052025_12_26_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/5/2/f37eb8f97b23c44d3c018ccd0b113ec4.jpg","text":"TemporaryFile(/tmp/multipartBody986170704513338808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190173617,"filename":"image_02052025_12_25_57_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355315667","file1":"1355315610","file0":"1355315576","file4":"1355315776","file5":"1355315833","file3":"1355315722"},"map_files_photo_id_array":[{"photo_id":"1355315833","filename":"file5"},{"photo_id":"1355315667","filename":"file2"},{"photo_id":"1355315776","filename":"file4"},{"photo_id":"1355315610","filename":"file1"},{"photo_id":"1355315576","filename":"file0"},{"photo_id":"1355315722","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355315833":["hashtag1","hashtag2"]},{"1355315776":["hashtag1","hashtag2"]},{"1355315722":["hashtag1","hashtag2"]},{"1355315667":["hashtag1","hashtag2"]},{"1355315610":["hashtag1","hashtag2"]},{"1355315576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355315833, 1355315776, 1355315722, 1355315667, 1355315610, 1355315576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.623241901397705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:49:32.258939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/26/image_02052025_12_26_57_10413.jpg', '/home/pi/Desktop/images/02052025/12/26/image_02052025_12_27_06_9326.jpg', '/home/pi/Desktop/images/02052025/12/27/image_02052025_12_27_17_10412.jpg', '/home/pi/Desktop/images/02052025/12/27/image_02052025_12_27_27_10362.jpg', '/home/pi/Desktop/images/02052025/12/27/image_02052025_12_27_36_9482.jpg', '/home/pi/Desktop/images/02052025/12/27/image_02052025_12_27_47_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/26/image_02052025_12_26_57_10413.jpg
/home/pi/Desktop/images/02052025/12/26/image_02052025_12_27_06_9326.jpg
/home/pi/Desktop/images/02052025/12/27/image_02052025_12_27_17_10412.jpg
/home/pi/Desktop/images/02052025/12/27/image_02052025_12_27_27_10362.jpg
/home/pi/Desktop/images/02052025/12/27/image_02052025_12_27_36_9482.jpg
/home/pi/Desktop/images/02052025/12/27/image_02052025_12_27_47_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355316084","1355316093","1355316057","1355316068","1355316091","1355316088"],"photo_ids_order":["1355316057","1355316068","1355316084","1355316088","1355316091","1355316093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf525c403ba578a435a567f465ffe9d1.jpg","text":"TemporaryFile(/tmp/multipartBody2827104230053915085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190232727,"filename":"image_02052025_12_27_17_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6629e2a0787ae5bc385a84d6a2ab4ab.jpg","text":"TemporaryFile(/tmp/multipartBody4256643253041960543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190232727,"filename":"image_02052025_12_27_47_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/24d2d4c42c43a91e5b97702cb70d1d05.jpg","text":"TemporaryFile(/tmp/multipartBody5148135815294987752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190232727,"filename":"image_02052025_12_26_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/5/2/1e8d2426d7ffdb5dbdc3b6ea814d8957.jpg","text":"TemporaryFile(/tmp/multipartBody3723242695531442489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190232727,"filename":"image_02052025_12_27_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/5/2/0bf708e63a4a0f7d5b0a2889b4719904.jpg","text":"TemporaryFile(/tmp/multipartBody1246520525072772435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190232727,"filename":"image_02052025_12_27_36_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c0452538bd7c2e462bf5656843202e4.jpg","text":"TemporaryFile(/tmp/multipartBody69627081545396846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190232727,"filename":"image_02052025_12_27_27_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355316084","file1":"1355316068","file0":"1355316057","file4":"1355316091","file5":"1355316093","file3":"1355316088"},"map_files_photo_id_array":[{"photo_id":"1355316093","filename":"file5"},{"photo_id":"1355316084","filename":"file2"},{"photo_id":"1355316091","filename":"file4"},{"photo_id":"1355316068","filename":"file1"},{"photo_id":"1355316057","filename":"file0"},{"photo_id":"1355316088","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355316084":["hashtag1","hashtag2"]},{"1355316093":["hashtag1","hashtag2"]},{"1355316057":["hashtag1","hashtag2"]},{"1355316068":["hashtag1","hashtag2"]},{"1355316091":["hashtag1","hashtag2"]},{"1355316088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355316084, 1355316093, 1355316057, 1355316068, 1355316091, 1355316088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20629119873047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:50:32.482325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/27/image_02052025_12_27_56_9344.jpg', '/home/pi/Desktop/images/02052025/12/27/image_02052025_12_28_07_10345.jpg', '/home/pi/Desktop/images/02052025/12/28/image_02052025_12_28_17_10391.jpg', '/home/pi/Desktop/images/02052025/12/28/image_02052025_12_28_26_9463.jpg', '/home/pi/Desktop/images/02052025/12/28/image_02052025_12_28_37_10430.jpg', '/home/pi/Desktop/images/02052025/12/28/image_02052025_12_28_46_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/27/image_02052025_12_27_56_9344.jpg
/home/pi/Desktop/images/02052025/12/27/image_02052025_12_28_07_10345.jpg
/home/pi/Desktop/images/02052025/12/28/image_02052025_12_28_17_10391.jpg
/home/pi/Desktop/images/02052025/12/28/image_02052025_12_28_26_9463.jpg
/home/pi/Desktop/images/02052025/12/28/image_02052025_12_28_37_10430.jpg
/home/pi/Desktop/images/02052025/12/28/image_02052025_12_28_46_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":["1355316397","1355316335","1355316401","1355316394","1355316388","1355316367"],"photo_ids_order":["1355316335","1355316367","1355316388","1355316394","1355316397","1355316401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3a8fbfe97bb3492a2e28875e20eff59.jpg","text":"TemporaryFile(/tmp/multipartBody6195356233254306878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190292947,"filename":"image_02052025_12_28_37_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/039b53de3f7963b71694108767247bbf.jpg","text":"TemporaryFile(/tmp/multipartBody1050885940984456466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190292947,"filename":"image_02052025_12_27_56_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/64abc47abe07d542956f378a5d629091.jpg","text":"TemporaryFile(/tmp/multipartBody9032559946385234538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190292947,"filename":"image_02052025_12_28_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/5/2/61a58ff01209e519007c0b84b9dda114.jpg","text":"TemporaryFile(/tmp/multipartBody1915047478543780422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190292947,"filename":"image_02052025_12_28_26_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7bdc2945681ea600deb0133a640a7ae4.jpg","text":"TemporaryFile(/tmp/multipartBody1835457147941437550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190292947,"filename":"image_02052025_12_28_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/5/2/a734d3b57ba059ef1a8ab06b2b2e500e.jpg","text":"TemporaryFile(/tmp/multipartBody493253505861025714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190292947,"filename":"image_02052025_12_28_07_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355316388","file1":"1355316367","file0":"1355316335","file4":"1355316397","file5":"1355316401","file3":"1355316394"},"map_files_photo_id_array":[{"photo_id":"1355316401","filename":"file5"},{"photo_id":"1355316388","filename":"file2"},{"photo_id":"1355316397","filename":"file4"},{"photo_id":"1355316367","filename":"file1"},{"photo_id":"1355316335","filename":"file0"},{"photo_id":"1355316394","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355316397":["hashtag1","hashtag2"]},{"1355316335":["hashtag1","hashtag2"]},{"1355316401":["hashtag1","hashtag2"]},{"1355316394":["hashtag1","hashtag2"]},{"1355316388":["hashtag1","hashtag2"]},{"1355316367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355316397, 1355316335, 1355316401, 1355316394, 1355316388, 1355316367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35938239097595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:51:32.603050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/28/image_02052025_12_28_57_10425.jpg', '/home/pi/Desktop/images/02052025/12/28/image_02052025_12_29_07_10445.jpg', '/home/pi/Desktop/images/02052025/12/29/image_02052025_12_29_16_9358.jpg', '/home/pi/Desktop/images/02052025/12/29/image_02052025_12_29_27_10422.jpg', '/home/pi/Desktop/images/02052025/12/29/image_02052025_12_29_36_9330.jpg', '/home/pi/Desktop/images/02052025/12/29/image_02052025_12_29_47_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/28/image_02052025_12_28_57_10425.jpg
/home/pi/Desktop/images/02052025/12/28/image_02052025_12_29_07_10445.jpg
/home/pi/Desktop/images/02052025/12/29/image_02052025_12_29_16_9358.jpg
/home/pi/Desktop/images/02052025/12/29/image_02052025_12_29_27_10422.jpg
/home/pi/Desktop/images/02052025/12/29/image_02052025_12_29_36_9330.jpg
/home/pi/Desktop/images/02052025/12/29/image_02052025_12_29_47_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355316970","1355316741","1355316881","1355317166","1355317093","1355316799"],"photo_ids_order":["1355316741","1355316799","1355316881","1355316970","1355317093","1355317166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89556ced7b30937f9fa2d28c7db2edb5.jpg","text":"TemporaryFile(/tmp/multipartBody6861215725337703042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190353074,"filename":"image_02052025_12_29_27_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/02fdb93b8d539379716170da453e21cc.jpg","text":"TemporaryFile(/tmp/multipartBody5193824941944174969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190353074,"filename":"image_02052025_12_28_57_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d3881da72a2353c56426893b52871c0.jpg","text":"TemporaryFile(/tmp/multipartBody8134132832861241470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190353074,"filename":"image_02052025_12_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/5/2/7b674bea879b0c54bcbf8e4ca32b9b1d.jpg","text":"TemporaryFile(/tmp/multipartBody2617171724094407427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190353074,"filename":"image_02052025_12_29_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/5/2/7b9abd11088c3558d7426e108b819353.jpg","text":"TemporaryFile(/tmp/multipartBody3776847323731058997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190353074,"filename":"image_02052025_12_29_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/5/2/c23483dba4c490ab81780f9fb7f21fee.jpg","text":"TemporaryFile(/tmp/multipartBody5131824003734059560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190353074,"filename":"image_02052025_12_29_07_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355316881","file1":"1355316799","file0":"1355316741","file4":"1355317093","file5":"1355317166","file3":"1355316970"},"map_files_photo_id_array":[{"photo_id":"1355317166","filename":"file5"},{"photo_id":"1355316881","filename":"file2"},{"photo_id":"1355317093","filename":"file4"},{"photo_id":"1355316799","filename":"file1"},{"photo_id":"1355316741","filename":"file0"},{"photo_id":"1355316970","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355316970":["hashtag1","hashtag2"]},{"1355316741":["hashtag1","hashtag2"]},{"1355316881":["hashtag1","hashtag2"]},{"1355317166":["hashtag1","hashtag2"]},{"1355317093":["hashtag1","hashtag2"]},{"1355316799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355316970, 1355316741, 1355316881, 1355317166, 1355317093, 1355316799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06493592262268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:52:32.808201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/29/image_02052025_12_29_57_10404.jpg', '/home/pi/Desktop/images/02052025/12/29/image_02052025_12_30_07_9463.jpg', '/home/pi/Desktop/images/02052025/12/30/image_02052025_12_30_17_10332.jpg', '/home/pi/Desktop/images/02052025/12/30/image_02052025_12_30_26_9356.jpg', '/home/pi/Desktop/images/02052025/12/30/image_02052025_12_30_37_10349.jpg', '/home/pi/Desktop/images/02052025/12/30/image_02052025_12_30_47_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/29/image_02052025_12_29_57_10404.jpg
/home/pi/Desktop/images/02052025/12/29/image_02052025_12_30_07_9463.jpg
/home/pi/Desktop/images/02052025/12/30/image_02052025_12_30_17_10332.jpg
/home/pi/Desktop/images/02052025/12/30/image_02052025_12_30_26_9356.jpg
/home/pi/Desktop/images/02052025/12/30/image_02052025_12_30_37_10349.jpg
/home/pi/Desktop/images/02052025/12/30/image_02052025_12_30_47_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":["1355318244","1355318123","1355318185","1355318065","1355318298","1355318401"],"photo_ids_order":["1355318065","1355318123","1355318185","1355318244","1355318298","1355318401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3c67dc73d09e9340179c0909d3c202c.jpg","text":"TemporaryFile(/tmp/multipartBody954480527518705994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190413264,"filename":"image_02052025_12_30_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/5/2/62158e6d6180b061e988429d6dc7c334.jpg","text":"TemporaryFile(/tmp/multipartBody8809427777873228110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190413264,"filename":"image_02052025_12_30_07_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/deab02325736c3e2c9f2218122bdd58d.jpg","text":"TemporaryFile(/tmp/multipartBody684403548865892850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190413264,"filename":"image_02052025_12_30_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/5/2/4fe4d13ece162aec821dff8a574491eb.jpg","text":"TemporaryFile(/tmp/multipartBody2367934372856321855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190413264,"filename":"image_02052025_12_29_57_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cc3e196ed2e24182f2bb3a797e3f575c.jpg","text":"TemporaryFile(/tmp/multipartBody3062840788923937844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190413264,"filename":"image_02052025_12_30_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c7c7124e33a6a359c0a316a9983846c.jpg","text":"TemporaryFile(/tmp/multipartBody7747206728777165308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190413264,"filename":"image_02052025_12_30_47_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355318185","file1":"1355318123","file0":"1355318065","file4":"1355318298","file5":"1355318401","file3":"1355318244"},"map_files_photo_id_array":[{"photo_id":"1355318401","filename":"file5"},{"photo_id":"1355318185","filename":"file2"},{"photo_id":"1355318298","filename":"file4"},{"photo_id":"1355318123","filename":"file1"},{"photo_id":"1355318065","filename":"file0"},{"photo_id":"1355318244","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355318244":["hashtag1","hashtag2"]},{"1355318123":["hashtag1","hashtag2"]},{"1355318185":["hashtag1","hashtag2"]},{"1355318065":["hashtag1","hashtag2"]},{"1355318298":["hashtag1","hashtag2"]},{"1355318401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355318244, 1355318123, 1355318185, 1355318065, 1355318298, 1355318401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53181529045105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:53:33.126068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/30/image_02052025_12_30_56_9421.jpg', '/home/pi/Desktop/images/02052025/12/30/image_02052025_12_31_07_10327.jpg', '/home/pi/Desktop/images/02052025/12/31/image_02052025_12_31_17_10410.jpg', '/home/pi/Desktop/images/02052025/12/31/image_02052025_12_31_27_9432.jpg', '/home/pi/Desktop/images/02052025/12/31/image_02052025_12_31_37_10354.jpg', '/home/pi/Desktop/images/02052025/12/31/image_02052025_12_31_46_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/30/image_02052025_12_30_56_9421.jpg
/home/pi/Desktop/images/02052025/12/30/image_02052025_12_31_07_10327.jpg
/home/pi/Desktop/images/02052025/12/31/image_02052025_12_31_17_10410.jpg
/home/pi/Desktop/images/02052025/12/31/image_02052025_12_31_27_9432.jpg
/home/pi/Desktop/images/02052025/12/31/image_02052025_12_31_37_10354.jpg
/home/pi/Desktop/images/02052025/12/31/image_02052025_12_31_46_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355319038","1355319076","1355318986","1355319106","1355319121","1355318932"],"photo_ids_order":["1355318932","1355318986","1355319038","1355319076","1355319106","1355319121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da3f87e08fd065c0637957afa2016970.jpg","text":"TemporaryFile(/tmp/multipartBody4473021052184449072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190473595,"filename":"image_02052025_12_31_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/5/2/aa53ab1ead4c1fe3e559ce8eeac7ab33.jpg","text":"TemporaryFile(/tmp/multipartBody4311653515356459383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190473595,"filename":"image_02052025_12_31_27_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b379f37e7034e80949c3a186d79c0622.jpg","text":"TemporaryFile(/tmp/multipartBody7650443930941213661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190473595,"filename":"image_02052025_12_31_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/5/2/6d353af705f0b8ce3e2e401db7d197f9.jpg","text":"TemporaryFile(/tmp/multipartBody8905067366691219862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190473595,"filename":"image_02052025_12_31_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/5/2/16ea302e8f728c79b0b672b18e34c37f.jpg","text":"TemporaryFile(/tmp/multipartBody1950938546308364767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190473595,"filename":"image_02052025_12_31_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/5/2/13fbe7912c3d77ffcc8686e8a33973f4.jpg","text":"TemporaryFile(/tmp/multipartBody1049253353254918785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190473595,"filename":"image_02052025_12_30_56_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355319038","file1":"1355318986","file0":"1355318932","file4":"1355319106","file5":"1355319121","file3":"1355319076"},"map_files_photo_id_array":[{"photo_id":"1355319121","filename":"file5"},{"photo_id":"1355319038","filename":"file2"},{"photo_id":"1355319106","filename":"file4"},{"photo_id":"1355318986","filename":"file1"},{"photo_id":"1355318932","filename":"file0"},{"photo_id":"1355319076","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355319038":["hashtag1","hashtag2"]},{"1355319076":["hashtag1","hashtag2"]},{"1355318986":["hashtag1","hashtag2"]},{"1355319106":["hashtag1","hashtag2"]},{"1355319121":["hashtag1","hashtag2"]},{"1355318932":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355319038, 1355319076, 1355318986, 1355319106, 1355319121, 1355318932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.213897466659546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:54:32.330039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/31/image_02052025_12_31_57_10346.jpg', '/home/pi/Desktop/images/02052025/12/31/image_02052025_12_32_07_10353.jpg', '/home/pi/Desktop/images/02052025/12/32/image_02052025_12_32_16_9436.jpg', '/home/pi/Desktop/images/02052025/12/32/image_02052025_12_32_27_10362.jpg', '/home/pi/Desktop/images/02052025/12/32/image_02052025_12_32_37_10386.jpg', '/home/pi/Desktop/images/02052025/12/32/image_02052025_12_32_47_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/31/image_02052025_12_31_57_10346.jpg
/home/pi/Desktop/images/02052025/12/31/image_02052025_12_32_07_10353.jpg
/home/pi/Desktop/images/02052025/12/32/image_02052025_12_32_16_9436.jpg
/home/pi/Desktop/images/02052025/12/32/image_02052025_12_32_27_10362.jpg
/home/pi/Desktop/images/02052025/12/32/image_02052025_12_32_37_10386.jpg
/home/pi/Desktop/images/02052025/12/32/image_02052025_12_32_47_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355319182","1355319161","1355319143","1355319153","1355319147","1355319135"],"photo_ids_order":["1355319135","1355319143","1355319147","1355319153","1355319161","1355319182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c85fb5fcecd5849f0369fd72c5acd303.jpg","text":"TemporaryFile(/tmp/multipartBody8858934777770624784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190532795,"filename":"image_02052025_12_32_47_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/379521f528f5db12c47d1a10c9a81c32.jpg","text":"TemporaryFile(/tmp/multipartBody443374904529402668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190532795,"filename":"image_02052025_12_32_37_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a0e14ea805efa97f9dcc818d1bbfa8ed.jpg","text":"TemporaryFile(/tmp/multipartBody3385483493378170665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190532795,"filename":"image_02052025_12_32_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/5/2/d1dd6ab98fc4822a5574ece26839c354.jpg","text":"TemporaryFile(/tmp/multipartBody622630661231843372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190532795,"filename":"image_02052025_12_32_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/5/2/fcff14cec0a1e641c51582767b454c2c.jpg","text":"TemporaryFile(/tmp/multipartBody1776700826678507782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190532795,"filename":"image_02052025_12_32_16_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/688e4bcf1caef188e7300e198131c90a.jpg","text":"TemporaryFile(/tmp/multipartBody2917036282761935931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190532795,"filename":"image_02052025_12_31_57_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355319147","file1":"1355319143","file0":"1355319135","file4":"1355319161","file5":"1355319182","file3":"1355319153"},"map_files_photo_id_array":[{"photo_id":"1355319182","filename":"file5"},{"photo_id":"1355319147","filename":"file2"},{"photo_id":"1355319161","filename":"file4"},{"photo_id":"1355319143","filename":"file1"},{"photo_id":"1355319135","filename":"file0"},{"photo_id":"1355319153","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355319182":["hashtag1","hashtag2"]},{"1355319161":["hashtag1","hashtag2"]},{"1355319143":["hashtag1","hashtag2"]},{"1355319153":["hashtag1","hashtag2"]},{"1355319147":["hashtag1","hashtag2"]},{"1355319135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355319182, 1355319161, 1355319143, 1355319153, 1355319147, 1355319135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.66561150550842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 14:55:42.634693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/32/image_02052025_12_32_57_10386.jpg', '/home/pi/Desktop/images/02052025/12/32/image_02052025_12_33_06_9321.jpg', '/home/pi/Desktop/images/02052025/12/33/image_02052025_12_33_17_10348.jpg', '/home/pi/Desktop/images/02052025/12/33/image_02052025_12_33_27_10444.jpg', '/home/pi/Desktop/images/02052025/12/33/image_02052025_12_33_36_9434.jpg', '/home/pi/Desktop/images/02052025/12/33/image_02052025_12_33_47_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/32/image_02052025_12_32_57_10386.jpg
/home/pi/Desktop/images/02052025/12/32/image_02052025_12_33_06_9321.jpg
/home/pi/Desktop/images/02052025/12/33/image_02052025_12_33_17_10348.jpg
/home/pi/Desktop/images/02052025/12/33/image_02052025_12_33_27_10444.jpg
/home/pi/Desktop/images/02052025/12/33/image_02052025_12_33_36_9434.jpg
/home/pi/Desktop/images/02052025/12/33/image_02052025_12_33_47_10434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355319328","1355319520","1355319573","1355319456","1355319399","1355319357"],"photo_ids_order":["1355319328","1355319357","1355319399","1355319456","1355319520","1355319573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a48af5b7bedf07abd96fd865bee917c4.jpg","text":"TemporaryFile(/tmp/multipartBody6184223381835009169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190603133,"filename":"image_02052025_12_32_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/5/2/d10dd25162b6708bf97b30e9a7ea179a.jpg","text":"TemporaryFile(/tmp/multipartBody6800163708234535720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190603133,"filename":"image_02052025_12_33_36_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5adef290304e12a9eb95d00f1fe69089.jpg","text":"TemporaryFile(/tmp/multipartBody7398744915762278877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190603133,"filename":"image_02052025_12_33_47_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49bbbc5b4829b64217184cb7efcb12c0.jpg","text":"TemporaryFile(/tmp/multipartBody7098314658095150794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190603133,"filename":"image_02052025_12_33_27_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ac1f421260887179011cbca3a50e8043.jpg","text":"TemporaryFile(/tmp/multipartBody1060585788832488005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190603133,"filename":"image_02052025_12_33_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/5/2/40283e242cf975bcd435ed9815900842.jpg","text":"TemporaryFile(/tmp/multipartBody6673614358749019489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190603133,"filename":"image_02052025_12_33_06_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355319399","file1":"1355319357","file0":"1355319328","file4":"1355319520","file5":"1355319573","file3":"1355319456"},"map_files_photo_id_array":[{"photo_id":"1355319573","filename":"file5"},{"photo_id":"1355319399","filename":"file2"},{"photo_id":"1355319520","filename":"file4"},{"photo_id":"1355319357","filename":"file1"},{"photo_id":"1355319328","filename":"file0"},{"photo_id":"1355319456","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355319328":["hashtag1","hashtag2"]},{"1355319520":["hashtag1","hashtag2"]},{"1355319573":["hashtag1","hashtag2"]},{"1355319456":["hashtag1","hashtag2"]},{"1355319399":["hashtag1","hashtag2"]},{"1355319357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355319328, 1355319520, 1355319573, 1355319456, 1355319399, 1355319357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.658841371536255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:56:32.620586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/33/image_02052025_12_33_56_9527.jpg', '/home/pi/Desktop/images/02052025/12/33/image_02052025_12_34_07_10355.jpg', '/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_17_10354.jpg', '/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_27_9360.jpg', '/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_37_10333.jpg', '/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_46_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/33/image_02052025_12_33_56_9527.jpg
/home/pi/Desktop/images/02052025/12/33/image_02052025_12_34_07_10355.jpg
/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_17_10354.jpg
/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_27_9360.jpg
/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_37_10333.jpg
/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_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":["1355320044","1355319985","1355320129","1355320114","1355320015","1355320086"],"photo_ids_order":["1355319985","1355320015","1355320044","1355320086","1355320114","1355320129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ca8233e9272bd4bd97f9285f2f7f42b0.jpg","text":"TemporaryFile(/tmp/multipartBody5760351596984730428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190653082,"filename":"image_02052025_12_34_17_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b6f6b80a71acdd386b6b19adae95a3a.jpg","text":"TemporaryFile(/tmp/multipartBody6683718153320432137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190653082,"filename":"image_02052025_12_33_56_9527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e00fe64b9ebdbc511fc4de21afd19bbf.jpg","text":"TemporaryFile(/tmp/multipartBody5405935827704831899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190653082,"filename":"image_02052025_12_34_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/5/2/fb158fecf2eebb56bce7ac33b9e12299.jpg","text":"TemporaryFile(/tmp/multipartBody2314589024285623124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190653082,"filename":"image_02052025_12_34_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/5/2/670ddbbee6a57468e8747a900605ec29.jpg","text":"TemporaryFile(/tmp/multipartBody3212618510993079873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190653082,"filename":"image_02052025_12_34_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ef24809af2e0adb5623d9e48d03ec2b4.jpg","text":"TemporaryFile(/tmp/multipartBody6726240725551488207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190653082,"filename":"image_02052025_12_34_27_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355320044","file1":"1355320015","file0":"1355319985","file4":"1355320114","file5":"1355320129","file3":"1355320086"},"map_files_photo_id_array":[{"photo_id":"1355320129","filename":"file5"},{"photo_id":"1355320044","filename":"file2"},{"photo_id":"1355320114","filename":"file4"},{"photo_id":"1355320015","filename":"file1"},{"photo_id":"1355319985","filename":"file0"},{"photo_id":"1355320086","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355320044":["hashtag1","hashtag2"]},{"1355319985":["hashtag1","hashtag2"]},{"1355320129":["hashtag1","hashtag2"]},{"1355320114":["hashtag1","hashtag2"]},{"1355320015":["hashtag1","hashtag2"]},{"1355320086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355320044, 1355319985, 1355320129, 1355320114, 1355320015, 1355320086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1184024810791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 14:57:32.725039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_57_10367.jpg', '/home/pi/Desktop/images/02052025/12/34/image_02052025_12_35_07_10345.jpg', '/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_16_9444.jpg', '/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_27_10441.jpg', '/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_37_10362.jpg', '/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_47_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_57_10367.jpg
/home/pi/Desktop/images/02052025/12/34/image_02052025_12_35_07_10345.jpg
/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_16_9444.jpg
/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_27_10441.jpg
/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_37_10362.jpg
/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_47_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 14:59:03.612934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_57_10367.jpg', '/home/pi/Desktop/images/02052025/12/34/image_02052025_12_35_07_10345.jpg', '/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_16_9444.jpg', '/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_27_10441.jpg', '/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_37_10362.jpg', '/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_47_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/34/image_02052025_12_34_57_10367.jpg
/home/pi/Desktop/images/02052025/12/34/image_02052025_12_35_07_10345.jpg
/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_16_9444.jpg
/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_27_10441.jpg
/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_37_10362.jpg
/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_47_9367.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355321220","1355321452","1355321305","1355321391","1355321124","1355321517"],"photo_ids_order":["1355321124","1355321220","1355321305","1355321391","1355321452","1355321517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/549f45c9aaae1ddc51d3c7fa902d667b.jpg","text":"TemporaryFile(/tmp/multipartBody3667440922199729443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190804194,"filename":"image_02052025_12_35_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/5/2/285c451a95c920120c1e306b97512842.jpg","text":"TemporaryFile(/tmp/multipartBody2494044774229755586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190804194,"filename":"image_02052025_12_35_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/5/2/aee0b42897adaa8be9c02875f748ec52.jpg","text":"TemporaryFile(/tmp/multipartBody2603976667299397548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190804194,"filename":"image_02052025_12_35_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/5/2/5c2d857166b0c4c749ee0e58bf448f68.jpg","text":"TemporaryFile(/tmp/multipartBody3276441991083959395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190804194,"filename":"image_02052025_12_35_27_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6dada43f7a7eefc2ffabe671e3c63f3b.jpg","text":"TemporaryFile(/tmp/multipartBody3820072233042586713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190804194,"filename":"image_02052025_12_34_57_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b4c7569da02f538b87f89d0e65b01e2d.jpg","text":"TemporaryFile(/tmp/multipartBody8346102298050425788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190804194,"filename":"image_02052025_12_35_47_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355321305","file1":"1355321220","file0":"1355321124","file4":"1355321452","file5":"1355321517","file3":"1355321391"},"map_files_photo_id_array":[{"photo_id":"1355321517","filename":"file5"},{"photo_id":"1355321305","filename":"file2"},{"photo_id":"1355321452","filename":"file4"},{"photo_id":"1355321220","filename":"file1"},{"photo_id":"1355321124","filename":"file0"},{"photo_id":"1355321391","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355321220":["hashtag1","hashtag2"]},{"1355321452":["hashtag1","hashtag2"]},{"1355321305":["hashtag1","hashtag2"]},{"1355321391":["hashtag1","hashtag2"]},{"1355321124":["hashtag1","hashtag2"]},{"1355321517":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355321220, 1355321452, 1355321305, 1355321391, 1355321124, 1355321517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63263440132141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 14:59:42.327466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_57_10356.jpg', '/home/pi/Desktop/images/02052025/12/35/image_02052025_12_36_06_9339.jpg', '/home/pi/Desktop/images/02052025/12/36/image_02052025_12_36_17_10370.jpg', '/home/pi/Desktop/images/02052025/12/36/image_02052025_12_36_27_10357.jpg', '/home/pi/Desktop/images/02052025/12/36/image_02052025_12_36_36_9424.jpg', '/home/pi/Desktop/images/02052025/12/36/image_02052025_12_36_47_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/35/image_02052025_12_35_57_10356.jpg
/home/pi/Desktop/images/02052025/12/35/image_02052025_12_36_06_9339.jpg
/home/pi/Desktop/images/02052025/12/36/image_02052025_12_36_17_10370.jpg
/home/pi/Desktop/images/02052025/12/36/image_02052025_12_36_27_10357.jpg
/home/pi/Desktop/images/02052025/12/36/image_02052025_12_36_36_9424.jpg
/home/pi/Desktop/images/02052025/12/36/image_02052025_12_36_47_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355321750","1355321779","1355321694","1355321928","1355321882","1355321829"],"photo_ids_order":["1355321694","1355321750","1355321779","1355321829","1355321882","1355321928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f594dda3a0ec3d80a6d75358d80dbce4.jpg","text":"TemporaryFile(/tmp/multipartBody2114914668563706870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190842800,"filename":"image_02052025_12_36_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/660e64f20f7687d770e65e2c54374354.jpg","text":"TemporaryFile(/tmp/multipartBody511241780937631518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190842800,"filename":"image_02052025_12_36_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/5/2/a840eabc5f13730bdc80ee57be026b4a.jpg","text":"TemporaryFile(/tmp/multipartBody5723672221704019159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190842800,"filename":"image_02052025_12_35_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/5/2/bc8bd707960c625c9d247cf718d06e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3081529454329926788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190842800,"filename":"image_02052025_12_36_47_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f51579be96abd65ee5e44682a306ff4.jpg","text":"TemporaryFile(/tmp/multipartBody6820750988762282004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190842800,"filename":"image_02052025_12_36_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/5/2/1680d37da72a186c04b00987e6799a64.jpg","text":"TemporaryFile(/tmp/multipartBody8122462081540053659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190842800,"filename":"image_02052025_12_36_27_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355321779","file1":"1355321750","file0":"1355321694","file4":"1355321882","file5":"1355321928","file3":"1355321829"},"map_files_photo_id_array":[{"photo_id":"1355321928","filename":"file5"},{"photo_id":"1355321779","filename":"file2"},{"photo_id":"1355321882","filename":"file4"},{"photo_id":"1355321750","filename":"file1"},{"photo_id":"1355321694","filename":"file0"},{"photo_id":"1355321829","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355321750":["hashtag1","hashtag2"]},{"1355321779":["hashtag1","hashtag2"]},{"1355321694":["hashtag1","hashtag2"]},{"1355321928":["hashtag1","hashtag2"]},{"1355321882":["hashtag1","hashtag2"]},{"1355321829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355321750, 1355321779, 1355321694, 1355321928, 1355321882, 1355321829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0132110118866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:00:32.738961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/36/image_02052025_12_36_56_9428.jpg', '/home/pi/Desktop/images/02052025/12/36/image_02052025_12_37_07_10345.jpg', '/home/pi/Desktop/images/02052025/12/37/image_02052025_12_37_17_10349.jpg', '/home/pi/Desktop/images/02052025/12/37/image_02052025_12_37_26_9343.jpg', '/home/pi/Desktop/images/02052025/12/37/image_02052025_12_37_37_10402.jpg', '/home/pi/Desktop/images/02052025/12/37/image_02052025_12_37_47_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/36/image_02052025_12_36_56_9428.jpg
/home/pi/Desktop/images/02052025/12/36/image_02052025_12_37_07_10345.jpg
/home/pi/Desktop/images/02052025/12/37/image_02052025_12_37_17_10349.jpg
/home/pi/Desktop/images/02052025/12/37/image_02052025_12_37_26_9343.jpg
/home/pi/Desktop/images/02052025/12/37/image_02052025_12_37_37_10402.jpg
/home/pi/Desktop/images/02052025/12/37/image_02052025_12_37_47_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355322371","1355322446","1355322413","1355322308","1355322218","1355322255"],"photo_ids_order":["1355322218","1355322255","1355322308","1355322371","1355322413","1355322446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/37394589fbe189062b815bd8fc4a92f4.jpg","text":"TemporaryFile(/tmp/multipartBody3069773354484223632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190893215,"filename":"image_02052025_12_37_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ea49f1ea50d5fab6e59b963410d001df.jpg","text":"TemporaryFile(/tmp/multipartBody6108574146090100197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190893215,"filename":"image_02052025_12_37_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/5/2/e48e4581dabe5aa40e7da66afec5adfd.jpg","text":"TemporaryFile(/tmp/multipartBody3180619128505371424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190893215,"filename":"image_02052025_12_37_37_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0675b5c6c4ec197546fc740e14a67d1.jpg","text":"TemporaryFile(/tmp/multipartBody3958972741645997065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190893215,"filename":"image_02052025_12_37_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3ba8cf3dde85463b3de79081119c845c.jpg","text":"TemporaryFile(/tmp/multipartBody5483268763503281776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190893215,"filename":"image_02052025_12_36_56_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f202e5e190e0d85012acc14a6e53b626.jpg","text":"TemporaryFile(/tmp/multipartBody1167649934537991131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190893215,"filename":"image_02052025_12_37_07_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355322308","file1":"1355322255","file0":"1355322218","file4":"1355322413","file5":"1355322446","file3":"1355322371"},"map_files_photo_id_array":[{"photo_id":"1355322446","filename":"file5"},{"photo_id":"1355322308","filename":"file2"},{"photo_id":"1355322413","filename":"file4"},{"photo_id":"1355322255","filename":"file1"},{"photo_id":"1355322218","filename":"file0"},{"photo_id":"1355322371","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355322371":["hashtag1","hashtag2"]},{"1355322446":["hashtag1","hashtag2"]},{"1355322413":["hashtag1","hashtag2"]},{"1355322308":["hashtag1","hashtag2"]},{"1355322218":["hashtag1","hashtag2"]},{"1355322255":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355322371, 1355322446, 1355322413, 1355322308, 1355322218, 1355322255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9319212436676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:01:32.891324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/37/image_02052025_12_37_56_9437.jpg', '/home/pi/Desktop/images/02052025/12/37/image_02052025_12_38_07_10390.jpg', '/home/pi/Desktop/images/02052025/12/38/image_02052025_12_38_16_9353.jpg', '/home/pi/Desktop/images/02052025/12/38/image_02052025_12_38_27_10445.jpg', '/home/pi/Desktop/images/02052025/12/38/image_02052025_12_38_37_10350.jpg', '/home/pi/Desktop/images/02052025/12/38/image_02052025_12_38_46_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/37/image_02052025_12_37_56_9437.jpg
/home/pi/Desktop/images/02052025/12/37/image_02052025_12_38_07_10390.jpg
/home/pi/Desktop/images/02052025/12/38/image_02052025_12_38_16_9353.jpg
/home/pi/Desktop/images/02052025/12/38/image_02052025_12_38_27_10445.jpg
/home/pi/Desktop/images/02052025/12/38/image_02052025_12_38_37_10350.jpg
/home/pi/Desktop/images/02052025/12/38/image_02052025_12_38_46_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355323258","1355323093","1355323168","1355322856","1355322937","1355323019"],"photo_ids_order":["1355322856","1355322937","1355323019","1355323093","1355323168","1355323258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/01ba019bab8432295c15247f0db255b4.jpg","text":"TemporaryFile(/tmp/multipartBody5988241271366986011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190953363,"filename":"image_02052025_12_38_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/5/2/df7f537832dc8d632c5e7f79fa813095.jpg","text":"TemporaryFile(/tmp/multipartBody6837660076761261942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190953363,"filename":"image_02052025_12_38_27_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/00898618177c78abc3cd4ab40a28ee70.jpg","text":"TemporaryFile(/tmp/multipartBody7347947536201860536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190953363,"filename":"image_02052025_12_38_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/5/2/f6f9fefc1d1275017bea07f31749da80.jpg","text":"TemporaryFile(/tmp/multipartBody3145968326212334447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190953363,"filename":"image_02052025_12_37_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/5/2/5a67befe735543f78503c0307ec03bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4279108449956104827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190953363,"filename":"image_02052025_12_38_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/5/2/3d24e6d18ae4afbff72e9ef26594da29.jpg","text":"TemporaryFile(/tmp/multipartBody8701044085156360754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746190953363,"filename":"image_02052025_12_38_16_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355323019","file1":"1355322937","file0":"1355322856","file4":"1355323168","file5":"1355323258","file3":"1355323093"},"map_files_photo_id_array":[{"photo_id":"1355323258","filename":"file5"},{"photo_id":"1355323019","filename":"file2"},{"photo_id":"1355323168","filename":"file4"},{"photo_id":"1355322937","filename":"file1"},{"photo_id":"1355322856","filename":"file0"},{"photo_id":"1355323093","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355323258":["hashtag1","hashtag2"]},{"1355323093":["hashtag1","hashtag2"]},{"1355323168":["hashtag1","hashtag2"]},{"1355322856":["hashtag1","hashtag2"]},{"1355322937":["hashtag1","hashtag2"]},{"1355323019":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355323258, 1355323093, 1355323168, 1355322856, 1355322937, 1355323019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01404118537903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:02:33.130801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/38/image_02052025_12_38_57_10352.jpg', '/home/pi/Desktop/images/02052025/12/38/image_02052025_12_39_07_10328.jpg', '/home/pi/Desktop/images/02052025/12/39/image_02052025_12_39_16_9356.jpg', '/home/pi/Desktop/images/02052025/12/39/image_02052025_12_39_27_10379.jpg', '/home/pi/Desktop/images/02052025/12/39/image_02052025_12_39_36_9356.jpg', '/home/pi/Desktop/images/02052025/12/39/image_02052025_12_39_47_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/38/image_02052025_12_38_57_10352.jpg
/home/pi/Desktop/images/02052025/12/38/image_02052025_12_39_07_10328.jpg
/home/pi/Desktop/images/02052025/12/39/image_02052025_12_39_16_9356.jpg
/home/pi/Desktop/images/02052025/12/39/image_02052025_12_39_27_10379.jpg
/home/pi/Desktop/images/02052025/12/39/image_02052025_12_39_36_9356.jpg
/home/pi/Desktop/images/02052025/12/39/image_02052025_12_39_47_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":["1355323933","1355323797","1355323851","1355323731","1355323713","1355323883"],"photo_ids_order":["1355323713","1355323731","1355323797","1355323851","1355323883","1355323933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/020229c04411a052d25d6523b6eb1926.jpg","text":"TemporaryFile(/tmp/multipartBody6096557278848664504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191013665,"filename":"image_02052025_12_39_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/5/2/3091ee0d13ccc07ba182b542d2b60a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7829182453209099169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191013665,"filename":"image_02052025_12_39_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/5/2/ed19df945a8c191d8bd948ed3a9390f3.jpg","text":"TemporaryFile(/tmp/multipartBody1283849199766221924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191013665,"filename":"image_02052025_12_39_27_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/66d3b20e18efb7fed44a25b2ac0112fb.jpg","text":"TemporaryFile(/tmp/multipartBody6962454976879367170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191013665,"filename":"image_02052025_12_39_07_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd4c4c22872ebd5c66dd68bbc7d08afe.jpg","text":"TemporaryFile(/tmp/multipartBody5936256474875338989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191013665,"filename":"image_02052025_12_38_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/5/2/b26de6ec56a7167e7a89b7fcd79c1b64.jpg","text":"TemporaryFile(/tmp/multipartBody6406116030842290994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191013665,"filename":"image_02052025_12_39_36_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355323797","file1":"1355323731","file0":"1355323713","file4":"1355323883","file5":"1355323933","file3":"1355323851"},"map_files_photo_id_array":[{"photo_id":"1355323933","filename":"file5"},{"photo_id":"1355323797","filename":"file2"},{"photo_id":"1355323883","filename":"file4"},{"photo_id":"1355323731","filename":"file1"},{"photo_id":"1355323713","filename":"file0"},{"photo_id":"1355323851","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355323933":["hashtag1","hashtag2"]},{"1355323797":["hashtag1","hashtag2"]},{"1355323851":["hashtag1","hashtag2"]},{"1355323731":["hashtag1","hashtag2"]},{"1355323713":["hashtag1","hashtag2"]},{"1355323883":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355323933, 1355323797, 1355323851, 1355323731, 1355323713, 1355323883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.825684547424316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:03:32.404999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/39/image_02052025_12_39_57_10352.jpg', '/home/pi/Desktop/images/02052025/12/39/image_02052025_12_40_06_9470.jpg', '/home/pi/Desktop/images/02052025/12/40/image_02052025_12_40_17_10341.jpg', '/home/pi/Desktop/images/02052025/12/40/image_02052025_12_40_26_9338.jpg', '/home/pi/Desktop/images/02052025/12/40/image_02052025_12_40_37_10351.jpg', '/home/pi/Desktop/images/02052025/12/40/image_02052025_12_40_47_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/39/image_02052025_12_39_57_10352.jpg
/home/pi/Desktop/images/02052025/12/39/image_02052025_12_40_06_9470.jpg
/home/pi/Desktop/images/02052025/12/40/image_02052025_12_40_17_10341.jpg
/home/pi/Desktop/images/02052025/12/40/image_02052025_12_40_26_9338.jpg
/home/pi/Desktop/images/02052025/12/40/image_02052025_12_40_37_10351.jpg
/home/pi/Desktop/images/02052025/12/40/image_02052025_12_40_47_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":["1355324557","1355324611","1355324832","1355324750","1355324488","1355324680"],"photo_ids_order":["1355324488","1355324557","1355324611","1355324680","1355324750","1355324832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f79fc610f5e21d2780309017ba282a05.jpg","text":"TemporaryFile(/tmp/multipartBody1342627619923906578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191072899,"filename":"image_02052025_12_40_06_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a54fc8835759cc3c9cc43aad2592a52.jpg","text":"TemporaryFile(/tmp/multipartBody4066014059039633119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191072899,"filename":"image_02052025_12_40_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/5/2/522ad128cb5c95d380c0df4ac6f18c93.jpg","text":"TemporaryFile(/tmp/multipartBody5282786345546741151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191072899,"filename":"image_02052025_12_40_47_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22bbc62ca1c32df3e626f5c728a8a3d9.jpg","text":"TemporaryFile(/tmp/multipartBody42122807619869458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191072899,"filename":"image_02052025_12_40_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/5/2/abfaf6975d036ea2e955eb164498f60e.jpg","text":"TemporaryFile(/tmp/multipartBody6065377435628714935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191072899,"filename":"image_02052025_12_39_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/5/2/7df90009f95777bcfc46340752d35a9e.jpg","text":"TemporaryFile(/tmp/multipartBody2363358339080476273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191072899,"filename":"image_02052025_12_40_26_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355324611","file1":"1355324557","file0":"1355324488","file4":"1355324750","file5":"1355324832","file3":"1355324680"},"map_files_photo_id_array":[{"photo_id":"1355324832","filename":"file5"},{"photo_id":"1355324611","filename":"file2"},{"photo_id":"1355324750","filename":"file4"},{"photo_id":"1355324557","filename":"file1"},{"photo_id":"1355324488","filename":"file0"},{"photo_id":"1355324680","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355324557":["hashtag1","hashtag2"]},{"1355324611":["hashtag1","hashtag2"]},{"1355324832":["hashtag1","hashtag2"]},{"1355324750":["hashtag1","hashtag2"]},{"1355324488":["hashtag1","hashtag2"]},{"1355324680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355324557, 1355324611, 1355324832, 1355324750, 1355324488, 1355324680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95953369140625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:04:32.567100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/40/image_02052025_12_40_56_9487.jpg', '/home/pi/Desktop/images/02052025/12/40/image_02052025_12_41_07_10351.jpg', '/home/pi/Desktop/images/02052025/12/41/image_02052025_12_41_17_10359.jpg', '/home/pi/Desktop/images/02052025/12/41/image_02052025_12_41_26_9352.jpg', '/home/pi/Desktop/images/02052025/12/41/image_02052025_12_41_37_10404.jpg', '/home/pi/Desktop/images/02052025/12/41/image_02052025_12_41_46_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/40/image_02052025_12_40_56_9487.jpg
/home/pi/Desktop/images/02052025/12/40/image_02052025_12_41_07_10351.jpg
/home/pi/Desktop/images/02052025/12/41/image_02052025_12_41_17_10359.jpg
/home/pi/Desktop/images/02052025/12/41/image_02052025_12_41_26_9352.jpg
/home/pi/Desktop/images/02052025/12/41/image_02052025_12_41_37_10404.jpg
/home/pi/Desktop/images/02052025/12/41/image_02052025_12_41_46_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":["1355325581","1355325395","1355325767","1355325476","1355325848","1355325682"],"photo_ids_order":["1355325395","1355325476","1355325581","1355325682","1355325767","1355325848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/61171a0e5a44d0bfeba844d026b894a6.jpg","text":"TemporaryFile(/tmp/multipartBody181755741810728149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191133029,"filename":"image_02052025_12_41_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/5/2/543ee240f2d37eebdc0bb57286449b91.jpg","text":"TemporaryFile(/tmp/multipartBody3566524531970284681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191133029,"filename":"image_02052025_12_40_56_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f2d6fe8290515dd41b601f5481b6014.jpg","text":"TemporaryFile(/tmp/multipartBody6607416530739061279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191133029,"filename":"image_02052025_12_41_37_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3059afece074c24f3ab4dc1d75a1ef62.jpg","text":"TemporaryFile(/tmp/multipartBody8517699591966980262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191133029,"filename":"image_02052025_12_41_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/5/2/44a5a7a00ddd6e53e6eb72ca9d414b9b.jpg","text":"TemporaryFile(/tmp/multipartBody1027588982518213529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191133029,"filename":"image_02052025_12_41_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/5/2/af129a62772268860972b44252fb252a.jpg","text":"TemporaryFile(/tmp/multipartBody2332072657416797975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191133029,"filename":"image_02052025_12_41_26_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355325581","file1":"1355325476","file0":"1355325395","file4":"1355325767","file5":"1355325848","file3":"1355325682"},"map_files_photo_id_array":[{"photo_id":"1355325848","filename":"file5"},{"photo_id":"1355325581","filename":"file2"},{"photo_id":"1355325767","filename":"file4"},{"photo_id":"1355325476","filename":"file1"},{"photo_id":"1355325395","filename":"file0"},{"photo_id":"1355325682","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355325581":["hashtag1","hashtag2"]},{"1355325395":["hashtag1","hashtag2"]},{"1355325767":["hashtag1","hashtag2"]},{"1355325476":["hashtag1","hashtag2"]},{"1355325848":["hashtag1","hashtag2"]},{"1355325682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355325581, 1355325395, 1355325767, 1355325476, 1355325848, 1355325682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0399751663208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:05:32.778299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/41/image_02052025_12_41_57_10443.jpg', '/home/pi/Desktop/images/02052025/12/41/image_02052025_12_42_07_10352.jpg', '/home/pi/Desktop/images/02052025/12/42/image_02052025_12_42_16_9368.jpg', '/home/pi/Desktop/images/02052025/12/42/image_02052025_12_42_27_10380.jpg', '/home/pi/Desktop/images/02052025/12/42/image_02052025_12_42_36_9395.jpg', '/home/pi/Desktop/images/02052025/12/42/image_02052025_12_42_47_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/41/image_02052025_12_41_57_10443.jpg
/home/pi/Desktop/images/02052025/12/41/image_02052025_12_42_07_10352.jpg
/home/pi/Desktop/images/02052025/12/42/image_02052025_12_42_16_9368.jpg
/home/pi/Desktop/images/02052025/12/42/image_02052025_12_42_27_10380.jpg
/home/pi/Desktop/images/02052025/12/42/image_02052025_12_42_36_9395.jpg
/home/pi/Desktop/images/02052025/12/42/image_02052025_12_42_47_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":["1355327357","1355327270","1355327243","1355327054","1355327329","1355327298"],"photo_ids_order":["1355327054","1355327243","1355327270","1355327298","1355327329","1355327357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c966d39d7fcb942a9b05cd0e9bd46b4a.jpg","text":"TemporaryFile(/tmp/multipartBody4090123726952391768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191193252,"filename":"image_02052025_12_42_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/5/2/5dd6fc65521c4df401567bce878ec2de.jpg","text":"TemporaryFile(/tmp/multipartBody8810352539621108827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191193252,"filename":"image_02052025_12_42_16_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/438b0d3f35fa0e6d937f5ffc7b86fb90.jpg","text":"TemporaryFile(/tmp/multipartBody2452103785118369102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191193252,"filename":"image_02052025_12_42_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/5/2/902ee09071107d1ef45802b830a396a3.jpg","text":"TemporaryFile(/tmp/multipartBody5288110627860816624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191193252,"filename":"image_02052025_12_41_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/5/2/342527994a1440645825211ccee792e6.jpg","text":"TemporaryFile(/tmp/multipartBody4525878268110641054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191193252,"filename":"image_02052025_12_42_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/5/2/b2dcf92f12163f5b8e5a3440d0c402ca.jpg","text":"TemporaryFile(/tmp/multipartBody4207992532684927856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191193252,"filename":"image_02052025_12_42_27_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355327270","file1":"1355327243","file0":"1355327054","file4":"1355327329","file5":"1355327357","file3":"1355327298"},"map_files_photo_id_array":[{"photo_id":"1355327357","filename":"file5"},{"photo_id":"1355327270","filename":"file2"},{"photo_id":"1355327329","filename":"file4"},{"photo_id":"1355327243","filename":"file1"},{"photo_id":"1355327054","filename":"file0"},{"photo_id":"1355327298","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355327357":["hashtag1","hashtag2"]},{"1355327270":["hashtag1","hashtag2"]},{"1355327243":["hashtag1","hashtag2"]},{"1355327054":["hashtag1","hashtag2"]},{"1355327329":["hashtag1","hashtag2"]},{"1355327298":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355327357, 1355327270, 1355327243, 1355327054, 1355327329, 1355327298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65862512588501 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:06:33.078555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/42/image_02052025_12_42_57_10450.jpg', '/home/pi/Desktop/images/02052025/12/42/image_02052025_12_43_06_9350.jpg', '/home/pi/Desktop/images/02052025/12/43/image_02052025_12_43_17_10342.jpg', '/home/pi/Desktop/images/02052025/12/43/image_02052025_12_43_27_10360.jpg', '/home/pi/Desktop/images/02052025/12/43/image_02052025_12_43_36_9349.jpg', '/home/pi/Desktop/images/02052025/12/43/image_02052025_12_43_47_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/42/image_02052025_12_42_57_10450.jpg
/home/pi/Desktop/images/02052025/12/42/image_02052025_12_43_06_9350.jpg
/home/pi/Desktop/images/02052025/12/43/image_02052025_12_43_17_10342.jpg
/home/pi/Desktop/images/02052025/12/43/image_02052025_12_43_27_10360.jpg
/home/pi/Desktop/images/02052025/12/43/image_02052025_12_43_36_9349.jpg
/home/pi/Desktop/images/02052025/12/43/image_02052025_12_43_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":["1355327978","1355327555","1355327794","1355327563","1355327559","1355327526"],"photo_ids_order":["1355327526","1355327555","1355327559","1355327563","1355327794","1355327978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b8c3775c30d264feec529fa4b15e85a.jpg","text":"TemporaryFile(/tmp/multipartBody176856095139490749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191253545,"filename":"image_02052025_12_43_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/5/2/c19a98e65635c76486a006f213a288ed.jpg","text":"TemporaryFile(/tmp/multipartBody7740506432542453056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191253545,"filename":"image_02052025_12_43_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/5/2/57f155629ed09027a5158cd69f70f8ea.jpg","text":"TemporaryFile(/tmp/multipartBody6039047954411480587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191253545,"filename":"image_02052025_12_43_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/5/2/f4fe5532af821bd1b022ec80e13f56fd.jpg","text":"TemporaryFile(/tmp/multipartBody8904161022751145421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191253545,"filename":"image_02052025_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/5/2/373149df93d3f60ea06cb768decf8db0.jpg","text":"TemporaryFile(/tmp/multipartBody7624146842803846798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191253545,"filename":"image_02052025_12_43_17_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ece67ad1a77b4fc49e47feeb278af585.jpg","text":"TemporaryFile(/tmp/multipartBody2326481539152138572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191253545,"filename":"image_02052025_12_42_57_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355327559","file1":"1355327555","file0":"1355327526","file4":"1355327794","file5":"1355327978","file3":"1355327563"},"map_files_photo_id_array":[{"photo_id":"1355327978","filename":"file5"},{"photo_id":"1355327559","filename":"file2"},{"photo_id":"1355327794","filename":"file4"},{"photo_id":"1355327555","filename":"file1"},{"photo_id":"1355327526","filename":"file0"},{"photo_id":"1355327563","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355327978":["hashtag1","hashtag2"]},{"1355327555":["hashtag1","hashtag2"]},{"1355327794":["hashtag1","hashtag2"]},{"1355327563":["hashtag1","hashtag2"]},{"1355327559":["hashtag1","hashtag2"]},{"1355327526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355327978, 1355327555, 1355327794, 1355327563, 1355327559, 1355327526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49519157409668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:07:32.253649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/43/image_02052025_12_43_56_9405.jpg', '/home/pi/Desktop/images/02052025/12/43/image_02052025_12_44_07_10415.jpg', '/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_17_10416.jpg', '/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_26_9432.jpg', '/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_37_10355.jpg', '/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_46_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/43/image_02052025_12_43_56_9405.jpg
/home/pi/Desktop/images/02052025/12/43/image_02052025_12_44_07_10415.jpg
/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_17_10416.jpg
/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_26_9432.jpg
/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_37_10355.jpg
/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_46_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355328536","1355328682","1355328508","1355328567","1355328624","1355328479"],"photo_ids_order":["1355328479","1355328508","1355328536","1355328567","1355328624","1355328682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/acdaff613487b5868b6876cd44b6c60d.jpg","text":"TemporaryFile(/tmp/multipartBody484674864437814485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191312712,"filename":"image_02052025_12_44_17_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/54f94bdf96f19ffe1cbc7827023340c1.jpg","text":"TemporaryFile(/tmp/multipartBody3898294544154305076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191312712,"filename":"image_02052025_12_44_46_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a23d25a90de51025155504a7ab5f0c3.jpg","text":"TemporaryFile(/tmp/multipartBody8240301619776360985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191312712,"filename":"image_02052025_12_44_07_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/480663a844431d81bea0e0848498023b.jpg","text":"TemporaryFile(/tmp/multipartBody8065354805042467127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191312712,"filename":"image_02052025_12_44_26_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9240af157fb535e341cca453500251ed.jpg","text":"TemporaryFile(/tmp/multipartBody9066750008600907663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191312712,"filename":"image_02052025_12_44_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/5/2/c5b83b885db5c7eb77165855fd98f1f2.jpg","text":"TemporaryFile(/tmp/multipartBody7629423063763818788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191312712,"filename":"image_02052025_12_43_56_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355328536","file1":"1355328508","file0":"1355328479","file4":"1355328624","file5":"1355328682","file3":"1355328567"},"map_files_photo_id_array":[{"photo_id":"1355328682","filename":"file5"},{"photo_id":"1355328536","filename":"file2"},{"photo_id":"1355328624","filename":"file4"},{"photo_id":"1355328508","filename":"file1"},{"photo_id":"1355328479","filename":"file0"},{"photo_id":"1355328567","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355328536":["hashtag1","hashtag2"]},{"1355328682":["hashtag1","hashtag2"]},{"1355328508":["hashtag1","hashtag2"]},{"1355328567":["hashtag1","hashtag2"]},{"1355328624":["hashtag1","hashtag2"]},{"1355328479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355328536, 1355328682, 1355328508, 1355328567, 1355328624, 1355328479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.663432359695435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:08:32.472143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_57_10435.jpg', '/home/pi/Desktop/images/02052025/12/44/image_02052025_12_45_07_10339.jpg', '/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_16_9491.jpg', '/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_27_10357.jpg', '/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_37_10345.jpg', '/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_47_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_57_10435.jpg
/home/pi/Desktop/images/02052025/12/44/image_02052025_12_45_07_10339.jpg
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_16_9491.jpg
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_27_10357.jpg
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_37_10345.jpg
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_47_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3730299472808838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 15:08:42.466437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_57_10435.jpg', '/home/pi/Desktop/images/02052025/12/44/image_02052025_12_45_07_10339.jpg', '/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_16_9491.jpg', '/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_27_10357.jpg', '/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_37_10345.jpg', '/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_47_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/44/image_02052025_12_44_57_10435.jpg
/home/pi/Desktop/images/02052025/12/44/image_02052025_12_45_07_10339.jpg
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_16_9491.jpg
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_27_10357.jpg
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_37_10345.jpg
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_47_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":["1355329237","1355329405","1355329402","1355329397","1355329268","1355329400"],"photo_ids_order":["1355329237","1355329268","1355329397","1355329400","1355329402","1355329405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae1bf5c69a898f52486d0af210fedcba.jpg","text":"TemporaryFile(/tmp/multipartBody5113408707008055682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191382935,"filename":"image_02052025_12_44_57_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f492b86e910c52cb6398e1f76168641b.jpg","text":"TemporaryFile(/tmp/multipartBody290838554908515435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191382935,"filename":"image_02052025_12_45_47_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a45e2881a1407a6c356ff6ab5cd5c6ff.jpg","text":"TemporaryFile(/tmp/multipartBody7684669751578748497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191382935,"filename":"image_02052025_12_45_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/5/2/421ec3bace183407aa4aa41cbe76062a.jpg","text":"TemporaryFile(/tmp/multipartBody1846500618786846903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191382935,"filename":"image_02052025_12_45_16_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8c8ae8b5194e19d56ffc764d6a84c705.jpg","text":"TemporaryFile(/tmp/multipartBody2325588458423626933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191382935,"filename":"image_02052025_12_45_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/5/2/e1f8085cd870925ba54468a6b511eff4.jpg","text":"TemporaryFile(/tmp/multipartBody7273447405698848534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191382935,"filename":"image_02052025_12_45_27_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355329397","file1":"1355329268","file0":"1355329237","file4":"1355329402","file5":"1355329405","file3":"1355329400"},"map_files_photo_id_array":[{"photo_id":"1355329405","filename":"file5"},{"photo_id":"1355329397","filename":"file2"},{"photo_id":"1355329402","filename":"file4"},{"photo_id":"1355329268","filename":"file1"},{"photo_id":"1355329237","filename":"file0"},{"photo_id":"1355329400","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355329237":["hashtag1","hashtag2"]},{"1355329405":["hashtag1","hashtag2"]},{"1355329402":["hashtag1","hashtag2"]},{"1355329397":["hashtag1","hashtag2"]},{"1355329268":["hashtag1","hashtag2"]},{"1355329400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355329237, 1355329405, 1355329402, 1355329397, 1355329268, 1355329400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50824022293091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:09:32.728581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_57_10403.jpg', '/home/pi/Desktop/images/02052025/12/45/image_02052025_12_46_07_9529.jpg', '/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_17_10351.jpg', '/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_26_9504.jpg', '/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_37_10349.jpg', '/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_47_10130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_57_10403.jpg
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_46_07_9529.jpg
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_17_10351.jpg
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_26_9504.jpg
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_37_10349.jpg
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_47_10130.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37497496604919434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 15:09:42.648174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_57_10403.jpg', '/home/pi/Desktop/images/02052025/12/45/image_02052025_12_46_07_9529.jpg', '/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_17_10351.jpg', '/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_26_9504.jpg', '/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_37_10349.jpg', '/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_47_10130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_45_57_10403.jpg
/home/pi/Desktop/images/02052025/12/45/image_02052025_12_46_07_9529.jpg
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_17_10351.jpg
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_26_9504.jpg
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_37_10349.jpg
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_47_10130.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355329837","1355329639","1355329881","1355329725","1355329784","1355329874"],"photo_ids_order":["1355329639","1355329725","1355329784","1355329837","1355329874","1355329881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9d077c2301f81362172ef8fffcf16db.jpg","text":"TemporaryFile(/tmp/multipartBody6612289076907175976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191443188,"filename":"image_02052025_12_46_26_9504.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/418c28affea17a809a4dfc85408b90cd.jpg","text":"TemporaryFile(/tmp/multipartBody6505265102083906259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191443188,"filename":"image_02052025_12_45_57_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/67a2f310cbe47afa9dbb20572f4a778e.jpg","text":"TemporaryFile(/tmp/multipartBody1997334623303617839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191443188,"filename":"image_02052025_12_46_47_10130.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41bf76816f0d767597bada26eaf7b07c.jpg","text":"TemporaryFile(/tmp/multipartBody3914538801831140714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191443188,"filename":"image_02052025_12_46_07_9529.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf75ca07b3c32a541e7f579eb3f1b2bf.jpg","text":"TemporaryFile(/tmp/multipartBody79620961689323749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191443188,"filename":"image_02052025_12_46_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/5/2/778e5fd5509a6896a994a45246d3c43f.jpg","text":"TemporaryFile(/tmp/multipartBody1569587690676462444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191443188,"filename":"image_02052025_12_46_37_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355329784","file1":"1355329725","file0":"1355329639","file4":"1355329874","file5":"1355329881","file3":"1355329837"},"map_files_photo_id_array":[{"photo_id":"1355329881","filename":"file5"},{"photo_id":"1355329784","filename":"file2"},{"photo_id":"1355329874","filename":"file4"},{"photo_id":"1355329725","filename":"file1"},{"photo_id":"1355329639","filename":"file0"},{"photo_id":"1355329837","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355329837":["hashtag1","hashtag2"]},{"1355329639":["hashtag1","hashtag2"]},{"1355329881":["hashtag1","hashtag2"]},{"1355329725":["hashtag1","hashtag2"]},{"1355329784":["hashtag1","hashtag2"]},{"1355329874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355329837, 1355329639, 1355329881, 1355329725, 1355329784, 1355329874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.610597133636475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:10:32.901478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_56_9489.jpg', '/home/pi/Desktop/images/02052025/12/46/image_02052025_12_47_07_10353.jpg', '/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_17_10330.jpg', '/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_26_9355.jpg', '/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_37_10347.jpg', '/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_47_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_56_9489.jpg
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_47_07_10353.jpg
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_17_10330.jpg
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_26_9355.jpg
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_37_10347.jpg
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_47_10342.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37097764015197754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 15:10:42.999520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_56_9489.jpg', '/home/pi/Desktop/images/02052025/12/46/image_02052025_12_47_07_10353.jpg', '/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_17_10330.jpg', '/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_26_9355.jpg', '/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_37_10347.jpg', '/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_47_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_46_56_9489.jpg
/home/pi/Desktop/images/02052025/12/46/image_02052025_12_47_07_10353.jpg
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_17_10330.jpg
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_26_9355.jpg
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_37_10347.jpg
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_47_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":["1355330173","1355330094","1355330169","1355330142","1355330048","1355329975"],"photo_ids_order":["1355329975","1355330048","1355330094","1355330142","1355330169","1355330173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1fc6c1b85d28bda8692255a3891f81c9.jpg","text":"TemporaryFile(/tmp/multipartBody3138990982618427977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191503468,"filename":"image_02052025_12_47_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/5/2/26ad316752ed90aa7af97e238adaf6d5.jpg","text":"TemporaryFile(/tmp/multipartBody8966663305781184887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191503468,"filename":"image_02052025_12_47_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/5/2/8c0264cbcc47ff418b87347306ceaf18.jpg","text":"TemporaryFile(/tmp/multipartBody4444328575677986667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191503468,"filename":"image_02052025_12_47_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/5/2/c3ffc9a183492a5f8c73f8caf3cf02c9.jpg","text":"TemporaryFile(/tmp/multipartBody7757600045304446546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191503468,"filename":"image_02052025_12_47_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/caf5667ccd2a57f0fd97e9663c3b8afc.jpg","text":"TemporaryFile(/tmp/multipartBody380191350437713788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191503468,"filename":"image_02052025_12_47_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7a7f41ebf5556b43328c78e6bb778c0.jpg","text":"TemporaryFile(/tmp/multipartBody7163472042218715525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191503468,"filename":"image_02052025_12_46_56_9489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355330094","file1":"1355330048","file0":"1355329975","file4":"1355330169","file5":"1355330173","file3":"1355330142"},"map_files_photo_id_array":[{"photo_id":"1355330173","filename":"file5"},{"photo_id":"1355330094","filename":"file2"},{"photo_id":"1355330169","filename":"file4"},{"photo_id":"1355330048","filename":"file1"},{"photo_id":"1355329975","filename":"file0"},{"photo_id":"1355330142","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355330173":["hashtag1","hashtag2"]},{"1355330094":["hashtag1","hashtag2"]},{"1355330169":["hashtag1","hashtag2"]},{"1355330142":["hashtag1","hashtag2"]},{"1355330048":["hashtag1","hashtag2"]},{"1355329975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355330173, 1355330094, 1355330169, 1355330142, 1355330048, 1355329975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.65663027763367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:11:33.205858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_56_9350.jpg', '/home/pi/Desktop/images/02052025/12/47/image_02052025_12_48_07_10354.jpg', '/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_16_9396.jpg', '/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_27_10429.jpg', '/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_37_10353.jpg', '/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_46_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_56_9350.jpg
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_48_07_10354.jpg
/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_16_9396.jpg
/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_27_10429.jpg
/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_37_10353.jpg
/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_46_9418.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4378526210784912 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 15:11:43.199197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_56_9350.jpg', '/home/pi/Desktop/images/02052025/12/47/image_02052025_12_48_07_10354.jpg', '/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_16_9396.jpg', '/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_27_10429.jpg', '/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_37_10353.jpg', '/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_46_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_47_56_9350.jpg
/home/pi/Desktop/images/02052025/12/47/image_02052025_12_48_07_10354.jpg
/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_16_9396.jpg
/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_27_10429.jpg
/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_37_10353.jpg
/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_46_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355330213","1355330222","1355330260","1355330329","1355330218","1355330223"],"photo_ids_order":["1355330213","1355330218","1355330222","1355330223","1355330260","1355330329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b4d5a031062fb69c8a9544a7acf7375d.jpg","text":"TemporaryFile(/tmp/multipartBody4501091293031417115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191563727,"filename":"image_02052025_12_47_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/5/2/d6bb62e7ecaa167686fd1e84e24cd366.jpg","text":"TemporaryFile(/tmp/multipartBody7370406963393810980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191563727,"filename":"image_02052025_12_48_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/5/2/4b24b9eb89334bc70f42335120f5eeac.jpg","text":"TemporaryFile(/tmp/multipartBody4811873792974554219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191563727,"filename":"image_02052025_12_48_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a28cfee087d7785590b74998a3183883.jpg","text":"TemporaryFile(/tmp/multipartBody6068436747610485678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191563727,"filename":"image_02052025_12_48_46_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a8f739afb9d4516d684633a785f80c12.jpg","text":"TemporaryFile(/tmp/multipartBody3090966687263562651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191563727,"filename":"image_02052025_12_48_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/5/2/afb14140936a4ea9669659fcb9986807.jpg","text":"TemporaryFile(/tmp/multipartBody1269934044491848097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191563727,"filename":"image_02052025_12_48_27_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355330222","file1":"1355330218","file0":"1355330213","file4":"1355330260","file5":"1355330329","file3":"1355330223"},"map_files_photo_id_array":[{"photo_id":"1355330329","filename":"file5"},{"photo_id":"1355330222","filename":"file2"},{"photo_id":"1355330260","filename":"file4"},{"photo_id":"1355330218","filename":"file1"},{"photo_id":"1355330213","filename":"file0"},{"photo_id":"1355330223","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355330213":["hashtag1","hashtag2"]},{"1355330222":["hashtag1","hashtag2"]},{"1355330260":["hashtag1","hashtag2"]},{"1355330329":["hashtag1","hashtag2"]},{"1355330218":["hashtag1","hashtag2"]},{"1355330223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355330213, 1355330222, 1355330260, 1355330329, 1355330218, 1355330223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.786179304122925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:12:33.141782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_57_10366.jpg', '/home/pi/Desktop/images/02052025/12/48/image_02052025_12_49_07_10348.jpg', '/home/pi/Desktop/images/02052025/12/49/image_02052025_12_49_17_9407.jpg', '/home/pi/Desktop/images/02052025/12/49/image_02052025_12_49_27_10418.jpg', '/home/pi/Desktop/images/02052025/12/49/image_02052025_12_49_36_9425.jpg', '/home/pi/Desktop/images/02052025/12/49/image_02052025_12_49_47_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/48/image_02052025_12_48_57_10366.jpg
/home/pi/Desktop/images/02052025/12/48/image_02052025_12_49_07_10348.jpg
/home/pi/Desktop/images/02052025/12/49/image_02052025_12_49_17_9407.jpg
/home/pi/Desktop/images/02052025/12/49/image_02052025_12_49_27_10418.jpg
/home/pi/Desktop/images/02052025/12/49/image_02052025_12_49_36_9425.jpg
/home/pi/Desktop/images/02052025/12/49/image_02052025_12_49_47_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355330901","1355330931","1355331020","1355330873","1355330969","1355330813"],"photo_ids_order":["1355330813","1355330873","1355330901","1355330931","1355330969","1355331020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9be9de11c3929b159d831c4273fa4b9a.jpg","text":"TemporaryFile(/tmp/multipartBody7679540331718134343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191613611,"filename":"image_02052025_12_49_17_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bdc08dbd2bce14381260263a23523c0f.jpg","text":"TemporaryFile(/tmp/multipartBody3611271657652422983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191613611,"filename":"image_02052025_12_49_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/5/2/08d04d6c12797d86295d7ae9a09db1c0.jpg","text":"TemporaryFile(/tmp/multipartBody4256757892091513438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191613611,"filename":"image_02052025_12_49_47_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/50686f823b3ba1cad8457384f9724f98.jpg","text":"TemporaryFile(/tmp/multipartBody2228196961878530993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191613611,"filename":"image_02052025_12_49_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/5/2/e04a6654e3138eddc12695dce4aa588a.jpg","text":"TemporaryFile(/tmp/multipartBody5270150885899463737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191613611,"filename":"image_02052025_12_49_36_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2cd6d16cc95920b891bb441cca2cb879.jpg","text":"TemporaryFile(/tmp/multipartBody1740525515662654277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191613611,"filename":"image_02052025_12_48_57_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355330901","file1":"1355330873","file0":"1355330813","file4":"1355330969","file5":"1355331020","file3":"1355330931"},"map_files_photo_id_array":[{"photo_id":"1355331020","filename":"file5"},{"photo_id":"1355330901","filename":"file2"},{"photo_id":"1355330969","filename":"file4"},{"photo_id":"1355330873","filename":"file1"},{"photo_id":"1355330813","filename":"file0"},{"photo_id":"1355330931","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355330901":["hashtag1","hashtag2"]},{"1355330931":["hashtag1","hashtag2"]},{"1355331020":["hashtag1","hashtag2"]},{"1355330873":["hashtag1","hashtag2"]},{"1355330969":["hashtag1","hashtag2"]},{"1355330813":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355330901, 1355330931, 1355331020, 1355330873, 1355330969, 1355330813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21947360038757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:13:32.484562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/49/image_02052025_12_49_57_10352.jpg', '/home/pi/Desktop/images/02052025/12/49/image_02052025_12_50_07_9404.jpg', '/home/pi/Desktop/images/02052025/12/50/image_02052025_12_50_17_10390.jpg', '/home/pi/Desktop/images/02052025/12/50/image_02052025_12_50_27_9624.jpg', '/home/pi/Desktop/images/02052025/12/50/image_02052025_12_50_37_10354.jpg', '/home/pi/Desktop/images/02052025/12/50/image_02052025_12_50_46_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/49/image_02052025_12_49_57_10352.jpg
/home/pi/Desktop/images/02052025/12/49/image_02052025_12_50_07_9404.jpg
/home/pi/Desktop/images/02052025/12/50/image_02052025_12_50_17_10390.jpg
/home/pi/Desktop/images/02052025/12/50/image_02052025_12_50_27_9624.jpg
/home/pi/Desktop/images/02052025/12/50/image_02052025_12_50_37_10354.jpg
/home/pi/Desktop/images/02052025/12/50/image_02052025_12_50_46_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355331733","1355331651","1355331594","1355331857","1355331542","1355331803"],"photo_ids_order":["1355331542","1355331594","1355331651","1355331733","1355331803","1355331857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b7fbffbc6287ed6bca7a253469524808.jpg","text":"TemporaryFile(/tmp/multipartBody551049671885385634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191672943,"filename":"image_02052025_12_50_27_9624.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a08d8d74b4264d4abc769a79932e813.jpg","text":"TemporaryFile(/tmp/multipartBody254784607748014806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191672943,"filename":"image_02052025_12_50_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/5/2/d044c9f8f3cc677350878079f4b6427e.jpg","text":"TemporaryFile(/tmp/multipartBody2501184909374973856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191672943,"filename":"image_02052025_12_50_07_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4194f21b43348275389b3c8422a5472d.jpg","text":"TemporaryFile(/tmp/multipartBody205341811371359880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191672943,"filename":"image_02052025_12_50_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/5/2/d8344e07de2941b6c44a942d2bf0c766.jpg","text":"TemporaryFile(/tmp/multipartBody8917405792000989454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191672943,"filename":"image_02052025_12_49_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/5/2/8d334a96418f1de6b4baaa84a7036664.jpg","text":"TemporaryFile(/tmp/multipartBody4261251025972180432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191672943,"filename":"image_02052025_12_50_37_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355331651","file1":"1355331594","file0":"1355331542","file4":"1355331803","file5":"1355331857","file3":"1355331733"},"map_files_photo_id_array":[{"photo_id":"1355331857","filename":"file5"},{"photo_id":"1355331651","filename":"file2"},{"photo_id":"1355331803","filename":"file4"},{"photo_id":"1355331594","filename":"file1"},{"photo_id":"1355331542","filename":"file0"},{"photo_id":"1355331733","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355331733":["hashtag1","hashtag2"]},{"1355331651":["hashtag1","hashtag2"]},{"1355331594":["hashtag1","hashtag2"]},{"1355331857":["hashtag1","hashtag2"]},{"1355331542":["hashtag1","hashtag2"]},{"1355331803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355331733, 1355331651, 1355331594, 1355331857, 1355331542, 1355331803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.694196701049805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:14:32.707365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/50/image_02052025_12_50_57_10364.jpg', '/home/pi/Desktop/images/02052025/12/50/image_02052025_12_51_07_10431.jpg', '/home/pi/Desktop/images/02052025/12/51/image_02052025_12_51_16_9464.jpg', '/home/pi/Desktop/images/02052025/12/51/image_02052025_12_51_27_10357.jpg', '/home/pi/Desktop/images/02052025/12/51/image_02052025_12_51_36_9562.jpg', '/home/pi/Desktop/images/02052025/12/51/image_02052025_12_51_47_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/50/image_02052025_12_50_57_10364.jpg
/home/pi/Desktop/images/02052025/12/50/image_02052025_12_51_07_10431.jpg
/home/pi/Desktop/images/02052025/12/51/image_02052025_12_51_16_9464.jpg
/home/pi/Desktop/images/02052025/12/51/image_02052025_12_51_27_10357.jpg
/home/pi/Desktop/images/02052025/12/51/image_02052025_12_51_36_9562.jpg
/home/pi/Desktop/images/02052025/12/51/image_02052025_12_51_47_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":["1355332630","1355332869","1355332704","1355332844","1355332817","1355332894"],"photo_ids_order":["1355332630","1355332704","1355332817","1355332844","1355332869","1355332894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/44ffc5cdae278f7d634dd2dea936c19e.jpg","text":"TemporaryFile(/tmp/multipartBody2505386406963557276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191733179,"filename":"image_02052025_12_50_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/5/2/3178d5d6eeb50245c36552230dc3b829.jpg","text":"TemporaryFile(/tmp/multipartBody3686579734832573133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191733179,"filename":"image_02052025_12_51_36_9562.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2859b856d43c01dec0bc39bc22e2764.jpg","text":"TemporaryFile(/tmp/multipartBody8008444599339682825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191733179,"filename":"image_02052025_12_51_07_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d25beed71d8ef74d03e4346e3c5c42eb.jpg","text":"TemporaryFile(/tmp/multipartBody5040403639869718256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191733179,"filename":"image_02052025_12_51_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/5/2/7d20a8ad2a7d1e6cdf10dcc7e2c8c838.jpg","text":"TemporaryFile(/tmp/multipartBody6801213178757753095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191733179,"filename":"image_02052025_12_51_16_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d9bba3ad760d5f147eb72db1cbd7dde.jpg","text":"TemporaryFile(/tmp/multipartBody7406758444542282891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191733179,"filename":"image_02052025_12_51_47_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355332817","file1":"1355332704","file0":"1355332630","file4":"1355332869","file5":"1355332894","file3":"1355332844"},"map_files_photo_id_array":[{"photo_id":"1355332894","filename":"file5"},{"photo_id":"1355332817","filename":"file2"},{"photo_id":"1355332869","filename":"file4"},{"photo_id":"1355332704","filename":"file1"},{"photo_id":"1355332630","filename":"file0"},{"photo_id":"1355332844","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355332630":["hashtag1","hashtag2"]},{"1355332869":["hashtag1","hashtag2"]},{"1355332704":["hashtag1","hashtag2"]},{"1355332844":["hashtag1","hashtag2"]},{"1355332817":["hashtag1","hashtag2"]},{"1355332894":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355332630, 1355332869, 1355332704, 1355332844, 1355332817, 1355332894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97802186012268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:15:33.064029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/51/image_02052025_12_51_57_10370.jpg', '/home/pi/Desktop/images/02052025/12/51/image_02052025_12_52_07_9450.jpg', '/home/pi/Desktop/images/02052025/12/52/image_02052025_12_52_17_10336.jpg', '/home/pi/Desktop/images/02052025/12/52/image_02052025_12_52_26_9355.jpg', '/home/pi/Desktop/images/02052025/12/52/image_02052025_12_52_37_10423.jpg', '/home/pi/Desktop/images/02052025/12/52/image_02052025_12_52_47_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/51/image_02052025_12_51_57_10370.jpg
/home/pi/Desktop/images/02052025/12/51/image_02052025_12_52_07_9450.jpg
/home/pi/Desktop/images/02052025/12/52/image_02052025_12_52_17_10336.jpg
/home/pi/Desktop/images/02052025/12/52/image_02052025_12_52_26_9355.jpg
/home/pi/Desktop/images/02052025/12/52/image_02052025_12_52_37_10423.jpg
/home/pi/Desktop/images/02052025/12/52/image_02052025_12_52_47_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":["1355333349","1355333211","1355333272","1355333239","1355333382","1355333298"],"photo_ids_order":["1355333211","1355333239","1355333272","1355333298","1355333349","1355333382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41bd48f5346370651cd29525270072f7.jpg","text":"TemporaryFile(/tmp/multipartBody8450261721591073333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191793550,"filename":"image_02052025_12_52_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/5/2/da6167748c5b8fb031406b5d29736d51.jpg","text":"TemporaryFile(/tmp/multipartBody165644376801431332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191793550,"filename":"image_02052025_12_51_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/5/2/96601fdca712e671dfa1066016faf466.jpg","text":"TemporaryFile(/tmp/multipartBody3975303042578924139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191793550,"filename":"image_02052025_12_52_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/5/2/797ea1cf6b5f918989c88bc9a85011c6.jpg","text":"TemporaryFile(/tmp/multipartBody1651479788866006460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191793550,"filename":"image_02052025_12_52_07_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f02a2f319f0239367209973dd0237794.jpg","text":"TemporaryFile(/tmp/multipartBody2560147148917282857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191793550,"filename":"image_02052025_12_52_47_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec9fd0c785d5a63bb1e0de4552cbb602.jpg","text":"TemporaryFile(/tmp/multipartBody2021035930340110303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191793550,"filename":"image_02052025_12_52_26_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355333272","file1":"1355333239","file0":"1355333211","file4":"1355333349","file5":"1355333382","file3":"1355333298"},"map_files_photo_id_array":[{"photo_id":"1355333382","filename":"file5"},{"photo_id":"1355333272","filename":"file2"},{"photo_id":"1355333349","filename":"file4"},{"photo_id":"1355333239","filename":"file1"},{"photo_id":"1355333211","filename":"file0"},{"photo_id":"1355333298","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355333349":["hashtag1","hashtag2"]},{"1355333211":["hashtag1","hashtag2"]},{"1355333272":["hashtag1","hashtag2"]},{"1355333239":["hashtag1","hashtag2"]},{"1355333382":["hashtag1","hashtag2"]},{"1355333298":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355333349, 1355333211, 1355333272, 1355333239, 1355333382, 1355333298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29109191894531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:16:32.315928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/52/image_02052025_12_52_56_9349.jpg', '/home/pi/Desktop/images/02052025/12/52/image_02052025_12_53_07_10343.jpg', '/home/pi/Desktop/images/02052025/12/53/image_02052025_12_53_16_9328.jpg', '/home/pi/Desktop/images/02052025/12/53/image_02052025_12_53_27_10364.jpg', '/home/pi/Desktop/images/02052025/12/53/image_02052025_12_53_37_10355.jpg', '/home/pi/Desktop/images/02052025/12/53/image_02052025_12_53_46_9460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/52/image_02052025_12_52_56_9349.jpg
/home/pi/Desktop/images/02052025/12/52/image_02052025_12_53_07_10343.jpg
/home/pi/Desktop/images/02052025/12/53/image_02052025_12_53_16_9328.jpg
/home/pi/Desktop/images/02052025/12/53/image_02052025_12_53_27_10364.jpg
/home/pi/Desktop/images/02052025/12/53/image_02052025_12_53_37_10355.jpg
/home/pi/Desktop/images/02052025/12/53/image_02052025_12_53_46_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355333802","1355333741","1355333647","1355333626","1355333691","1355333766"],"photo_ids_order":["1355333626","1355333647","1355333691","1355333741","1355333766","1355333802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e28694b081c832a6fbf76e1f583a2953.jpg","text":"TemporaryFile(/tmp/multipartBody3641759853933581261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191852806,"filename":"image_02052025_12_53_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/5/2/87cb648b0584a9e55e1aabe41ddba144.jpg","text":"TemporaryFile(/tmp/multipartBody2816475718399398186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191852806,"filename":"image_02052025_12_53_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/5/2/8559697146bd2713d77903f215497bcb.jpg","text":"TemporaryFile(/tmp/multipartBody8945548064884749223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191852806,"filename":"image_02052025_12_53_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/5/2/3d476c715ff76173def81390861fc387.jpg","text":"TemporaryFile(/tmp/multipartBody1867257008780061743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191852806,"filename":"image_02052025_12_52_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/5/2/160c40a8feea5e55f2f47f7cd0198759.jpg","text":"TemporaryFile(/tmp/multipartBody8937338827914304504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191852806,"filename":"image_02052025_12_53_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/5/2/ef092baf6be66f740b4b3fddbfe8c601.jpg","text":"TemporaryFile(/tmp/multipartBody722373635099653328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191852806,"filename":"image_02052025_12_53_37_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355333691","file1":"1355333647","file0":"1355333626","file4":"1355333766","file5":"1355333802","file3":"1355333741"},"map_files_photo_id_array":[{"photo_id":"1355333802","filename":"file5"},{"photo_id":"1355333691","filename":"file2"},{"photo_id":"1355333766","filename":"file4"},{"photo_id":"1355333647","filename":"file1"},{"photo_id":"1355333626","filename":"file0"},{"photo_id":"1355333741","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355333802":["hashtag1","hashtag2"]},{"1355333741":["hashtag1","hashtag2"]},{"1355333647":["hashtag1","hashtag2"]},{"1355333626":["hashtag1","hashtag2"]},{"1355333691":["hashtag1","hashtag2"]},{"1355333766":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355333802, 1355333741, 1355333647, 1355333626, 1355333691, 1355333766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.305340051651 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:17:32.470980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/53/image_02052025_12_53_57_10349.jpg', '/home/pi/Desktop/images/02052025/12/53/image_02052025_12_54_07_10339.jpg', '/home/pi/Desktop/images/02052025/12/54/image_02052025_12_54_16_9399.jpg', '/home/pi/Desktop/images/02052025/12/54/image_02052025_12_54_27_10360.jpg', '/home/pi/Desktop/images/02052025/12/54/image_02052025_12_54_36_9413.jpg', '/home/pi/Desktop/images/02052025/12/54/image_02052025_12_54_47_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/53/image_02052025_12_53_57_10349.jpg
/home/pi/Desktop/images/02052025/12/53/image_02052025_12_54_07_10339.jpg
/home/pi/Desktop/images/02052025/12/54/image_02052025_12_54_16_9399.jpg
/home/pi/Desktop/images/02052025/12/54/image_02052025_12_54_27_10360.jpg
/home/pi/Desktop/images/02052025/12/54/image_02052025_12_54_36_9413.jpg
/home/pi/Desktop/images/02052025/12/54/image_02052025_12_54_47_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":["1355334395","1355334461","1355334583","1355334286","1355334340","1355334522"],"photo_ids_order":["1355334286","1355334340","1355334395","1355334461","1355334522","1355334583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/017b940eec66106ab1c77499c09f0e2b.jpg","text":"TemporaryFile(/tmp/multipartBody7729608607308930168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191912930,"filename":"image_02052025_12_54_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/5/2/b168e6a3530cdb0de34a3d7f2b9a8fb4.jpg","text":"TemporaryFile(/tmp/multipartBody9141863583494979281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191912930,"filename":"image_02052025_12_54_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/5/2/a5569304fe76017419f6326e3987d655.jpg","text":"TemporaryFile(/tmp/multipartBody9182468757671088869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191912930,"filename":"image_02052025_12_54_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/5/2/fe0dad619e9ef135efcf8da53f0ad380.jpg","text":"TemporaryFile(/tmp/multipartBody8248536368513026084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191912930,"filename":"image_02052025_12_53_57_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7da4e6d518c1ba9ad942ecab9b35739.jpg","text":"TemporaryFile(/tmp/multipartBody4548811202284072482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191912930,"filename":"image_02052025_12_54_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/5/2/653c6346b8d1f0a346e8a5cc62c3fe6b.jpg","text":"TemporaryFile(/tmp/multipartBody9179882880573621030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191912930,"filename":"image_02052025_12_54_36_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355334395","file1":"1355334340","file0":"1355334286","file4":"1355334522","file5":"1355334583","file3":"1355334461"},"map_files_photo_id_array":[{"photo_id":"1355334583","filename":"file5"},{"photo_id":"1355334395","filename":"file2"},{"photo_id":"1355334522","filename":"file4"},{"photo_id":"1355334340","filename":"file1"},{"photo_id":"1355334286","filename":"file0"},{"photo_id":"1355334461","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355334395":["hashtag1","hashtag2"]},{"1355334461":["hashtag1","hashtag2"]},{"1355334583":["hashtag1","hashtag2"]},{"1355334286":["hashtag1","hashtag2"]},{"1355334340":["hashtag1","hashtag2"]},{"1355334522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355334395, 1355334461, 1355334583, 1355334286, 1355334340, 1355334522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24859595298767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:18:32.766895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/54/image_02052025_12_54_57_10355.jpg', '/home/pi/Desktop/images/02052025/12/54/image_02052025_12_55_06_9335.jpg', '/home/pi/Desktop/images/02052025/12/55/image_02052025_12_55_17_10419.jpg', '/home/pi/Desktop/images/02052025/12/55/image_02052025_12_55_27_10417.jpg', '/home/pi/Desktop/images/02052025/12/55/image_02052025_12_55_37_9409.jpg', '/home/pi/Desktop/images/02052025/12/55/image_02052025_12_55_47_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/54/image_02052025_12_54_57_10355.jpg
/home/pi/Desktop/images/02052025/12/54/image_02052025_12_55_06_9335.jpg
/home/pi/Desktop/images/02052025/12/55/image_02052025_12_55_17_10419.jpg
/home/pi/Desktop/images/02052025/12/55/image_02052025_12_55_27_10417.jpg
/home/pi/Desktop/images/02052025/12/55/image_02052025_12_55_37_9409.jpg
/home/pi/Desktop/images/02052025/12/55/image_02052025_12_55_47_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":["1355334890","1355334893","1355334881","1355334874","1355334838","1355334885"],"photo_ids_order":["1355334838","1355334874","1355334881","1355334885","1355334890","1355334893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/45ccff27f0c167e7bcbe779703ccdaf6.jpg","text":"TemporaryFile(/tmp/multipartBody3168334032438523921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191973280,"filename":"image_02052025_12_55_37_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/35d56d0e0b2d2cfe103d8fcab3ca17ec.jpg","text":"TemporaryFile(/tmp/multipartBody5853076660749618957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191973280,"filename":"image_02052025_12_55_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/5/2/c3e1d8456eb549ae02c3be11040ac4c5.jpg","text":"TemporaryFile(/tmp/multipartBody7022344495423143775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191973280,"filename":"image_02052025_12_55_17_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e34dded5303accdfe83a25cbb5e5659e.jpg","text":"TemporaryFile(/tmp/multipartBody3502214946008845188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191973280,"filename":"image_02052025_12_55_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/5/2/550fc7ea2ed05a126854d4a87263350d.jpg","text":"TemporaryFile(/tmp/multipartBody6751812726044144131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191973280,"filename":"image_02052025_12_54_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b36dba68bc5e647df560d57a8deefa2.jpg","text":"TemporaryFile(/tmp/multipartBody5625681035966161353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746191973280,"filename":"image_02052025_12_55_27_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355334881","file1":"1355334874","file0":"1355334838","file4":"1355334890","file5":"1355334893","file3":"1355334885"},"map_files_photo_id_array":[{"photo_id":"1355334893","filename":"file5"},{"photo_id":"1355334881","filename":"file2"},{"photo_id":"1355334890","filename":"file4"},{"photo_id":"1355334874","filename":"file1"},{"photo_id":"1355334838","filename":"file0"},{"photo_id":"1355334885","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355334890":["hashtag1","hashtag2"]},{"1355334893":["hashtag1","hashtag2"]},{"1355334881":["hashtag1","hashtag2"]},{"1355334874":["hashtag1","hashtag2"]},{"1355334838":["hashtag1","hashtag2"]},{"1355334885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355334890, 1355334893, 1355334881, 1355334874, 1355334838, 1355334885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30859661102295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:19:32.881671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/55/image_02052025_12_55_56_9354.jpg', '/home/pi/Desktop/images/02052025/12/55/image_02052025_12_56_07_10350.jpg', '/home/pi/Desktop/images/02052025/12/56/image_02052025_12_56_17_10355.jpg', '/home/pi/Desktop/images/02052025/12/56/image_02052025_12_56_26_9408.jpg', '/home/pi/Desktop/images/02052025/12/56/image_02052025_12_56_37_10370.jpg', '/home/pi/Desktop/images/02052025/12/56/image_02052025_12_56_47_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/55/image_02052025_12_55_56_9354.jpg
/home/pi/Desktop/images/02052025/12/55/image_02052025_12_56_07_10350.jpg
/home/pi/Desktop/images/02052025/12/56/image_02052025_12_56_17_10355.jpg
/home/pi/Desktop/images/02052025/12/56/image_02052025_12_56_26_9408.jpg
/home/pi/Desktop/images/02052025/12/56/image_02052025_12_56_37_10370.jpg
/home/pi/Desktop/images/02052025/12/56/image_02052025_12_56_47_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355335080","1355335083","1355335077","1355335065","1355335050","1355335053"],"photo_ids_order":["1355335050","1355335053","1355335065","1355335077","1355335080","1355335083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28b13866e0707b28ead7437d643137dc.jpg","text":"TemporaryFile(/tmp/multipartBody7376654203234952477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192033342,"filename":"image_02052025_12_56_37_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ac0f32a836d8f6bb646f51587ec86461.jpg","text":"TemporaryFile(/tmp/multipartBody5705861621279463608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192033342,"filename":"image_02052025_12_56_47_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a33fd4962d74f5cbff6c3c7724ab126d.jpg","text":"TemporaryFile(/tmp/multipartBody5862490522584740885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192033342,"filename":"image_02052025_12_56_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/5/2/3904575f5b28858fcdae456d0ced4396.jpg","text":"TemporaryFile(/tmp/multipartBody7880841615110977858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192033342,"filename":"image_02052025_12_56_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/5/2/bb8f3eed28976da4d0d65a8a6eb8bd6d.jpg","text":"TemporaryFile(/tmp/multipartBody5429013287699697877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192033342,"filename":"image_02052025_12_55_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e19e407a6d84bbaab4dc1c8b19315f4.jpg","text":"TemporaryFile(/tmp/multipartBody2169846047402448804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192033342,"filename":"image_02052025_12_56_07_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355335065","file1":"1355335053","file0":"1355335050","file4":"1355335080","file5":"1355335083","file3":"1355335077"},"map_files_photo_id_array":[{"photo_id":"1355335083","filename":"file5"},{"photo_id":"1355335065","filename":"file2"},{"photo_id":"1355335080","filename":"file4"},{"photo_id":"1355335053","filename":"file1"},{"photo_id":"1355335050","filename":"file0"},{"photo_id":"1355335077","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355335080":["hashtag1","hashtag2"]},{"1355335083":["hashtag1","hashtag2"]},{"1355335077":["hashtag1","hashtag2"]},{"1355335065":["hashtag1","hashtag2"]},{"1355335050":["hashtag1","hashtag2"]},{"1355335053":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355335080, 1355335083, 1355335077, 1355335065, 1355335050, 1355335053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55511689186096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:20:33.108854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/56/image_02052025_12_56_56_9362.jpg', '/home/pi/Desktop/images/02052025/12/56/image_02052025_12_57_07_10355.jpg', '/home/pi/Desktop/images/02052025/12/57/image_02052025_12_57_16_9350.jpg', '/home/pi/Desktop/images/02052025/12/57/image_02052025_12_57_27_10356.jpg', '/home/pi/Desktop/images/02052025/12/57/image_02052025_12_57_37_10329.jpg', '/home/pi/Desktop/images/02052025/12/57/image_02052025_12_57_46_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/56/image_02052025_12_56_56_9362.jpg
/home/pi/Desktop/images/02052025/12/56/image_02052025_12_57_07_10355.jpg
/home/pi/Desktop/images/02052025/12/57/image_02052025_12_57_16_9350.jpg
/home/pi/Desktop/images/02052025/12/57/image_02052025_12_57_27_10356.jpg
/home/pi/Desktop/images/02052025/12/57/image_02052025_12_57_37_10329.jpg
/home/pi/Desktop/images/02052025/12/57/image_02052025_12_57_46_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":["1355335276","1355335309","1355335359","1355335161","1355335221","1355335401"],"photo_ids_order":["1355335161","1355335221","1355335276","1355335309","1355335359","1355335401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9954e6d3b48016f2fbed2026d282ec66.jpg","text":"TemporaryFile(/tmp/multipartBody3240627374457620251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192093648,"filename":"image_02052025_12_57_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/5/2/c3d6ae79312ddcd4e74ce2850e107a2a.jpg","text":"TemporaryFile(/tmp/multipartBody8213205398480311377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192093648,"filename":"image_02052025_12_57_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/5/2/fa1dc8f03c266031fc7c87881980bafc.jpg","text":"TemporaryFile(/tmp/multipartBody7829430693173738682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192093648,"filename":"image_02052025_12_57_37_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8cb26ac3ecd6763aaa9eec1b487633d8.jpg","text":"TemporaryFile(/tmp/multipartBody5526990663982830797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192093648,"filename":"image_02052025_12_56_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/5/2/3c98f13b1e3b195dd7b855d2f8783240.jpg","text":"TemporaryFile(/tmp/multipartBody7990151488996178428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192093648,"filename":"image_02052025_12_57_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0fd8babe79e42bb50c1355504cd54305.jpg","text":"TemporaryFile(/tmp/multipartBody4299132288205020630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192093648,"filename":"image_02052025_12_57_46_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355335276","file1":"1355335221","file0":"1355335161","file4":"1355335359","file5":"1355335401","file3":"1355335309"},"map_files_photo_id_array":[{"photo_id":"1355335401","filename":"file5"},{"photo_id":"1355335276","filename":"file2"},{"photo_id":"1355335359","filename":"file4"},{"photo_id":"1355335221","filename":"file1"},{"photo_id":"1355335161","filename":"file0"},{"photo_id":"1355335309","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355335276":["hashtag1","hashtag2"]},{"1355335309":["hashtag1","hashtag2"]},{"1355335359":["hashtag1","hashtag2"]},{"1355335161":["hashtag1","hashtag2"]},{"1355335221":["hashtag1","hashtag2"]},{"1355335401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355335276, 1355335309, 1355335359, 1355335161, 1355335221, 1355335401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.314435720443726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:21:32.277058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/57/image_02052025_12_57_57_10444.jpg', '/home/pi/Desktop/images/02052025/12/57/image_02052025_12_58_07_10405.jpg', '/home/pi/Desktop/images/02052025/12/58/image_02052025_12_58_16_9401.jpg', '/home/pi/Desktop/images/02052025/12/58/image_02052025_12_58_27_10343.jpg', '/home/pi/Desktop/images/02052025/12/58/image_02052025_12_58_36_9368.jpg', '/home/pi/Desktop/images/02052025/12/58/image_02052025_12_58_47_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/57/image_02052025_12_57_57_10444.jpg
/home/pi/Desktop/images/02052025/12/57/image_02052025_12_58_07_10405.jpg
/home/pi/Desktop/images/02052025/12/58/image_02052025_12_58_16_9401.jpg
/home/pi/Desktop/images/02052025/12/58/image_02052025_12_58_27_10343.jpg
/home/pi/Desktop/images/02052025/12/58/image_02052025_12_58_36_9368.jpg
/home/pi/Desktop/images/02052025/12/58/image_02052025_12_58_47_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355335993","1355335960","1355336022","1355335929","1355336081","1355336048"],"photo_ids_order":["1355335929","1355335960","1355335993","1355336022","1355336048","1355336081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/519caca6cca9b4fa392a912fabbb9472.jpg","text":"TemporaryFile(/tmp/multipartBody7380025869377222921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192152768,"filename":"image_02052025_12_58_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/5/2/83a5f8a589f97e5680e4284b48970a45.jpg","text":"TemporaryFile(/tmp/multipartBody2917722498079247934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192152768,"filename":"image_02052025_12_58_07_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5030ca2e6da8aec670bb9b1db73d712e.jpg","text":"TemporaryFile(/tmp/multipartBody4841423679064737228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192152768,"filename":"image_02052025_12_58_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/5/2/c49fb8c5e85336c9036c9b30233fdc9a.jpg","text":"TemporaryFile(/tmp/multipartBody3200596571338482373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192152768,"filename":"image_02052025_12_57_57_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/15d2e8da3ac3cc5804fd68818d428f5b.jpg","text":"TemporaryFile(/tmp/multipartBody5828400179693277648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192152768,"filename":"image_02052025_12_58_47_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97f6669ad7e9170af00b8e2d98da3b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2728343276207159488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192152768,"filename":"image_02052025_12_58_36_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355335993","file1":"1355335960","file0":"1355335929","file4":"1355336048","file5":"1355336081","file3":"1355336022"},"map_files_photo_id_array":[{"photo_id":"1355336081","filename":"file5"},{"photo_id":"1355335993","filename":"file2"},{"photo_id":"1355336048","filename":"file4"},{"photo_id":"1355335960","filename":"file1"},{"photo_id":"1355335929","filename":"file0"},{"photo_id":"1355336022","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355335993":["hashtag1","hashtag2"]},{"1355335960":["hashtag1","hashtag2"]},{"1355336022":["hashtag1","hashtag2"]},{"1355335929":["hashtag1","hashtag2"]},{"1355336081":["hashtag1","hashtag2"]},{"1355336048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355335993, 1355335960, 1355336022, 1355335929, 1355336081, 1355336048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97649049758911 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:22:32.449732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/58/image_02052025_12_58_57_10442.jpg', '/home/pi/Desktop/images/02052025/12/58/image_02052025_12_59_06_9334.jpg', '/home/pi/Desktop/images/02052025/12/59/image_02052025_12_59_17_10338.jpg', '/home/pi/Desktop/images/02052025/12/59/image_02052025_12_59_26_9445.jpg', '/home/pi/Desktop/images/02052025/12/59/image_02052025_12_59_37_10432.jpg', '/home/pi/Desktop/images/02052025/12/59/image_02052025_12_59_47_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/58/image_02052025_12_58_57_10442.jpg
/home/pi/Desktop/images/02052025/12/58/image_02052025_12_59_06_9334.jpg
/home/pi/Desktop/images/02052025/12/59/image_02052025_12_59_17_10338.jpg
/home/pi/Desktop/images/02052025/12/59/image_02052025_12_59_26_9445.jpg
/home/pi/Desktop/images/02052025/12/59/image_02052025_12_59_37_10432.jpg
/home/pi/Desktop/images/02052025/12/59/image_02052025_12_59_47_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355336333","1355336449","1355336391","1355336447","1355336420","1355336363"],"photo_ids_order":["1355336333","1355336363","1355336391","1355336420","1355336447","1355336449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8da634d2d2a04b0faf4b5f45bce01ae6.jpg","text":"TemporaryFile(/tmp/multipartBody6171265339361648430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192212954,"filename":"image_02052025_12_58_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/5/2/29cceaeca4f5c200b550e4a878fd1e8d.jpg","text":"TemporaryFile(/tmp/multipartBody1780350752538019037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192212954,"filename":"image_02052025_12_59_47_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9b4af2cddb6243aae5811c72e11537e.jpg","text":"TemporaryFile(/tmp/multipartBody2618704780479632018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192212954,"filename":"image_02052025_12_59_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/5/2/cb27da869ecc05359ad3e8f7f16d9958.jpg","text":"TemporaryFile(/tmp/multipartBody5759095088213803517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192212954,"filename":"image_02052025_12_59_37_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ac25a45b8bea943917b3ecdd9ef1600d.jpg","text":"TemporaryFile(/tmp/multipartBody7802312379432844027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192212954,"filename":"image_02052025_12_59_26_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/549c27782b4671708ca23d65ef7a3d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6439089699138172550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192212954,"filename":"image_02052025_12_59_06_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355336391","file1":"1355336363","file0":"1355336333","file4":"1355336447","file5":"1355336449","file3":"1355336420"},"map_files_photo_id_array":[{"photo_id":"1355336449","filename":"file5"},{"photo_id":"1355336391","filename":"file2"},{"photo_id":"1355336447","filename":"file4"},{"photo_id":"1355336363","filename":"file1"},{"photo_id":"1355336333","filename":"file0"},{"photo_id":"1355336420","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355336333":["hashtag1","hashtag2"]},{"1355336449":["hashtag1","hashtag2"]},{"1355336391":["hashtag1","hashtag2"]},{"1355336447":["hashtag1","hashtag2"]},{"1355336420":["hashtag1","hashtag2"]},{"1355336363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355336333, 1355336449, 1355336391, 1355336447, 1355336420, 1355336363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.270594120025635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:23:32.653077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/12/59/image_02052025_12_59_56_9463.jpg', '/home/pi/Desktop/images/02052025/13/00/image_02052025_13_00_16_10078.jpg', '/home/pi/Desktop/images/02052025/13/00/image_02052025_13_00_27_10538.jpg', '/home/pi/Desktop/images/02052025/13/00/image_02052025_13_00_37_10360.jpg', '/home/pi/Desktop/images/02052025/13/00/image_02052025_13_00_46_9343.jpg', '/home/pi/Desktop/images/02052025/13/00/image_02052025_13_00_57_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/12/59/image_02052025_12_59_56_9463.jpg
/home/pi/Desktop/images/02052025/13/00/image_02052025_13_00_16_10078.jpg
/home/pi/Desktop/images/02052025/13/00/image_02052025_13_00_27_10538.jpg
/home/pi/Desktop/images/02052025/13/00/image_02052025_13_00_37_10360.jpg
/home/pi/Desktop/images/02052025/13/00/image_02052025_13_00_46_9343.jpg
/home/pi/Desktop/images/02052025/13/00/image_02052025_13_00_57_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":["1355336686","1355336866","1355336806","1355336957","1355336741","1355336714"],"photo_ids_order":["1355336686","1355336714","1355336741","1355336806","1355336866","1355336957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/04c831b44206da134b086417f9f109b0.jpg","text":"TemporaryFile(/tmp/multipartBody4736894834947487235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192273126,"filename":"image_02052025_12_59_56_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/18a15ba0f930796d8f6a2c9100932ae7.jpg","text":"TemporaryFile(/tmp/multipartBody1444916739221683524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192273126,"filename":"image_02052025_13_00_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/5/2/c52a70a4404b55af89d1d49ff4426e7d.jpg","text":"TemporaryFile(/tmp/multipartBody5986430653897542363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192273126,"filename":"image_02052025_13_00_37_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89777b2549a4704ec09da9bea26827a1.jpg","text":"TemporaryFile(/tmp/multipartBody8265794498143463512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192273126,"filename":"image_02052025_13_00_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/5/2/81186c6b3b1c89bbe8c56c7f946240cb.jpg","text":"TemporaryFile(/tmp/multipartBody8676442704697008391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192273126,"filename":"image_02052025_13_00_27_10538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/59f46a85cf0394a8889b7738d32f40ea.jpg","text":"TemporaryFile(/tmp/multipartBody7510764089581273113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192273126,"filename":"image_02052025_13_00_16_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355336741","file1":"1355336714","file0":"1355336686","file4":"1355336866","file5":"1355336957","file3":"1355336806"},"map_files_photo_id_array":[{"photo_id":"1355336957","filename":"file5"},{"photo_id":"1355336741","filename":"file2"},{"photo_id":"1355336866","filename":"file4"},{"photo_id":"1355336714","filename":"file1"},{"photo_id":"1355336686","filename":"file0"},{"photo_id":"1355336806","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355336686":["hashtag1","hashtag2"]},{"1355336866":["hashtag1","hashtag2"]},{"1355336806":["hashtag1","hashtag2"]},{"1355336957":["hashtag1","hashtag2"]},{"1355336741":["hashtag1","hashtag2"]},{"1355336714":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355336686, 1355336866, 1355336806, 1355336957, 1355336741, 1355336714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.44172692298889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:24:32.782572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/00/image_02052025_13_01_06_9330.jpg', '/home/pi/Desktop/images/02052025/13/01/image_02052025_13_01_16_10456.jpg', '/home/pi/Desktop/images/02052025/13/01/image_02052025_13_01_27_10419.jpg', '/home/pi/Desktop/images/02052025/13/01/image_02052025_13_01_36_9364.jpg', '/home/pi/Desktop/images/02052025/13/01/image_02052025_13_01_47_10381.jpg', '/home/pi/Desktop/images/02052025/13/01/image_02052025_13_01_56_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/00/image_02052025_13_01_06_9330.jpg
/home/pi/Desktop/images/02052025/13/01/image_02052025_13_01_16_10456.jpg
/home/pi/Desktop/images/02052025/13/01/image_02052025_13_01_27_10419.jpg
/home/pi/Desktop/images/02052025/13/01/image_02052025_13_01_36_9364.jpg
/home/pi/Desktop/images/02052025/13/01/image_02052025_13_01_47_10381.jpg
/home/pi/Desktop/images/02052025/13/01/image_02052025_13_01_56_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":["1355337379","1355337538","1355337319","1355337264","1355337437","1355337493"],"photo_ids_order":["1355337264","1355337319","1355337379","1355337437","1355337493","1355337538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/12d3f7f8b00e9584cfb793461e445921.jpg","text":"TemporaryFile(/tmp/multipartBody6896877004804510330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192333262,"filename":"image_02052025_13_01_27_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d15401726e5162ed247338080f614f8.jpg","text":"TemporaryFile(/tmp/multipartBody5656091433056018951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192333262,"filename":"image_02052025_13_01_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/5/2/1f45f38f46c01024b44b5f2dfcf08486.jpg","text":"TemporaryFile(/tmp/multipartBody3631382507055707322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192333262,"filename":"image_02052025_13_01_16_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/010a8df6eeceb69d51322c71c122995e.jpg","text":"TemporaryFile(/tmp/multipartBody3675749703257162057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192333262,"filename":"image_02052025_13_01_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/5/2/23db242644627ccacfeeed52e503f48d.jpg","text":"TemporaryFile(/tmp/multipartBody5031699652948255020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192333262,"filename":"image_02052025_13_01_36_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dabca0af559980ad4a67c2f590ce8f37.jpg","text":"TemporaryFile(/tmp/multipartBody964458695806186466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192333262,"filename":"image_02052025_13_01_47_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355337379","file1":"1355337319","file0":"1355337264","file4":"1355337493","file5":"1355337538","file3":"1355337437"},"map_files_photo_id_array":[{"photo_id":"1355337538","filename":"file5"},{"photo_id":"1355337379","filename":"file2"},{"photo_id":"1355337493","filename":"file4"},{"photo_id":"1355337319","filename":"file1"},{"photo_id":"1355337264","filename":"file0"},{"photo_id":"1355337437","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355337379":["hashtag1","hashtag2"]},{"1355337538":["hashtag1","hashtag2"]},{"1355337319":["hashtag1","hashtag2"]},{"1355337264":["hashtag1","hashtag2"]},{"1355337437":["hashtag1","hashtag2"]},{"1355337493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355337379, 1355337538, 1355337319, 1355337264, 1355337437, 1355337493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71655201911926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:25:34.577620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/01/image_02052025_13_02_06_10488.jpg', '/home/pi/Desktop/images/02052025/13/02/image_02052025_13_02_17_10357.jpg', '/home/pi/Desktop/images/02052025/13/02/image_02052025_13_02_26_9368.jpg', '/home/pi/Desktop/images/02052025/13/02/image_02052025_13_02_37_10428.jpg', '/home/pi/Desktop/images/02052025/13/02/image_02052025_13_02_46_9355.jpg', '/home/pi/Desktop/images/02052025/13/02/image_02052025_13_02_56_10500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/01/image_02052025_13_02_06_10488.jpg
/home/pi/Desktop/images/02052025/13/02/image_02052025_13_02_17_10357.jpg
/home/pi/Desktop/images/02052025/13/02/image_02052025_13_02_26_9368.jpg
/home/pi/Desktop/images/02052025/13/02/image_02052025_13_02_37_10428.jpg
/home/pi/Desktop/images/02052025/13/02/image_02052025_13_02_46_9355.jpg
/home/pi/Desktop/images/02052025/13/02/image_02052025_13_02_56_10500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355338000","1355338029","1355337974","1355337944","1355337911","1355337877"],"photo_ids_order":["1355337877","1355337911","1355337944","1355337974","1355338000","1355338029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/288b85b5b6fbf8dcf5144ba98ad41b6a.jpg","text":"TemporaryFile(/tmp/multipartBody5431529414893686252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192395060,"filename":"image_02052025_13_02_46_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cf564622c384e4cf12b3d24f1b1f0438.jpg","text":"TemporaryFile(/tmp/multipartBody9172778983490083612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192395060,"filename":"image_02052025_13_02_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/5/2/64fcd4823907dca9cc831ea513a0bca0.jpg","text":"TemporaryFile(/tmp/multipartBody2278453136809632458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192395060,"filename":"image_02052025_13_02_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/5/2/1f52e260d04f88cc7e4d557020f17767.jpg","text":"TemporaryFile(/tmp/multipartBody2796808466299470246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192395060,"filename":"image_02052025_13_02_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0873f09d387e490c73fe6e36f8a8b078.jpg","text":"TemporaryFile(/tmp/multipartBody8096782844358568476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192395060,"filename":"image_02052025_13_02_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81d758e03368cf23aa73d728ae85f100.jpg","text":"TemporaryFile(/tmp/multipartBody3718080736690849856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192395060,"filename":"image_02052025_13_02_06_10488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355337944","file1":"1355337911","file0":"1355337877","file4":"1355338000","file5":"1355338029","file3":"1355337974"},"map_files_photo_id_array":[{"photo_id":"1355338029","filename":"file5"},{"photo_id":"1355337944","filename":"file2"},{"photo_id":"1355338000","filename":"file4"},{"photo_id":"1355337911","filename":"file1"},{"photo_id":"1355337877","filename":"file0"},{"photo_id":"1355337974","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355338000":["hashtag1","hashtag2"]},{"1355338029":["hashtag1","hashtag2"]},{"1355337974":["hashtag1","hashtag2"]},{"1355337944":["hashtag1","hashtag2"]},{"1355337911":["hashtag1","hashtag2"]},{"1355337877":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355338000, 1355338029, 1355337974, 1355337944, 1355337911, 1355337877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63374733924866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:26:32.534923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/02/image_02052025_13_03_06_9425.jpg', '/home/pi/Desktop/images/02052025/13/03/image_02052025_13_03_16_10352.jpg', '/home/pi/Desktop/images/02052025/13/03/image_02052025_13_03_27_10419.jpg', '/home/pi/Desktop/images/02052025/13/03/image_02052025_13_03_36_9375.jpg', '/home/pi/Desktop/images/02052025/13/03/image_02052025_13_03_46_10397.jpg', '/home/pi/Desktop/images/02052025/13/03/image_02052025_13_03_57_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/02/image_02052025_13_03_06_9425.jpg
/home/pi/Desktop/images/02052025/13/03/image_02052025_13_03_16_10352.jpg
/home/pi/Desktop/images/02052025/13/03/image_02052025_13_03_27_10419.jpg
/home/pi/Desktop/images/02052025/13/03/image_02052025_13_03_36_9375.jpg
/home/pi/Desktop/images/02052025/13/03/image_02052025_13_03_46_10397.jpg
/home/pi/Desktop/images/02052025/13/03/image_02052025_13_03_57_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":["1355338242","1355338280","1355338274","1355338277","1355338282","1355338270"],"photo_ids_order":["1355338242","1355338270","1355338274","1355338277","1355338280","1355338282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1bb2661a46d5fa69548091c229b10eda.jpg","text":"TemporaryFile(/tmp/multipartBody2860651199813829252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192453020,"filename":"image_02052025_13_03_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/5/2/0802bf0ec0b92cb091bc415171756836.jpg","text":"TemporaryFile(/tmp/multipartBody7253119909338410805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192453020,"filename":"image_02052025_13_03_46_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a34cd9acac5e3e8b9476670d67f78a4.jpg","text":"TemporaryFile(/tmp/multipartBody221456010551340745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192453020,"filename":"image_02052025_13_03_27_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/989a272a587ba1a0dea128607c2fcd31.jpg","text":"TemporaryFile(/tmp/multipartBody2152803763491562451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192453020,"filename":"image_02052025_13_03_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/5/2/54d3fd25d26ae6585d9156314dfbb75d.jpg","text":"TemporaryFile(/tmp/multipartBody6646108921487014091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192453020,"filename":"image_02052025_13_03_57_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4539aa3d1f47d3de5fab2b4b1a020d6b.jpg","text":"TemporaryFile(/tmp/multipartBody265096766487651667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192453020,"filename":"image_02052025_13_03_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355338274","file1":"1355338270","file0":"1355338242","file4":"1355338280","file5":"1355338282","file3":"1355338277"},"map_files_photo_id_array":[{"photo_id":"1355338282","filename":"file5"},{"photo_id":"1355338274","filename":"file2"},{"photo_id":"1355338280","filename":"file4"},{"photo_id":"1355338270","filename":"file1"},{"photo_id":"1355338242","filename":"file0"},{"photo_id":"1355338277","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355338242":["hashtag1","hashtag2"]},{"1355338280":["hashtag1","hashtag2"]},{"1355338274":["hashtag1","hashtag2"]},{"1355338277":["hashtag1","hashtag2"]},{"1355338282":["hashtag1","hashtag2"]},{"1355338270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355338242, 1355338280, 1355338274, 1355338277, 1355338282, 1355338270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.723373651504517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:27:32.763922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/03/image_02052025_13_04_06_9363.jpg', '/home/pi/Desktop/images/02052025/13/04/image_02052025_13_04_17_10361.jpg', '/home/pi/Desktop/images/02052025/13/04/image_02052025_13_04_27_10355.jpg', '/home/pi/Desktop/images/02052025/13/04/image_02052025_13_04_36_9335.jpg', '/home/pi/Desktop/images/02052025/13/04/image_02052025_13_04_47_10439.jpg', '/home/pi/Desktop/images/02052025/13/04/image_02052025_13_04_56_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/03/image_02052025_13_04_06_9363.jpg
/home/pi/Desktop/images/02052025/13/04/image_02052025_13_04_17_10361.jpg
/home/pi/Desktop/images/02052025/13/04/image_02052025_13_04_27_10355.jpg
/home/pi/Desktop/images/02052025/13/04/image_02052025_13_04_36_9335.jpg
/home/pi/Desktop/images/02052025/13/04/image_02052025_13_04_47_10439.jpg
/home/pi/Desktop/images/02052025/13/04/image_02052025_13_04_56_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":["1355338312","1355338320","1355338323","1355338326","1355338328","1355338316"],"photo_ids_order":["1355338312","1355338316","1355338320","1355338323","1355338326","1355338328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53c2b545cc3f6e71273b83d036eb5452.jpg","text":"TemporaryFile(/tmp/multipartBody5096414593504352947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192513226,"filename":"image_02052025_13_04_06_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56ed254bf638dbc8a064c63bbd508254.jpg","text":"TemporaryFile(/tmp/multipartBody3752523862454547009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192513226,"filename":"image_02052025_13_04_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/5/2/a244fac1965fb6650e00c56790a72b1a.jpg","text":"TemporaryFile(/tmp/multipartBody7135407275145137969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192513226,"filename":"image_02052025_13_04_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/5/2/100d5ce66ebfb54f2ab3c83b26f04b83.jpg","text":"TemporaryFile(/tmp/multipartBody5123478342729767762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192513226,"filename":"image_02052025_13_04_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/5/2/f32d09641c470c94f2d5273bdac57cd8.jpg","text":"TemporaryFile(/tmp/multipartBody7419985421654381445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192513226,"filename":"image_02052025_13_04_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/5/2/49822c44d48d6c76337c66da6b5064d2.jpg","text":"TemporaryFile(/tmp/multipartBody3459169832158703394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192513226,"filename":"image_02052025_13_04_17_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355338320","file1":"1355338316","file0":"1355338312","file4":"1355338326","file5":"1355338328","file3":"1355338323"},"map_files_photo_id_array":[{"photo_id":"1355338328","filename":"file5"},{"photo_id":"1355338320","filename":"file2"},{"photo_id":"1355338326","filename":"file4"},{"photo_id":"1355338316","filename":"file1"},{"photo_id":"1355338312","filename":"file0"},{"photo_id":"1355338323","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355338312":["hashtag1","hashtag2"]},{"1355338320":["hashtag1","hashtag2"]},{"1355338323":["hashtag1","hashtag2"]},{"1355338326":["hashtag1","hashtag2"]},{"1355338328":["hashtag1","hashtag2"]},{"1355338316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355338312, 1355338320, 1355338323, 1355338326, 1355338328, 1355338316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.769882440567017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:28:33.024181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/04/image_02052025_13_05_06_10463.jpg', '/home/pi/Desktop/images/02052025/13/05/image_02052025_13_05_17_10410.jpg', '/home/pi/Desktop/images/02052025/13/05/image_02052025_13_05_26_9356.jpg', '/home/pi/Desktop/images/02052025/13/05/image_02052025_13_05_37_10355.jpg', '/home/pi/Desktop/images/02052025/13/05/image_02052025_13_05_46_9365.jpg', '/home/pi/Desktop/images/02052025/13/05/image_02052025_13_05_56_10495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/04/image_02052025_13_05_06_10463.jpg
/home/pi/Desktop/images/02052025/13/05/image_02052025_13_05_17_10410.jpg
/home/pi/Desktop/images/02052025/13/05/image_02052025_13_05_26_9356.jpg
/home/pi/Desktop/images/02052025/13/05/image_02052025_13_05_37_10355.jpg
/home/pi/Desktop/images/02052025/13/05/image_02052025_13_05_46_9365.jpg
/home/pi/Desktop/images/02052025/13/05/image_02052025_13_05_56_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":["1355338507","1355338595","1355338535","1355338622","1355338565","1355338477"],"photo_ids_order":["1355338477","1355338507","1355338535","1355338565","1355338595","1355338622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/57d51fb660060ec6586e6b7b3d97ecc0.jpg","text":"TemporaryFile(/tmp/multipartBody399329233357504198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192573495,"filename":"image_02052025_13_05_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/5/2/90561e92ecaad53118122ec656d4a357.jpg","text":"TemporaryFile(/tmp/multipartBody6742538441392450635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192573495,"filename":"image_02052025_13_05_46_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eec921d2b76b02e9a62a773944c6325f.jpg","text":"TemporaryFile(/tmp/multipartBody2862407319973139725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192573495,"filename":"image_02052025_13_05_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/5/2/73cceb09b4dd65f19310507c99171006.jpg","text":"TemporaryFile(/tmp/multipartBody957815688847623809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192573495,"filename":"image_02052025_13_05_56_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a0ed0673b3b9fd6df49d8214d06d478c.jpg","text":"TemporaryFile(/tmp/multipartBody4157496670912892963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192573495,"filename":"image_02052025_13_05_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/5/2/07cb92cb91e39cdf0fec9c737bb3f429.jpg","text":"TemporaryFile(/tmp/multipartBody521613240883086723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192573495,"filename":"image_02052025_13_05_06_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355338535","file1":"1355338507","file0":"1355338477","file4":"1355338595","file5":"1355338622","file3":"1355338565"},"map_files_photo_id_array":[{"photo_id":"1355338622","filename":"file5"},{"photo_id":"1355338535","filename":"file2"},{"photo_id":"1355338595","filename":"file4"},{"photo_id":"1355338507","filename":"file1"},{"photo_id":"1355338477","filename":"file0"},{"photo_id":"1355338565","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355338507":["hashtag1","hashtag2"]},{"1355338595":["hashtag1","hashtag2"]},{"1355338535":["hashtag1","hashtag2"]},{"1355338622":["hashtag1","hashtag2"]},{"1355338565":["hashtag1","hashtag2"]},{"1355338477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355338507, 1355338595, 1355338535, 1355338622, 1355338565, 1355338477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.356372356414795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:29:32.357758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/05/image_02052025_13_06_07_10431.jpg', '/home/pi/Desktop/images/02052025/13/06/image_02052025_13_06_16_9363.jpg', '/home/pi/Desktop/images/02052025/13/06/image_02052025_13_06_27_10360.jpg', '/home/pi/Desktop/images/02052025/13/06/image_02052025_13_06_36_9347.jpg', '/home/pi/Desktop/images/02052025/13/06/image_02052025_13_06_46_10488.jpg', '/home/pi/Desktop/images/02052025/13/06/image_02052025_13_06_57_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/05/image_02052025_13_06_07_10431.jpg
/home/pi/Desktop/images/02052025/13/06/image_02052025_13_06_16_9363.jpg
/home/pi/Desktop/images/02052025/13/06/image_02052025_13_06_27_10360.jpg
/home/pi/Desktop/images/02052025/13/06/image_02052025_13_06_36_9347.jpg
/home/pi/Desktop/images/02052025/13/06/image_02052025_13_06_46_10488.jpg
/home/pi/Desktop/images/02052025/13/06/image_02052025_13_06_57_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":["1355338965","1355338920","1355338967","1355338925","1355338888","1355338963"],"photo_ids_order":["1355338888","1355338920","1355338925","1355338963","1355338965","1355338967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/904866bbd48b6b6a30b59e1c8f93aab5.jpg","text":"TemporaryFile(/tmp/multipartBody8036586597241569339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192632828,"filename":"image_02052025_13_06_46_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/734613d520fe04343ff160dd34bbdad3.jpg","text":"TemporaryFile(/tmp/multipartBody5258085040108312838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192632828,"filename":"image_02052025_13_06_16_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c64d67d0b5e1d30c5703fba73007d951.jpg","text":"TemporaryFile(/tmp/multipartBody5538917566328759689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192632828,"filename":"image_02052025_13_06_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/5/2/d14e14721b03262f52b2753677c45469.jpg","text":"TemporaryFile(/tmp/multipartBody2428773101726079288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192632828,"filename":"image_02052025_13_06_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/5/2/9aec63eeb910f75c6a82c41fc53f2ea6.jpg","text":"TemporaryFile(/tmp/multipartBody5928602962486922701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192632828,"filename":"image_02052025_13_06_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/5/2/ebb0d63897d2fc87c7f70d275fd54d75.jpg","text":"TemporaryFile(/tmp/multipartBody5967371860512722003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192632828,"filename":"image_02052025_13_06_36_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355338925","file1":"1355338920","file0":"1355338888","file4":"1355338965","file5":"1355338967","file3":"1355338963"},"map_files_photo_id_array":[{"photo_id":"1355338967","filename":"file5"},{"photo_id":"1355338925","filename":"file2"},{"photo_id":"1355338965","filename":"file4"},{"photo_id":"1355338920","filename":"file1"},{"photo_id":"1355338888","filename":"file0"},{"photo_id":"1355338963","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355338965":["hashtag1","hashtag2"]},{"1355338920":["hashtag1","hashtag2"]},{"1355338967":["hashtag1","hashtag2"]},{"1355338925":["hashtag1","hashtag2"]},{"1355338888":["hashtag1","hashtag2"]},{"1355338963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355338965, 1355338920, 1355338967, 1355338925, 1355338888, 1355338963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88795495033264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:30:32.612114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/06/image_02052025_13_07_06_9372.jpg', '/home/pi/Desktop/images/02052025/13/07/image_02052025_13_07_17_10403.jpg', '/home/pi/Desktop/images/02052025/13/07/image_02052025_13_07_26_9364.jpg', '/home/pi/Desktop/images/02052025/13/07/image_02052025_13_07_36_10473.jpg', '/home/pi/Desktop/images/02052025/13/07/image_02052025_13_07_47_10427.jpg', '/home/pi/Desktop/images/02052025/13/07/image_02052025_13_07_56_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/06/image_02052025_13_07_06_9372.jpg
/home/pi/Desktop/images/02052025/13/07/image_02052025_13_07_17_10403.jpg
/home/pi/Desktop/images/02052025/13/07/image_02052025_13_07_26_9364.jpg
/home/pi/Desktop/images/02052025/13/07/image_02052025_13_07_36_10473.jpg
/home/pi/Desktop/images/02052025/13/07/image_02052025_13_07_47_10427.jpg
/home/pi/Desktop/images/02052025/13/07/image_02052025_13_07_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":["1355339154","1355338988","1355339126","1355339050","1355339017","1355339097"],"photo_ids_order":["1355338988","1355339017","1355339050","1355339097","1355339126","1355339154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86cb666712f46ab29b28f067bee8f312.jpg","text":"TemporaryFile(/tmp/multipartBody3047437292423688276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192693070,"filename":"image_02052025_13_07_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/5/2/ede9b3c33b5f8a491eb63c35d32dc3bb.jpg","text":"TemporaryFile(/tmp/multipartBody8226705719230844135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192693070,"filename":"image_02052025_13_07_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/5/2/254b831f7ea8abf709031c24948386a3.jpg","text":"TemporaryFile(/tmp/multipartBody8382104829205009641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192693070,"filename":"image_02052025_13_07_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/5/2/500720ce69a27d78fed23415c53a8fad.jpg","text":"TemporaryFile(/tmp/multipartBody1594083379452560954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192693070,"filename":"image_02052025_13_07_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed38c27dfa0abc8b30da9689f47cfc9e.jpg","text":"TemporaryFile(/tmp/multipartBody3132402291971948162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192693070,"filename":"image_02052025_13_07_17_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c66cc3b3d43950b6de49e5b11c539a7f.jpg","text":"TemporaryFile(/tmp/multipartBody4246816527844673693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192693070,"filename":"image_02052025_13_07_36_10473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355339050","file1":"1355339017","file0":"1355338988","file4":"1355339126","file5":"1355339154","file3":"1355339097"},"map_files_photo_id_array":[{"photo_id":"1355339154","filename":"file5"},{"photo_id":"1355339050","filename":"file2"},{"photo_id":"1355339126","filename":"file4"},{"photo_id":"1355339017","filename":"file1"},{"photo_id":"1355338988","filename":"file0"},{"photo_id":"1355339097","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355339154":["hashtag1","hashtag2"]},{"1355338988":["hashtag1","hashtag2"]},{"1355339126":["hashtag1","hashtag2"]},{"1355339050":["hashtag1","hashtag2"]},{"1355339017":["hashtag1","hashtag2"]},{"1355339097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355339154, 1355338988, 1355339126, 1355339050, 1355339017, 1355339097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37807488441467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:31:32.717737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/07/image_02052025_13_08_07_10442.jpg', '/home/pi/Desktop/images/02052025/13/08/image_02052025_13_08_16_9321.jpg', '/home/pi/Desktop/images/02052025/13/08/image_02052025_13_08_26_10469.jpg', '/home/pi/Desktop/images/02052025/13/08/image_02052025_13_08_37_10359.jpg', '/home/pi/Desktop/images/02052025/13/08/image_02052025_13_08_46_9447.jpg', '/home/pi/Desktop/images/02052025/13/08/image_02052025_13_08_57_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/07/image_02052025_13_08_07_10442.jpg
/home/pi/Desktop/images/02052025/13/08/image_02052025_13_08_16_9321.jpg
/home/pi/Desktop/images/02052025/13/08/image_02052025_13_08_26_10469.jpg
/home/pi/Desktop/images/02052025/13/08/image_02052025_13_08_37_10359.jpg
/home/pi/Desktop/images/02052025/13/08/image_02052025_13_08_46_9447.jpg
/home/pi/Desktop/images/02052025/13/08/image_02052025_13_08_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":["1355339379","1355339322","1355339360","1355339312","1355339335","1355339382"],"photo_ids_order":["1355339312","1355339322","1355339335","1355339360","1355339379","1355339382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/59d1b62cc54054703efb088e86637df0.jpg","text":"TemporaryFile(/tmp/multipartBody1029813353307150808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192753182,"filename":"image_02052025_13_08_46_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aea3ac2fa74dc64623fa81dc7256a071.jpg","text":"TemporaryFile(/tmp/multipartBody1515757000318622228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192753182,"filename":"image_02052025_13_08_16_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d199e93d62608e21e59210ab80ccebe.jpg","text":"TemporaryFile(/tmp/multipartBody8163777638845735645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192753182,"filename":"image_02052025_13_08_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/5/2/e2bca120905c784f16364073dbe41543.jpg","text":"TemporaryFile(/tmp/multipartBody7308091761053514324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192753182,"filename":"image_02052025_13_08_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/5/2/8d5b989ea0f9a618df078ab663e627e7.jpg","text":"TemporaryFile(/tmp/multipartBody1618594835368808706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192753182,"filename":"image_02052025_13_08_26_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b5b32ae3f3a730ea89d10a8163fb2aa.jpg","text":"TemporaryFile(/tmp/multipartBody7197432348981945555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192753182,"filename":"image_02052025_13_08_57_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355339335","file1":"1355339322","file0":"1355339312","file4":"1355339379","file5":"1355339382","file3":"1355339360"},"map_files_photo_id_array":[{"photo_id":"1355339382","filename":"file5"},{"photo_id":"1355339335","filename":"file2"},{"photo_id":"1355339379","filename":"file4"},{"photo_id":"1355339322","filename":"file1"},{"photo_id":"1355339312","filename":"file0"},{"photo_id":"1355339360","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355339379":["hashtag1","hashtag2"]},{"1355339322":["hashtag1","hashtag2"]},{"1355339360":["hashtag1","hashtag2"]},{"1355339312":["hashtag1","hashtag2"]},{"1355339335":["hashtag1","hashtag2"]},{"1355339382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355339379, 1355339322, 1355339360, 1355339312, 1355339335, 1355339382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.832813024520874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:32:32.884502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/08/image_02052025_13_09_06_9374.jpg', '/home/pi/Desktop/images/02052025/13/09/image_02052025_13_09_17_10468.jpg', '/home/pi/Desktop/images/02052025/13/09/image_02052025_13_09_27_10372.jpg', '/home/pi/Desktop/images/02052025/13/09/image_02052025_13_09_36_9362.jpg', '/home/pi/Desktop/images/02052025/13/09/image_02052025_13_09_47_10365.jpg', '/home/pi/Desktop/images/02052025/13/09/image_02052025_13_09_56_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/08/image_02052025_13_09_06_9374.jpg
/home/pi/Desktop/images/02052025/13/09/image_02052025_13_09_17_10468.jpg
/home/pi/Desktop/images/02052025/13/09/image_02052025_13_09_27_10372.jpg
/home/pi/Desktop/images/02052025/13/09/image_02052025_13_09_36_9362.jpg
/home/pi/Desktop/images/02052025/13/09/image_02052025_13_09_47_10365.jpg
/home/pi/Desktop/images/02052025/13/09/image_02052025_13_09_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":["1355339625","1355339726","1355339680","1355339710","1355339728","1355339592"],"photo_ids_order":["1355339592","1355339625","1355339680","1355339710","1355339726","1355339728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/170f3909163a42556a03c8fc6a4bc51b.jpg","text":"TemporaryFile(/tmp/multipartBody319988260323094711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192813340,"filename":"image_02052025_13_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/5/2/73cd995b42f3621cfe732e71051b3258.jpg","text":"TemporaryFile(/tmp/multipartBody3784245457142094593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192813340,"filename":"image_02052025_13_09_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/5/2/d3d4986e577585ec82a916d0ccf5f2fa.jpg","text":"TemporaryFile(/tmp/multipartBody6646463919740228186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192813340,"filename":"image_02052025_13_09_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/5/2/9a6773d93ff4aef62bc5e9b603a9b4f7.jpg","text":"TemporaryFile(/tmp/multipartBody5651918119599176022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192813340,"filename":"image_02052025_13_09_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/5/2/5628d429be63ea8573f4e7476aa306d8.jpg","text":"TemporaryFile(/tmp/multipartBody7087450582825754301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192813340,"filename":"image_02052025_13_09_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/5/2/b04e697ca28983e204b5cca2f52ac2e2.jpg","text":"TemporaryFile(/tmp/multipartBody2449028348169666851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192813340,"filename":"image_02052025_13_09_06_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355339680","file1":"1355339625","file0":"1355339592","file4":"1355339726","file5":"1355339728","file3":"1355339710"},"map_files_photo_id_array":[{"photo_id":"1355339728","filename":"file5"},{"photo_id":"1355339680","filename":"file2"},{"photo_id":"1355339726","filename":"file4"},{"photo_id":"1355339625","filename":"file1"},{"photo_id":"1355339592","filename":"file0"},{"photo_id":"1355339710","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355339625":["hashtag1","hashtag2"]},{"1355339726":["hashtag1","hashtag2"]},{"1355339680":["hashtag1","hashtag2"]},{"1355339710":["hashtag1","hashtag2"]},{"1355339728":["hashtag1","hashtag2"]},{"1355339592":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355339625, 1355339726, 1355339680, 1355339710, 1355339728, 1355339592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.922664403915405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:33:33.100244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/09/image_02052025_13_10_06_10344.jpg', '/home/pi/Desktop/images/02052025/13/10/image_02052025_13_10_17_10344.jpg', '/home/pi/Desktop/images/02052025/13/10/image_02052025_13_10_26_9436.jpg', '/home/pi/Desktop/images/02052025/13/10/image_02052025_13_10_36_10394.jpg', '/home/pi/Desktop/images/02052025/13/10/image_02052025_13_10_47_10374.jpg', '/home/pi/Desktop/images/02052025/13/10/image_02052025_13_10_56_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/09/image_02052025_13_10_06_10344.jpg
/home/pi/Desktop/images/02052025/13/10/image_02052025_13_10_17_10344.jpg
/home/pi/Desktop/images/02052025/13/10/image_02052025_13_10_26_9436.jpg
/home/pi/Desktop/images/02052025/13/10/image_02052025_13_10_36_10394.jpg
/home/pi/Desktop/images/02052025/13/10/image_02052025_13_10_47_10374.jpg
/home/pi/Desktop/images/02052025/13/10/image_02052025_13_10_56_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355339847","1355339792","1355339741","1355339737","1355339818","1355339766"],"photo_ids_order":["1355339737","1355339741","1355339766","1355339792","1355339818","1355339847"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/06afbb54f02d01b355f6ce96b5a825ef.jpg","text":"TemporaryFile(/tmp/multipartBody3188018364305810499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192873556,"filename":"image_02052025_13_10_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/5/2/26c10c2ffb92aad49f7537e54efa79f8.jpg","text":"TemporaryFile(/tmp/multipartBody8685499391098296494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192873556,"filename":"image_02052025_13_10_36_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b19b8473cdc35b640db494eee7c17d27.jpg","text":"TemporaryFile(/tmp/multipartBody3533939911567217313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192873556,"filename":"image_02052025_13_10_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/5/2/7bc298c2f9d9ebaf2912780d4e0af5bf.jpg","text":"TemporaryFile(/tmp/multipartBody6328837313295541907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192873556,"filename":"image_02052025_13_10_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/5/2/675e2dd0f9fa5cdddad274404eb0a593.jpg","text":"TemporaryFile(/tmp/multipartBody8589559044445224045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192873556,"filename":"image_02052025_13_10_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/5/2/a6c43ea209ba4f04f801ae470c481324.jpg","text":"TemporaryFile(/tmp/multipartBody2766568648006155658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192873556,"filename":"image_02052025_13_10_26_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355339766","file1":"1355339741","file0":"1355339737","file4":"1355339818","file5":"1355339847","file3":"1355339792"},"map_files_photo_id_array":[{"photo_id":"1355339847","filename":"file5"},{"photo_id":"1355339766","filename":"file2"},{"photo_id":"1355339818","filename":"file4"},{"photo_id":"1355339741","filename":"file1"},{"photo_id":"1355339737","filename":"file0"},{"photo_id":"1355339792","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355339847":["hashtag1","hashtag2"]},{"1355339792":["hashtag1","hashtag2"]},{"1355339741":["hashtag1","hashtag2"]},{"1355339737":["hashtag1","hashtag2"]},{"1355339818":["hashtag1","hashtag2"]},{"1355339766":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355339847, 1355339792, 1355339741, 1355339737, 1355339818, 1355339766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59781765937805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:34:32.246313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/10/image_02052025_13_11_07_10404.jpg', '/home/pi/Desktop/images/02052025/13/11/image_02052025_13_11_26_10440.jpg', '/home/pi/Desktop/images/02052025/13/11/image_02052025_13_11_37_10360.jpg', '/home/pi/Desktop/images/02052025/13/11/image_02052025_13_11_46_9355.jpg', '/home/pi/Desktop/images/02052025/13/11/image_02052025_13_11_56_10368.jpg', '/home/pi/Desktop/images/02052025/13/11/image_02052025_13_12_07_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/10/image_02052025_13_11_07_10404.jpg
/home/pi/Desktop/images/02052025/13/11/image_02052025_13_11_26_10440.jpg
/home/pi/Desktop/images/02052025/13/11/image_02052025_13_11_37_10360.jpg
/home/pi/Desktop/images/02052025/13/11/image_02052025_13_11_46_9355.jpg
/home/pi/Desktop/images/02052025/13/11/image_02052025_13_11_56_10368.jpg
/home/pi/Desktop/images/02052025/13/11/image_02052025_13_12_07_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":["1355340288","1355340177","1355340222","1355340005","1355340247","1355340061"],"photo_ids_order":["1355340005","1355340061","1355340177","1355340222","1355340247","1355340288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55d1f74695477e989ea18bf6fa4f4b8f.jpg","text":"TemporaryFile(/tmp/multipartBody7573410556297057524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192932704,"filename":"image_02052025_13_12_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a60f11cf9c69e7660a20e73282d214a.jpg","text":"TemporaryFile(/tmp/multipartBody1410419668215767620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192932704,"filename":"image_02052025_13_11_37_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/40ca7404c1a52ec1e6e015878a3fba24.jpg","text":"TemporaryFile(/tmp/multipartBody7455481396698136283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192932704,"filename":"image_02052025_13_11_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/5/2/f02da13d4cd8f8f1e377c1cd4b6268df.jpg","text":"TemporaryFile(/tmp/multipartBody1809181904348720580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192932704,"filename":"image_02052025_13_11_07_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30e1ec1f7b1ff88e5b794596b3e941cd.jpg","text":"TemporaryFile(/tmp/multipartBody201566676187285420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192932704,"filename":"image_02052025_13_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/5/2/aeca5bb47653a4d51cd78f6f963e6073.jpg","text":"TemporaryFile(/tmp/multipartBody7261413545210995111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192932704,"filename":"image_02052025_13_11_26_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355340177","file1":"1355340061","file0":"1355340005","file4":"1355340247","file5":"1355340288","file3":"1355340222"},"map_files_photo_id_array":[{"photo_id":"1355340288","filename":"file5"},{"photo_id":"1355340177","filename":"file2"},{"photo_id":"1355340247","filename":"file4"},{"photo_id":"1355340061","filename":"file1"},{"photo_id":"1355340005","filename":"file0"},{"photo_id":"1355340222","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355340288":["hashtag1","hashtag2"]},{"1355340177":["hashtag1","hashtag2"]},{"1355340222":["hashtag1","hashtag2"]},{"1355340005":["hashtag1","hashtag2"]},{"1355340247":["hashtag1","hashtag2"]},{"1355340061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355340288, 1355340177, 1355340222, 1355340005, 1355340247, 1355340061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.602428674697876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:35:32.486423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/12/image_02052025_13_12_16_9354.jpg', '/home/pi/Desktop/images/02052025/13/12/image_02052025_13_12_26_10221.jpg', '/home/pi/Desktop/images/02052025/13/12/image_02052025_13_12_37_10374.jpg', '/home/pi/Desktop/images/02052025/13/12/image_02052025_13_12_46_9393.jpg', '/home/pi/Desktop/images/02052025/13/12/image_02052025_13_12_57_10476.jpg', '/home/pi/Desktop/images/02052025/13/12/image_02052025_13_13_06_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/12/image_02052025_13_12_16_9354.jpg
/home/pi/Desktop/images/02052025/13/12/image_02052025_13_12_26_10221.jpg
/home/pi/Desktop/images/02052025/13/12/image_02052025_13_12_37_10374.jpg
/home/pi/Desktop/images/02052025/13/12/image_02052025_13_12_46_9393.jpg
/home/pi/Desktop/images/02052025/13/12/image_02052025_13_12_57_10476.jpg
/home/pi/Desktop/images/02052025/13/12/image_02052025_13_13_06_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355340429","1355340434","1355340419","1355340410","1355340439","1355340424"],"photo_ids_order":["1355340410","1355340419","1355340424","1355340429","1355340434","1355340439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/276eb19c190ab8a0cbe0834a97ffacb3.jpg","text":"TemporaryFile(/tmp/multipartBody2133496762228318041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192992984,"filename":"image_02052025_13_12_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/5/2/cb2915a3b0edf3ac1f014e2c86dc9a58.jpg","text":"TemporaryFile(/tmp/multipartBody5260623643783849696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192992984,"filename":"image_02052025_13_12_57_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/436d12f42671e7806f8ab3232421443f.jpg","text":"TemporaryFile(/tmp/multipartBody8044975253494625966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192992984,"filename":"image_02052025_13_12_26_10221.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/294cdd9c69ed7e059b45da59b4b0ec73.jpg","text":"TemporaryFile(/tmp/multipartBody5241777326250349338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192992984,"filename":"image_02052025_13_12_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7aa7df660dd093bd8af0b5479fd3a9cc.jpg","text":"TemporaryFile(/tmp/multipartBody7678990745731145175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192992984,"filename":"image_02052025_13_13_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/5/2/dfc9b7c0ef372c1d3697c5316df134c5.jpg","text":"TemporaryFile(/tmp/multipartBody7004475505988016757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746192992984,"filename":"image_02052025_13_12_37_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355340424","file1":"1355340419","file0":"1355340410","file4":"1355340434","file5":"1355340439","file3":"1355340429"},"map_files_photo_id_array":[{"photo_id":"1355340439","filename":"file5"},{"photo_id":"1355340424","filename":"file2"},{"photo_id":"1355340434","filename":"file4"},{"photo_id":"1355340419","filename":"file1"},{"photo_id":"1355340410","filename":"file0"},{"photo_id":"1355340429","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355340429":["hashtag1","hashtag2"]},{"1355340434":["hashtag1","hashtag2"]},{"1355340419":["hashtag1","hashtag2"]},{"1355340410":["hashtag1","hashtag2"]},{"1355340439":["hashtag1","hashtag2"]},{"1355340424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355340429, 1355340434, 1355340419, 1355340410, 1355340439, 1355340424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.020050287246704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:36:32.638108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/13/image_02052025_13_13_16_10400.jpg', '/home/pi/Desktop/images/02052025/13/13/image_02052025_13_13_36_9420.jpg', '/home/pi/Desktop/images/02052025/13/13/image_02052025_13_13_57_10355.jpg', '/home/pi/Desktop/images/02052025/13/13/image_02052025_13_14_06_9350.jpg', '/home/pi/Desktop/images/02052025/13/14/image_02052025_13_14_26_9363.jpg', '/home/pi/Desktop/images/02052025/13/14/image_02052025_13_14_36_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/13/image_02052025_13_13_16_10400.jpg
/home/pi/Desktop/images/02052025/13/13/image_02052025_13_13_36_9420.jpg
/home/pi/Desktop/images/02052025/13/13/image_02052025_13_13_57_10355.jpg
/home/pi/Desktop/images/02052025/13/13/image_02052025_13_14_06_9350.jpg
/home/pi/Desktop/images/02052025/13/14/image_02052025_13_14_26_9363.jpg
/home/pi/Desktop/images/02052025/13/14/image_02052025_13_14_36_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":["1355340540","1355340497","1355340530","1355340536","1355340509","1355340503"],"photo_ids_order":["1355340497","1355340503","1355340509","1355340530","1355340536","1355340540"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b0b373aa3b8305515a94c0808480c207.jpg","text":"TemporaryFile(/tmp/multipartBody4678802338468709044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193053109,"filename":"image_02052025_13_14_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/5/2/ae9098b9a525e5fad119f204b6d864db.jpg","text":"TemporaryFile(/tmp/multipartBody6301607153508620822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193053109,"filename":"image_02052025_13_13_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/5/2/cf4af261371ff8a60d7c1c625a96f65d.jpg","text":"TemporaryFile(/tmp/multipartBody8669762050768118336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193053109,"filename":"image_02052025_13_14_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/5/2/203bf19de79ebef0b43408146bc4359c.jpg","text":"TemporaryFile(/tmp/multipartBody2875036125684226553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193053109,"filename":"image_02052025_13_14_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/5/2/6601fd762578a0f7a4c49022a8d20626.jpg","text":"TemporaryFile(/tmp/multipartBody9209579258721975037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193053109,"filename":"image_02052025_13_13_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/46cc95d5e580a1402d81d3d910f3c08c.jpg","text":"TemporaryFile(/tmp/multipartBody8640567723113126293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193053109,"filename":"image_02052025_13_13_36_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355340509","file1":"1355340503","file0":"1355340497","file4":"1355340536","file5":"1355340540","file3":"1355340530"},"map_files_photo_id_array":[{"photo_id":"1355340540","filename":"file5"},{"photo_id":"1355340509","filename":"file2"},{"photo_id":"1355340536","filename":"file4"},{"photo_id":"1355340503","filename":"file1"},{"photo_id":"1355340497","filename":"file0"},{"photo_id":"1355340530","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355340540":["hashtag1","hashtag2"]},{"1355340497":["hashtag1","hashtag2"]},{"1355340530":["hashtag1","hashtag2"]},{"1355340536":["hashtag1","hashtag2"]},{"1355340509":["hashtag1","hashtag2"]},{"1355340503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355340540, 1355340497, 1355340530, 1355340536, 1355340509, 1355340503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.930360317230225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:37:32.788345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/14/image_02052025_13_14_47_10402.jpg', '/home/pi/Desktop/images/02052025/13/14/image_02052025_13_14_56_9357.jpg', '/home/pi/Desktop/images/02052025/13/15/image_02052025_13_15_16_9340.jpg', '/home/pi/Desktop/images/02052025/13/15/image_02052025_13_15_26_10437.jpg', '/home/pi/Desktop/images/02052025/13/15/image_02052025_13_15_37_10393.jpg', '/home/pi/Desktop/images/02052025/13/15/image_02052025_13_15_46_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/14/image_02052025_13_14_47_10402.jpg
/home/pi/Desktop/images/02052025/13/14/image_02052025_13_14_56_9357.jpg
/home/pi/Desktop/images/02052025/13/15/image_02052025_13_15_16_9340.jpg
/home/pi/Desktop/images/02052025/13/15/image_02052025_13_15_26_10437.jpg
/home/pi/Desktop/images/02052025/13/15/image_02052025_13_15_37_10393.jpg
/home/pi/Desktop/images/02052025/13/15/image_02052025_13_15_46_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355340693","1355340689","1355340671","1355340697","1355340641","1355340685"],"photo_ids_order":["1355340641","1355340671","1355340685","1355340689","1355340693","1355340697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7679a91dc65e4ebaba88e101f435e1f1.jpg","text":"TemporaryFile(/tmp/multipartBody3740086045850835502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193113251,"filename":"image_02052025_13_15_37_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/760fc830b97273a0529cc3adfa124c02.jpg","text":"TemporaryFile(/tmp/multipartBody2783544788568538667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193113251,"filename":"image_02052025_13_15_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/5/2/ddc864f9b43e2acc3ec76b4fbd2ffeb5.jpg","text":"TemporaryFile(/tmp/multipartBody3966376967190750972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193113251,"filename":"image_02052025_13_14_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/5/2/fe974ac2323950cfddfb4f611e98d468.jpg","text":"TemporaryFile(/tmp/multipartBody2124064811154522115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193113251,"filename":"image_02052025_13_15_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/5/2/ad5208e90de868a729d0998f55128319.jpg","text":"TemporaryFile(/tmp/multipartBody2684757439730006333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193113251,"filename":"image_02052025_13_14_47_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6cc0bff2c9ec6e8ee3f9caa5487ab1a2.jpg","text":"TemporaryFile(/tmp/multipartBody3003406038062462730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193113251,"filename":"image_02052025_13_15_16_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355340685","file1":"1355340671","file0":"1355340641","file4":"1355340693","file5":"1355340697","file3":"1355340689"},"map_files_photo_id_array":[{"photo_id":"1355340697","filename":"file5"},{"photo_id":"1355340685","filename":"file2"},{"photo_id":"1355340693","filename":"file4"},{"photo_id":"1355340671","filename":"file1"},{"photo_id":"1355340641","filename":"file0"},{"photo_id":"1355340689","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355340693":["hashtag1","hashtag2"]},{"1355340689":["hashtag1","hashtag2"]},{"1355340671":["hashtag1","hashtag2"]},{"1355340697":["hashtag1","hashtag2"]},{"1355340641":["hashtag1","hashtag2"]},{"1355340685":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355340693, 1355340689, 1355340671, 1355340697, 1355340641, 1355340685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8480749130249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:38:33.065729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/15/image_02052025_13_15_57_10368.jpg', '/home/pi/Desktop/images/02052025/13/15/image_02052025_13_16_07_10342.jpg', '/home/pi/Desktop/images/02052025/13/16/image_02052025_13_16_16_9330.jpg', '/home/pi/Desktop/images/02052025/13/16/image_02052025_13_16_27_10388.jpg', '/home/pi/Desktop/images/02052025/13/16/image_02052025_13_16_36_9392.jpg', '/home/pi/Desktop/images/02052025/13/16/image_02052025_13_16_46_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/15/image_02052025_13_15_57_10368.jpg
/home/pi/Desktop/images/02052025/13/15/image_02052025_13_16_07_10342.jpg
/home/pi/Desktop/images/02052025/13/16/image_02052025_13_16_16_9330.jpg
/home/pi/Desktop/images/02052025/13/16/image_02052025_13_16_27_10388.jpg
/home/pi/Desktop/images/02052025/13/16/image_02052025_13_16_36_9392.jpg
/home/pi/Desktop/images/02052025/13/16/image_02052025_13_16_46_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":["1355340808","1355340819","1355340813","1355340824","1355340833","1355340829"],"photo_ids_order":["1355340808","1355340813","1355340819","1355340824","1355340829","1355340833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d66190fe75ee5fd05b3a29b2436bb394.jpg","text":"TemporaryFile(/tmp/multipartBody8258171592647692597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193173528,"filename":"image_02052025_13_15_57_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8a81df252b24df18440b1c8a0f89965a.jpg","text":"TemporaryFile(/tmp/multipartBody5258904291810164044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193173528,"filename":"image_02052025_13_16_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/5/2/3c88ba5b7bd29c892a48b06790bb3638.jpg","text":"TemporaryFile(/tmp/multipartBody4405341535366741769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193173528,"filename":"image_02052025_13_16_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/5/2/3d14619a0cf5cf251526ec89303cb310.jpg","text":"TemporaryFile(/tmp/multipartBody576006533241400463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193173528,"filename":"image_02052025_13_16_27_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ea62d0084300fc3c4ec78a29b3a7427.jpg","text":"TemporaryFile(/tmp/multipartBody1658958629468859340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193173528,"filename":"image_02052025_13_16_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/5/2/3ad918961953ff118f9206e2abc1c7a4.jpg","text":"TemporaryFile(/tmp/multipartBody5698340360496427176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193173528,"filename":"image_02052025_13_16_36_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355340819","file1":"1355340813","file0":"1355340808","file4":"1355340829","file5":"1355340833","file3":"1355340824"},"map_files_photo_id_array":[{"photo_id":"1355340833","filename":"file5"},{"photo_id":"1355340819","filename":"file2"},{"photo_id":"1355340829","filename":"file4"},{"photo_id":"1355340813","filename":"file1"},{"photo_id":"1355340808","filename":"file0"},{"photo_id":"1355340824","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355340808":["hashtag1","hashtag2"]},{"1355340819":["hashtag1","hashtag2"]},{"1355340813":["hashtag1","hashtag2"]},{"1355340824":["hashtag1","hashtag2"]},{"1355340833":["hashtag1","hashtag2"]},{"1355340829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355340808, 1355340819, 1355340813, 1355340824, 1355340833, 1355340829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42878580093384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:39:32.254495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/16/image_02052025_13_16_57_10428.jpg', '/home/pi/Desktop/images/02052025/13/16/image_02052025_13_17_06_9363.jpg', '/home/pi/Desktop/images/02052025/13/17/image_02052025_13_17_16_10347.jpg', '/home/pi/Desktop/images/02052025/13/17/image_02052025_13_17_27_10383.jpg', '/home/pi/Desktop/images/02052025/13/17/image_02052025_13_17_36_9346.jpg', '/home/pi/Desktop/images/02052025/13/17/image_02052025_13_17_47_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/16/image_02052025_13_16_57_10428.jpg
/home/pi/Desktop/images/02052025/13/16/image_02052025_13_17_06_9363.jpg
/home/pi/Desktop/images/02052025/13/17/image_02052025_13_17_16_10347.jpg
/home/pi/Desktop/images/02052025/13/17/image_02052025_13_17_27_10383.jpg
/home/pi/Desktop/images/02052025/13/17/image_02052025_13_17_36_9346.jpg
/home/pi/Desktop/images/02052025/13/17/image_02052025_13_17_47_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":["1355340864","1355340846","1355340869","1355340860","1355340851","1355340871"],"photo_ids_order":["1355340846","1355340851","1355340860","1355340864","1355340869","1355340871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd7bc4b8bd41ff54e760d7b59b1d9337.jpg","text":"TemporaryFile(/tmp/multipartBody7014161207496608169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193232721,"filename":"image_02052025_13_17_27_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/056b68f597e602acabecb07abbc36a45.jpg","text":"TemporaryFile(/tmp/multipartBody1785271020397192631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193232721,"filename":"image_02052025_13_16_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/5/2/0ab1b70d00d2bd5a90e50c1e0d8afcc1.jpg","text":"TemporaryFile(/tmp/multipartBody8391486724280159746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193232721,"filename":"image_02052025_13_17_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/5/2/3523804183c20e8a9999635f5588c088.jpg","text":"TemporaryFile(/tmp/multipartBody8366393480404918627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193232721,"filename":"image_02052025_13_17_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/5/2/4e18482e96a029a62edd18c4d865aee0.jpg","text":"TemporaryFile(/tmp/multipartBody7319656929579538510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193232721,"filename":"image_02052025_13_17_06_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c18a596224ca3f33c682edbe620e61b7.jpg","text":"TemporaryFile(/tmp/multipartBody3900714914903265068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193232721,"filename":"image_02052025_13_17_47_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355340860","file1":"1355340851","file0":"1355340846","file4":"1355340869","file5":"1355340871","file3":"1355340864"},"map_files_photo_id_array":[{"photo_id":"1355340871","filename":"file5"},{"photo_id":"1355340860","filename":"file2"},{"photo_id":"1355340869","filename":"file4"},{"photo_id":"1355340851","filename":"file1"},{"photo_id":"1355340846","filename":"file0"},{"photo_id":"1355340864","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355340864":["hashtag1","hashtag2"]},{"1355340846":["hashtag1","hashtag2"]},{"1355340869":["hashtag1","hashtag2"]},{"1355340860":["hashtag1","hashtag2"]},{"1355340851":["hashtag1","hashtag2"]},{"1355340871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355340864, 1355340846, 1355340869, 1355340860, 1355340851, 1355340871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.728204011917114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:40:32.378559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/17/image_02052025_13_17_56_9350.jpg', '/home/pi/Desktop/images/02052025/13/17/image_02052025_13_18_06_10439.jpg', '/home/pi/Desktop/images/02052025/13/18/image_02052025_13_18_17_10340.jpg', '/home/pi/Desktop/images/02052025/13/18/image_02052025_13_18_26_9348.jpg', '/home/pi/Desktop/images/02052025/13/18/image_02052025_13_18_37_10447.jpg', '/home/pi/Desktop/images/02052025/13/18/image_02052025_13_18_46_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/17/image_02052025_13_17_56_9350.jpg
/home/pi/Desktop/images/02052025/13/17/image_02052025_13_18_06_10439.jpg
/home/pi/Desktop/images/02052025/13/18/image_02052025_13_18_17_10340.jpg
/home/pi/Desktop/images/02052025/13/18/image_02052025_13_18_26_9348.jpg
/home/pi/Desktop/images/02052025/13/18/image_02052025_13_18_37_10447.jpg
/home/pi/Desktop/images/02052025/13/18/image_02052025_13_18_46_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":["1355341140","1355341116","1355341065","1355341032","1355341132","1355341027"],"photo_ids_order":["1355341027","1355341032","1355341065","1355341116","1355341132","1355341140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8434f886a0d16b73658899a7e8838c08.jpg","text":"TemporaryFile(/tmp/multipartBody1142995463709450096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193292874,"filename":"image_02052025_13_18_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/5/2/6383e83e45e3766ae013b36d38912727.jpg","text":"TemporaryFile(/tmp/multipartBody4303550963886939925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193292874,"filename":"image_02052025_13_18_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8fb892637db0dd1170da2877a96e509b.jpg","text":"TemporaryFile(/tmp/multipartBody6149501202994972751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193292874,"filename":"image_02052025_13_18_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/5/2/f6ab62ed2d2c5f1afe70c59e398443c9.jpg","text":"TemporaryFile(/tmp/multipartBody2686771024413705978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193292874,"filename":"image_02052025_13_18_06_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0fee9eb6e644000e99e2c265ebaf9105.jpg","text":"TemporaryFile(/tmp/multipartBody2049839658514956863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193292874,"filename":"image_02052025_13_18_37_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9090aaea2f682a0b681286c8bd9eb39f.jpg","text":"TemporaryFile(/tmp/multipartBody6449010079231309982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193292874,"filename":"image_02052025_13_17_56_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355341065","file1":"1355341032","file0":"1355341027","file4":"1355341132","file5":"1355341140","file3":"1355341116"},"map_files_photo_id_array":[{"photo_id":"1355341140","filename":"file5"},{"photo_id":"1355341065","filename":"file2"},{"photo_id":"1355341132","filename":"file4"},{"photo_id":"1355341032","filename":"file1"},{"photo_id":"1355341027","filename":"file0"},{"photo_id":"1355341116","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355341140":["hashtag1","hashtag2"]},{"1355341116":["hashtag1","hashtag2"]},{"1355341065":["hashtag1","hashtag2"]},{"1355341032":["hashtag1","hashtag2"]},{"1355341132":["hashtag1","hashtag2"]},{"1355341027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355341140, 1355341116, 1355341065, 1355341032, 1355341132, 1355341027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.442763566970825 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:41:32.624272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/18/image_02052025_13_18_56_10372.jpg', '/home/pi/Desktop/images/02052025/13/18/image_02052025_13_19_07_10369.jpg', '/home/pi/Desktop/images/02052025/13/19/image_02052025_13_19_16_9336.jpg', '/home/pi/Desktop/images/02052025/13/19/image_02052025_13_19_26_10399.jpg', '/home/pi/Desktop/images/02052025/13/19/image_02052025_13_19_37_10400.jpg', '/home/pi/Desktop/images/02052025/13/19/image_02052025_13_19_46_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/18/image_02052025_13_18_56_10372.jpg
/home/pi/Desktop/images/02052025/13/18/image_02052025_13_19_07_10369.jpg
/home/pi/Desktop/images/02052025/13/19/image_02052025_13_19_16_9336.jpg
/home/pi/Desktop/images/02052025/13/19/image_02052025_13_19_26_10399.jpg
/home/pi/Desktop/images/02052025/13/19/image_02052025_13_19_37_10400.jpg
/home/pi/Desktop/images/02052025/13/19/image_02052025_13_19_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":["1355341551","1355341455","1355341424","1355341606","1355341507","1355341656"],"photo_ids_order":["1355341424","1355341455","1355341507","1355341551","1355341606","1355341656"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6276047e730e7fdf131a4acfbe4d75c8.jpg","text":"TemporaryFile(/tmp/multipartBody4235715056393076093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193353084,"filename":"image_02052025_13_19_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/5/2/d36147574b4fbebff0c2c85c4d5cc28c.jpg","text":"TemporaryFile(/tmp/multipartBody5054314353345865614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193353084,"filename":"image_02052025_13_19_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/5/2/a43caeeb783f2ce3534beb535a2f5d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6562168836335980193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193353084,"filename":"image_02052025_13_18_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/5/2/bfe6cee02ec0ea898d544257d9a720e4.jpg","text":"TemporaryFile(/tmp/multipartBody392412366698389608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193353084,"filename":"image_02052025_13_19_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/5/2/49d0f2b0070989840fc887e9c084db09.jpg","text":"TemporaryFile(/tmp/multipartBody3440915152958882234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193353084,"filename":"image_02052025_13_19_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/5/2/589ea3a78758be29796d3adb15a8db2c.jpg","text":"TemporaryFile(/tmp/multipartBody6419813413339467664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193353084,"filename":"image_02052025_13_19_46_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355341507","file1":"1355341455","file0":"1355341424","file4":"1355341606","file5":"1355341656","file3":"1355341551"},"map_files_photo_id_array":[{"photo_id":"1355341656","filename":"file5"},{"photo_id":"1355341507","filename":"file2"},{"photo_id":"1355341606","filename":"file4"},{"photo_id":"1355341455","filename":"file1"},{"photo_id":"1355341424","filename":"file0"},{"photo_id":"1355341551","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355341551":["hashtag1","hashtag2"]},{"1355341455":["hashtag1","hashtag2"]},{"1355341424":["hashtag1","hashtag2"]},{"1355341606":["hashtag1","hashtag2"]},{"1355341507":["hashtag1","hashtag2"]},{"1355341656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355341551, 1355341455, 1355341424, 1355341606, 1355341507, 1355341656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35362982749939 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:42:32.836503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/19/image_02052025_13_19_57_10424.jpg', '/home/pi/Desktop/images/02052025/13/19/image_02052025_13_20_06_9349.jpg', '/home/pi/Desktop/images/02052025/13/20/image_02052025_13_20_16_10411.jpg', '/home/pi/Desktop/images/02052025/13/20/image_02052025_13_20_27_10371.jpg', '/home/pi/Desktop/images/02052025/13/20/image_02052025_13_20_36_9357.jpg', '/home/pi/Desktop/images/02052025/13/20/image_02052025_13_20_47_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/19/image_02052025_13_19_57_10424.jpg
/home/pi/Desktop/images/02052025/13/19/image_02052025_13_20_06_9349.jpg
/home/pi/Desktop/images/02052025/13/20/image_02052025_13_20_16_10411.jpg
/home/pi/Desktop/images/02052025/13/20/image_02052025_13_20_27_10371.jpg
/home/pi/Desktop/images/02052025/13/20/image_02052025_13_20_36_9357.jpg
/home/pi/Desktop/images/02052025/13/20/image_02052025_13_20_47_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":["1355342144","1355342086","1355342173","1355342212","1355342052","1355342115"],"photo_ids_order":["1355342052","1355342086","1355342115","1355342144","1355342173","1355342212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb91cacca99d86322e9f780df99df8af.jpg","text":"TemporaryFile(/tmp/multipartBody181372746180429638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193413296,"filename":"image_02052025_13_20_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63b02261d0feabcd4ddb2d2bdfeb466b.jpg","text":"TemporaryFile(/tmp/multipartBody1913110990975129743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193413296,"filename":"image_02052025_13_20_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/5/2/2c0989f0d3e6053bf89f33b2ed894b00.jpg","text":"TemporaryFile(/tmp/multipartBody7149172249703146078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193413296,"filename":"image_02052025_13_20_36_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94c2156d5015fc0421e4c520f198f0a4.jpg","text":"TemporaryFile(/tmp/multipartBody3552863245050024276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193413296,"filename":"image_02052025_13_20_47_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b96b46dca21878b8893e033837a7b275.jpg","text":"TemporaryFile(/tmp/multipartBody1498511820569778722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193413296,"filename":"image_02052025_13_19_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/5/2/b24cbe93da1f86817b2bea55c31aa56f.jpg","text":"TemporaryFile(/tmp/multipartBody1311747818191303031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193413296,"filename":"image_02052025_13_20_16_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355342115","file1":"1355342086","file0":"1355342052","file4":"1355342173","file5":"1355342212","file3":"1355342144"},"map_files_photo_id_array":[{"photo_id":"1355342212","filename":"file5"},{"photo_id":"1355342115","filename":"file2"},{"photo_id":"1355342173","filename":"file4"},{"photo_id":"1355342086","filename":"file1"},{"photo_id":"1355342052","filename":"file0"},{"photo_id":"1355342144","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355342144":["hashtag1","hashtag2"]},{"1355342086":["hashtag1","hashtag2"]},{"1355342173":["hashtag1","hashtag2"]},{"1355342212":["hashtag1","hashtag2"]},{"1355342052":["hashtag1","hashtag2"]},{"1355342115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355342144, 1355342086, 1355342173, 1355342212, 1355342052, 1355342115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60051918029785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:43:33.024274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/20/image_02052025_13_20_56_9347.jpg', '/home/pi/Desktop/images/02052025/13/20/image_02052025_13_21_06_10357.jpg', '/home/pi/Desktop/images/02052025/13/21/image_02052025_13_21_17_10450.jpg', '/home/pi/Desktop/images/02052025/13/21/image_02052025_13_21_26_9357.jpg', '/home/pi/Desktop/images/02052025/13/21/image_02052025_13_21_37_10433.jpg', '/home/pi/Desktop/images/02052025/13/21/image_02052025_13_21_47_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/20/image_02052025_13_20_56_9347.jpg
/home/pi/Desktop/images/02052025/13/20/image_02052025_13_21_06_10357.jpg
/home/pi/Desktop/images/02052025/13/21/image_02052025_13_21_17_10450.jpg
/home/pi/Desktop/images/02052025/13/21/image_02052025_13_21_26_9357.jpg
/home/pi/Desktop/images/02052025/13/21/image_02052025_13_21_37_10433.jpg
/home/pi/Desktop/images/02052025/13/21/image_02052025_13_21_47_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355343155","1355343072","1355342877","1355343231","1355342967","1355343201"],"photo_ids_order":["1355342877","1355342967","1355343072","1355343155","1355343201","1355343231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ee7146fdb1f65331d7d0bf9e26afa94.jpg","text":"TemporaryFile(/tmp/multipartBody2778675779085115534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193473485,"filename":"image_02052025_13_21_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/5/2/be00e7492c7a634c968e77a0ac5e5c6e.jpg","text":"TemporaryFile(/tmp/multipartBody3915804924987984569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193473485,"filename":"image_02052025_13_21_17_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8522b09023d3c3d90641dea1380abdc0.jpg","text":"TemporaryFile(/tmp/multipartBody1607105958442977201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193473485,"filename":"image_02052025_13_20_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/5/2/ccd0fed9a08468aa0bddc1a84271751c.jpg","text":"TemporaryFile(/tmp/multipartBody1166194536905070665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193473485,"filename":"image_02052025_13_21_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/5/2/a2bdd0c983ddf130ff762bb8e0be7bfc.jpg","text":"TemporaryFile(/tmp/multipartBody5332366168263630609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193473485,"filename":"image_02052025_13_21_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f26f88c9e7f382845362cf033902ba2a.jpg","text":"TemporaryFile(/tmp/multipartBody3145963395968011902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193473485,"filename":"image_02052025_13_21_37_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355343072","file1":"1355342967","file0":"1355342877","file4":"1355343201","file5":"1355343231","file3":"1355343155"},"map_files_photo_id_array":[{"photo_id":"1355343231","filename":"file5"},{"photo_id":"1355343072","filename":"file2"},{"photo_id":"1355343201","filename":"file4"},{"photo_id":"1355342967","filename":"file1"},{"photo_id":"1355342877","filename":"file0"},{"photo_id":"1355343155","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355343155":["hashtag1","hashtag2"]},{"1355343072":["hashtag1","hashtag2"]},{"1355342877":["hashtag1","hashtag2"]},{"1355343231":["hashtag1","hashtag2"]},{"1355342967":["hashtag1","hashtag2"]},{"1355343201":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355343155, 1355343072, 1355342877, 1355343231, 1355342967, 1355343201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47405648231506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:44:32.377627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/21/image_02052025_13_21_56_9348.jpg', '/home/pi/Desktop/images/02052025/13/21/image_02052025_13_22_07_10411.jpg', '/home/pi/Desktop/images/02052025/13/22/image_02052025_13_22_16_9378.jpg', '/home/pi/Desktop/images/02052025/13/22/image_02052025_13_22_27_10497.jpg', '/home/pi/Desktop/images/02052025/13/22/image_02052025_13_22_37_10358.jpg', '/home/pi/Desktop/images/02052025/13/22/image_02052025_13_22_46_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/21/image_02052025_13_21_56_9348.jpg
/home/pi/Desktop/images/02052025/13/21/image_02052025_13_22_07_10411.jpg
/home/pi/Desktop/images/02052025/13/22/image_02052025_13_22_16_9378.jpg
/home/pi/Desktop/images/02052025/13/22/image_02052025_13_22_27_10497.jpg
/home/pi/Desktop/images/02052025/13/22/image_02052025_13_22_37_10358.jpg
/home/pi/Desktop/images/02052025/13/22/image_02052025_13_22_46_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":["1355343505","1355343448","1355343477","1355343591","1355343534","1355343426"],"photo_ids_order":["1355343426","1355343448","1355343477","1355343505","1355343534","1355343591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e24a3dbf95dbdef1b477fa16ac20eaa.jpg","text":"TemporaryFile(/tmp/multipartBody4317792639884428595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193532849,"filename":"image_02052025_13_22_27_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b63c5f54d358cb69cc5d8d3dc1467422.jpg","text":"TemporaryFile(/tmp/multipartBody7034204314547366349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193532849,"filename":"image_02052025_13_22_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/5/2/0744b4c11f9a7cbc9cab5495a36a1911.jpg","text":"TemporaryFile(/tmp/multipartBody5068073924728086117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193532849,"filename":"image_02052025_13_22_16_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a1636dadda985f6b7d56af8cd7ce985.jpg","text":"TemporaryFile(/tmp/multipartBody952272637720862159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193532849,"filename":"image_02052025_13_22_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/5/2/b16aed4b1879be2341888cf110c658b1.jpg","text":"TemporaryFile(/tmp/multipartBody4879922033755459462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193532849,"filename":"image_02052025_13_22_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/5/2/b29f4b09bbcc256206e3caf05938e291.jpg","text":"TemporaryFile(/tmp/multipartBody7848077808856405827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193532849,"filename":"image_02052025_13_21_56_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355343477","file1":"1355343448","file0":"1355343426","file4":"1355343534","file5":"1355343591","file3":"1355343505"},"map_files_photo_id_array":[{"photo_id":"1355343591","filename":"file5"},{"photo_id":"1355343477","filename":"file2"},{"photo_id":"1355343534","filename":"file4"},{"photo_id":"1355343448","filename":"file1"},{"photo_id":"1355343426","filename":"file0"},{"photo_id":"1355343505","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355343505":["hashtag1","hashtag2"]},{"1355343448":["hashtag1","hashtag2"]},{"1355343477":["hashtag1","hashtag2"]},{"1355343591":["hashtag1","hashtag2"]},{"1355343534":["hashtag1","hashtag2"]},{"1355343426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355343505, 1355343448, 1355343477, 1355343591, 1355343534, 1355343426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61340117454529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:45:32.488783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/22/image_02052025_13_22_57_10365.jpg', '/home/pi/Desktop/images/02052025/13/22/image_02052025_13_23_06_9340.jpg', '/home/pi/Desktop/images/02052025/13/23/image_02052025_13_23_16_10332.jpg', '/home/pi/Desktop/images/02052025/13/23/image_02052025_13_23_27_10472.jpg', '/home/pi/Desktop/images/02052025/13/23/image_02052025_13_23_36_9349.jpg', '/home/pi/Desktop/images/02052025/13/23/image_02052025_13_23_47_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/22/image_02052025_13_22_57_10365.jpg
/home/pi/Desktop/images/02052025/13/22/image_02052025_13_23_06_9340.jpg
/home/pi/Desktop/images/02052025/13/23/image_02052025_13_23_16_10332.jpg
/home/pi/Desktop/images/02052025/13/23/image_02052025_13_23_27_10472.jpg
/home/pi/Desktop/images/02052025/13/23/image_02052025_13_23_36_9349.jpg
/home/pi/Desktop/images/02052025/13/23/image_02052025_13_23_47_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":["1355344351","1355344489","1355344249","1355344516","1355344088","1355344169"],"photo_ids_order":["1355344088","1355344169","1355344249","1355344351","1355344489","1355344516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8bbb35a3d561fb3ec473986a821ab0d9.jpg","text":"TemporaryFile(/tmp/multipartBody2820645363492278122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193592958,"filename":"image_02052025_13_23_27_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e2ab4b5da393f1bb1718c78e34f41364.jpg","text":"TemporaryFile(/tmp/multipartBody1502211639251470409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193592958,"filename":"image_02052025_13_23_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/5/2/f123833d075c67d12e85a6ad246e079f.jpg","text":"TemporaryFile(/tmp/multipartBody4779340799348829445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193592958,"filename":"image_02052025_13_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/5/2/0784e4d31d658dc84906c49c5e288edd.jpg","text":"TemporaryFile(/tmp/multipartBody2699515397516594865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193592958,"filename":"image_02052025_13_23_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/5/2/e62d9778e2ff48e9e293e970fefa2c55.jpg","text":"TemporaryFile(/tmp/multipartBody1945367946690760259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193592958,"filename":"image_02052025_13_22_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/5/2/ae9baa7c33551298891b4eefe7247b7d.jpg","text":"TemporaryFile(/tmp/multipartBody1180667605553263276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193592958,"filename":"image_02052025_13_23_06_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355344249","file1":"1355344169","file0":"1355344088","file4":"1355344489","file5":"1355344516","file3":"1355344351"},"map_files_photo_id_array":[{"photo_id":"1355344516","filename":"file5"},{"photo_id":"1355344249","filename":"file2"},{"photo_id":"1355344489","filename":"file4"},{"photo_id":"1355344169","filename":"file1"},{"photo_id":"1355344088","filename":"file0"},{"photo_id":"1355344351","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355344351":["hashtag1","hashtag2"]},{"1355344489":["hashtag1","hashtag2"]},{"1355344249":["hashtag1","hashtag2"]},{"1355344516":["hashtag1","hashtag2"]},{"1355344088":["hashtag1","hashtag2"]},{"1355344169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355344351, 1355344489, 1355344249, 1355344516, 1355344088, 1355344169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51034736633301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:46:32.659567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/23/image_02052025_13_23_56_9411.jpg', '/home/pi/Desktop/images/02052025/13/23/image_02052025_13_24_06_10448.jpg', '/home/pi/Desktop/images/02052025/13/24/image_02052025_13_24_17_10353.jpg', '/home/pi/Desktop/images/02052025/13/24/image_02052025_13_24_26_9345.jpg', '/home/pi/Desktop/images/02052025/13/24/image_02052025_13_24_37_10427.jpg', '/home/pi/Desktop/images/02052025/13/24/image_02052025_13_24_47_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/23/image_02052025_13_23_56_9411.jpg
/home/pi/Desktop/images/02052025/13/23/image_02052025_13_24_06_10448.jpg
/home/pi/Desktop/images/02052025/13/24/image_02052025_13_24_17_10353.jpg
/home/pi/Desktop/images/02052025/13/24/image_02052025_13_24_26_9345.jpg
/home/pi/Desktop/images/02052025/13/24/image_02052025_13_24_37_10427.jpg
/home/pi/Desktop/images/02052025/13/24/image_02052025_13_24_47_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355344882","1355344864","1355344980","1355344836","1355344917","1355344806"],"photo_ids_order":["1355344806","1355344836","1355344864","1355344882","1355344917","1355344980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f8439bac9ce70067738cb4c157c6c850.jpg","text":"TemporaryFile(/tmp/multipartBody8215113879213574045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193653118,"filename":"image_02052025_13_24_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/5/2/3ddb766a22e0dee31d3b93ee6df1c168.jpg","text":"TemporaryFile(/tmp/multipartBody2833020991979937934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193653118,"filename":"image_02052025_13_24_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/5/2/e913a7f7ce604e902b8524a0c252c922.jpg","text":"TemporaryFile(/tmp/multipartBody550159419865766015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193653118,"filename":"image_02052025_13_24_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/5/2/c2c37d810a18291b0f2f592a07807788.jpg","text":"TemporaryFile(/tmp/multipartBody1689555330539519443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193653118,"filename":"image_02052025_13_24_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/5/2/569cd0cb27109341836d97bfe69d07d0.jpg","text":"TemporaryFile(/tmp/multipartBody7556539228865912307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193653118,"filename":"image_02052025_13_24_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/5/2/5c9e1c234ad01db2c790e9897b0410c3.jpg","text":"TemporaryFile(/tmp/multipartBody737526341519332763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193653118,"filename":"image_02052025_13_23_56_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355344864","file1":"1355344836","file0":"1355344806","file4":"1355344917","file5":"1355344980","file3":"1355344882"},"map_files_photo_id_array":[{"photo_id":"1355344980","filename":"file5"},{"photo_id":"1355344864","filename":"file2"},{"photo_id":"1355344917","filename":"file4"},{"photo_id":"1355344836","filename":"file1"},{"photo_id":"1355344806","filename":"file0"},{"photo_id":"1355344882","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355344882":["hashtag1","hashtag2"]},{"1355344864":["hashtag1","hashtag2"]},{"1355344980":["hashtag1","hashtag2"]},{"1355344836":["hashtag1","hashtag2"]},{"1355344917":["hashtag1","hashtag2"]},{"1355344806":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355344882, 1355344864, 1355344980, 1355344836, 1355344917, 1355344806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98689389228821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:47:32.878731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/24/image_02052025_13_24_56_9355.jpg', '/home/pi/Desktop/images/02052025/13/24/image_02052025_13_25_07_10424.jpg', '/home/pi/Desktop/images/02052025/13/25/image_02052025_13_25_16_9332.jpg', '/home/pi/Desktop/images/02052025/13/25/image_02052025_13_25_27_10534.jpg', '/home/pi/Desktop/images/02052025/13/25/image_02052025_13_25_37_10339.jpg', '/home/pi/Desktop/images/02052025/13/25/image_02052025_13_25_46_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/24/image_02052025_13_24_56_9355.jpg
/home/pi/Desktop/images/02052025/13/24/image_02052025_13_25_07_10424.jpg
/home/pi/Desktop/images/02052025/13/25/image_02052025_13_25_16_9332.jpg
/home/pi/Desktop/images/02052025/13/25/image_02052025_13_25_27_10534.jpg
/home/pi/Desktop/images/02052025/13/25/image_02052025_13_25_37_10339.jpg
/home/pi/Desktop/images/02052025/13/25/image_02052025_13_25_46_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":["1355345413","1355345292","1355345151","1355345352","1355345381","1355345216"],"photo_ids_order":["1355345151","1355345216","1355345292","1355345352","1355345381","1355345413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e36d4c486a4c22294f8655c33dc7baae.jpg","text":"TemporaryFile(/tmp/multipartBody207644424936756692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193713340,"filename":"image_02052025_13_25_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/5/2/9ede5daa584f7e5d19360b843fffe377.jpg","text":"TemporaryFile(/tmp/multipartBody5041340664869580320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193713340,"filename":"image_02052025_13_25_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/5/2/83407242ee8b4dd30d56bef3223949f0.jpg","text":"TemporaryFile(/tmp/multipartBody7779423382139469212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193713340,"filename":"image_02052025_13_24_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/5/2/069248b49ad1c29162733356cb21402c.jpg","text":"TemporaryFile(/tmp/multipartBody116980376349922673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193713340,"filename":"image_02052025_13_25_27_10534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3755a53fcde9536368a795c70a1362d.jpg","text":"TemporaryFile(/tmp/multipartBody5511082462329345899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193713340,"filename":"image_02052025_13_25_37_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97d78713c7fd2f2af14e898a756c161e.jpg","text":"TemporaryFile(/tmp/multipartBody4967649561276876768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193713340,"filename":"image_02052025_13_25_07_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355345292","file1":"1355345216","file0":"1355345151","file4":"1355345381","file5":"1355345413","file3":"1355345352"},"map_files_photo_id_array":[{"photo_id":"1355345413","filename":"file5"},{"photo_id":"1355345292","filename":"file2"},{"photo_id":"1355345381","filename":"file4"},{"photo_id":"1355345216","filename":"file1"},{"photo_id":"1355345151","filename":"file0"},{"photo_id":"1355345352","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355345413":["hashtag1","hashtag2"]},{"1355345292":["hashtag1","hashtag2"]},{"1355345151":["hashtag1","hashtag2"]},{"1355345352":["hashtag1","hashtag2"]},{"1355345381":["hashtag1","hashtag2"]},{"1355345216":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355345413, 1355345292, 1355345151, 1355345352, 1355345381, 1355345216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.80612659454346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:48:33.099162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/25/image_02052025_13_25_57_10420.jpg', '/home/pi/Desktop/images/02052025/13/25/image_02052025_13_26_06_9332.jpg', '/home/pi/Desktop/images/02052025/13/26/image_02052025_13_26_16_10424.jpg', '/home/pi/Desktop/images/02052025/13/26/image_02052025_13_26_27_10390.jpg', '/home/pi/Desktop/images/02052025/13/26/image_02052025_13_26_36_9321.jpg', '/home/pi/Desktop/images/02052025/13/26/image_02052025_13_26_47_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/25/image_02052025_13_25_57_10420.jpg
/home/pi/Desktop/images/02052025/13/25/image_02052025_13_26_06_9332.jpg
/home/pi/Desktop/images/02052025/13/26/image_02052025_13_26_16_10424.jpg
/home/pi/Desktop/images/02052025/13/26/image_02052025_13_26_27_10390.jpg
/home/pi/Desktop/images/02052025/13/26/image_02052025_13_26_36_9321.jpg
/home/pi/Desktop/images/02052025/13/26/image_02052025_13_26_47_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":["1355345512","1355345568","1355345619","1355345675","1355345738","1355345540"],"photo_ids_order":["1355345512","1355345540","1355345568","1355345619","1355345675","1355345738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f3004b88fd9ce6078fb3a49b5c7d72b.jpg","text":"TemporaryFile(/tmp/multipartBody6296114910515181465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193773554,"filename":"image_02052025_13_25_57_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4bc36763772dbb48967e4c9e5d39038f.jpg","text":"TemporaryFile(/tmp/multipartBody8451722491286577022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193773554,"filename":"image_02052025_13_26_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/00540c7e5a11640eea771c029878b628.jpg","text":"TemporaryFile(/tmp/multipartBody2967297393084881759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193773554,"filename":"image_02052025_13_26_27_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a37b59632a0bae0a76f1e14fb31f2d4c.jpg","text":"TemporaryFile(/tmp/multipartBody636314183346955280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193773554,"filename":"image_02052025_13_26_36_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/adffc41f0223b0e2bc97a55f4c1c7997.jpg","text":"TemporaryFile(/tmp/multipartBody3641248971122975957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193773554,"filename":"image_02052025_13_26_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/5/2/a61080115c52f88a03d2346dbeb2ae49.jpg","text":"TemporaryFile(/tmp/multipartBody2942633626433235157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193773554,"filename":"image_02052025_13_26_06_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355345568","file1":"1355345540","file0":"1355345512","file4":"1355345675","file5":"1355345738","file3":"1355345619"},"map_files_photo_id_array":[{"photo_id":"1355345738","filename":"file5"},{"photo_id":"1355345568","filename":"file2"},{"photo_id":"1355345675","filename":"file4"},{"photo_id":"1355345540","filename":"file1"},{"photo_id":"1355345512","filename":"file0"},{"photo_id":"1355345619","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355345512":["hashtag1","hashtag2"]},{"1355345568":["hashtag1","hashtag2"]},{"1355345619":["hashtag1","hashtag2"]},{"1355345675":["hashtag1","hashtag2"]},{"1355345738":["hashtag1","hashtag2"]},{"1355345540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355345512, 1355345568, 1355345619, 1355345675, 1355345738, 1355345540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56078267097473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:49:32.469771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/26/image_02052025_13_26_57_10359.jpg', '/home/pi/Desktop/images/02052025/13/26/image_02052025_13_27_06_9330.jpg', '/home/pi/Desktop/images/02052025/13/27/image_02052025_13_27_17_10427.jpg', '/home/pi/Desktop/images/02052025/13/27/image_02052025_13_27_26_9346.jpg', '/home/pi/Desktop/images/02052025/13/27/image_02052025_13_27_36_10482.jpg', '/home/pi/Desktop/images/02052025/13/27/image_02052025_13_27_47_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/26/image_02052025_13_26_57_10359.jpg
/home/pi/Desktop/images/02052025/13/26/image_02052025_13_27_06_9330.jpg
/home/pi/Desktop/images/02052025/13/27/image_02052025_13_27_17_10427.jpg
/home/pi/Desktop/images/02052025/13/27/image_02052025_13_27_26_9346.jpg
/home/pi/Desktop/images/02052025/13/27/image_02052025_13_27_36_10482.jpg
/home/pi/Desktop/images/02052025/13/27/image_02052025_13_27_47_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":["1355346103","1355345962","1355346071","1355346161","1355346130","1355346034"],"photo_ids_order":["1355345962","1355346034","1355346071","1355346103","1355346130","1355346161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7f5a75da592f7029d82e9f6e52f2e3c.jpg","text":"TemporaryFile(/tmp/multipartBody3890715064494443329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193832939,"filename":"image_02052025_13_27_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/5/2/e282721ff20c78c1cb06d72fec65d133.jpg","text":"TemporaryFile(/tmp/multipartBody8747628674612888664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193832939,"filename":"image_02052025_13_26_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0e4ef58cd8ba763a91e25c2c39aae78.jpg","text":"TemporaryFile(/tmp/multipartBody1331177852597990806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193832939,"filename":"image_02052025_13_27_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/5/2/9015f9e219df84582759662e4e2534e9.jpg","text":"TemporaryFile(/tmp/multipartBody2265618899143943913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193832939,"filename":"image_02052025_13_27_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/859d14f52e9994c91e58d10ea986c336.jpg","text":"TemporaryFile(/tmp/multipartBody5664327061515450545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193832939,"filename":"image_02052025_13_27_36_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d52e72f61919fae868056cf5fd529772.jpg","text":"TemporaryFile(/tmp/multipartBody1446855704434768946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193832939,"filename":"image_02052025_13_27_06_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355346071","file1":"1355346034","file0":"1355345962","file4":"1355346130","file5":"1355346161","file3":"1355346103"},"map_files_photo_id_array":[{"photo_id":"1355346161","filename":"file5"},{"photo_id":"1355346071","filename":"file2"},{"photo_id":"1355346130","filename":"file4"},{"photo_id":"1355346034","filename":"file1"},{"photo_id":"1355345962","filename":"file0"},{"photo_id":"1355346103","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355346103":["hashtag1","hashtag2"]},{"1355345962":["hashtag1","hashtag2"]},{"1355346071":["hashtag1","hashtag2"]},{"1355346161":["hashtag1","hashtag2"]},{"1355346130":["hashtag1","hashtag2"]},{"1355346034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355346103, 1355345962, 1355346071, 1355346161, 1355346130, 1355346034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22248125076294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:50:32.531385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/27/image_02052025_13_27_56_9401.jpg', '/home/pi/Desktop/images/02052025/13/27/image_02052025_13_28_07_10417.jpg', '/home/pi/Desktop/images/02052025/13/28/image_02052025_13_28_16_9336.jpg', '/home/pi/Desktop/images/02052025/13/28/image_02052025_13_28_26_10477.jpg', '/home/pi/Desktop/images/02052025/13/28/image_02052025_13_28_37_10356.jpg', '/home/pi/Desktop/images/02052025/13/28/image_02052025_13_28_46_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/27/image_02052025_13_27_56_9401.jpg
/home/pi/Desktop/images/02052025/13/27/image_02052025_13_28_07_10417.jpg
/home/pi/Desktop/images/02052025/13/28/image_02052025_13_28_16_9336.jpg
/home/pi/Desktop/images/02052025/13/28/image_02052025_13_28_26_10477.jpg
/home/pi/Desktop/images/02052025/13/28/image_02052025_13_28_37_10356.jpg
/home/pi/Desktop/images/02052025/13/28/image_02052025_13_28_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":["1355346360","1355346398","1355346428","1355346503","1355346460","1355346376"],"photo_ids_order":["1355346360","1355346376","1355346398","1355346428","1355346460","1355346503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85f20b385ecca0c60389bf3f38d927ff.jpg","text":"TemporaryFile(/tmp/multipartBody1013584402942543681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193892999,"filename":"image_02052025_13_27_56_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05c804e8d47e96ab09868ac7bcbee8c9.jpg","text":"TemporaryFile(/tmp/multipartBody3306359451216319924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193892999,"filename":"image_02052025_13_28_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/5/2/220422bc95d401965d2aff304b95a73e.jpg","text":"TemporaryFile(/tmp/multipartBody2852461842961476702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193892999,"filename":"image_02052025_13_28_26_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/974adc9678ee322eda9a7f90687d405a.jpg","text":"TemporaryFile(/tmp/multipartBody8773488391792941751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193892999,"filename":"image_02052025_13_28_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/5/2/73efc1dae5925e6165e3c6334469493a.jpg","text":"TemporaryFile(/tmp/multipartBody5001056195303208135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193892999,"filename":"image_02052025_13_28_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/5/2/01aa6ab4a30dd029517639aa93567d60.jpg","text":"TemporaryFile(/tmp/multipartBody3891005367860934923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193892999,"filename":"image_02052025_13_28_07_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355346398","file1":"1355346376","file0":"1355346360","file4":"1355346460","file5":"1355346503","file3":"1355346428"},"map_files_photo_id_array":[{"photo_id":"1355346503","filename":"file5"},{"photo_id":"1355346398","filename":"file2"},{"photo_id":"1355346460","filename":"file4"},{"photo_id":"1355346376","filename":"file1"},{"photo_id":"1355346360","filename":"file0"},{"photo_id":"1355346428","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355346360":["hashtag1","hashtag2"]},{"1355346398":["hashtag1","hashtag2"]},{"1355346428":["hashtag1","hashtag2"]},{"1355346503":["hashtag1","hashtag2"]},{"1355346460":["hashtag1","hashtag2"]},{"1355346376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355346360, 1355346398, 1355346428, 1355346503, 1355346460, 1355346376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50144863128662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:51:32.924141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/28/image_02052025_13_28_57_10355.jpg', '/home/pi/Desktop/images/02052025/13/28/image_02052025_13_29_07_10327.jpg', '/home/pi/Desktop/images/02052025/13/29/image_02052025_13_29_16_9399.jpg', '/home/pi/Desktop/images/02052025/13/29/image_02052025_13_29_27_10425.jpg', '/home/pi/Desktop/images/02052025/13/29/image_02052025_13_29_36_9328.jpg', '/home/pi/Desktop/images/02052025/13/29/image_02052025_13_29_47_10522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/28/image_02052025_13_28_57_10355.jpg
/home/pi/Desktop/images/02052025/13/28/image_02052025_13_29_07_10327.jpg
/home/pi/Desktop/images/02052025/13/29/image_02052025_13_29_16_9399.jpg
/home/pi/Desktop/images/02052025/13/29/image_02052025_13_29_27_10425.jpg
/home/pi/Desktop/images/02052025/13/29/image_02052025_13_29_36_9328.jpg
/home/pi/Desktop/images/02052025/13/29/image_02052025_13_29_47_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":["1355346705","1355346813","1355346865","1355346760","1355346556","1355346550"],"photo_ids_order":["1355346550","1355346556","1355346705","1355346760","1355346813","1355346865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0ad932d63c4c9e41fc2bb5ad23e09c4f.jpg","text":"TemporaryFile(/tmp/multipartBody2821434268541616658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193953377,"filename":"image_02052025_13_29_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/5/2/53b8e6c75f365867ece8a193be0103d8.jpg","text":"TemporaryFile(/tmp/multipartBody8319749967065598836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193953377,"filename":"image_02052025_13_29_36_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5647f32c616843a216ad8d455e292b60.jpg","text":"TemporaryFile(/tmp/multipartBody506035312820741227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193953377,"filename":"image_02052025_13_29_47_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/901070495503edb5d7a1dd248003a026.jpg","text":"TemporaryFile(/tmp/multipartBody5591441335013530058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193953377,"filename":"image_02052025_13_29_27_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56aec06bca4b8b8f198e9023db50e9a6.jpg","text":"TemporaryFile(/tmp/multipartBody7684744637222420017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193953377,"filename":"image_02052025_13_29_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/5/2/7ca932aa80759539e91e653294818747.jpg","text":"TemporaryFile(/tmp/multipartBody8665886370479276270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746193953377,"filename":"image_02052025_13_28_57_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355346705","file1":"1355346556","file0":"1355346550","file4":"1355346813","file5":"1355346865","file3":"1355346760"},"map_files_photo_id_array":[{"photo_id":"1355346865","filename":"file5"},{"photo_id":"1355346705","filename":"file2"},{"photo_id":"1355346813","filename":"file4"},{"photo_id":"1355346556","filename":"file1"},{"photo_id":"1355346550","filename":"file0"},{"photo_id":"1355346760","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355346705":["hashtag1","hashtag2"]},{"1355346813":["hashtag1","hashtag2"]},{"1355346865":["hashtag1","hashtag2"]},{"1355346760":["hashtag1","hashtag2"]},{"1355346556":["hashtag1","hashtag2"]},{"1355346550":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355346705, 1355346813, 1355346865, 1355346760, 1355346556, 1355346550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.531453132629395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:52:32.252245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/29/image_02052025_13_29_57_10354.jpg', '/home/pi/Desktop/images/02052025/13/29/image_02052025_13_30_06_9374.jpg', '/home/pi/Desktop/images/02052025/13/30/image_02052025_13_30_17_10370.jpg', '/home/pi/Desktop/images/02052025/13/30/image_02052025_13_30_26_9352.jpg', '/home/pi/Desktop/images/02052025/13/30/image_02052025_13_30_36_10453.jpg', '/home/pi/Desktop/images/02052025/13/30/image_02052025_13_30_56_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/29/image_02052025_13_29_57_10354.jpg
/home/pi/Desktop/images/02052025/13/29/image_02052025_13_30_06_9374.jpg
/home/pi/Desktop/images/02052025/13/30/image_02052025_13_30_17_10370.jpg
/home/pi/Desktop/images/02052025/13/30/image_02052025_13_30_26_9352.jpg
/home/pi/Desktop/images/02052025/13/30/image_02052025_13_30_36_10453.jpg
/home/pi/Desktop/images/02052025/13/30/image_02052025_13_30_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":["1355347254","1355347101","1355347195","1355347159","1355347225","1355347129"],"photo_ids_order":["1355347101","1355347129","1355347159","1355347195","1355347225","1355347254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e373155a9a6968fd98ad183b9c494c6.jpg","text":"TemporaryFile(/tmp/multipartBody9222095669098138675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194012717,"filename":"image_02052025_13_30_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/5/2/a428430430eac236721c3f2f0cdd8f43.jpg","text":"TemporaryFile(/tmp/multipartBody7176325580657596450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194012717,"filename":"image_02052025_13_29_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/5/2/6d1d7a4b51d6af4f17d43349f482680b.jpg","text":"TemporaryFile(/tmp/multipartBody6566486045661136762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194012717,"filename":"image_02052025_13_30_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9fad3117eb698c1ade31d510d8ec5d3.jpg","text":"TemporaryFile(/tmp/multipartBody7731331039433231082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194012717,"filename":"image_02052025_13_30_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/5/2/397b06bf11aae35ec97cf4a3b3db103e.jpg","text":"TemporaryFile(/tmp/multipartBody7844301922607431967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194012717,"filename":"image_02052025_13_30_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/5/2/a6fb8aa7eee3c303ebbf2d7a282a0aa8.jpg","text":"TemporaryFile(/tmp/multipartBody527286661136366960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194012717,"filename":"image_02052025_13_30_06_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355347159","file1":"1355347129","file0":"1355347101","file4":"1355347225","file5":"1355347254","file3":"1355347195"},"map_files_photo_id_array":[{"photo_id":"1355347254","filename":"file5"},{"photo_id":"1355347159","filename":"file2"},{"photo_id":"1355347225","filename":"file4"},{"photo_id":"1355347129","filename":"file1"},{"photo_id":"1355347101","filename":"file0"},{"photo_id":"1355347195","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355347254":["hashtag1","hashtag2"]},{"1355347101":["hashtag1","hashtag2"]},{"1355347195":["hashtag1","hashtag2"]},{"1355347159":["hashtag1","hashtag2"]},{"1355347225":["hashtag1","hashtag2"]},{"1355347129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355347254, 1355347101, 1355347195, 1355347159, 1355347225, 1355347129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.340298891067505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:53:32.460004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/31/image_02052025_13_31_17_10357.jpg', '/home/pi/Desktop/images/02052025/13/31/image_02052025_13_31_26_9340.jpg', '/home/pi/Desktop/images/02052025/13/31/image_02052025_13_31_37_10367.jpg', '/home/pi/Desktop/images/02052025/13/31/image_02052025_13_31_46_9387.jpg', '/home/pi/Desktop/images/02052025/13/31/image_02052025_13_31_56_10438.jpg', '/home/pi/Desktop/images/02052025/13/31/image_02052025_13_32_07_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/31/image_02052025_13_31_17_10357.jpg
/home/pi/Desktop/images/02052025/13/31/image_02052025_13_31_26_9340.jpg
/home/pi/Desktop/images/02052025/13/31/image_02052025_13_31_37_10367.jpg
/home/pi/Desktop/images/02052025/13/31/image_02052025_13_31_46_9387.jpg
/home/pi/Desktop/images/02052025/13/31/image_02052025_13_31_56_10438.jpg
/home/pi/Desktop/images/02052025/13/31/image_02052025_13_32_07_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":["1355347778","1355347691","1355347810","1355347732","1355347875","1355347635"],"photo_ids_order":["1355347635","1355347691","1355347732","1355347778","1355347810","1355347875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9658b88b40bef7b2a0e6a2cef897bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3315665350050223745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194072927,"filename":"image_02052025_13_31_46_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30068af567d463848d9798665eceb028.jpg","text":"TemporaryFile(/tmp/multipartBody3711323470942742518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194072927,"filename":"image_02052025_13_31_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/68633687217560ab4b1c94def71a8ac1.jpg","text":"TemporaryFile(/tmp/multipartBody6772024630637306592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194072927,"filename":"image_02052025_13_31_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/5/2/976d32ecc37622181405d89267dd433d.jpg","text":"TemporaryFile(/tmp/multipartBody1596822135135739385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194072927,"filename":"image_02052025_13_31_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/5/2/47f30d6ad13135e5309374620e0d7133.jpg","text":"TemporaryFile(/tmp/multipartBody3569675454437386770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194072927,"filename":"image_02052025_13_32_07_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/182801337577e55f60c8362cf18cae9c.jpg","text":"TemporaryFile(/tmp/multipartBody8996550666755925299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194072927,"filename":"image_02052025_13_31_17_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355347732","file1":"1355347691","file0":"1355347635","file4":"1355347810","file5":"1355347875","file3":"1355347778"},"map_files_photo_id_array":[{"photo_id":"1355347875","filename":"file5"},{"photo_id":"1355347732","filename":"file2"},{"photo_id":"1355347810","filename":"file4"},{"photo_id":"1355347691","filename":"file1"},{"photo_id":"1355347635","filename":"file0"},{"photo_id":"1355347778","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355347778":["hashtag1","hashtag2"]},{"1355347691":["hashtag1","hashtag2"]},{"1355347810":["hashtag1","hashtag2"]},{"1355347732":["hashtag1","hashtag2"]},{"1355347875":["hashtag1","hashtag2"]},{"1355347635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355347778, 1355347691, 1355347810, 1355347732, 1355347875, 1355347635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.515357971191406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:54:32.648058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/32/image_02052025_13_32_16_9378.jpg', '/home/pi/Desktop/images/02052025/13/32/image_02052025_13_32_27_10364.jpg', '/home/pi/Desktop/images/02052025/13/32/image_02052025_13_32_36_9400.jpg', '/home/pi/Desktop/images/02052025/13/32/image_02052025_13_32_46_10451.jpg', '/home/pi/Desktop/images/02052025/13/32/image_02052025_13_32_57_10380.jpg', '/home/pi/Desktop/images/02052025/13/32/image_02052025_13_33_06_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/32/image_02052025_13_32_16_9378.jpg
/home/pi/Desktop/images/02052025/13/32/image_02052025_13_32_27_10364.jpg
/home/pi/Desktop/images/02052025/13/32/image_02052025_13_32_36_9400.jpg
/home/pi/Desktop/images/02052025/13/32/image_02052025_13_32_46_10451.jpg
/home/pi/Desktop/images/02052025/13/32/image_02052025_13_32_57_10380.jpg
/home/pi/Desktop/images/02052025/13/32/image_02052025_13_33_06_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":["1355348237","1355348300","1355348269","1355348134","1355348200","1355348169"],"photo_ids_order":["1355348134","1355348169","1355348200","1355348237","1355348269","1355348300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/149e5b964332f88b25e3ffaa081af7cb.jpg","text":"TemporaryFile(/tmp/multipartBody851972166560788879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194133123,"filename":"image_02052025_13_32_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/5/2/335e989bba9c1d4f901b43e096ed8ac5.jpg","text":"TemporaryFile(/tmp/multipartBody4191288549338294298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194133123,"filename":"image_02052025_13_33_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c8300fae8e177bd87c72ecb89598c5b6.jpg","text":"TemporaryFile(/tmp/multipartBody8013800779318985367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194133123,"filename":"image_02052025_13_32_57_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d8c4a41ed4f28a817e0576154e4bbf7.jpg","text":"TemporaryFile(/tmp/multipartBody2257184814108664324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194133123,"filename":"image_02052025_13_32_16_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b4256222c4597efef94eefc2faed31e.jpg","text":"TemporaryFile(/tmp/multipartBody4041663935977268473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194133123,"filename":"image_02052025_13_32_36_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75ce6b2ea8a5149859358718609d1ee1.jpg","text":"TemporaryFile(/tmp/multipartBody6359618848487002084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194133123,"filename":"image_02052025_13_32_27_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355348200","file1":"1355348169","file0":"1355348134","file4":"1355348269","file5":"1355348300","file3":"1355348237"},"map_files_photo_id_array":[{"photo_id":"1355348300","filename":"file5"},{"photo_id":"1355348200","filename":"file2"},{"photo_id":"1355348269","filename":"file4"},{"photo_id":"1355348169","filename":"file1"},{"photo_id":"1355348134","filename":"file0"},{"photo_id":"1355348237","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355348237":["hashtag1","hashtag2"]},{"1355348300":["hashtag1","hashtag2"]},{"1355348269":["hashtag1","hashtag2"]},{"1355348134":["hashtag1","hashtag2"]},{"1355348200":["hashtag1","hashtag2"]},{"1355348169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355348237, 1355348300, 1355348269, 1355348134, 1355348200, 1355348169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84833216667175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:55:32.776456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/33/image_02052025_13_33_17_10412.jpg', '/home/pi/Desktop/images/02052025/13/33/image_02052025_13_33_26_9359.jpg', '/home/pi/Desktop/images/02052025/13/33/image_02052025_13_33_37_10750.jpg', '/home/pi/Desktop/images/02052025/13/33/image_02052025_13_33_46_9341.jpg', '/home/pi/Desktop/images/02052025/13/33/image_02052025_13_33_56_10394.jpg', '/home/pi/Desktop/images/02052025/13/33/image_02052025_13_34_07_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/33/image_02052025_13_33_17_10412.jpg
/home/pi/Desktop/images/02052025/13/33/image_02052025_13_33_26_9359.jpg
/home/pi/Desktop/images/02052025/13/33/image_02052025_13_33_37_10750.jpg
/home/pi/Desktop/images/02052025/13/33/image_02052025_13_33_46_9341.jpg
/home/pi/Desktop/images/02052025/13/33/image_02052025_13_33_56_10394.jpg
/home/pi/Desktop/images/02052025/13/33/image_02052025_13_34_07_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":["1355348678","1355348642","1355348612","1355348683","1355348668","1355348562"],"photo_ids_order":["1355348562","1355348612","1355348642","1355348668","1355348678","1355348683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/273324532a746b4ea1273c28ecccf1ba.jpg","text":"TemporaryFile(/tmp/multipartBody3537877673327750006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194193237,"filename":"image_02052025_13_33_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/5/2/7e39c1c2532439be049642d12f7ac909.jpg","text":"TemporaryFile(/tmp/multipartBody8392185416899730735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194193237,"filename":"image_02052025_13_33_37_10750.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0523db282db78d2ab5d45c40dc5934f2.jpg","text":"TemporaryFile(/tmp/multipartBody3470490850390291306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194193237,"filename":"image_02052025_13_33_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/5/2/05d9128a09efd4e84adcc2fc7afe8558.jpg","text":"TemporaryFile(/tmp/multipartBody2428665590509561808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194193237,"filename":"image_02052025_13_34_07_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/25e6bb00ec58b87d2c441978c2fc61dc.jpg","text":"TemporaryFile(/tmp/multipartBody9144681397888866313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194193237,"filename":"image_02052025_13_33_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/5/2/1bb74ba4c77c102bc33b466b6a43a760.jpg","text":"TemporaryFile(/tmp/multipartBody2870088869767451847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194193237,"filename":"image_02052025_13_33_17_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355348642","file1":"1355348612","file0":"1355348562","file4":"1355348678","file5":"1355348683","file3":"1355348668"},"map_files_photo_id_array":[{"photo_id":"1355348683","filename":"file5"},{"photo_id":"1355348642","filename":"file2"},{"photo_id":"1355348678","filename":"file4"},{"photo_id":"1355348612","filename":"file1"},{"photo_id":"1355348562","filename":"file0"},{"photo_id":"1355348668","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355348678":["hashtag1","hashtag2"]},{"1355348642":["hashtag1","hashtag2"]},{"1355348612":["hashtag1","hashtag2"]},{"1355348683":["hashtag1","hashtag2"]},{"1355348668":["hashtag1","hashtag2"]},{"1355348562":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355348678, 1355348642, 1355348612, 1355348683, 1355348668, 1355348562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92347025871277 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:56:32.947198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/34/image_02052025_13_34_16_9343.jpg', '/home/pi/Desktop/images/02052025/13/34/image_02052025_13_34_27_10444.jpg', '/home/pi/Desktop/images/02052025/13/34/image_02052025_13_34_36_9325.jpg', '/home/pi/Desktop/images/02052025/13/34/image_02052025_13_34_46_10448.jpg', '/home/pi/Desktop/images/02052025/13/34/image_02052025_13_34_57_10426.jpg', '/home/pi/Desktop/images/02052025/13/34/image_02052025_13_35_06_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/34/image_02052025_13_34_16_9343.jpg
/home/pi/Desktop/images/02052025/13/34/image_02052025_13_34_27_10444.jpg
/home/pi/Desktop/images/02052025/13/34/image_02052025_13_34_36_9325.jpg
/home/pi/Desktop/images/02052025/13/34/image_02052025_13_34_46_10448.jpg
/home/pi/Desktop/images/02052025/13/34/image_02052025_13_34_57_10426.jpg
/home/pi/Desktop/images/02052025/13/34/image_02052025_13_35_06_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355349002","1355348942","1355349052","1355348887","1355348784","1355348835"],"photo_ids_order":["1355348784","1355348835","1355348887","1355348942","1355349002","1355349052"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f947d221526ba41dfe481becf182ca7f.jpg","text":"TemporaryFile(/tmp/multipartBody4362812480892985414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194253404,"filename":"image_02052025_13_34_57_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2f5428c1ee8c1dfb18051efb8583182.jpg","text":"TemporaryFile(/tmp/multipartBody4660466039890802477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194253404,"filename":"image_02052025_13_34_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/5/2/b08032b6d6bc63743d21467e5186670a.jpg","text":"TemporaryFile(/tmp/multipartBody2324597883245054455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194253404,"filename":"image_02052025_13_35_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/5/2/3b2d818a248ef0a0b066d6de9c65fb29.jpg","text":"TemporaryFile(/tmp/multipartBody665455085283798519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194253404,"filename":"image_02052025_13_34_36_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/507dfb7babe9c01dba90493a03d430cb.jpg","text":"TemporaryFile(/tmp/multipartBody4695726219444867986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194253404,"filename":"image_02052025_13_34_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/5/2/72761cd3544b95f08d49739210f63d43.jpg","text":"TemporaryFile(/tmp/multipartBody5195456716100358853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194253404,"filename":"image_02052025_13_34_27_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355348887","file1":"1355348835","file0":"1355348784","file4":"1355349002","file5":"1355349052","file3":"1355348942"},"map_files_photo_id_array":[{"photo_id":"1355349052","filename":"file5"},{"photo_id":"1355348887","filename":"file2"},{"photo_id":"1355349002","filename":"file4"},{"photo_id":"1355348835","filename":"file1"},{"photo_id":"1355348784","filename":"file0"},{"photo_id":"1355348942","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355349002":["hashtag1","hashtag2"]},{"1355348942":["hashtag1","hashtag2"]},{"1355349052":["hashtag1","hashtag2"]},{"1355348887":["hashtag1","hashtag2"]},{"1355348784":["hashtag1","hashtag2"]},{"1355348835":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355349002, 1355348942, 1355349052, 1355348887, 1355348784, 1355348835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.477625608444214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:57:33.099878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_17_10414.jpg', '/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_26_9354.jpg', '/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_36_10397.jpg', '/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_47_10363.jpg', '/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_56_9359.jpg', '/home/pi/Desktop/images/02052025/13/35/image_02052025_13_36_07_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_17_10414.jpg
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_26_9354.jpg
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_36_10397.jpg
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_47_10363.jpg
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_56_9359.jpg
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_36_07_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 15:59:03.972510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_17_10414.jpg', '/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_26_9354.jpg', '/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_36_10397.jpg', '/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_47_10363.jpg', '/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_56_9359.jpg', '/home/pi/Desktop/images/02052025/13/35/image_02052025_13_36_07_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_17_10414.jpg
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_26_9354.jpg
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_36_10397.jpg
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_47_10363.jpg
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_35_56_9359.jpg
/home/pi/Desktop/images/02052025/13/35/image_02052025_13_36_07_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355350736","1355350792","1355350619","1355350936","1355350852","1355351109"],"photo_ids_order":["1355350619","1355350736","1355350792","1355350852","1355350936","1355351109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/44476db6482ac98792a60b4cea9b3d96.jpg","text":"TemporaryFile(/tmp/multipartBody2840982889035691645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194404533,"filename":"image_02052025_13_35_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/5/2/5bdd022dcd97778a05fe295f53ca1b26.jpg","text":"TemporaryFile(/tmp/multipartBody5466366777500657924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194404533,"filename":"image_02052025_13_35_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/5/2/fd4f17eaa1c9d4473febf0af39f82221.jpg","text":"TemporaryFile(/tmp/multipartBody7638163240901529422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194404533,"filename":"image_02052025_13_35_17_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09791271c2740e523181128883adb89f.jpg","text":"TemporaryFile(/tmp/multipartBody1982393435776238478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194404533,"filename":"image_02052025_13_35_56_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d82536b1d35779f3c914d071a1290f1.jpg","text":"TemporaryFile(/tmp/multipartBody4601352957530565719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194404533,"filename":"image_02052025_13_35_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/5/2/44603b37d6a1f2f53aa5327cafce6969.jpg","text":"TemporaryFile(/tmp/multipartBody9139304112426664055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194404533,"filename":"image_02052025_13_36_07_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355350792","file1":"1355350736","file0":"1355350619","file4":"1355350936","file5":"1355351109","file3":"1355350852"},"map_files_photo_id_array":[{"photo_id":"1355351109","filename":"file5"},{"photo_id":"1355350792","filename":"file2"},{"photo_id":"1355350936","filename":"file4"},{"photo_id":"1355350736","filename":"file1"},{"photo_id":"1355350619","filename":"file0"},{"photo_id":"1355350852","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355350736":["hashtag1","hashtag2"]},{"1355350792":["hashtag1","hashtag2"]},{"1355350619":["hashtag1","hashtag2"]},{"1355350936":["hashtag1","hashtag2"]},{"1355350852":["hashtag1","hashtag2"]},{"1355351109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355350736, 1355350792, 1355350619, 1355350936, 1355350852, 1355351109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.48054385185242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 15:59:52.864279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/36/image_02052025_13_36_17_10363.jpg', '/home/pi/Desktop/images/02052025/13/36/image_02052025_13_36_26_9371.jpg', '/home/pi/Desktop/images/02052025/13/36/image_02052025_13_36_37_10420.jpg', '/home/pi/Desktop/images/02052025/13/36/image_02052025_13_36_46_9354.jpg', '/home/pi/Desktop/images/02052025/13/36/image_02052025_13_37_06_9377.jpg', '/home/pi/Desktop/images/02052025/13/37/image_02052025_13_37_16_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/36/image_02052025_13_36_17_10363.jpg
/home/pi/Desktop/images/02052025/13/36/image_02052025_13_36_26_9371.jpg
/home/pi/Desktop/images/02052025/13/36/image_02052025_13_36_37_10420.jpg
/home/pi/Desktop/images/02052025/13/36/image_02052025_13_36_46_9354.jpg
/home/pi/Desktop/images/02052025/13/36/image_02052025_13_37_06_9377.jpg
/home/pi/Desktop/images/02052025/13/37/image_02052025_13_37_16_10459.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355351884","1355351638","1355352021","1355351541","1355351427","1355351765"],"photo_ids_order":["1355351427","1355351541","1355351638","1355351765","1355351884","1355352021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/47fb40a97949b835744c700769448214.jpg","text":"TemporaryFile(/tmp/multipartBody5775877295793332368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194453336,"filename":"image_02052025_13_37_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/5/2/5d3efaacc46819fdbda9160fa58dabec.jpg","text":"TemporaryFile(/tmp/multipartBody4758358713392273257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194453336,"filename":"image_02052025_13_36_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/5/2/9eb0a17abe721ff1d034f156a137a017.jpg","text":"TemporaryFile(/tmp/multipartBody3946769769391078011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194453336,"filename":"image_02052025_13_37_16_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d21cad016a00214c03b79d65ed47074.jpg","text":"TemporaryFile(/tmp/multipartBody1389236757846234270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194453336,"filename":"image_02052025_13_36_26_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d403ce9ecd0fc4cd2d230d5fdef058aa.jpg","text":"TemporaryFile(/tmp/multipartBody759025030983856878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194453336,"filename":"image_02052025_13_36_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/5/2/211b369ceda94617de17ba953b622e3e.jpg","text":"TemporaryFile(/tmp/multipartBody2181620820575927081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194453336,"filename":"image_02052025_13_36_46_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355351638","file1":"1355351541","file0":"1355351427","file4":"1355351884","file5":"1355352021","file3":"1355351765"},"map_files_photo_id_array":[{"photo_id":"1355352021","filename":"file5"},{"photo_id":"1355351638","filename":"file2"},{"photo_id":"1355351884","filename":"file4"},{"photo_id":"1355351541","filename":"file1"},{"photo_id":"1355351427","filename":"file0"},{"photo_id":"1355351765","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355351884":["hashtag1","hashtag2"]},{"1355351638":["hashtag1","hashtag2"]},{"1355352021":["hashtag1","hashtag2"]},{"1355351541":["hashtag1","hashtag2"]},{"1355351427":["hashtag1","hashtag2"]},{"1355351765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355351884, 1355351638, 1355352021, 1355351541, 1355351427, 1355351765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26273989677429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:00:33.131829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/37/image_02052025_13_37_27_10357.jpg', '/home/pi/Desktop/images/02052025/13/37/image_02052025_13_37_36_9342.jpg', '/home/pi/Desktop/images/02052025/13/37/image_02052025_13_37_57_10401.jpg', '/home/pi/Desktop/images/02052025/13/37/image_02052025_13_38_06_9372.jpg', '/home/pi/Desktop/images/02052025/13/38/image_02052025_13_38_17_10400.jpg', '/home/pi/Desktop/images/02052025/13/38/image_02052025_13_38_26_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/37/image_02052025_13_37_27_10357.jpg
/home/pi/Desktop/images/02052025/13/37/image_02052025_13_37_36_9342.jpg
/home/pi/Desktop/images/02052025/13/37/image_02052025_13_37_57_10401.jpg
/home/pi/Desktop/images/02052025/13/37/image_02052025_13_38_06_9372.jpg
/home/pi/Desktop/images/02052025/13/38/image_02052025_13_38_17_10400.jpg
/home/pi/Desktop/images/02052025/13/38/image_02052025_13_38_26_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":["1355352355","1355352560","1355352257","1355352458","1355352650","1355352203"],"photo_ids_order":["1355352203","1355352257","1355352355","1355352458","1355352560","1355352650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3811504c529b4344f01fd3a7a35ecb7.jpg","text":"TemporaryFile(/tmp/multipartBody3417831189522471888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194493604,"filename":"image_02052025_13_37_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/5/2/005c16b81ef2ac9cc833648a349101dc.jpg","text":"TemporaryFile(/tmp/multipartBody4829809837549653676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194493604,"filename":"image_02052025_13_38_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/5/2/e0a5492bfacdf4312ec04bf9d0f5703f.jpg","text":"TemporaryFile(/tmp/multipartBody4929966697851293701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194493604,"filename":"image_02052025_13_37_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/5/2/d465e67094aa4e199ef2c7c944bdd04d.jpg","text":"TemporaryFile(/tmp/multipartBody8083583201537603649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194493604,"filename":"image_02052025_13_38_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/5/2/7900fe8e37bd4a2bf39a01c1a8d01a1e.jpg","text":"TemporaryFile(/tmp/multipartBody1998007270426119092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194493604,"filename":"image_02052025_13_38_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/5/2/4064fa4c6fbb9b7272616c9d131af5d4.jpg","text":"TemporaryFile(/tmp/multipartBody3628137558404939603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194493604,"filename":"image_02052025_13_37_27_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355352355","file1":"1355352257","file0":"1355352203","file4":"1355352560","file5":"1355352650","file3":"1355352458"},"map_files_photo_id_array":[{"photo_id":"1355352650","filename":"file5"},{"photo_id":"1355352355","filename":"file2"},{"photo_id":"1355352560","filename":"file4"},{"photo_id":"1355352257","filename":"file1"},{"photo_id":"1355352203","filename":"file0"},{"photo_id":"1355352458","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355352355":["hashtag1","hashtag2"]},{"1355352560":["hashtag1","hashtag2"]},{"1355352257":["hashtag1","hashtag2"]},{"1355352458":["hashtag1","hashtag2"]},{"1355352650":["hashtag1","hashtag2"]},{"1355352203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355352355, 1355352560, 1355352257, 1355352458, 1355352650, 1355352203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39011597633362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:01:32.405526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/38/image_02052025_13_38_36_10387.jpg', '/home/pi/Desktop/images/02052025/13/38/image_02052025_13_38_47_10387.jpg', '/home/pi/Desktop/images/02052025/13/38/image_02052025_13_38_56_9360.jpg', '/home/pi/Desktop/images/02052025/13/38/image_02052025_13_39_07_10358.jpg', '/home/pi/Desktop/images/02052025/13/39/image_02052025_13_39_17_10361.jpg', '/home/pi/Desktop/images/02052025/13/39/image_02052025_13_39_26_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/38/image_02052025_13_38_36_10387.jpg
/home/pi/Desktop/images/02052025/13/38/image_02052025_13_38_47_10387.jpg
/home/pi/Desktop/images/02052025/13/38/image_02052025_13_38_56_9360.jpg
/home/pi/Desktop/images/02052025/13/38/image_02052025_13_39_07_10358.jpg
/home/pi/Desktop/images/02052025/13/39/image_02052025_13_39_17_10361.jpg
/home/pi/Desktop/images/02052025/13/39/image_02052025_13_39_26_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":["1355353300","1355353197","1355353239","1355353269","1355353148","1355353285"],"photo_ids_order":["1355353148","1355353197","1355353239","1355353269","1355353285","1355353300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/15566997ce149b8f75d11a1918fc8842.jpg","text":"TemporaryFile(/tmp/multipartBody6976071707086030762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194552859,"filename":"image_02052025_13_39_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/5/2/cc877df6c4e1952a1c7a7450d411b14e.jpg","text":"TemporaryFile(/tmp/multipartBody800741591196019703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194552859,"filename":"image_02052025_13_38_47_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/47d63f7d118a7bf46eb613527be6c7db.jpg","text":"TemporaryFile(/tmp/multipartBody8657642536886775100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194552859,"filename":"image_02052025_13_38_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f39fbb104e63792a82116661ca95bf7e.jpg","text":"TemporaryFile(/tmp/multipartBody6777877932191082443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194552859,"filename":"image_02052025_13_39_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/5/2/bef37acb851f2c5b682db284a0694755.jpg","text":"TemporaryFile(/tmp/multipartBody3135669258478822026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194552859,"filename":"image_02052025_13_38_36_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d692c1909f9c22e513e0534da68ddc8.jpg","text":"TemporaryFile(/tmp/multipartBody2557640508299984717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194552859,"filename":"image_02052025_13_39_17_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355353239","file1":"1355353197","file0":"1355353148","file4":"1355353285","file5":"1355353300","file3":"1355353269"},"map_files_photo_id_array":[{"photo_id":"1355353300","filename":"file5"},{"photo_id":"1355353239","filename":"file2"},{"photo_id":"1355353285","filename":"file4"},{"photo_id":"1355353197","filename":"file1"},{"photo_id":"1355353148","filename":"file0"},{"photo_id":"1355353269","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355353300":["hashtag1","hashtag2"]},{"1355353197":["hashtag1","hashtag2"]},{"1355353239":["hashtag1","hashtag2"]},{"1355353269":["hashtag1","hashtag2"]},{"1355353148":["hashtag1","hashtag2"]},{"1355353285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355353300, 1355353197, 1355353239, 1355353269, 1355353148, 1355353285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75051164627075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:02:32.520460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/39/image_02052025_13_39_37_10382.jpg', '/home/pi/Desktop/images/02052025/13/39/image_02052025_13_39_46_9391.jpg', '/home/pi/Desktop/images/02052025/13/39/image_02052025_13_39_56_10483.jpg', '/home/pi/Desktop/images/02052025/13/39/image_02052025_13_40_07_10355.jpg', '/home/pi/Desktop/images/02052025/13/40/image_02052025_13_40_16_9346.jpg', '/home/pi/Desktop/images/02052025/13/40/image_02052025_13_40_27_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/39/image_02052025_13_39_37_10382.jpg
/home/pi/Desktop/images/02052025/13/39/image_02052025_13_39_46_9391.jpg
/home/pi/Desktop/images/02052025/13/39/image_02052025_13_39_56_10483.jpg
/home/pi/Desktop/images/02052025/13/39/image_02052025_13_40_07_10355.jpg
/home/pi/Desktop/images/02052025/13/40/image_02052025_13_40_16_9346.jpg
/home/pi/Desktop/images/02052025/13/40/image_02052025_13_40_27_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":["1355353804","1355353887","1355353575","1355353968","1355353652","1355353727"],"photo_ids_order":["1355353575","1355353652","1355353727","1355353804","1355353887","1355353968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/543f09a959828bd230f45be5e5616b52.jpg","text":"TemporaryFile(/tmp/multipartBody4113230684931337364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194612982,"filename":"image_02052025_13_40_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dfbe22f10ae522379bbd170e97a993f4.jpg","text":"TemporaryFile(/tmp/multipartBody3825711691554003715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194612982,"filename":"image_02052025_13_40_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/5/2/16bca2484f7c396462451abfe962f14c.jpg","text":"TemporaryFile(/tmp/multipartBody3766916616336205287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194612982,"filename":"image_02052025_13_39_37_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ec4342492e057aaccfe032b094cef95.jpg","text":"TemporaryFile(/tmp/multipartBody2567499066119346051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194612982,"filename":"image_02052025_13_40_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/5/2/631324fa6a83babf0762270989af4d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3548899287990929170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194612982,"filename":"image_02052025_13_39_46_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/504f1bb00cb7ae25bdea6ace6b40ce0c.jpg","text":"TemporaryFile(/tmp/multipartBody7828976072351480414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194612982,"filename":"image_02052025_13_39_56_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355353727","file1":"1355353652","file0":"1355353575","file4":"1355353887","file5":"1355353968","file3":"1355353804"},"map_files_photo_id_array":[{"photo_id":"1355353968","filename":"file5"},{"photo_id":"1355353727","filename":"file2"},{"photo_id":"1355353887","filename":"file4"},{"photo_id":"1355353652","filename":"file1"},{"photo_id":"1355353575","filename":"file0"},{"photo_id":"1355353804","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355353804":["hashtag1","hashtag2"]},{"1355353887":["hashtag1","hashtag2"]},{"1355353575":["hashtag1","hashtag2"]},{"1355353968":["hashtag1","hashtag2"]},{"1355353652":["hashtag1","hashtag2"]},{"1355353727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355353804, 1355353887, 1355353575, 1355353968, 1355353652, 1355353727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.79610514640808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:03:32.729673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/40/image_02052025_13_40_36_9339.jpg', '/home/pi/Desktop/images/02052025/13/40/image_02052025_13_40_46_10345.jpg', '/home/pi/Desktop/images/02052025/13/40/image_02052025_13_40_57_10356.jpg', '/home/pi/Desktop/images/02052025/13/40/image_02052025_13_41_06_9336.jpg', '/home/pi/Desktop/images/02052025/13/41/image_02052025_13_41_16_10418.jpg', '/home/pi/Desktop/images/02052025/13/41/image_02052025_13_41_27_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/40/image_02052025_13_40_36_9339.jpg
/home/pi/Desktop/images/02052025/13/40/image_02052025_13_40_46_10345.jpg
/home/pi/Desktop/images/02052025/13/40/image_02052025_13_40_57_10356.jpg
/home/pi/Desktop/images/02052025/13/40/image_02052025_13_41_06_9336.jpg
/home/pi/Desktop/images/02052025/13/41/image_02052025_13_41_16_10418.jpg
/home/pi/Desktop/images/02052025/13/41/image_02052025_13_41_27_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":["1355354664","1355354832","1355354705","1355354522","1355354595","1355354760"],"photo_ids_order":["1355354522","1355354595","1355354664","1355354705","1355354760","1355354832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a53a9db007e4861231ba516063fa8736.jpg","text":"TemporaryFile(/tmp/multipartBody9221327455856734098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194673188,"filename":"image_02052025_13_40_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/5/2/3ef770657283dd133833de62cd6a0685.jpg","text":"TemporaryFile(/tmp/multipartBody4888481439032846929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194673188,"filename":"image_02052025_13_41_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/5/2/ba1fc0ba1af1b0e6f99b83056ab34439.jpg","text":"TemporaryFile(/tmp/multipartBody1019282749409660821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194673188,"filename":"image_02052025_13_41_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/552196420af5b8423999e22ebb1e83cc.jpg","text":"TemporaryFile(/tmp/multipartBody3247304412958467585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194673188,"filename":"image_02052025_13_40_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/5/2/3c48226bc3a25bcef67bab0d7e5bc5fe.jpg","text":"TemporaryFile(/tmp/multipartBody6530875533461994155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194673188,"filename":"image_02052025_13_40_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/5/2/4dfafe83f6fc8ed12cdb1ebcde23c744.jpg","text":"TemporaryFile(/tmp/multipartBody2882816476110198223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194673188,"filename":"image_02052025_13_41_16_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355354664","file1":"1355354595","file0":"1355354522","file4":"1355354760","file5":"1355354832","file3":"1355354705"},"map_files_photo_id_array":[{"photo_id":"1355354832","filename":"file5"},{"photo_id":"1355354664","filename":"file2"},{"photo_id":"1355354760","filename":"file4"},{"photo_id":"1355354595","filename":"file1"},{"photo_id":"1355354522","filename":"file0"},{"photo_id":"1355354705","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355354664":["hashtag1","hashtag2"]},{"1355354832":["hashtag1","hashtag2"]},{"1355354705":["hashtag1","hashtag2"]},{"1355354522":["hashtag1","hashtag2"]},{"1355354595":["hashtag1","hashtag2"]},{"1355354760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355354664, 1355354832, 1355354705, 1355354522, 1355354595, 1355354760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72300696372986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:04:34.236838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/41/image_02052025_13_41_36_9327.jpg', '/home/pi/Desktop/images/02052025/13/41/image_02052025_13_41_47_10448.jpg', '/home/pi/Desktop/images/02052025/13/41/image_02052025_13_41_57_10351.jpg', '/home/pi/Desktop/images/02052025/13/41/image_02052025_13_42_06_9352.jpg', '/home/pi/Desktop/images/02052025/13/42/image_02052025_13_42_17_10419.jpg', '/home/pi/Desktop/images/02052025/13/42/image_02052025_13_42_26_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/41/image_02052025_13_41_36_9327.jpg
/home/pi/Desktop/images/02052025/13/41/image_02052025_13_41_47_10448.jpg
/home/pi/Desktop/images/02052025/13/41/image_02052025_13_41_57_10351.jpg
/home/pi/Desktop/images/02052025/13/41/image_02052025_13_42_06_9352.jpg
/home/pi/Desktop/images/02052025/13/42/image_02052025_13_42_17_10419.jpg
/home/pi/Desktop/images/02052025/13/42/image_02052025_13_42_26_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355355201","1355355257","1355355170","1355355164","1355355172","1355355166"],"photo_ids_order":["1355355164","1355355166","1355355170","1355355172","1355355201","1355355257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c59a52c14395bdedf545b53e35e063e3.jpg","text":"TemporaryFile(/tmp/multipartBody1619704313062757913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194734693,"filename":"image_02052025_13_42_17_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eda219bb60b9acdcc2fb3abb516efbd6.jpg","text":"TemporaryFile(/tmp/multipartBody6844426785024262222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194734693,"filename":"image_02052025_13_42_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/5/2/4dbc6e6a2ce7db68dce6b124a7b2eb5c.jpg","text":"TemporaryFile(/tmp/multipartBody7333826918558777433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194734693,"filename":"image_02052025_13_41_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/5/2/a0eb5920368349afe907699889af928f.jpg","text":"TemporaryFile(/tmp/multipartBody705751462916105065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194734693,"filename":"image_02052025_13_41_36_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/250df95937344222e41f6ec15900e655.jpg","text":"TemporaryFile(/tmp/multipartBody4972741452566145277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194734693,"filename":"image_02052025_13_42_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/5/2/aface87b79fb18980c381960b79f7f9c.jpg","text":"TemporaryFile(/tmp/multipartBody3495883955155283819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194734693,"filename":"image_02052025_13_41_47_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355355170","file1":"1355355166","file0":"1355355164","file4":"1355355201","file5":"1355355257","file3":"1355355172"},"map_files_photo_id_array":[{"photo_id":"1355355257","filename":"file5"},{"photo_id":"1355355170","filename":"file2"},{"photo_id":"1355355201","filename":"file4"},{"photo_id":"1355355166","filename":"file1"},{"photo_id":"1355355164","filename":"file0"},{"photo_id":"1355355172","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355355201":["hashtag1","hashtag2"]},{"1355355257":["hashtag1","hashtag2"]},{"1355355170":["hashtag1","hashtag2"]},{"1355355164":["hashtag1","hashtag2"]},{"1355355172":["hashtag1","hashtag2"]},{"1355355166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355355201, 1355355257, 1355355170, 1355355164, 1355355172, 1355355166)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1355355170 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02052025/13/41/image_02052025_13_41_57_10351.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 52.7959041595459 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:05:32.212571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/42/image_02052025_13_42_36_10484.jpg', '/home/pi/Desktop/images/02052025/13/42/image_02052025_13_42_47_10381.jpg', '/home/pi/Desktop/images/02052025/13/42/image_02052025_13_42_56_9340.jpg', '/home/pi/Desktop/images/02052025/13/42/image_02052025_13_43_07_10349.jpg', '/home/pi/Desktop/images/02052025/13/43/image_02052025_13_43_17_10330.jpg', '/home/pi/Desktop/images/02052025/13/43/image_02052025_13_43_26_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/42/image_02052025_13_42_36_10484.jpg
/home/pi/Desktop/images/02052025/13/42/image_02052025_13_42_47_10381.jpg
/home/pi/Desktop/images/02052025/13/42/image_02052025_13_42_56_9340.jpg
/home/pi/Desktop/images/02052025/13/42/image_02052025_13_43_07_10349.jpg
/home/pi/Desktop/images/02052025/13/43/image_02052025_13_43_17_10330.jpg
/home/pi/Desktop/images/02052025/13/43/image_02052025_13_43_26_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":["1355355708","1355355758","1355355818","1355355789","1355355858","1355355717"],"photo_ids_order":["1355355708","1355355717","1355355758","1355355789","1355355818","1355355858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f29c375aadd87c7636f05fe68eaa3d60.jpg","text":"TemporaryFile(/tmp/multipartBody3561792919829115594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194792671,"filename":"image_02052025_13_42_36_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/364dfc0ee4064365add56af076a1c10b.jpg","text":"TemporaryFile(/tmp/multipartBody6199209431424064019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194792671,"filename":"image_02052025_13_42_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/5/2/5c0a035ea81138ba8234ec43328941e0.jpg","text":"TemporaryFile(/tmp/multipartBody7682420043265889858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194792671,"filename":"image_02052025_13_43_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/5/2/89ce6f5213e56170c23658bb027546d0.jpg","text":"TemporaryFile(/tmp/multipartBody3642135660308200935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194792671,"filename":"image_02052025_13_43_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/5/2/3fad02c36bf0093788a8b1072920c30b.jpg","text":"TemporaryFile(/tmp/multipartBody5488404005700055198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194792671,"filename":"image_02052025_13_43_26_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e0f33e4fe684d76adf40b9354547ec0.jpg","text":"TemporaryFile(/tmp/multipartBody3271882472759029647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194792671,"filename":"image_02052025_13_42_47_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355355758","file1":"1355355717","file0":"1355355708","file4":"1355355818","file5":"1355355858","file3":"1355355789"},"map_files_photo_id_array":[{"photo_id":"1355355858","filename":"file5"},{"photo_id":"1355355758","filename":"file2"},{"photo_id":"1355355818","filename":"file4"},{"photo_id":"1355355717","filename":"file1"},{"photo_id":"1355355708","filename":"file0"},{"photo_id":"1355355789","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355355708":["hashtag1","hashtag2"]},{"1355355758":["hashtag1","hashtag2"]},{"1355355818":["hashtag1","hashtag2"]},{"1355355789":["hashtag1","hashtag2"]},{"1355355858":["hashtag1","hashtag2"]},{"1355355717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355355708, 1355355758, 1355355818, 1355355789, 1355355858, 1355355717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14455723762512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:06:32.480742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/43/image_02052025_13_43_37_10353.jpg', '/home/pi/Desktop/images/02052025/13/43/image_02052025_13_43_46_9411.jpg', '/home/pi/Desktop/images/02052025/13/43/image_02052025_13_43_56_10418.jpg', '/home/pi/Desktop/images/02052025/13/43/image_02052025_13_44_07_10423.jpg', '/home/pi/Desktop/images/02052025/13/44/image_02052025_13_44_16_9343.jpg', '/home/pi/Desktop/images/02052025/13/44/image_02052025_13_44_27_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/43/image_02052025_13_43_37_10353.jpg
/home/pi/Desktop/images/02052025/13/43/image_02052025_13_43_46_9411.jpg
/home/pi/Desktop/images/02052025/13/43/image_02052025_13_43_56_10418.jpg
/home/pi/Desktop/images/02052025/13/43/image_02052025_13_44_07_10423.jpg
/home/pi/Desktop/images/02052025/13/44/image_02052025_13_44_16_9343.jpg
/home/pi/Desktop/images/02052025/13/44/image_02052025_13_44_27_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355356313","1355356291","1355356321","1355356315","1355356311","1355356308"],"photo_ids_order":["1355356291","1355356308","1355356311","1355356313","1355356315","1355356321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad150b26f4c24467b408cf55fdf82b61.jpg","text":"TemporaryFile(/tmp/multipartBody7891315130454247754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194852942,"filename":"image_02052025_13_44_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/5/2/4db37478bbe358788d393b9ad71bd4c8.jpg","text":"TemporaryFile(/tmp/multipartBody2361504646783742383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194852942,"filename":"image_02052025_13_43_37_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/59529a627671cf216ead376f9edbfa7b.jpg","text":"TemporaryFile(/tmp/multipartBody2042444303478975396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194852942,"filename":"image_02052025_13_44_27_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9cc981e27483c0fa5763ec75af76039.jpg","text":"TemporaryFile(/tmp/multipartBody4227457130508838328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194852942,"filename":"image_02052025_13_44_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/5/2/dbf408474deaa1b062064cf0c54400f4.jpg","text":"TemporaryFile(/tmp/multipartBody2573093861931893281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194852942,"filename":"image_02052025_13_43_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/5/2/977e77afd4336af6f8eb580d43ce8ee1.jpg","text":"TemporaryFile(/tmp/multipartBody4692341842864052724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194852942,"filename":"image_02052025_13_43_46_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355356311","file1":"1355356308","file0":"1355356291","file4":"1355356315","file5":"1355356321","file3":"1355356313"},"map_files_photo_id_array":[{"photo_id":"1355356321","filename":"file5"},{"photo_id":"1355356311","filename":"file2"},{"photo_id":"1355356315","filename":"file4"},{"photo_id":"1355356308","filename":"file1"},{"photo_id":"1355356291","filename":"file0"},{"photo_id":"1355356313","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355356313":["hashtag1","hashtag2"]},{"1355356291":["hashtag1","hashtag2"]},{"1355356321":["hashtag1","hashtag2"]},{"1355356315":["hashtag1","hashtag2"]},{"1355356311":["hashtag1","hashtag2"]},{"1355356308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355356313, 1355356291, 1355356321, 1355356315, 1355356311, 1355356308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.984574794769287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:07:32.734901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/44/image_02052025_13_44_36_9399.jpg', '/home/pi/Desktop/images/02052025/13/44/image_02052025_13_44_46_10374.jpg', '/home/pi/Desktop/images/02052025/13/44/image_02052025_13_44_57_10340.jpg', '/home/pi/Desktop/images/02052025/13/44/image_02052025_13_45_06_9330.jpg', '/home/pi/Desktop/images/02052025/13/45/image_02052025_13_45_17_10372.jpg', '/home/pi/Desktop/images/02052025/13/45/image_02052025_13_45_26_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/44/image_02052025_13_44_36_9399.jpg
/home/pi/Desktop/images/02052025/13/44/image_02052025_13_44_46_10374.jpg
/home/pi/Desktop/images/02052025/13/44/image_02052025_13_44_57_10340.jpg
/home/pi/Desktop/images/02052025/13/44/image_02052025_13_45_06_9330.jpg
/home/pi/Desktop/images/02052025/13/45/image_02052025_13_45_17_10372.jpg
/home/pi/Desktop/images/02052025/13/45/image_02052025_13_45_26_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355356586","1355356585","1355356549","1355356587","1355356518","1355356577"],"photo_ids_order":["1355356518","1355356549","1355356577","1355356585","1355356586","1355356587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b9f05198eb36d00c8094da402571839.jpg","text":"TemporaryFile(/tmp/multipartBody6186170135052013833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194913191,"filename":"image_02052025_13_45_17_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c24759c689954892bf13febd0efee41b.jpg","text":"TemporaryFile(/tmp/multipartBody297176676681330316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194913191,"filename":"image_02052025_13_45_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/5/2/2216e707d5ef4c7c6d1b49f71914f51a.jpg","text":"TemporaryFile(/tmp/multipartBody5904644401210166516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194913191,"filename":"image_02052025_13_44_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/5/2/892fac32dc2b9dc4d72c4c4f8a546ad8.jpg","text":"TemporaryFile(/tmp/multipartBody8947004275363052767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194913191,"filename":"image_02052025_13_45_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/5/2/44bc9cc4c8bcd1ed8292caf266d91536.jpg","text":"TemporaryFile(/tmp/multipartBody9157085959919184676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194913191,"filename":"image_02052025_13_44_36_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a04e2ed587d92ffc958a42e7e89978a0.jpg","text":"TemporaryFile(/tmp/multipartBody4119714400928982982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194913191,"filename":"image_02052025_13_44_57_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355356577","file1":"1355356549","file0":"1355356518","file4":"1355356586","file5":"1355356587","file3":"1355356585"},"map_files_photo_id_array":[{"photo_id":"1355356587","filename":"file5"},{"photo_id":"1355356577","filename":"file2"},{"photo_id":"1355356586","filename":"file4"},{"photo_id":"1355356549","filename":"file1"},{"photo_id":"1355356518","filename":"file0"},{"photo_id":"1355356585","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355356586":["hashtag1","hashtag2"]},{"1355356585":["hashtag1","hashtag2"]},{"1355356549":["hashtag1","hashtag2"]},{"1355356587":["hashtag1","hashtag2"]},{"1355356518":["hashtag1","hashtag2"]},{"1355356577":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355356586, 1355356585, 1355356549, 1355356587, 1355356518, 1355356577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96361804008484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:08:32.767123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/45/image_02052025_13_45_47_10411.jpg', '/home/pi/Desktop/images/02052025/13/45/image_02052025_13_45_56_9326.jpg', '/home/pi/Desktop/images/02052025/13/45/image_02052025_13_46_07_10472.jpg', '/home/pi/Desktop/images/02052025/13/46/image_02052025_13_46_17_10363.jpg', '/home/pi/Desktop/images/02052025/13/46/image_02052025_13_46_26_9330.jpg', '/home/pi/Desktop/images/02052025/13/46/image_02052025_13_46_37_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/45/image_02052025_13_45_47_10411.jpg
/home/pi/Desktop/images/02052025/13/45/image_02052025_13_45_56_9326.jpg
/home/pi/Desktop/images/02052025/13/45/image_02052025_13_46_07_10472.jpg
/home/pi/Desktop/images/02052025/13/46/image_02052025_13_46_17_10363.jpg
/home/pi/Desktop/images/02052025/13/46/image_02052025_13_46_26_9330.jpg
/home/pi/Desktop/images/02052025/13/46/image_02052025_13_46_37_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":["1355356778","1355356828","1355356921","1355356962","1355356863","1355356892"],"photo_ids_order":["1355356778","1355356828","1355356863","1355356892","1355356921","1355356962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/66fc6218052b5fd63d896fa814000025.jpg","text":"TemporaryFile(/tmp/multipartBody8869226056826168419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194973238,"filename":"image_02052025_13_45_47_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/526ab6605e50b60c026e7742e30fc512.jpg","text":"TemporaryFile(/tmp/multipartBody4824400435223812814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194973238,"filename":"image_02052025_13_45_56_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b266c3b45a24259d912ead5ec70bd6f.jpg","text":"TemporaryFile(/tmp/multipartBody4083609512421733166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194973238,"filename":"image_02052025_13_46_26_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6154c2b510f623c9fc6d2ec9e1b10b1c.jpg","text":"TemporaryFile(/tmp/multipartBody7607222182689951516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194973238,"filename":"image_02052025_13_46_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/5/2/1be80478fca2558f0eaaa6860feb957a.jpg","text":"TemporaryFile(/tmp/multipartBody1529919730779694047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194973238,"filename":"image_02052025_13_46_07_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d0687043a33438cd9652c4d14eb87c32.jpg","text":"TemporaryFile(/tmp/multipartBody1587645992954517683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746194973238,"filename":"image_02052025_13_46_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355356863","file1":"1355356828","file0":"1355356778","file4":"1355356921","file5":"1355356962","file3":"1355356892"},"map_files_photo_id_array":[{"photo_id":"1355356962","filename":"file5"},{"photo_id":"1355356863","filename":"file2"},{"photo_id":"1355356921","filename":"file4"},{"photo_id":"1355356828","filename":"file1"},{"photo_id":"1355356778","filename":"file0"},{"photo_id":"1355356892","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355356778":["hashtag1","hashtag2"]},{"1355356828":["hashtag1","hashtag2"]},{"1355356921":["hashtag1","hashtag2"]},{"1355356962":["hashtag1","hashtag2"]},{"1355356863":["hashtag1","hashtag2"]},{"1355356892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355356778, 1355356828, 1355356921, 1355356962, 1355356863, 1355356892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58573031425476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:09:32.985861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/46/image_02052025_13_46_47_10362.jpg', '/home/pi/Desktop/images/02052025/13/46/image_02052025_13_46_56_9338.jpg', '/home/pi/Desktop/images/02052025/13/46/image_02052025_13_47_07_10336.jpg', '/home/pi/Desktop/images/02052025/13/47/image_02052025_13_47_16_9329.jpg', '/home/pi/Desktop/images/02052025/13/47/image_02052025_13_47_26_10359.jpg', '/home/pi/Desktop/images/02052025/13/47/image_02052025_13_47_37_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/46/image_02052025_13_46_47_10362.jpg
/home/pi/Desktop/images/02052025/13/46/image_02052025_13_46_56_9338.jpg
/home/pi/Desktop/images/02052025/13/46/image_02052025_13_47_07_10336.jpg
/home/pi/Desktop/images/02052025/13/47/image_02052025_13_47_16_9329.jpg
/home/pi/Desktop/images/02052025/13/47/image_02052025_13_47_26_10359.jpg
/home/pi/Desktop/images/02052025/13/47/image_02052025_13_47_37_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":["1355357290","1355357332","1355357262","1355357390","1355357357","1355357231"],"photo_ids_order":["1355357231","1355357262","1355357290","1355357332","1355357357","1355357390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81f4d17171c202497b9308618f8ac200.jpg","text":"TemporaryFile(/tmp/multipartBody1419147423767311959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195033445,"filename":"image_02052025_13_47_07_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4fd5c0c1bb1ca0863e00dccfdcaf59a1.jpg","text":"TemporaryFile(/tmp/multipartBody884884394944406415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195033445,"filename":"image_02052025_13_47_16_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11a41f8d75a47110dd587948c076f2e4.jpg","text":"TemporaryFile(/tmp/multipartBody2082416880448516506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195033445,"filename":"image_02052025_13_46_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/5/2/6859afc270f518987d12706beb984962.jpg","text":"TemporaryFile(/tmp/multipartBody1137831596546744412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195033445,"filename":"image_02052025_13_47_37_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/698d3dfab04e88af5b1ee85646f05576.jpg","text":"TemporaryFile(/tmp/multipartBody60070327881927001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195033445,"filename":"image_02052025_13_47_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/66dfa28da258fcf286a09ce64bde28f6.jpg","text":"TemporaryFile(/tmp/multipartBody3979585685946057451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195033445,"filename":"image_02052025_13_46_47_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355357290","file1":"1355357262","file0":"1355357231","file4":"1355357357","file5":"1355357390","file3":"1355357332"},"map_files_photo_id_array":[{"photo_id":"1355357390","filename":"file5"},{"photo_id":"1355357290","filename":"file2"},{"photo_id":"1355357357","filename":"file4"},{"photo_id":"1355357262","filename":"file1"},{"photo_id":"1355357231","filename":"file0"},{"photo_id":"1355357332","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355357290":["hashtag1","hashtag2"]},{"1355357332":["hashtag1","hashtag2"]},{"1355357262":["hashtag1","hashtag2"]},{"1355357390":["hashtag1","hashtag2"]},{"1355357357":["hashtag1","hashtag2"]},{"1355357231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355357290, 1355357332, 1355357262, 1355357390, 1355357357, 1355357231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.498530626296997 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:10:32.145223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/47/image_02052025_13_47_46_9342.jpg', '/home/pi/Desktop/images/02052025/13/47/image_02052025_13_47_57_10437.jpg', '/home/pi/Desktop/images/02052025/13/47/image_02052025_13_48_07_10337.jpg', '/home/pi/Desktop/images/02052025/13/48/image_02052025_13_48_16_9335.jpg', '/home/pi/Desktop/images/02052025/13/48/image_02052025_13_48_27_10366.jpg', '/home/pi/Desktop/images/02052025/13/48/image_02052025_13_48_36_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/47/image_02052025_13_47_46_9342.jpg
/home/pi/Desktop/images/02052025/13/47/image_02052025_13_47_57_10437.jpg
/home/pi/Desktop/images/02052025/13/47/image_02052025_13_48_07_10337.jpg
/home/pi/Desktop/images/02052025/13/48/image_02052025_13_48_16_9335.jpg
/home/pi/Desktop/images/02052025/13/48/image_02052025_13_48_27_10366.jpg
/home/pi/Desktop/images/02052025/13/48/image_02052025_13_48_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":["1355357893","1355358067","1355358123","1355358006","1355357838","1355357948"],"photo_ids_order":["1355357838","1355357893","1355357948","1355358006","1355358067","1355358123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8457a53e1500dd4d870d00c784b30006.jpg","text":"TemporaryFile(/tmp/multipartBody5121343008513752623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195092601,"filename":"image_02052025_13_47_57_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b62e208120b50e57c24dd171f87187cc.jpg","text":"TemporaryFile(/tmp/multipartBody4687118694448890863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195092601,"filename":"image_02052025_13_48_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/5/2/d2b787844a342cf3143bdc601a027aee.jpg","text":"TemporaryFile(/tmp/multipartBody4763041348502345999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195092601,"filename":"image_02052025_13_48_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/5/2/062f72c492cd9583e9a6231598f3c452.jpg","text":"TemporaryFile(/tmp/multipartBody4132196817764119503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195092601,"filename":"image_02052025_13_48_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/5/2/2875fcfe0c79aa98f6199feb80047bc1.jpg","text":"TemporaryFile(/tmp/multipartBody1262809398690149781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195092601,"filename":"image_02052025_13_47_46_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e2e4b3c88e942cb2c65df374cdd4dd83.jpg","text":"TemporaryFile(/tmp/multipartBody7491949326981459055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195092601,"filename":"image_02052025_13_48_07_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355357948","file1":"1355357893","file0":"1355357838","file4":"1355358067","file5":"1355358123","file3":"1355358006"},"map_files_photo_id_array":[{"photo_id":"1355358123","filename":"file5"},{"photo_id":"1355357948","filename":"file2"},{"photo_id":"1355358067","filename":"file4"},{"photo_id":"1355357893","filename":"file1"},{"photo_id":"1355357838","filename":"file0"},{"photo_id":"1355358006","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355357893":["hashtag1","hashtag2"]},{"1355358067":["hashtag1","hashtag2"]},{"1355358123":["hashtag1","hashtag2"]},{"1355358006":["hashtag1","hashtag2"]},{"1355357838":["hashtag1","hashtag2"]},{"1355357948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355357893, 1355358067, 1355358123, 1355358006, 1355357838, 1355357948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39720010757446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:11:32.347840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/48/image_02052025_13_48_46_10464.jpg', '/home/pi/Desktop/images/02052025/13/48/image_02052025_13_48_57_10416.jpg', '/home/pi/Desktop/images/02052025/13/48/image_02052025_13_49_06_9390.jpg', '/home/pi/Desktop/images/02052025/13/49/image_02052025_13_49_17_10450.jpg', '/home/pi/Desktop/images/02052025/13/49/image_02052025_13_49_26_9344.jpg', '/home/pi/Desktop/images/02052025/13/49/image_02052025_13_49_37_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/48/image_02052025_13_48_46_10464.jpg
/home/pi/Desktop/images/02052025/13/48/image_02052025_13_48_57_10416.jpg
/home/pi/Desktop/images/02052025/13/48/image_02052025_13_49_06_9390.jpg
/home/pi/Desktop/images/02052025/13/49/image_02052025_13_49_17_10450.jpg
/home/pi/Desktop/images/02052025/13/49/image_02052025_13_49_26_9344.jpg
/home/pi/Desktop/images/02052025/13/49/image_02052025_13_49_37_10519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355358693","1355358753","1355358720","1355358663","1355358804","1355358614"],"photo_ids_order":["1355358614","1355358663","1355358693","1355358720","1355358753","1355358804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7aabce9dd308f12a35fbcd55a06a2423.jpg","text":"TemporaryFile(/tmp/multipartBody6504367797846464904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195152803,"filename":"image_02052025_13_49_06_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0c6850e73344d955b38cb062e473da7.jpg","text":"TemporaryFile(/tmp/multipartBody6673260235841615520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195152803,"filename":"image_02052025_13_49_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/5/2/943cd9783547e34f33ca32cd3a10fca9.jpg","text":"TemporaryFile(/tmp/multipartBody7332131038799299475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195152803,"filename":"image_02052025_13_49_17_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da464aa32bf82b04a09bf2f88299fdd2.jpg","text":"TemporaryFile(/tmp/multipartBody5103623279619108541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195152803,"filename":"image_02052025_13_48_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/5/2/1214bbeb74abe5baf8ce33b9e62c5e45.jpg","text":"TemporaryFile(/tmp/multipartBody4912958002570534600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195152803,"filename":"image_02052025_13_49_37_10519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a2f4969e39f5dac128ad14938fc2731f.jpg","text":"TemporaryFile(/tmp/multipartBody6889587133663178989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195152803,"filename":"image_02052025_13_48_46_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355358693","file1":"1355358663","file0":"1355358614","file4":"1355358753","file5":"1355358804","file3":"1355358720"},"map_files_photo_id_array":[{"photo_id":"1355358804","filename":"file5"},{"photo_id":"1355358693","filename":"file2"},{"photo_id":"1355358753","filename":"file4"},{"photo_id":"1355358663","filename":"file1"},{"photo_id":"1355358614","filename":"file0"},{"photo_id":"1355358720","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355358693":["hashtag1","hashtag2"]},{"1355358753":["hashtag1","hashtag2"]},{"1355358720":["hashtag1","hashtag2"]},{"1355358663":["hashtag1","hashtag2"]},{"1355358804":["hashtag1","hashtag2"]},{"1355358614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355358693, 1355358753, 1355358720, 1355358663, 1355358804, 1355358614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.992913722991943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:12:32.540952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/49/image_02052025_13_49_46_9427.jpg', '/home/pi/Desktop/images/02052025/13/49/image_02052025_13_49_56_10408.jpg', '/home/pi/Desktop/images/02052025/13/49/image_02052025_13_50_07_10420.jpg', '/home/pi/Desktop/images/02052025/13/50/image_02052025_13_50_16_9377.jpg', '/home/pi/Desktop/images/02052025/13/50/image_02052025_13_50_37_10359.jpg', '/home/pi/Desktop/images/02052025/13/50/image_02052025_13_50_46_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/49/image_02052025_13_49_46_9427.jpg
/home/pi/Desktop/images/02052025/13/49/image_02052025_13_49_56_10408.jpg
/home/pi/Desktop/images/02052025/13/49/image_02052025_13_50_07_10420.jpg
/home/pi/Desktop/images/02052025/13/50/image_02052025_13_50_16_9377.jpg
/home/pi/Desktop/images/02052025/13/50/image_02052025_13_50_37_10359.jpg
/home/pi/Desktop/images/02052025/13/50/image_02052025_13_50_46_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355359338","1355359394","1355359280","1355359247","1355359310","1355359366"],"photo_ids_order":["1355359247","1355359280","1355359310","1355359338","1355359366","1355359394"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d8cdc6a6d4cb79a05c2329b702dd0e43.jpg","text":"TemporaryFile(/tmp/multipartBody1166600261560356639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195213019,"filename":"image_02052025_13_50_16_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bdc6e1a1ca8f21495f160dc9bf19a0be.jpg","text":"TemporaryFile(/tmp/multipartBody7557634235228029511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195213019,"filename":"image_02052025_13_50_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff9c2cc84dec6ec6fe549c8f170f0967.jpg","text":"TemporaryFile(/tmp/multipartBody1838011625460445945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195213019,"filename":"image_02052025_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/5/2/1082c0e680b1f70558c582b600591b84.jpg","text":"TemporaryFile(/tmp/multipartBody7385173905940577717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195213019,"filename":"image_02052025_13_49_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/5/2/741b2cc6184d9e9f29b835073f301029.jpg","text":"TemporaryFile(/tmp/multipartBody4395795311940722751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195213019,"filename":"image_02052025_13_50_07_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0dcd53cbb3e30ad50151cb730dbeaac7.jpg","text":"TemporaryFile(/tmp/multipartBody2755703376899831102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195213019,"filename":"image_02052025_13_50_37_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355359310","file1":"1355359280","file0":"1355359247","file4":"1355359366","file5":"1355359394","file3":"1355359338"},"map_files_photo_id_array":[{"photo_id":"1355359394","filename":"file5"},{"photo_id":"1355359310","filename":"file2"},{"photo_id":"1355359366","filename":"file4"},{"photo_id":"1355359280","filename":"file1"},{"photo_id":"1355359247","filename":"file0"},{"photo_id":"1355359338","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355359338":["hashtag1","hashtag2"]},{"1355359394":["hashtag1","hashtag2"]},{"1355359280":["hashtag1","hashtag2"]},{"1355359247":["hashtag1","hashtag2"]},{"1355359310":["hashtag1","hashtag2"]},{"1355359366":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355359338, 1355359394, 1355359280, 1355359247, 1355359310, 1355359366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.880634307861328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:13:32.700703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/50/image_02052025_13_50_57_10388.jpg', '/home/pi/Desktop/images/02052025/13/50/image_02052025_13_51_06_9327.jpg', '/home/pi/Desktop/images/02052025/13/51/image_02052025_13_51_16_10402.jpg', '/home/pi/Desktop/images/02052025/13/51/image_02052025_13_51_27_10384.jpg', '/home/pi/Desktop/images/02052025/13/51/image_02052025_13_51_36_9327.jpg', '/home/pi/Desktop/images/02052025/13/51/image_02052025_13_51_46_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/50/image_02052025_13_50_57_10388.jpg
/home/pi/Desktop/images/02052025/13/50/image_02052025_13_51_06_9327.jpg
/home/pi/Desktop/images/02052025/13/51/image_02052025_13_51_16_10402.jpg
/home/pi/Desktop/images/02052025/13/51/image_02052025_13_51_27_10384.jpg
/home/pi/Desktop/images/02052025/13/51/image_02052025_13_51_36_9327.jpg
/home/pi/Desktop/images/02052025/13/51/image_02052025_13_51_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":["1355360065","1355360008","1355360119","1355359935","1355359868","1355360171"],"photo_ids_order":["1355359868","1355359935","1355360008","1355360065","1355360119","1355360171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a2094bb590f1cf8f4f535f6f83ea36a7.jpg","text":"TemporaryFile(/tmp/multipartBody4950855403101234509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195273157,"filename":"image_02052025_13_51_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/5/2/c914c0e34ccde532a00e66db80d1a508.jpg","text":"TemporaryFile(/tmp/multipartBody1010532881553365967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195273157,"filename":"image_02052025_13_51_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/5/2/50901fe2015eb7d784878d774cf09cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5392253570141691911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195273157,"filename":"image_02052025_13_51_36_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97a0c1d0fde0848f41f02ef3e5501b96.jpg","text":"TemporaryFile(/tmp/multipartBody6548158196820609718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195273157,"filename":"image_02052025_13_51_06_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af7ca35164a9cf39179cd92bfaf95f24.jpg","text":"TemporaryFile(/tmp/multipartBody6449550445514103628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195273157,"filename":"image_02052025_13_50_57_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/19fe28b7b12bafc6812b17843bf57cbd.jpg","text":"TemporaryFile(/tmp/multipartBody7476077616577891907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195273157,"filename":"image_02052025_13_51_46_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355360008","file1":"1355359935","file0":"1355359868","file4":"1355360119","file5":"1355360171","file3":"1355360065"},"map_files_photo_id_array":[{"photo_id":"1355360171","filename":"file5"},{"photo_id":"1355360008","filename":"file2"},{"photo_id":"1355360119","filename":"file4"},{"photo_id":"1355359935","filename":"file1"},{"photo_id":"1355359868","filename":"file0"},{"photo_id":"1355360065","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355360065":["hashtag1","hashtag2"]},{"1355360008":["hashtag1","hashtag2"]},{"1355360119":["hashtag1","hashtag2"]},{"1355359935":["hashtag1","hashtag2"]},{"1355359868":["hashtag1","hashtag2"]},{"1355360171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355360065, 1355360008, 1355360119, 1355359935, 1355359868, 1355360171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.871183156967163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:14:32.817807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/51/image_02052025_13_51_57_10365.jpg', '/home/pi/Desktop/images/02052025/13/51/image_02052025_13_52_06_9343.jpg', '/home/pi/Desktop/images/02052025/13/52/image_02052025_13_52_17_10397.jpg', '/home/pi/Desktop/images/02052025/13/52/image_02052025_13_52_26_9359.jpg', '/home/pi/Desktop/images/02052025/13/52/image_02052025_13_52_36_10368.jpg', '/home/pi/Desktop/images/02052025/13/52/image_02052025_13_52_47_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/51/image_02052025_13_51_57_10365.jpg
/home/pi/Desktop/images/02052025/13/51/image_02052025_13_52_06_9343.jpg
/home/pi/Desktop/images/02052025/13/52/image_02052025_13_52_17_10397.jpg
/home/pi/Desktop/images/02052025/13/52/image_02052025_13_52_26_9359.jpg
/home/pi/Desktop/images/02052025/13/52/image_02052025_13_52_36_10368.jpg
/home/pi/Desktop/images/02052025/13/52/image_02052025_13_52_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":["1355360806","1355360697","1355360766","1355360733","1355360634","1355360665"],"photo_ids_order":["1355360634","1355360665","1355360697","1355360733","1355360766","1355360806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dac6afa2ee2cf9e8814c3cc0b9291b15.jpg","text":"TemporaryFile(/tmp/multipartBody5867793029290702926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195333275,"filename":"image_02052025_13_52_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/5/2/72b49e304380f389aaa50fb87de226cd.jpg","text":"TemporaryFile(/tmp/multipartBody4208161792162959927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195333275,"filename":"image_02052025_13_52_17_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/489f92f1c9e69358c8877317b8bf8460.jpg","text":"TemporaryFile(/tmp/multipartBody7655111961521888733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195333275,"filename":"image_02052025_13_52_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/5/2/9d2d5cfdc5649a1e06f05681b7050974.jpg","text":"TemporaryFile(/tmp/multipartBody457209114310045338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195333275,"filename":"image_02052025_13_52_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/5/2/446756ce947d7f8171f433aac8f5a9ab.jpg","text":"TemporaryFile(/tmp/multipartBody1451566725107260674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195333275,"filename":"image_02052025_13_51_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/5/2/44b288329db2b51477dcbf7000718a0b.jpg","text":"TemporaryFile(/tmp/multipartBody7522670075232366747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195333275,"filename":"image_02052025_13_52_06_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355360697","file1":"1355360665","file0":"1355360634","file4":"1355360766","file5":"1355360806","file3":"1355360733"},"map_files_photo_id_array":[{"photo_id":"1355360806","filename":"file5"},{"photo_id":"1355360697","filename":"file2"},{"photo_id":"1355360766","filename":"file4"},{"photo_id":"1355360665","filename":"file1"},{"photo_id":"1355360634","filename":"file0"},{"photo_id":"1355360733","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355360806":["hashtag1","hashtag2"]},{"1355360697":["hashtag1","hashtag2"]},{"1355360766":["hashtag1","hashtag2"]},{"1355360733":["hashtag1","hashtag2"]},{"1355360634":["hashtag1","hashtag2"]},{"1355360665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355360806, 1355360697, 1355360766, 1355360733, 1355360634, 1355360665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33500838279724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:15:33.230920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/52/image_02052025_13_52_56_9342.jpg', '/home/pi/Desktop/images/02052025/13/52/image_02052025_13_53_06_10493.jpg', '/home/pi/Desktop/images/02052025/13/53/image_02052025_13_53_17_10353.jpg', '/home/pi/Desktop/images/02052025/13/53/image_02052025_13_53_26_9368.jpg', '/home/pi/Desktop/images/02052025/13/53/image_02052025_13_53_37_10462.jpg', '/home/pi/Desktop/images/02052025/13/53/image_02052025_13_53_46_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/52/image_02052025_13_52_56_9342.jpg
/home/pi/Desktop/images/02052025/13/52/image_02052025_13_53_06_10493.jpg
/home/pi/Desktop/images/02052025/13/53/image_02052025_13_53_17_10353.jpg
/home/pi/Desktop/images/02052025/13/53/image_02052025_13_53_26_9368.jpg
/home/pi/Desktop/images/02052025/13/53/image_02052025_13_53_37_10462.jpg
/home/pi/Desktop/images/02052025/13/53/image_02052025_13_53_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":["1355361447","1355361596","1355361503","1355361332","1355361388","1355361655"],"photo_ids_order":["1355361332","1355361388","1355361447","1355361503","1355361596","1355361655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fb260d9e9b95494a5283304ed4f8b373.jpg","text":"TemporaryFile(/tmp/multipartBody7220923295114105670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195393700,"filename":"image_02052025_13_53_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/5/2/5fbff2489d9ebac574ec9fe63731c677.jpg","text":"TemporaryFile(/tmp/multipartBody2095394013805711216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195393700,"filename":"image_02052025_13_53_37_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/928116889fa076d48d164e4a3d1a48d2.jpg","text":"TemporaryFile(/tmp/multipartBody4547740753343791034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195393700,"filename":"image_02052025_13_53_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2b7db2b9e83b23eb105c1b137d695a8.jpg","text":"TemporaryFile(/tmp/multipartBody3526703320827093860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195393700,"filename":"image_02052025_13_52_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/5/2/d5fd04cb493a3094f85b27befd10aa8e.jpg","text":"TemporaryFile(/tmp/multipartBody6351669462325068596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195393700,"filename":"image_02052025_13_53_06_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cdd5042ecd7560b37fab91627b52e68c.jpg","text":"TemporaryFile(/tmp/multipartBody3781820599644370481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195393700,"filename":"image_02052025_13_53_46_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355361447","file1":"1355361388","file0":"1355361332","file4":"1355361596","file5":"1355361655","file3":"1355361503"},"map_files_photo_id_array":[{"photo_id":"1355361655","filename":"file5"},{"photo_id":"1355361447","filename":"file2"},{"photo_id":"1355361596","filename":"file4"},{"photo_id":"1355361388","filename":"file1"},{"photo_id":"1355361332","filename":"file0"},{"photo_id":"1355361503","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355361447":["hashtag1","hashtag2"]},{"1355361596":["hashtag1","hashtag2"]},{"1355361503":["hashtag1","hashtag2"]},{"1355361332":["hashtag1","hashtag2"]},{"1355361388":["hashtag1","hashtag2"]},{"1355361655":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355361447, 1355361596, 1355361503, 1355361332, 1355361388, 1355361655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.296842098236084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:16:32.469111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/53/image_02052025_13_53_56_10281.jpg', '/home/pi/Desktop/images/02052025/13/53/image_02052025_13_54_07_10347.jpg', '/home/pi/Desktop/images/02052025/13/54/image_02052025_13_54_16_9395.jpg', '/home/pi/Desktop/images/02052025/13/54/image_02052025_13_54_27_10437.jpg', '/home/pi/Desktop/images/02052025/13/54/image_02052025_13_54_37_10357.jpg', '/home/pi/Desktop/images/02052025/13/54/image_02052025_13_54_46_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/53/image_02052025_13_53_56_10281.jpg
/home/pi/Desktop/images/02052025/13/53/image_02052025_13_54_07_10347.jpg
/home/pi/Desktop/images/02052025/13/54/image_02052025_13_54_16_9395.jpg
/home/pi/Desktop/images/02052025/13/54/image_02052025_13_54_27_10437.jpg
/home/pi/Desktop/images/02052025/13/54/image_02052025_13_54_37_10357.jpg
/home/pi/Desktop/images/02052025/13/54/image_02052025_13_54_46_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":["1355362341","1355362158","1355362212","1355362280","1355362448","1355362393"],"photo_ids_order":["1355362158","1355362212","1355362280","1355362341","1355362393","1355362448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c93725b43ee2521e804c9a997c210856.jpg","text":"TemporaryFile(/tmp/multipartBody2789541507175811242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195452939,"filename":"image_02052025_13_54_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/5/2/8b9e7c650e774c14595c9e3b4629f09f.jpg","text":"TemporaryFile(/tmp/multipartBody5412576333386731848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195452939,"filename":"image_02052025_13_53_56_10281.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a22c99889f36b064bc89b609d1b98af8.jpg","text":"TemporaryFile(/tmp/multipartBody5928661476952158802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195452939,"filename":"image_02052025_13_54_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/5/2/ac2254fe3faa5c8902e92b9adb37760c.jpg","text":"TemporaryFile(/tmp/multipartBody3560718132901530000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195452939,"filename":"image_02052025_13_54_16_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e1974e69843266e4f10e7dfb0e7d543.jpg","text":"TemporaryFile(/tmp/multipartBody1187440716833045406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195452939,"filename":"image_02052025_13_54_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/5/2/ab765bb22a802626d58016b144cb547e.jpg","text":"TemporaryFile(/tmp/multipartBody6249603746393262493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195452939,"filename":"image_02052025_13_54_37_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355362280","file1":"1355362212","file0":"1355362158","file4":"1355362393","file5":"1355362448","file3":"1355362341"},"map_files_photo_id_array":[{"photo_id":"1355362448","filename":"file5"},{"photo_id":"1355362280","filename":"file2"},{"photo_id":"1355362393","filename":"file4"},{"photo_id":"1355362212","filename":"file1"},{"photo_id":"1355362158","filename":"file0"},{"photo_id":"1355362341","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355362341":["hashtag1","hashtag2"]},{"1355362158":["hashtag1","hashtag2"]},{"1355362212":["hashtag1","hashtag2"]},{"1355362280":["hashtag1","hashtag2"]},{"1355362448":["hashtag1","hashtag2"]},{"1355362393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355362341, 1355362158, 1355362212, 1355362280, 1355362448, 1355362393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.629976272583008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:17:32.546944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/54/image_02052025_13_54_57_10362.jpg', '/home/pi/Desktop/images/02052025/13/54/image_02052025_13_55_06_9341.jpg', '/home/pi/Desktop/images/02052025/13/55/image_02052025_13_55_26_9838.jpg', '/home/pi/Desktop/images/02052025/13/55/image_02052025_13_55_37_10400.jpg', '/home/pi/Desktop/images/02052025/13/55/image_02052025_13_55_46_9359.jpg', '/home/pi/Desktop/images/02052025/13/55/image_02052025_13_56_07_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/54/image_02052025_13_54_57_10362.jpg
/home/pi/Desktop/images/02052025/13/54/image_02052025_13_55_06_9341.jpg
/home/pi/Desktop/images/02052025/13/55/image_02052025_13_55_26_9838.jpg
/home/pi/Desktop/images/02052025/13/55/image_02052025_13_55_37_10400.jpg
/home/pi/Desktop/images/02052025/13/55/image_02052025_13_55_46_9359.jpg
/home/pi/Desktop/images/02052025/13/55/image_02052025_13_56_07_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":["1355362871","1355362818","1355363228","1355362925","1355363125","1355363017"],"photo_ids_order":["1355362818","1355362871","1355362925","1355363017","1355363125","1355363228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/72dca14ba9116e60a2373a23769d953d.jpg","text":"TemporaryFile(/tmp/multipartBody150867780746502533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195513013,"filename":"image_02052025_13_55_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/5/2/d78f18ea9b09cc1f6b4803cac732716a.jpg","text":"TemporaryFile(/tmp/multipartBody9011450001534649333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195513013,"filename":"image_02052025_13_54_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/5/2/9df1a9d24ca046826184e3055007dec2.jpg","text":"TemporaryFile(/tmp/multipartBody8467757395183343390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195513013,"filename":"image_02052025_13_56_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/5/2/8416046e0997bf2bcb7766bc961c359a.jpg","text":"TemporaryFile(/tmp/multipartBody754744304532718265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195513013,"filename":"image_02052025_13_55_26_9838.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1cf9eb553786b0f2786bed659a0b71d4.jpg","text":"TemporaryFile(/tmp/multipartBody1949777162127640365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195513013,"filename":"image_02052025_13_55_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/5/2/81f38ad3a8dac09e8536f488d6ef7ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3162276997981444527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195513013,"filename":"image_02052025_13_55_37_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355362925","file1":"1355362871","file0":"1355362818","file4":"1355363125","file5":"1355363228","file3":"1355363017"},"map_files_photo_id_array":[{"photo_id":"1355363228","filename":"file5"},{"photo_id":"1355362925","filename":"file2"},{"photo_id":"1355363125","filename":"file4"},{"photo_id":"1355362871","filename":"file1"},{"photo_id":"1355362818","filename":"file0"},{"photo_id":"1355363017","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355362871":["hashtag1","hashtag2"]},{"1355362818":["hashtag1","hashtag2"]},{"1355363228":["hashtag1","hashtag2"]},{"1355362925":["hashtag1","hashtag2"]},{"1355363125":["hashtag1","hashtag2"]},{"1355363017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355362871, 1355362818, 1355363228, 1355362925, 1355363125, 1355363017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28020977973938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:18:32.742471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/56/image_02052025_13_56_17_9931.jpg', '/home/pi/Desktop/images/02052025/13/56/image_02052025_13_56_26_9347.jpg', '/home/pi/Desktop/images/02052025/13/56/image_02052025_13_56_36_10351.jpg', '/home/pi/Desktop/images/02052025/13/56/image_02052025_13_56_47_10437.jpg', '/home/pi/Desktop/images/02052025/13/56/image_02052025_13_56_56_9555.jpg', '/home/pi/Desktop/images/02052025/13/56/image_02052025_13_57_07_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/56/image_02052025_13_56_17_9931.jpg
/home/pi/Desktop/images/02052025/13/56/image_02052025_13_56_26_9347.jpg
/home/pi/Desktop/images/02052025/13/56/image_02052025_13_56_36_10351.jpg
/home/pi/Desktop/images/02052025/13/56/image_02052025_13_56_47_10437.jpg
/home/pi/Desktop/images/02052025/13/56/image_02052025_13_56_56_9555.jpg
/home/pi/Desktop/images/02052025/13/56/image_02052025_13_57_07_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355363975","1355364023","1355363794","1355364072","1355363922","1355363850"],"photo_ids_order":["1355363794","1355363850","1355363922","1355363975","1355364023","1355364072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6bfc691670b2ece1d32699cfab162af6.jpg","text":"TemporaryFile(/tmp/multipartBody8055156144602986794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195573213,"filename":"image_02052025_13_56_47_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a0b744f9fde5eb0fad1816ea506635ea.jpg","text":"TemporaryFile(/tmp/multipartBody8582820129500546452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195573213,"filename":"image_02052025_13_56_56_9555.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f476d2709d78c0580d26d2d51d148de.jpg","text":"TemporaryFile(/tmp/multipartBody6511071111922635006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195573213,"filename":"image_02052025_13_56_17_9931.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/329ca469b2ad8bd03a98c22a9c80a3a7.jpg","text":"TemporaryFile(/tmp/multipartBody2489252596893911103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195573213,"filename":"image_02052025_13_57_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/5/2/c42ff315b0bb557acc780a64067ec7f6.jpg","text":"TemporaryFile(/tmp/multipartBody7546001879427214805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195573213,"filename":"image_02052025_13_56_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/5/2/6f62e038f7b558daa8287d6e1c1fc80c.jpg","text":"TemporaryFile(/tmp/multipartBody7851856476736993260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195573213,"filename":"image_02052025_13_56_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355363922","file1":"1355363850","file0":"1355363794","file4":"1355364023","file5":"1355364072","file3":"1355363975"},"map_files_photo_id_array":[{"photo_id":"1355364072","filename":"file5"},{"photo_id":"1355363922","filename":"file2"},{"photo_id":"1355364023","filename":"file4"},{"photo_id":"1355363850","filename":"file1"},{"photo_id":"1355363794","filename":"file0"},{"photo_id":"1355363975","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355363975":["hashtag1","hashtag2"]},{"1355364023":["hashtag1","hashtag2"]},{"1355363794":["hashtag1","hashtag2"]},{"1355364072":["hashtag1","hashtag2"]},{"1355363922":["hashtag1","hashtag2"]},{"1355363850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355363975, 1355364023, 1355363794, 1355364072, 1355363922, 1355363850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.35835576057434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:19:33.053501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/57/image_02052025_13_57_16_9355.jpg', '/home/pi/Desktop/images/02052025/13/57/image_02052025_13_57_27_10449.jpg', '/home/pi/Desktop/images/02052025/13/57/image_02052025_13_57_36_9344.jpg', '/home/pi/Desktop/images/02052025/13/57/image_02052025_13_57_46_10406.jpg', '/home/pi/Desktop/images/02052025/13/57/image_02052025_13_57_57_10349.jpg', '/home/pi/Desktop/images/02052025/13/57/image_02052025_13_58_06_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/57/image_02052025_13_57_16_9355.jpg
/home/pi/Desktop/images/02052025/13/57/image_02052025_13_57_27_10449.jpg
/home/pi/Desktop/images/02052025/13/57/image_02052025_13_57_36_9344.jpg
/home/pi/Desktop/images/02052025/13/57/image_02052025_13_57_46_10406.jpg
/home/pi/Desktop/images/02052025/13/57/image_02052025_13_57_57_10349.jpg
/home/pi/Desktop/images/02052025/13/57/image_02052025_13_58_06_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355364482","1355364781","1355364544","1355364850","1355364427","1355364820"],"photo_ids_order":["1355364427","1355364482","1355364544","1355364781","1355364820","1355364850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d579921243316c324b07a5487f794b0.jpg","text":"TemporaryFile(/tmp/multipartBody7294518923100402286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195633509,"filename":"image_02052025_13_57_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/5/2/48f762ed46f28e0e2b78bfdb64abffe0.jpg","text":"TemporaryFile(/tmp/multipartBody1283372472193247899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195633509,"filename":"image_02052025_13_57_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/5/2/f4eda1eb9fb6dd3ab70a2c6d4e194021.jpg","text":"TemporaryFile(/tmp/multipartBody729088207183372601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195633509,"filename":"image_02052025_13_57_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/5/2/5d10853659c701b9a0da0a6056215943.jpg","text":"TemporaryFile(/tmp/multipartBody7270036147951177796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195633509,"filename":"image_02052025_13_58_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/5/2/52db9daa185708ad9d1c0d2e7c52f6be.jpg","text":"TemporaryFile(/tmp/multipartBody3965279129400006992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195633509,"filename":"image_02052025_13_57_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/5/2/6b5e712c9b2ee775ac35c0fba88768ab.jpg","text":"TemporaryFile(/tmp/multipartBody7458501767147800796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195633509,"filename":"image_02052025_13_57_57_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355364544","file1":"1355364482","file0":"1355364427","file4":"1355364820","file5":"1355364850","file3":"1355364781"},"map_files_photo_id_array":[{"photo_id":"1355364850","filename":"file5"},{"photo_id":"1355364544","filename":"file2"},{"photo_id":"1355364820","filename":"file4"},{"photo_id":"1355364482","filename":"file1"},{"photo_id":"1355364427","filename":"file0"},{"photo_id":"1355364781","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355364482":["hashtag1","hashtag2"]},{"1355364781":["hashtag1","hashtag2"]},{"1355364544":["hashtag1","hashtag2"]},{"1355364850":["hashtag1","hashtag2"]},{"1355364427":["hashtag1","hashtag2"]},{"1355364820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355364482, 1355364781, 1355364544, 1355364850, 1355364427, 1355364820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.31846475601196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:20:32.188646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/58/image_02052025_13_58_16_10356.jpg', '/home/pi/Desktop/images/02052025/13/58/image_02052025_13_58_27_10431.jpg', '/home/pi/Desktop/images/02052025/13/58/image_02052025_13_58_36_9343.jpg', '/home/pi/Desktop/images/02052025/13/58/image_02052025_13_58_47_10465.jpg', '/home/pi/Desktop/images/02052025/13/58/image_02052025_13_58_56_9360.jpg', '/home/pi/Desktop/images/02052025/13/58/image_02052025_13_59_06_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/58/image_02052025_13_58_16_10356.jpg
/home/pi/Desktop/images/02052025/13/58/image_02052025_13_58_27_10431.jpg
/home/pi/Desktop/images/02052025/13/58/image_02052025_13_58_36_9343.jpg
/home/pi/Desktop/images/02052025/13/58/image_02052025_13_58_47_10465.jpg
/home/pi/Desktop/images/02052025/13/58/image_02052025_13_58_56_9360.jpg
/home/pi/Desktop/images/02052025/13/58/image_02052025_13_59_06_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355364877","1355364963","1355364885","1355364912","1355364881","1355364875"],"photo_ids_order":["1355364875","1355364877","1355364881","1355364885","1355364912","1355364963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d46647419171357a50d7d4599a18a04a.jpg","text":"TemporaryFile(/tmp/multipartBody1156064910445061565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195692650,"filename":"image_02052025_13_58_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/5/2/55d6d26d46e707059430f7c2a146e691.jpg","text":"TemporaryFile(/tmp/multipartBody8707957771012200014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195692650,"filename":"image_02052025_13_59_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/5/2/ef0c8d4ea2bf0b0c6e146e0164d77e8c.jpg","text":"TemporaryFile(/tmp/multipartBody134048993842927898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195692650,"filename":"image_02052025_13_58_47_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b16d8fc58d9b2b20746d00ccd27a1a5.jpg","text":"TemporaryFile(/tmp/multipartBody7356267451885370291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195692650,"filename":"image_02052025_13_58_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/27f431e45954e3d8b220be84ab83a13b.jpg","text":"TemporaryFile(/tmp/multipartBody1918709685496456296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195692650,"filename":"image_02052025_13_58_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/5/2/aad94493abb7da0c959b4f17ea352d15.jpg","text":"TemporaryFile(/tmp/multipartBody6796000669276467851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195692650,"filename":"image_02052025_13_58_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355364881","file1":"1355364877","file0":"1355364875","file4":"1355364912","file5":"1355364963","file3":"1355364885"},"map_files_photo_id_array":[{"photo_id":"1355364963","filename":"file5"},{"photo_id":"1355364881","filename":"file2"},{"photo_id":"1355364912","filename":"file4"},{"photo_id":"1355364877","filename":"file1"},{"photo_id":"1355364875","filename":"file0"},{"photo_id":"1355364885","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355364877":["hashtag1","hashtag2"]},{"1355364963":["hashtag1","hashtag2"]},{"1355364885":["hashtag1","hashtag2"]},{"1355364912":["hashtag1","hashtag2"]},{"1355364881":["hashtag1","hashtag2"]},{"1355364875":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355364877, 1355364963, 1355364885, 1355364912, 1355364881, 1355364875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08558702468872 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:21:32.398028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/13/59/image_02052025_13_59_17_10440.jpg', '/home/pi/Desktop/images/02052025/13/59/image_02052025_13_59_26_9370.jpg', '/home/pi/Desktop/images/02052025/13/59/image_02052025_13_59_37_10358.jpg', '/home/pi/Desktop/images/02052025/13/59/image_02052025_13_59_46_9340.jpg', '/home/pi/Desktop/images/02052025/13/59/image_02052025_13_59_56_10451.jpg', '/home/pi/Desktop/images/02052025/14/01/image_02052025_14_01_14_10073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/13/59/image_02052025_13_59_17_10440.jpg
/home/pi/Desktop/images/02052025/13/59/image_02052025_13_59_26_9370.jpg
/home/pi/Desktop/images/02052025/13/59/image_02052025_13_59_37_10358.jpg
/home/pi/Desktop/images/02052025/13/59/image_02052025_13_59_46_9340.jpg
/home/pi/Desktop/images/02052025/13/59/image_02052025_13_59_56_10451.jpg
/home/pi/Desktop/images/02052025/14/01/image_02052025_14_01_14_10073.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355365288","1355365441","1355365411","1355365376","1355365247","1355365316"],"photo_ids_order":["1355365247","1355365288","1355365316","1355365376","1355365411","1355365441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee4efa164cae7f857801e1be92f407ef.jpg","text":"TemporaryFile(/tmp/multipartBody1220965000940449238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195752854,"filename":"image_02052025_13_59_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/5/2/6299d77c3dc0061aa62fa214f310da6d.jpg","text":"TemporaryFile(/tmp/multipartBody2601361674304763629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195752854,"filename":"image_02052025_14_01_14_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ec28d63aed9c894684a681f76a6f7bf.jpg","text":"TemporaryFile(/tmp/multipartBody6548239623909012646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195752854,"filename":"image_02052025_13_59_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/5/2/3b093e20c5919bd7f319e3a708365104.jpg","text":"TemporaryFile(/tmp/multipartBody5144930540665471909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195752854,"filename":"image_02052025_13_59_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/5/2/b077d527a78e04fb7c901f361643e726.jpg","text":"TemporaryFile(/tmp/multipartBody3967995456085883602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195752854,"filename":"image_02052025_13_59_17_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/793889bf58ec65f7bda0bb7ee2e2bdba.jpg","text":"TemporaryFile(/tmp/multipartBody6617374852271840648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195752854,"filename":"image_02052025_13_59_37_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355365316","file1":"1355365288","file0":"1355365247","file4":"1355365411","file5":"1355365441","file3":"1355365376"},"map_files_photo_id_array":[{"photo_id":"1355365441","filename":"file5"},{"photo_id":"1355365316","filename":"file2"},{"photo_id":"1355365411","filename":"file4"},{"photo_id":"1355365288","filename":"file1"},{"photo_id":"1355365247","filename":"file0"},{"photo_id":"1355365376","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355365288":["hashtag1","hashtag2"]},{"1355365441":["hashtag1","hashtag2"]},{"1355365411":["hashtag1","hashtag2"]},{"1355365376":["hashtag1","hashtag2"]},{"1355365247":["hashtag1","hashtag2"]},{"1355365316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355365288, 1355365441, 1355365411, 1355365376, 1355365247, 1355365316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31450080871582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:22:32.572595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/01/image_02052025_14_01_24_10352.jpg', '/home/pi/Desktop/images/02052025/14/01/image_02052025_14_01_35_10388.jpg', '/home/pi/Desktop/images/02052025/14/01/image_02052025_14_01_44_9396.jpg', '/home/pi/Desktop/images/02052025/14/01/image_02052025_14_01_54_10376.jpg', '/home/pi/Desktop/images/02052025/14/01/image_02052025_14_02_04_9437.jpg', '/home/pi/Desktop/images/02052025/14/02/image_02052025_14_02_14_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/01/image_02052025_14_01_24_10352.jpg
/home/pi/Desktop/images/02052025/14/01/image_02052025_14_01_35_10388.jpg
/home/pi/Desktop/images/02052025/14/01/image_02052025_14_01_44_9396.jpg
/home/pi/Desktop/images/02052025/14/01/image_02052025_14_01_54_10376.jpg
/home/pi/Desktop/images/02052025/14/01/image_02052025_14_02_04_9437.jpg
/home/pi/Desktop/images/02052025/14/02/image_02052025_14_02_14_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":["1355365699","1355365942","1355365869","1355365821","1355365742","1355365916"],"photo_ids_order":["1355365699","1355365742","1355365821","1355365869","1355365916","1355365942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/231fc463a47435d3eed9a3e7b74c3ad2.jpg","text":"TemporaryFile(/tmp/multipartBody3385905676823675697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195813048,"filename":"image_02052025_14_01_24_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d2a4cdd0d084ddd14d989e580c1f6f90.jpg","text":"TemporaryFile(/tmp/multipartBody2583062816017750029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195813048,"filename":"image_02052025_14_02_14_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6568512b6559da7a04e2d06657f55901.jpg","text":"TemporaryFile(/tmp/multipartBody3669299107763156059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195813048,"filename":"image_02052025_14_01_54_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e1bc3ea8ae59e61c0ef70973e55d3a2b.jpg","text":"TemporaryFile(/tmp/multipartBody6093968984522673799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195813048,"filename":"image_02052025_14_01_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/5/2/4ff3487b7bb5f56d5a426995d9e17c82.jpg","text":"TemporaryFile(/tmp/multipartBody6296240776312777805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195813048,"filename":"image_02052025_14_01_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/5/2/b0aa8b6a9b063e46f16007c55d3316ec.jpg","text":"TemporaryFile(/tmp/multipartBody2211020894322714746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195813048,"filename":"image_02052025_14_02_04_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355365821","file1":"1355365742","file0":"1355365699","file4":"1355365916","file5":"1355365942","file3":"1355365869"},"map_files_photo_id_array":[{"photo_id":"1355365942","filename":"file5"},{"photo_id":"1355365821","filename":"file2"},{"photo_id":"1355365916","filename":"file4"},{"photo_id":"1355365742","filename":"file1"},{"photo_id":"1355365699","filename":"file0"},{"photo_id":"1355365869","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355365699":["hashtag1","hashtag2"]},{"1355365942":["hashtag1","hashtag2"]},{"1355365869":["hashtag1","hashtag2"]},{"1355365821":["hashtag1","hashtag2"]},{"1355365742":["hashtag1","hashtag2"]},{"1355365916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355365699, 1355365942, 1355365869, 1355365821, 1355365742, 1355365916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.86764597892761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:23:32.838523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/02/image_02052025_14_02_25_10392.jpg', '/home/pi/Desktop/images/02052025/14/02/image_02052025_14_02_34_9352.jpg', '/home/pi/Desktop/images/02052025/14/02/image_02052025_14_02_44_10354.jpg', '/home/pi/Desktop/images/02052025/14/02/image_02052025_14_02_55_10438.jpg', '/home/pi/Desktop/images/02052025/14/02/image_02052025_14_03_04_9380.jpg', '/home/pi/Desktop/images/02052025/14/03/image_02052025_14_03_15_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/02/image_02052025_14_02_25_10392.jpg
/home/pi/Desktop/images/02052025/14/02/image_02052025_14_02_34_9352.jpg
/home/pi/Desktop/images/02052025/14/02/image_02052025_14_02_44_10354.jpg
/home/pi/Desktop/images/02052025/14/02/image_02052025_14_02_55_10438.jpg
/home/pi/Desktop/images/02052025/14/02/image_02052025_14_03_04_9380.jpg
/home/pi/Desktop/images/02052025/14/03/image_02052025_14_03_15_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":["1355366158","1355366209","1355366184","1355366211","1355366208","1355366207"],"photo_ids_order":["1355366158","1355366184","1355366207","1355366208","1355366209","1355366211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c778149b23fcfbbc6a31cea547045678.jpg","text":"TemporaryFile(/tmp/multipartBody1288820004349844681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195873298,"filename":"image_02052025_14_02_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81ebf4246c456ce2fd197f534bf4e470.jpg","text":"TemporaryFile(/tmp/multipartBody2049763864754174350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195873298,"filename":"image_02052025_14_03_04_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96113beb53677f0d0aecfda4bb38dfbb.jpg","text":"TemporaryFile(/tmp/multipartBody392082495240586611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195873298,"filename":"image_02052025_14_02_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/5/2/62fa6d4e01965077f2121c94ac7dc3d2.jpg","text":"TemporaryFile(/tmp/multipartBody8256001738114835628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195873298,"filename":"image_02052025_14_03_15_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/445d1831aad4d3b3b63b51f78673c267.jpg","text":"TemporaryFile(/tmp/multipartBody3393499792408160269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195873298,"filename":"image_02052025_14_02_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/5/2/0b7299ed477b8a60543197e07aa0b065.jpg","text":"TemporaryFile(/tmp/multipartBody7576482931246504972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195873298,"filename":"image_02052025_14_02_44_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355366207","file1":"1355366184","file0":"1355366158","file4":"1355366209","file5":"1355366211","file3":"1355366208"},"map_files_photo_id_array":[{"photo_id":"1355366211","filename":"file5"},{"photo_id":"1355366207","filename":"file2"},{"photo_id":"1355366209","filename":"file4"},{"photo_id":"1355366184","filename":"file1"},{"photo_id":"1355366158","filename":"file0"},{"photo_id":"1355366208","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355366158":["hashtag1","hashtag2"]},{"1355366209":["hashtag1","hashtag2"]},{"1355366184":["hashtag1","hashtag2"]},{"1355366211":["hashtag1","hashtag2"]},{"1355366208":["hashtag1","hashtag2"]},{"1355366207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355366158, 1355366209, 1355366184, 1355366211, 1355366208, 1355366207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9523401260376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:24:32.989741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/03/image_02052025_14_03_24_9355.jpg', '/home/pi/Desktop/images/02052025/14/03/image_02052025_14_03_34_10397.jpg', '/home/pi/Desktop/images/02052025/14/03/image_02052025_14_03_45_10367.jpg', '/home/pi/Desktop/images/02052025/14/03/image_02052025_14_03_54_9344.jpg', '/home/pi/Desktop/images/02052025/14/03/image_02052025_14_04_04_10397.jpg', '/home/pi/Desktop/images/02052025/14/04/image_02052025_14_04_14_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/03/image_02052025_14_03_24_9355.jpg
/home/pi/Desktop/images/02052025/14/03/image_02052025_14_03_34_10397.jpg
/home/pi/Desktop/images/02052025/14/03/image_02052025_14_03_45_10367.jpg
/home/pi/Desktop/images/02052025/14/03/image_02052025_14_03_54_9344.jpg
/home/pi/Desktop/images/02052025/14/03/image_02052025_14_04_04_10397.jpg
/home/pi/Desktop/images/02052025/14/04/image_02052025_14_04_14_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":["1355366245","1355366256","1355366241","1355366252","1355366255","1355366248"],"photo_ids_order":["1355366241","1355366245","1355366248","1355366252","1355366255","1355366256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a994c7efb8b4add4d6964eef73dcec87.jpg","text":"TemporaryFile(/tmp/multipartBody106408305798485647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195933519,"filename":"image_02052025_14_03_34_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1a2dfb01f8977ca26f08efc1e118c0e.jpg","text":"TemporaryFile(/tmp/multipartBody6471572155011569137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195933519,"filename":"image_02052025_14_04_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/5/2/c12b45e9bc898c172308eea292c6af04.jpg","text":"TemporaryFile(/tmp/multipartBody4461581133812099442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195933519,"filename":"image_02052025_14_03_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6486f9ae59a2ade0fa91213e7eb04bdf.jpg","text":"TemporaryFile(/tmp/multipartBody2719232143523868519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195933519,"filename":"image_02052025_14_03_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/5/2/cbceedfd4bbef04e6a62ea2ed83a9e18.jpg","text":"TemporaryFile(/tmp/multipartBody8033066617960150331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195933519,"filename":"image_02052025_14_04_04_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/48d566e6bbe68440a44bb1355cd1015a.jpg","text":"TemporaryFile(/tmp/multipartBody1711545668801836685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195933519,"filename":"image_02052025_14_03_45_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355366248","file1":"1355366245","file0":"1355366241","file4":"1355366255","file5":"1355366256","file3":"1355366252"},"map_files_photo_id_array":[{"photo_id":"1355366256","filename":"file5"},{"photo_id":"1355366248","filename":"file2"},{"photo_id":"1355366255","filename":"file4"},{"photo_id":"1355366245","filename":"file1"},{"photo_id":"1355366241","filename":"file0"},{"photo_id":"1355366252","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355366245":["hashtag1","hashtag2"]},{"1355366256":["hashtag1","hashtag2"]},{"1355366241":["hashtag1","hashtag2"]},{"1355366252":["hashtag1","hashtag2"]},{"1355366255":["hashtag1","hashtag2"]},{"1355366248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355366245, 1355366256, 1355366241, 1355366252, 1355366255, 1355366248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.043243646621704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:25:32.228757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/04/image_02052025_14_04_24_10414.jpg', '/home/pi/Desktop/images/02052025/14/04/image_02052025_14_04_34_10349.jpg', '/home/pi/Desktop/images/02052025/14/04/image_02052025_14_04_44_9381.jpg', '/home/pi/Desktop/images/02052025/14/04/image_02052025_14_04_54_10357.jpg', '/home/pi/Desktop/images/02052025/14/04/image_02052025_14_05_05_10416.jpg', '/home/pi/Desktop/images/02052025/14/05/image_02052025_14_05_14_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/04/image_02052025_14_04_24_10414.jpg
/home/pi/Desktop/images/02052025/14/04/image_02052025_14_04_34_10349.jpg
/home/pi/Desktop/images/02052025/14/04/image_02052025_14_04_44_9381.jpg
/home/pi/Desktop/images/02052025/14/04/image_02052025_14_04_54_10357.jpg
/home/pi/Desktop/images/02052025/14/04/image_02052025_14_05_05_10416.jpg
/home/pi/Desktop/images/02052025/14/05/image_02052025_14_05_14_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":["1355366278","1355366326","1355366295","1355366384","1355366353","1355366281"],"photo_ids_order":["1355366278","1355366281","1355366295","1355366326","1355366353","1355366384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85daa323cc249f5e65ec3db0f3b076d5.jpg","text":"TemporaryFile(/tmp/multipartBody685292856284783106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195992684,"filename":"image_02052025_14_04_24_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c314897001c0ea2589966059cbe61ac.jpg","text":"TemporaryFile(/tmp/multipartBody7663823021129400900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195992684,"filename":"image_02052025_14_04_54_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2ceb8223acb4eb6b2155cb7652b701b.jpg","text":"TemporaryFile(/tmp/multipartBody4976185198345115717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195992684,"filename":"image_02052025_14_04_44_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/595add972d3bc5cbc902dafc21ff7688.jpg","text":"TemporaryFile(/tmp/multipartBody8307551367881207389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195992684,"filename":"image_02052025_14_05_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/5/2/82b9ab788c5e7694277db9b683f776fd.jpg","text":"TemporaryFile(/tmp/multipartBody6597898344209999975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195992684,"filename":"image_02052025_14_05_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/5/2/6853385bd4ddeb1422cac6228c3c49b7.jpg","text":"TemporaryFile(/tmp/multipartBody6750501092663991538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746195992684,"filename":"image_02052025_14_04_34_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355366295","file1":"1355366281","file0":"1355366278","file4":"1355366353","file5":"1355366384","file3":"1355366326"},"map_files_photo_id_array":[{"photo_id":"1355366384","filename":"file5"},{"photo_id":"1355366295","filename":"file2"},{"photo_id":"1355366353","filename":"file4"},{"photo_id":"1355366281","filename":"file1"},{"photo_id":"1355366278","filename":"file0"},{"photo_id":"1355366326","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355366278":["hashtag1","hashtag2"]},{"1355366326":["hashtag1","hashtag2"]},{"1355366295":["hashtag1","hashtag2"]},{"1355366384":["hashtag1","hashtag2"]},{"1355366353":["hashtag1","hashtag2"]},{"1355366281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355366278, 1355366326, 1355366295, 1355366384, 1355366353, 1355366281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17089915275574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:26:32.400415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/05/image_02052025_14_05_24_10500.jpg', '/home/pi/Desktop/images/02052025/14/05/image_02052025_14_05_34_9328.jpg', '/home/pi/Desktop/images/02052025/14/05/image_02052025_14_05_44_10362.jpg', '/home/pi/Desktop/images/02052025/14/05/image_02052025_14_05_55_10448.jpg', '/home/pi/Desktop/images/02052025/14/05/image_02052025_14_06_04_9346.jpg', '/home/pi/Desktop/images/02052025/14/06/image_02052025_14_06_14_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/05/image_02052025_14_05_24_10500.jpg
/home/pi/Desktop/images/02052025/14/05/image_02052025_14_05_34_9328.jpg
/home/pi/Desktop/images/02052025/14/05/image_02052025_14_05_44_10362.jpg
/home/pi/Desktop/images/02052025/14/05/image_02052025_14_05_55_10448.jpg
/home/pi/Desktop/images/02052025/14/05/image_02052025_14_06_04_9346.jpg
/home/pi/Desktop/images/02052025/14/06/image_02052025_14_06_14_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355366638","1355366667","1355366669","1355366654","1355366662","1355366665"],"photo_ids_order":["1355366638","1355366654","1355366662","1355366665","1355366667","1355366669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/874c60516d12fdd829d13b079c70a061.jpg","text":"TemporaryFile(/tmp/multipartBody7312093699826486838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196052858,"filename":"image_02052025_14_05_24_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e28ace3a41e891b9e0a78514cd025826.jpg","text":"TemporaryFile(/tmp/multipartBody990771425488609577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196052858,"filename":"image_02052025_14_06_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/5/2/a3414e3e9112d044c5553a36b7bdb498.jpg","text":"TemporaryFile(/tmp/multipartBody6376062668606850830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196052858,"filename":"image_02052025_14_06_14_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/240560113c1bcfe25d75521a7d27da8c.jpg","text":"TemporaryFile(/tmp/multipartBody3075157943404415810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196052858,"filename":"image_02052025_14_05_34_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/74dcf9ffc2e8900726beeabe234f7b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6069069244420012603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196052858,"filename":"image_02052025_14_05_44_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6021bdb6a7804e74bc6cfcf5fbe7eff.jpg","text":"TemporaryFile(/tmp/multipartBody4528546795278260037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196052858,"filename":"image_02052025_14_05_55_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355366662","file1":"1355366654","file0":"1355366638","file4":"1355366667","file5":"1355366669","file3":"1355366665"},"map_files_photo_id_array":[{"photo_id":"1355366669","filename":"file5"},{"photo_id":"1355366662","filename":"file2"},{"photo_id":"1355366667","filename":"file4"},{"photo_id":"1355366654","filename":"file1"},{"photo_id":"1355366638","filename":"file0"},{"photo_id":"1355366665","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355366638":["hashtag1","hashtag2"]},{"1355366667":["hashtag1","hashtag2"]},{"1355366669":["hashtag1","hashtag2"]},{"1355366654":["hashtag1","hashtag2"]},{"1355366662":["hashtag1","hashtag2"]},{"1355366665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355366638, 1355366667, 1355366669, 1355366654, 1355366662, 1355366665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.980607509613037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:27:32.449051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/06/image_02052025_14_06_24_9473.jpg', '/home/pi/Desktop/images/02052025/14/06/image_02052025_14_06_34_10359.jpg', '/home/pi/Desktop/images/02052025/14/06/image_02052025_14_06_45_10361.jpg', '/home/pi/Desktop/images/02052025/14/06/image_02052025_14_06_54_9337.jpg', '/home/pi/Desktop/images/02052025/14/06/image_02052025_14_07_04_10345.jpg', '/home/pi/Desktop/images/02052025/14/07/image_02052025_14_07_15_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/06/image_02052025_14_06_24_9473.jpg
/home/pi/Desktop/images/02052025/14/06/image_02052025_14_06_34_10359.jpg
/home/pi/Desktop/images/02052025/14/06/image_02052025_14_06_45_10361.jpg
/home/pi/Desktop/images/02052025/14/06/image_02052025_14_06_54_9337.jpg
/home/pi/Desktop/images/02052025/14/06/image_02052025_14_07_04_10345.jpg
/home/pi/Desktop/images/02052025/14/07/image_02052025_14_07_15_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355366704","1355366697","1355366700","1355366702","1355366711","1355366692"],"photo_ids_order":["1355366692","1355366697","1355366700","1355366702","1355366704","1355366711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8383a730653d3dc2156b11be3896f5f4.jpg","text":"TemporaryFile(/tmp/multipartBody2860499709501330726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196112911,"filename":"image_02052025_14_07_04_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/42ec20a3c72951724119793f2ce49183.jpg","text":"TemporaryFile(/tmp/multipartBody4784772307394923699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196112911,"filename":"image_02052025_14_06_34_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/113035adc0ecbeb383f6b02cb8e30bef.jpg","text":"TemporaryFile(/tmp/multipartBody151645948127779906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196112911,"filename":"image_02052025_14_06_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/5/2/593b449fa6dba11929a037ef01d5060d.jpg","text":"TemporaryFile(/tmp/multipartBody2927348744898678582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196112911,"filename":"image_02052025_14_06_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de18b916bb72a8d491fbe21e22a7a2a3.jpg","text":"TemporaryFile(/tmp/multipartBody1732962225823574190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196112911,"filename":"image_02052025_14_07_15_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa5eb5c9db95208d3f938f2f507db37c.jpg","text":"TemporaryFile(/tmp/multipartBody2525175904439131990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196112911,"filename":"image_02052025_14_06_24_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355366700","file1":"1355366697","file0":"1355366692","file4":"1355366704","file5":"1355366711","file3":"1355366702"},"map_files_photo_id_array":[{"photo_id":"1355366711","filename":"file5"},{"photo_id":"1355366700","filename":"file2"},{"photo_id":"1355366704","filename":"file4"},{"photo_id":"1355366697","filename":"file1"},{"photo_id":"1355366692","filename":"file0"},{"photo_id":"1355366702","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355366704":["hashtag1","hashtag2"]},{"1355366697":["hashtag1","hashtag2"]},{"1355366700":["hashtag1","hashtag2"]},{"1355366702":["hashtag1","hashtag2"]},{"1355366711":["hashtag1","hashtag2"]},{"1355366692":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355366704, 1355366697, 1355366700, 1355366702, 1355366711, 1355366692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.417890787124634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:28:32.582423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/07/image_02052025_14_07_24_9500.jpg', '/home/pi/Desktop/images/02052025/14/07/image_02052025_14_07_34_10347.jpg', '/home/pi/Desktop/images/02052025/14/07/image_02052025_14_07_44_9353.jpg', '/home/pi/Desktop/images/02052025/14/07/image_02052025_14_07_54_10422.jpg', '/home/pi/Desktop/images/02052025/14/07/image_02052025_14_08_05_10397.jpg', '/home/pi/Desktop/images/02052025/14/08/image_02052025_14_08_14_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/07/image_02052025_14_07_24_9500.jpg
/home/pi/Desktop/images/02052025/14/07/image_02052025_14_07_34_10347.jpg
/home/pi/Desktop/images/02052025/14/07/image_02052025_14_07_44_9353.jpg
/home/pi/Desktop/images/02052025/14/07/image_02052025_14_07_54_10422.jpg
/home/pi/Desktop/images/02052025/14/07/image_02052025_14_08_05_10397.jpg
/home/pi/Desktop/images/02052025/14/08/image_02052025_14_08_14_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":["1355366773","1355366752","1355366763","1355366759","1355366761","1355366785"],"photo_ids_order":["1355366752","1355366759","1355366761","1355366763","1355366773","1355366785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/68aa56bcc301485c64c3e4c005893d1f.jpg","text":"TemporaryFile(/tmp/multipartBody6777804832038734424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196173042,"filename":"image_02052025_14_08_05_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c8468241c4e370260e102e2dd9309ac.jpg","text":"TemporaryFile(/tmp/multipartBody7087654437642431163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196173042,"filename":"image_02052025_14_07_24_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/42f092cf8081d4675485d5d09dd820f2.jpg","text":"TemporaryFile(/tmp/multipartBody1265829241818423304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196173042,"filename":"image_02052025_14_07_54_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff3ef77bea0abb13543528ecaa3161bc.jpg","text":"TemporaryFile(/tmp/multipartBody3390281526325700089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196173042,"filename":"image_02052025_14_07_34_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ac528b2daab69b1f2f3c6a227e92adc.jpg","text":"TemporaryFile(/tmp/multipartBody8036701195385259182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196173042,"filename":"image_02052025_14_07_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/5/2/49620c694bf6ced2a2785b2d88277781.jpg","text":"TemporaryFile(/tmp/multipartBody8210179443076251612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196173042,"filename":"image_02052025_14_08_14_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355366761","file1":"1355366759","file0":"1355366752","file4":"1355366773","file5":"1355366785","file3":"1355366763"},"map_files_photo_id_array":[{"photo_id":"1355366785","filename":"file5"},{"photo_id":"1355366761","filename":"file2"},{"photo_id":"1355366773","filename":"file4"},{"photo_id":"1355366759","filename":"file1"},{"photo_id":"1355366752","filename":"file0"},{"photo_id":"1355366763","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355366773":["hashtag1","hashtag2"]},{"1355366752":["hashtag1","hashtag2"]},{"1355366763":["hashtag1","hashtag2"]},{"1355366759":["hashtag1","hashtag2"]},{"1355366761":["hashtag1","hashtag2"]},{"1355366785":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355366773, 1355366752, 1355366763, 1355366759, 1355366761, 1355366785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.683494091033936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:29:32.741291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/08/image_02052025_14_08_24_10342.jpg', '/home/pi/Desktop/images/02052025/14/08/image_02052025_14_08_35_10408.jpg', '/home/pi/Desktop/images/02052025/14/08/image_02052025_14_08_44_9329.jpg', '/home/pi/Desktop/images/02052025/14/08/image_02052025_14_08_54_10419.jpg', '/home/pi/Desktop/images/02052025/14/08/image_02052025_14_09_04_9387.jpg', '/home/pi/Desktop/images/02052025/14/09/image_02052025_14_09_14_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/08/image_02052025_14_08_24_10342.jpg
/home/pi/Desktop/images/02052025/14/08/image_02052025_14_08_35_10408.jpg
/home/pi/Desktop/images/02052025/14/08/image_02052025_14_08_44_9329.jpg
/home/pi/Desktop/images/02052025/14/08/image_02052025_14_08_54_10419.jpg
/home/pi/Desktop/images/02052025/14/08/image_02052025_14_09_04_9387.jpg
/home/pi/Desktop/images/02052025/14/09/image_02052025_14_09_14_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355366824","1355366817","1355366870","1355366864","1355366837","1355366869"],"photo_ids_order":["1355366817","1355366824","1355366837","1355366864","1355366869","1355366870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4893e947f39cbcee92f50cd36dd7266b.jpg","text":"TemporaryFile(/tmp/multipartBody3112104230072601280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196233200,"filename":"image_02052025_14_08_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/5/2/6fc5123ae737d29441056a72cad8bedb.jpg","text":"TemporaryFile(/tmp/multipartBody1614881153547030944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196233200,"filename":"image_02052025_14_08_24_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ff14b095a198b3d940a7136be2f04ec.jpg","text":"TemporaryFile(/tmp/multipartBody8684857009502128986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196233200,"filename":"image_02052025_14_09_14_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6959722f75e793ca2429362fbd11709e.jpg","text":"TemporaryFile(/tmp/multipartBody7965644915717449683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196233200,"filename":"image_02052025_14_08_54_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2aba98f3d2dba25ba8fd72b61f775d6.jpg","text":"TemporaryFile(/tmp/multipartBody5756942758757144098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196233200,"filename":"image_02052025_14_08_44_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/186e84a62db6d4f219e31c2768f73ad8.jpg","text":"TemporaryFile(/tmp/multipartBody8973853856273723580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196233200,"filename":"image_02052025_14_09_04_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355366837","file1":"1355366824","file0":"1355366817","file4":"1355366869","file5":"1355366870","file3":"1355366864"},"map_files_photo_id_array":[{"photo_id":"1355366870","filename":"file5"},{"photo_id":"1355366837","filename":"file2"},{"photo_id":"1355366869","filename":"file4"},{"photo_id":"1355366824","filename":"file1"},{"photo_id":"1355366817","filename":"file0"},{"photo_id":"1355366864","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355366824":["hashtag1","hashtag2"]},{"1355366817":["hashtag1","hashtag2"]},{"1355366870":["hashtag1","hashtag2"]},{"1355366864":["hashtag1","hashtag2"]},{"1355366837":["hashtag1","hashtag2"]},{"1355366869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355366824, 1355366817, 1355366870, 1355366864, 1355366837, 1355366869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45149755477905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:30:32.898758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/09/image_02052025_14_09_25_10462.jpg', '/home/pi/Desktop/images/02052025/14/09/image_02052025_14_09_34_9346.jpg', '/home/pi/Desktop/images/02052025/14/09/image_02052025_14_09_44_10403.jpg', '/home/pi/Desktop/images/02052025/14/09/image_02052025_14_09_54_9348.jpg', '/home/pi/Desktop/images/02052025/14/09/image_02052025_14_10_04_10377.jpg', '/home/pi/Desktop/images/02052025/14/10/image_02052025_14_10_15_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/09/image_02052025_14_09_25_10462.jpg
/home/pi/Desktop/images/02052025/14/09/image_02052025_14_09_34_9346.jpg
/home/pi/Desktop/images/02052025/14/09/image_02052025_14_09_44_10403.jpg
/home/pi/Desktop/images/02052025/14/09/image_02052025_14_09_54_9348.jpg
/home/pi/Desktop/images/02052025/14/09/image_02052025_14_10_04_10377.jpg
/home/pi/Desktop/images/02052025/14/10/image_02052025_14_10_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":["1355366920","1355366908","1355366910","1355366904","1355366918","1355366906"],"photo_ids_order":["1355366904","1355366906","1355366908","1355366910","1355366918","1355366920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff7c1b017f5106d952288390f661276f.jpg","text":"TemporaryFile(/tmp/multipartBody2712655143977313679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196293436,"filename":"image_02052025_14_10_15_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0d3f283332065713bf33737e6504bf4.jpg","text":"TemporaryFile(/tmp/multipartBody7858395981176897242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196293436,"filename":"image_02052025_14_09_44_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/483646f56bd6811896da3ceeabcd379a.jpg","text":"TemporaryFile(/tmp/multipartBody4930158685096053475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196293436,"filename":"image_02052025_14_09_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2cfff815be3e88e3455c9b6d7eb6023f.jpg","text":"TemporaryFile(/tmp/multipartBody5715548473147152862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196293436,"filename":"image_02052025_14_09_25_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de7d91d6bc9af01056aba4669559ce37.jpg","text":"TemporaryFile(/tmp/multipartBody8926806506003767451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196293436,"filename":"image_02052025_14_10_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/5/2/3ead916930ba5fe155906a10f551b09e.jpg","text":"TemporaryFile(/tmp/multipartBody6415653522227867396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196293436,"filename":"image_02052025_14_09_34_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355366908","file1":"1355366906","file0":"1355366904","file4":"1355366918","file5":"1355366920","file3":"1355366910"},"map_files_photo_id_array":[{"photo_id":"1355366920","filename":"file5"},{"photo_id":"1355366908","filename":"file2"},{"photo_id":"1355366918","filename":"file4"},{"photo_id":"1355366906","filename":"file1"},{"photo_id":"1355366904","filename":"file0"},{"photo_id":"1355366910","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355366920":["hashtag1","hashtag2"]},{"1355366908":["hashtag1","hashtag2"]},{"1355366910":["hashtag1","hashtag2"]},{"1355366904":["hashtag1","hashtag2"]},{"1355366918":["hashtag1","hashtag2"]},{"1355366906":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355366920, 1355366908, 1355366910, 1355366904, 1355366918, 1355366906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.523460388183594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:31:33.123540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/10/image_02052025_14_10_24_9431.jpg', '/home/pi/Desktop/images/02052025/14/10/image_02052025_14_10_34_10411.jpg', '/home/pi/Desktop/images/02052025/14/10/image_02052025_14_10_44_9365.jpg', '/home/pi/Desktop/images/02052025/14/10/image_02052025_14_10_54_10343.jpg', '/home/pi/Desktop/images/02052025/14/10/image_02052025_14_11_05_10501.jpg', '/home/pi/Desktop/images/02052025/14/11/image_02052025_14_11_14_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/10/image_02052025_14_10_24_9431.jpg
/home/pi/Desktop/images/02052025/14/10/image_02052025_14_10_34_10411.jpg
/home/pi/Desktop/images/02052025/14/10/image_02052025_14_10_44_9365.jpg
/home/pi/Desktop/images/02052025/14/10/image_02052025_14_10_54_10343.jpg
/home/pi/Desktop/images/02052025/14/10/image_02052025_14_11_05_10501.jpg
/home/pi/Desktop/images/02052025/14/11/image_02052025_14_11_14_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355366952","1355366955","1355366949","1355366963","1355366945","1355366962"],"photo_ids_order":["1355366945","1355366949","1355366952","1355366955","1355366962","1355366963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3fe07ed159f79c8d386e81fa0f3598b.jpg","text":"TemporaryFile(/tmp/multipartBody4006129331159528653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196353575,"filename":"image_02052025_14_10_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/5/2/bd46f10c1034988e87945981cd6b5112.jpg","text":"TemporaryFile(/tmp/multipartBody214847537036155700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196353575,"filename":"image_02052025_14_10_54_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/930355d6c169bbb13acd2e27cb021180.jpg","text":"TemporaryFile(/tmp/multipartBody2779381252211676720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196353575,"filename":"image_02052025_14_10_34_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eccce1e134321c4f6327eb290c194205.jpg","text":"TemporaryFile(/tmp/multipartBody1013654415945789948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196353575,"filename":"image_02052025_14_11_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fe04e948e2dde8f5950346941eeaeb6d.jpg","text":"TemporaryFile(/tmp/multipartBody4179368952824777052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196353575,"filename":"image_02052025_14_10_24_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/82daf72b3baeba680ef88c12dc8ecdcb.jpg","text":"TemporaryFile(/tmp/multipartBody206622803052069259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196353575,"filename":"image_02052025_14_11_05_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355366952","file1":"1355366949","file0":"1355366945","file4":"1355366962","file5":"1355366963","file3":"1355366955"},"map_files_photo_id_array":[{"photo_id":"1355366963","filename":"file5"},{"photo_id":"1355366952","filename":"file2"},{"photo_id":"1355366962","filename":"file4"},{"photo_id":"1355366949","filename":"file1"},{"photo_id":"1355366945","filename":"file0"},{"photo_id":"1355366955","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355366952":["hashtag1","hashtag2"]},{"1355366955":["hashtag1","hashtag2"]},{"1355366949":["hashtag1","hashtag2"]},{"1355366963":["hashtag1","hashtag2"]},{"1355366945":["hashtag1","hashtag2"]},{"1355366962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355366952, 1355366955, 1355366949, 1355366963, 1355366945, 1355366962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64736533164978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:32:32.385468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/11/image_02052025_14_11_24_10352.jpg', '/home/pi/Desktop/images/02052025/14/11/image_02052025_14_11_44_10338.jpg', '/home/pi/Desktop/images/02052025/14/11/image_02052025_14_11_55_10540.jpg', '/home/pi/Desktop/images/02052025/14/11/image_02052025_14_12_04_9342.jpg', '/home/pi/Desktop/images/02052025/14/12/image_02052025_14_12_14_10476.jpg', '/home/pi/Desktop/images/02052025/14/12/image_02052025_14_12_24_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/11/image_02052025_14_11_24_10352.jpg
/home/pi/Desktop/images/02052025/14/11/image_02052025_14_11_44_10338.jpg
/home/pi/Desktop/images/02052025/14/11/image_02052025_14_11_55_10540.jpg
/home/pi/Desktop/images/02052025/14/11/image_02052025_14_12_04_9342.jpg
/home/pi/Desktop/images/02052025/14/12/image_02052025_14_12_14_10476.jpg
/home/pi/Desktop/images/02052025/14/12/image_02052025_14_12_24_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":["1355367001","1355366997","1355366985","1355367000","1355366993","1355366989"],"photo_ids_order":["1355366985","1355366989","1355366993","1355366997","1355367000","1355367001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2b5a3719536d11b9eb7703b86e1afdc.jpg","text":"TemporaryFile(/tmp/multipartBody274813559117555232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196412929,"filename":"image_02052025_14_12_24_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7628037194ac75ec7f4ea0d96e4bf69.jpg","text":"TemporaryFile(/tmp/multipartBody2534773631774145739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196412929,"filename":"image_02052025_14_12_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/5/2/e9aa60252bbfca6d719dcc49d2e6b27e.jpg","text":"TemporaryFile(/tmp/multipartBody8930501655289863218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196412929,"filename":"image_02052025_14_11_24_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dfc50204c3be7816780b657c7743e759.jpg","text":"TemporaryFile(/tmp/multipartBody4461825491946839550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196412929,"filename":"image_02052025_14_12_14_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56235e49110d3b75d81e09e7d77b3312.jpg","text":"TemporaryFile(/tmp/multipartBody5486081825177386254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196412929,"filename":"image_02052025_14_11_55_10540.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55fa959cc89042ff302b45f1ba9eae73.jpg","text":"TemporaryFile(/tmp/multipartBody8980239297522084824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196412929,"filename":"image_02052025_14_11_44_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355366993","file1":"1355366989","file0":"1355366985","file4":"1355367000","file5":"1355367001","file3":"1355366997"},"map_files_photo_id_array":[{"photo_id":"1355367001","filename":"file5"},{"photo_id":"1355366993","filename":"file2"},{"photo_id":"1355367000","filename":"file4"},{"photo_id":"1355366989","filename":"file1"},{"photo_id":"1355366985","filename":"file0"},{"photo_id":"1355366997","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355367001":["hashtag1","hashtag2"]},{"1355366997":["hashtag1","hashtag2"]},{"1355366985":["hashtag1","hashtag2"]},{"1355367000":["hashtag1","hashtag2"]},{"1355366993":["hashtag1","hashtag2"]},{"1355366989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355367001, 1355366997, 1355366985, 1355367000, 1355366993, 1355366989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11201238632202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:33:32.445644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/12/image_02052025_14_12_34_10358.jpg', '/home/pi/Desktop/images/02052025/14/12/image_02052025_14_12_44_10353.jpg', '/home/pi/Desktop/images/02052025/14/13/image_02052025_14_13_15_10404.jpg', '/home/pi/Desktop/images/02052025/14/13/image_02052025_14_13_24_9475.jpg', '/home/pi/Desktop/images/02052025/14/13/image_02052025_14_13_44_9350.jpg', '/home/pi/Desktop/images/02052025/14/13/image_02052025_14_13_54_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/12/image_02052025_14_12_34_10358.jpg
/home/pi/Desktop/images/02052025/14/12/image_02052025_14_12_44_10353.jpg
/home/pi/Desktop/images/02052025/14/13/image_02052025_14_13_15_10404.jpg
/home/pi/Desktop/images/02052025/14/13/image_02052025_14_13_24_9475.jpg
/home/pi/Desktop/images/02052025/14/13/image_02052025_14_13_44_9350.jpg
/home/pi/Desktop/images/02052025/14/13/image_02052025_14_13_54_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355367211","1355367205","1355367213","1355367215","1355367203","1355367217"],"photo_ids_order":["1355367203","1355367205","1355367211","1355367213","1355367215","1355367217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3b52bf67b9b06c475353fad3e346b99d.jpg","text":"TemporaryFile(/tmp/multipartBody8561949715689122495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196472898,"filename":"image_02052025_14_13_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/5/2/8bd1bf0f3fabd7e0616457d71f3c6daa.jpg","text":"TemporaryFile(/tmp/multipartBody3669348672997523952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196472898,"filename":"image_02052025_14_12_44_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d81c0e5a4093e986d15a20f08e99445c.jpg","text":"TemporaryFile(/tmp/multipartBody3703546340029387034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196472898,"filename":"image_02052025_14_13_24_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b5612b56741ee1e6a4f27c5f988849a1.jpg","text":"TemporaryFile(/tmp/multipartBody7083602926850252630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196472898,"filename":"image_02052025_14_13_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f2066d7042421c50233c166f323342a.jpg","text":"TemporaryFile(/tmp/multipartBody4506519614309591573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196472898,"filename":"image_02052025_14_12_34_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa82a5c608ea391481217c8f6faf1016.jpg","text":"TemporaryFile(/tmp/multipartBody8999437706751421718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196472898,"filename":"image_02052025_14_13_54_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355367211","file1":"1355367205","file0":"1355367203","file4":"1355367215","file5":"1355367217","file3":"1355367213"},"map_files_photo_id_array":[{"photo_id":"1355367217","filename":"file5"},{"photo_id":"1355367211","filename":"file2"},{"photo_id":"1355367215","filename":"file4"},{"photo_id":"1355367205","filename":"file1"},{"photo_id":"1355367203","filename":"file0"},{"photo_id":"1355367213","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355367211":["hashtag1","hashtag2"]},{"1355367205":["hashtag1","hashtag2"]},{"1355367213":["hashtag1","hashtag2"]},{"1355367215":["hashtag1","hashtag2"]},{"1355367203":["hashtag1","hashtag2"]},{"1355367217":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355367211, 1355367205, 1355367213, 1355367215, 1355367203, 1355367217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.154595136642456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:34:32.637131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/13/image_02052025_14_14_05_10387.jpg', '/home/pi/Desktop/images/02052025/14/14/image_02052025_14_14_14_9332.jpg', '/home/pi/Desktop/images/02052025/14/14/image_02052025_14_14_24_10350.jpg', '/home/pi/Desktop/images/02052025/14/14/image_02052025_14_14_35_10430.jpg', '/home/pi/Desktop/images/02052025/14/14/image_02052025_14_14_55_10499.jpg', '/home/pi/Desktop/images/02052025/14/15/image_02052025_14_15_14_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/13/image_02052025_14_14_05_10387.jpg
/home/pi/Desktop/images/02052025/14/14/image_02052025_14_14_14_9332.jpg
/home/pi/Desktop/images/02052025/14/14/image_02052025_14_14_24_10350.jpg
/home/pi/Desktop/images/02052025/14/14/image_02052025_14_14_35_10430.jpg
/home/pi/Desktop/images/02052025/14/14/image_02052025_14_14_55_10499.jpg
/home/pi/Desktop/images/02052025/14/15/image_02052025_14_15_14_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":["1355367393","1355367348","1355367376","1355367385","1355367388","1355367390"],"photo_ids_order":["1355367348","1355367376","1355367385","1355367388","1355367390","1355367393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ac819f4274b2a125e4a1a05c09e8fb0d.jpg","text":"TemporaryFile(/tmp/multipartBody547151143140924154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196533099,"filename":"image_02052025_14_15_14_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8869e9a36c64c06443345d9323e5727.jpg","text":"TemporaryFile(/tmp/multipartBody1025292783241114198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196533099,"filename":"image_02052025_14_14_05_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5017d915b19484cbea9b33889c36c398.jpg","text":"TemporaryFile(/tmp/multipartBody7937525580424131998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196533099,"filename":"image_02052025_14_14_14_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0e594bc1acd1bcd51c2f0132e9ba1fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3857382179007253138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196533099,"filename":"image_02052025_14_14_24_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8205534cd0c50bd920598de0337cd891.jpg","text":"TemporaryFile(/tmp/multipartBody8263684832139119655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196533099,"filename":"image_02052025_14_14_35_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fcebdaf3148e3459ceda9a51ed28ef89.jpg","text":"TemporaryFile(/tmp/multipartBody4282142170574820991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196533099,"filename":"image_02052025_14_14_55_10499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355367385","file1":"1355367376","file0":"1355367348","file4":"1355367390","file5":"1355367393","file3":"1355367388"},"map_files_photo_id_array":[{"photo_id":"1355367393","filename":"file5"},{"photo_id":"1355367385","filename":"file2"},{"photo_id":"1355367390","filename":"file4"},{"photo_id":"1355367376","filename":"file1"},{"photo_id":"1355367348","filename":"file0"},{"photo_id":"1355367388","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355367393":["hashtag1","hashtag2"]},{"1355367348":["hashtag1","hashtag2"]},{"1355367376":["hashtag1","hashtag2"]},{"1355367385":["hashtag1","hashtag2"]},{"1355367388":["hashtag1","hashtag2"]},{"1355367390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355367393, 1355367348, 1355367376, 1355367385, 1355367388, 1355367390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7211549282074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:35:32.739091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/15/image_02052025_14_15_25_10423.jpg', '/home/pi/Desktop/images/02052025/14/15/image_02052025_14_15_45_10481.jpg', '/home/pi/Desktop/images/02052025/14/15/image_02052025_14_15_54_9337.jpg', '/home/pi/Desktop/images/02052025/14/15/image_02052025_14_16_04_10365.jpg', '/home/pi/Desktop/images/02052025/14/16/image_02052025_14_16_15_10374.jpg', '/home/pi/Desktop/images/02052025/14/16/image_02052025_14_16_24_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/15/image_02052025_14_15_25_10423.jpg
/home/pi/Desktop/images/02052025/14/15/image_02052025_14_15_45_10481.jpg
/home/pi/Desktop/images/02052025/14/15/image_02052025_14_15_54_9337.jpg
/home/pi/Desktop/images/02052025/14/15/image_02052025_14_16_04_10365.jpg
/home/pi/Desktop/images/02052025/14/16/image_02052025_14_16_15_10374.jpg
/home/pi/Desktop/images/02052025/14/16/image_02052025_14_16_24_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":["1355367556","1355367559","1355367550","1355367544","1355367538","1355367553"],"photo_ids_order":["1355367538","1355367544","1355367550","1355367553","1355367556","1355367559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f95e10f487dfadc94b7876bfe36ab603.jpg","text":"TemporaryFile(/tmp/multipartBody8029566197873925756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196593202,"filename":"image_02052025_14_16_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/5/2/f34115338dea5e5f7e8dfa17f1c00b0e.jpg","text":"TemporaryFile(/tmp/multipartBody8713229663600990131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196593202,"filename":"image_02052025_14_16_24_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90c41baff0d2d828c6d78a73418bcef2.jpg","text":"TemporaryFile(/tmp/multipartBody7383042044136611861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196593202,"filename":"image_02052025_14_15_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81f108ee001b524979764460a060d809.jpg","text":"TemporaryFile(/tmp/multipartBody969563783492777692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196593202,"filename":"image_02052025_14_15_45_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/329136da6e336902d2bfcabbe749a6b5.jpg","text":"TemporaryFile(/tmp/multipartBody5590022876106535646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196593202,"filename":"image_02052025_14_15_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/5/2/1402200fb72d782f1db1d28b400a9713.jpg","text":"TemporaryFile(/tmp/multipartBody908066179872262684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196593202,"filename":"image_02052025_14_16_04_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355367550","file1":"1355367544","file0":"1355367538","file4":"1355367556","file5":"1355367559","file3":"1355367553"},"map_files_photo_id_array":[{"photo_id":"1355367559","filename":"file5"},{"photo_id":"1355367550","filename":"file2"},{"photo_id":"1355367556","filename":"file4"},{"photo_id":"1355367544","filename":"file1"},{"photo_id":"1355367538","filename":"file0"},{"photo_id":"1355367553","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355367556":["hashtag1","hashtag2"]},{"1355367559":["hashtag1","hashtag2"]},{"1355367550":["hashtag1","hashtag2"]},{"1355367544":["hashtag1","hashtag2"]},{"1355367538":["hashtag1","hashtag2"]},{"1355367553":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355367556, 1355367559, 1355367550, 1355367544, 1355367538, 1355367553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49779748916626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:36:32.984418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/16/image_02052025_14_16_35_10480.jpg', '/home/pi/Desktop/images/02052025/14/16/image_02052025_14_16_44_9346.jpg', '/home/pi/Desktop/images/02052025/14/16/image_02052025_14_16_54_10381.jpg', '/home/pi/Desktop/images/02052025/14/16/image_02052025_14_17_05_10371.jpg', '/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_14_9443.jpg', '/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_24_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/16/image_02052025_14_16_35_10480.jpg
/home/pi/Desktop/images/02052025/14/16/image_02052025_14_16_44_9346.jpg
/home/pi/Desktop/images/02052025/14/16/image_02052025_14_16_54_10381.jpg
/home/pi/Desktop/images/02052025/14/16/image_02052025_14_17_05_10371.jpg
/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_14_9443.jpg
/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_24_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355367579","1355367594","1355367588","1355367576","1355367598","1355367583"],"photo_ids_order":["1355367576","1355367579","1355367583","1355367588","1355367594","1355367598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9b789d81bf1a9523f2205b1b89d6963.jpg","text":"TemporaryFile(/tmp/multipartBody4400850817047894734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196653440,"filename":"image_02052025_14_16_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/5/2/4aad46d5f1c672463131b205ef2db60f.jpg","text":"TemporaryFile(/tmp/multipartBody1707874470019554558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196653440,"filename":"image_02052025_14_17_14_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6ae8d02bbf0dd8bb601505ecfeb82a11.jpg","text":"TemporaryFile(/tmp/multipartBody7351510352775110312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196653440,"filename":"image_02052025_14_17_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56213f396f9b08c656ae5c96fb5172ef.jpg","text":"TemporaryFile(/tmp/multipartBody822669133561251473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196653440,"filename":"image_02052025_14_16_35_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b7dade34725ff91fa4ca656ce9b2209.jpg","text":"TemporaryFile(/tmp/multipartBody8240184537153552480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196653440,"filename":"image_02052025_14_17_24_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4717cacc6e4b94fe97cb12077786b823.jpg","text":"TemporaryFile(/tmp/multipartBody6701935399878077661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196653440,"filename":"image_02052025_14_16_54_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355367583","file1":"1355367579","file0":"1355367576","file4":"1355367594","file5":"1355367598","file3":"1355367588"},"map_files_photo_id_array":[{"photo_id":"1355367598","filename":"file5"},{"photo_id":"1355367583","filename":"file2"},{"photo_id":"1355367594","filename":"file4"},{"photo_id":"1355367579","filename":"file1"},{"photo_id":"1355367576","filename":"file0"},{"photo_id":"1355367588","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355367579":["hashtag1","hashtag2"]},{"1355367594":["hashtag1","hashtag2"]},{"1355367588":["hashtag1","hashtag2"]},{"1355367576":["hashtag1","hashtag2"]},{"1355367598":["hashtag1","hashtag2"]},{"1355367583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355367579, 1355367594, 1355367588, 1355367576, 1355367598, 1355367583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48060369491577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:37:32.192744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_34_9351.jpg', '/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_44_10360.jpg', '/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_55_10369.jpg', '/home/pi/Desktop/images/02052025/14/17/image_02052025_14_18_04_9370.jpg', '/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_15_10596.jpg', '/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_24_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_34_9351.jpg
/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_44_10360.jpg
/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_55_10369.jpg
/home/pi/Desktop/images/02052025/14/17/image_02052025_14_18_04_9370.jpg
/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_15_10596.jpg
/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_24_9883.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37517809867858887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 16:37:42.154926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_34_9351.jpg', '/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_44_10360.jpg', '/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_55_10369.jpg', '/home/pi/Desktop/images/02052025/14/17/image_02052025_14_18_04_9370.jpg', '/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_15_10596.jpg', '/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_24_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_34_9351.jpg
/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_44_10360.jpg
/home/pi/Desktop/images/02052025/14/17/image_02052025_14_17_55_10369.jpg
/home/pi/Desktop/images/02052025/14/17/image_02052025_14_18_04_9370.jpg
/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_15_10596.jpg
/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_24_9883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355367813","1355367762","1355367860","1355367839","1355367790","1355367733"],"photo_ids_order":["1355367733","1355367762","1355367790","1355367813","1355367839","1355367860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4c831344dfa10b27897b3839bc94ad83.jpg","text":"TemporaryFile(/tmp/multipartBody4883511180681936671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196722609,"filename":"image_02052025_14_18_04_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1113093b5dd2748915df26a4d13e5420.jpg","text":"TemporaryFile(/tmp/multipartBody7833316170523711685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196722609,"filename":"image_02052025_14_17_44_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bfced575bd3c3144e8afe4d213b382a4.jpg","text":"TemporaryFile(/tmp/multipartBody8061812353615159793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196722609,"filename":"image_02052025_14_18_24_9883.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f5e70c93a3b0431acdd2ab13dacc3f96.jpg","text":"TemporaryFile(/tmp/multipartBody2473671178065763563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196722609,"filename":"image_02052025_14_18_15_10596.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/346a3478c07ecca4fbb37e18eb1d8d5c.jpg","text":"TemporaryFile(/tmp/multipartBody8374862441001607461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196722609,"filename":"image_02052025_14_17_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/658c45ad9a7af47e2596842a143b931a.jpg","text":"TemporaryFile(/tmp/multipartBody2525509270106693387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196722609,"filename":"image_02052025_14_17_34_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355367790","file1":"1355367762","file0":"1355367733","file4":"1355367839","file5":"1355367860","file3":"1355367813"},"map_files_photo_id_array":[{"photo_id":"1355367860","filename":"file5"},{"photo_id":"1355367790","filename":"file2"},{"photo_id":"1355367839","filename":"file4"},{"photo_id":"1355367762","filename":"file1"},{"photo_id":"1355367733","filename":"file0"},{"photo_id":"1355367813","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355367813":["hashtag1","hashtag2"]},{"1355367762":["hashtag1","hashtag2"]},{"1355367860":["hashtag1","hashtag2"]},{"1355367839":["hashtag1","hashtag2"]},{"1355367790":["hashtag1","hashtag2"]},{"1355367733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355367813, 1355367762, 1355367860, 1355367839, 1355367790, 1355367733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.506162643432617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:38:32.487377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_34_9371.jpg', '/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_44_10408.jpg', '/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_55_10402.jpg', '/home/pi/Desktop/images/02052025/14/18/image_02052025_14_19_04_9344.jpg', '/home/pi/Desktop/images/02052025/14/19/image_02052025_14_19_14_10341.jpg', '/home/pi/Desktop/images/02052025/14/19/image_02052025_14_19_34_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_34_9371.jpg
/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_44_10408.jpg
/home/pi/Desktop/images/02052025/14/18/image_02052025_14_18_55_10402.jpg
/home/pi/Desktop/images/02052025/14/18/image_02052025_14_19_04_9344.jpg
/home/pi/Desktop/images/02052025/14/19/image_02052025_14_19_14_10341.jpg
/home/pi/Desktop/images/02052025/14/19/image_02052025_14_19_34_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":["1355368071","1355368160","1355368133","1355368139","1355368165","1355368098"],"photo_ids_order":["1355368071","1355368098","1355368133","1355368139","1355368160","1355368165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bbb4366af9d9da5bdaa450da88934ad6.jpg","text":"TemporaryFile(/tmp/multipartBody7410055550738980544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196772948,"filename":"image_02052025_14_18_34_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/be66e534a079393f7b6658c7e00084ec.jpg","text":"TemporaryFile(/tmp/multipartBody2568362965641688745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196772948,"filename":"image_02052025_14_19_14_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c4e94af4661c668e51f6ac919acc9b6.jpg","text":"TemporaryFile(/tmp/multipartBody2334931032082217238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196772948,"filename":"image_02052025_14_18_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/5/2/73d9f23a0fcb2944605a4252b4160a9d.jpg","text":"TemporaryFile(/tmp/multipartBody5118183789061355822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196772948,"filename":"image_02052025_14_19_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/5/2/d922f09be254a3a5b7f84677ca6d2ca6.jpg","text":"TemporaryFile(/tmp/multipartBody4635734747487425525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196772948,"filename":"image_02052025_14_19_34_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0ad76feb254e21ff53508b68a0a468e6.jpg","text":"TemporaryFile(/tmp/multipartBody7096594593601353987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196772948,"filename":"image_02052025_14_18_44_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355368133","file1":"1355368098","file0":"1355368071","file4":"1355368160","file5":"1355368165","file3":"1355368139"},"map_files_photo_id_array":[{"photo_id":"1355368165","filename":"file5"},{"photo_id":"1355368133","filename":"file2"},{"photo_id":"1355368160","filename":"file4"},{"photo_id":"1355368098","filename":"file1"},{"photo_id":"1355368071","filename":"file0"},{"photo_id":"1355368139","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355368071":["hashtag1","hashtag2"]},{"1355368160":["hashtag1","hashtag2"]},{"1355368133":["hashtag1","hashtag2"]},{"1355368139":["hashtag1","hashtag2"]},{"1355368165":["hashtag1","hashtag2"]},{"1355368098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355368071, 1355368160, 1355368133, 1355368139, 1355368165, 1355368098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26025891304016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:39:32.614504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/19/image_02052025_14_19_45_10461.jpg', '/home/pi/Desktop/images/02052025/14/19/image_02052025_14_19_54_9464.jpg', '/home/pi/Desktop/images/02052025/14/19/image_02052025_14_20_05_10493.jpg', '/home/pi/Desktop/images/02052025/14/20/image_02052025_14_20_14_9373.jpg', '/home/pi/Desktop/images/02052025/14/20/image_02052025_14_20_24_10360.jpg', '/home/pi/Desktop/images/02052025/14/20/image_02052025_14_20_35_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/19/image_02052025_14_19_45_10461.jpg
/home/pi/Desktop/images/02052025/14/19/image_02052025_14_19_54_9464.jpg
/home/pi/Desktop/images/02052025/14/19/image_02052025_14_20_05_10493.jpg
/home/pi/Desktop/images/02052025/14/20/image_02052025_14_20_14_9373.jpg
/home/pi/Desktop/images/02052025/14/20/image_02052025_14_20_24_10360.jpg
/home/pi/Desktop/images/02052025/14/20/image_02052025_14_20_35_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":["1355368437","1355368416","1355368419","1355368412","1355368418","1355368408"],"photo_ids_order":["1355368408","1355368412","1355368416","1355368418","1355368419","1355368437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/73c3732fd96e8cc44359f01c5097fd04.jpg","text":"TemporaryFile(/tmp/multipartBody7325215285476289502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196833071,"filename":"image_02052025_14_20_35_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/109ee06eb07b067709b16ffa8ea73f67.jpg","text":"TemporaryFile(/tmp/multipartBody8958173010991485282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196833071,"filename":"image_02052025_14_20_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/5/2/5957d963406e935c0ed652bb97bda436.jpg","text":"TemporaryFile(/tmp/multipartBody7449220286098184697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196833071,"filename":"image_02052025_14_20_24_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6adf7e75da5bcf673188af58c0fead58.jpg","text":"TemporaryFile(/tmp/multipartBody5175539009610157586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196833071,"filename":"image_02052025_14_19_54_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2439246abc76b585fe68512459dd3717.jpg","text":"TemporaryFile(/tmp/multipartBody2037334060272510490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196833071,"filename":"image_02052025_14_20_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/5/2/674eed763d735fedfed100ab3ae5cae7.jpg","text":"TemporaryFile(/tmp/multipartBody5344205384781706145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196833071,"filename":"image_02052025_14_19_45_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355368416","file1":"1355368412","file0":"1355368408","file4":"1355368419","file5":"1355368437","file3":"1355368418"},"map_files_photo_id_array":[{"photo_id":"1355368437","filename":"file5"},{"photo_id":"1355368416","filename":"file2"},{"photo_id":"1355368419","filename":"file4"},{"photo_id":"1355368412","filename":"file1"},{"photo_id":"1355368408","filename":"file0"},{"photo_id":"1355368418","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355368437":["hashtag1","hashtag2"]},{"1355368416":["hashtag1","hashtag2"]},{"1355368419":["hashtag1","hashtag2"]},{"1355368412":["hashtag1","hashtag2"]},{"1355368418":["hashtag1","hashtag2"]},{"1355368408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355368437, 1355368416, 1355368419, 1355368412, 1355368418, 1355368408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.09610605239868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:40:32.836285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/20/image_02052025_14_20_44_9341.jpg', '/home/pi/Desktop/images/02052025/14/20/image_02052025_14_20_54_10449.jpg', '/home/pi/Desktop/images/02052025/14/20/image_02052025_14_21_04_9378.jpg', '/home/pi/Desktop/images/02052025/14/21/image_02052025_14_21_14_10340.jpg', '/home/pi/Desktop/images/02052025/14/21/image_02052025_14_21_25_10369.jpg', '/home/pi/Desktop/images/02052025/14/21/image_02052025_14_21_34_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/20/image_02052025_14_20_44_9341.jpg
/home/pi/Desktop/images/02052025/14/20/image_02052025_14_20_54_10449.jpg
/home/pi/Desktop/images/02052025/14/20/image_02052025_14_21_04_9378.jpg
/home/pi/Desktop/images/02052025/14/21/image_02052025_14_21_14_10340.jpg
/home/pi/Desktop/images/02052025/14/21/image_02052025_14_21_25_10369.jpg
/home/pi/Desktop/images/02052025/14/21/image_02052025_14_21_34_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355368623","1355368592","1355368652","1355368597","1355368588","1355368582"],"photo_ids_order":["1355368582","1355368588","1355368592","1355368597","1355368623","1355368652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5671b12da6c34d4ae525b3b01aeb82f1.jpg","text":"TemporaryFile(/tmp/multipartBody2765160819664907740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196893293,"filename":"image_02052025_14_21_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/004360e6cdb453e531052eea9e41a5f1.jpg","text":"TemporaryFile(/tmp/multipartBody184875026693679496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196893293,"filename":"image_02052025_14_21_04_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5aa8d4be93c7a095bda1ef0d98a8e28b.jpg","text":"TemporaryFile(/tmp/multipartBody1170751435050477070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196893293,"filename":"image_02052025_14_21_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/5/2/179e504b49d3b4d3035e218eecc66099.jpg","text":"TemporaryFile(/tmp/multipartBody6660667925548702602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196893293,"filename":"image_02052025_14_21_14_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53042b71a549579426bb51aa72e831f4.jpg","text":"TemporaryFile(/tmp/multipartBody5934218183125227445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196893293,"filename":"image_02052025_14_20_54_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55d380d4d5f40a43f09640a4ab5f5cf1.jpg","text":"TemporaryFile(/tmp/multipartBody3992951741787756123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196893293,"filename":"image_02052025_14_20_44_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355368592","file1":"1355368588","file0":"1355368582","file4":"1355368623","file5":"1355368652","file3":"1355368597"},"map_files_photo_id_array":[{"photo_id":"1355368652","filename":"file5"},{"photo_id":"1355368592","filename":"file2"},{"photo_id":"1355368623","filename":"file4"},{"photo_id":"1355368588","filename":"file1"},{"photo_id":"1355368582","filename":"file0"},{"photo_id":"1355368597","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355368623":["hashtag1","hashtag2"]},{"1355368592":["hashtag1","hashtag2"]},{"1355368652":["hashtag1","hashtag2"]},{"1355368597":["hashtag1","hashtag2"]},{"1355368588":["hashtag1","hashtag2"]},{"1355368582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355368623, 1355368592, 1355368652, 1355368597, 1355368588, 1355368582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.521745681762695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:41:33.064688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/21/image_02052025_14_21_44_10495.jpg', '/home/pi/Desktop/images/02052025/14/21/image_02052025_14_21_54_9428.jpg', '/home/pi/Desktop/images/02052025/14/21/image_02052025_14_22_04_10371.jpg', '/home/pi/Desktop/images/02052025/14/22/image_02052025_14_22_15_10386.jpg', '/home/pi/Desktop/images/02052025/14/22/image_02052025_14_22_24_9344.jpg', '/home/pi/Desktop/images/02052025/14/22/image_02052025_14_22_34_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/21/image_02052025_14_21_44_10495.jpg
/home/pi/Desktop/images/02052025/14/21/image_02052025_14_21_54_9428.jpg
/home/pi/Desktop/images/02052025/14/21/image_02052025_14_22_04_10371.jpg
/home/pi/Desktop/images/02052025/14/22/image_02052025_14_22_15_10386.jpg
/home/pi/Desktop/images/02052025/14/22/image_02052025_14_22_24_9344.jpg
/home/pi/Desktop/images/02052025/14/22/image_02052025_14_22_34_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":["1355368976","1355368929","1355368889","1355368961","1355368863","1355368836"],"photo_ids_order":["1355368836","1355368863","1355368889","1355368929","1355368961","1355368976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/be1996a82cc0a1a85f9443b0bb189044.jpg","text":"TemporaryFile(/tmp/multipartBody652015184989019239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196953520,"filename":"image_02052025_14_22_34_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b53ade8df831d48ac268ab71b047945c.jpg","text":"TemporaryFile(/tmp/multipartBody4908835443344553602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196953520,"filename":"image_02052025_14_22_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/5/2/0be937aa0c6e3d0673ee14bb61eb0d43.jpg","text":"TemporaryFile(/tmp/multipartBody6985913610062207435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196953520,"filename":"image_02052025_14_22_04_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/178c175e96fdb8422979a538bb5c75f1.jpg","text":"TemporaryFile(/tmp/multipartBody1552571108920512396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196953520,"filename":"image_02052025_14_22_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/5/2/e870d63cc367202e407f4e1332dac0df.jpg","text":"TemporaryFile(/tmp/multipartBody8581546336714294181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196953520,"filename":"image_02052025_14_21_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/5/2/0520a6b0d8c906d25cfa8ab39da7f93f.jpg","text":"TemporaryFile(/tmp/multipartBody6362318618614799533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746196953520,"filename":"image_02052025_14_21_44_10495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355368889","file1":"1355368863","file0":"1355368836","file4":"1355368961","file5":"1355368976","file3":"1355368929"},"map_files_photo_id_array":[{"photo_id":"1355368976","filename":"file5"},{"photo_id":"1355368889","filename":"file2"},{"photo_id":"1355368961","filename":"file4"},{"photo_id":"1355368863","filename":"file1"},{"photo_id":"1355368836","filename":"file0"},{"photo_id":"1355368929","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355368976":["hashtag1","hashtag2"]},{"1355368929":["hashtag1","hashtag2"]},{"1355368889":["hashtag1","hashtag2"]},{"1355368961":["hashtag1","hashtag2"]},{"1355368863":["hashtag1","hashtag2"]},{"1355368836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355368976, 1355368929, 1355368889, 1355368961, 1355368863, 1355368836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63300681114197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:42:32.209622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/22/image_02052025_14_22_44_9425.jpg', '/home/pi/Desktop/images/02052025/14/22/image_02052025_14_22_54_10364.jpg', '/home/pi/Desktop/images/02052025/14/22/image_02052025_14_23_04_10376.jpg', '/home/pi/Desktop/images/02052025/14/23/image_02052025_14_23_14_9467.jpg', '/home/pi/Desktop/images/02052025/14/23/image_02052025_14_23_24_10367.jpg', '/home/pi/Desktop/images/02052025/14/23/image_02052025_14_23_34_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/22/image_02052025_14_22_44_9425.jpg
/home/pi/Desktop/images/02052025/14/22/image_02052025_14_22_54_10364.jpg
/home/pi/Desktop/images/02052025/14/22/image_02052025_14_23_04_10376.jpg
/home/pi/Desktop/images/02052025/14/23/image_02052025_14_23_14_9467.jpg
/home/pi/Desktop/images/02052025/14/23/image_02052025_14_23_24_10367.jpg
/home/pi/Desktop/images/02052025/14/23/image_02052025_14_23_34_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":["1355369153","1355369132","1355369054","1355369114","1355369122","1355369082"],"photo_ids_order":["1355369054","1355369082","1355369114","1355369122","1355369132","1355369153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d211c619dd6439a73089e601af185627.jpg","text":"TemporaryFile(/tmp/multipartBody1190739302546409454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197012669,"filename":"image_02052025_14_23_34_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a364d0937ab8754d503c726f868229c4.jpg","text":"TemporaryFile(/tmp/multipartBody4076091883883347854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197012669,"filename":"image_02052025_14_23_24_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c499076c1a5e24788a0d6e1dbd80bc27.jpg","text":"TemporaryFile(/tmp/multipartBody3866440046465649282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197012669,"filename":"image_02052025_14_22_44_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5faf993d91d2a0520baaec343035da57.jpg","text":"TemporaryFile(/tmp/multipartBody4355099982489409939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197012669,"filename":"image_02052025_14_23_04_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/341b9475327e6cb3ab7bc1010f6949a0.jpg","text":"TemporaryFile(/tmp/multipartBody1538987096383418851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197012669,"filename":"image_02052025_14_23_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/5/2/c248810d990140411cfb1eb6a6c0d987.jpg","text":"TemporaryFile(/tmp/multipartBody2072328492201434703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197012669,"filename":"image_02052025_14_22_54_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355369114","file1":"1355369082","file0":"1355369054","file4":"1355369132","file5":"1355369153","file3":"1355369122"},"map_files_photo_id_array":[{"photo_id":"1355369153","filename":"file5"},{"photo_id":"1355369114","filename":"file2"},{"photo_id":"1355369132","filename":"file4"},{"photo_id":"1355369082","filename":"file1"},{"photo_id":"1355369054","filename":"file0"},{"photo_id":"1355369122","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355369153":["hashtag1","hashtag2"]},{"1355369132":["hashtag1","hashtag2"]},{"1355369054":["hashtag1","hashtag2"]},{"1355369114":["hashtag1","hashtag2"]},{"1355369122":["hashtag1","hashtag2"]},{"1355369082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355369153, 1355369132, 1355369054, 1355369114, 1355369122, 1355369082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.074806451797485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:43:32.448658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/23/image_02052025_14_23_44_10373.jpg', '/home/pi/Desktop/images/02052025/14/23/image_02052025_14_23_55_10408.jpg', '/home/pi/Desktop/images/02052025/14/23/image_02052025_14_24_04_9387.jpg', '/home/pi/Desktop/images/02052025/14/24/image_02052025_14_24_14_10405.jpg', '/home/pi/Desktop/images/02052025/14/24/image_02052025_14_24_24_9425.jpg', '/home/pi/Desktop/images/02052025/14/24/image_02052025_14_24_34_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/23/image_02052025_14_23_44_10373.jpg
/home/pi/Desktop/images/02052025/14/23/image_02052025_14_23_55_10408.jpg
/home/pi/Desktop/images/02052025/14/23/image_02052025_14_24_04_9387.jpg
/home/pi/Desktop/images/02052025/14/24/image_02052025_14_24_14_10405.jpg
/home/pi/Desktop/images/02052025/14/24/image_02052025_14_24_24_9425.jpg
/home/pi/Desktop/images/02052025/14/24/image_02052025_14_24_34_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":["1355369293","1355369236","1355369230","1355369233","1355369241","1355369238"],"photo_ids_order":["1355369230","1355369233","1355369236","1355369238","1355369241","1355369293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e518dafeaa4e581e15d2157179913d4.jpg","text":"TemporaryFile(/tmp/multipartBody7875653579175697678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197072918,"filename":"image_02052025_14_24_34_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d115884589a7266984174f505f60c014.jpg","text":"TemporaryFile(/tmp/multipartBody988651347436971977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197072918,"filename":"image_02052025_14_24_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/5/2/6d3f6b4287690073b5bd38eccb210a0c.jpg","text":"TemporaryFile(/tmp/multipartBody4959685110939438465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197072918,"filename":"image_02052025_14_23_44_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f4a91165a5523d69aa3067f4319cf41.jpg","text":"TemporaryFile(/tmp/multipartBody5346416558071103257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197072918,"filename":"image_02052025_14_23_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/5/2/c6e00e81ef995ab027818136d2c462a0.jpg","text":"TemporaryFile(/tmp/multipartBody7661062264729391513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197072918,"filename":"image_02052025_14_24_24_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a5b80e71692b2ce7e32cf586b7891d89.jpg","text":"TemporaryFile(/tmp/multipartBody2371571917412575299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197072918,"filename":"image_02052025_14_24_14_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355369236","file1":"1355369233","file0":"1355369230","file4":"1355369241","file5":"1355369293","file3":"1355369238"},"map_files_photo_id_array":[{"photo_id":"1355369293","filename":"file5"},{"photo_id":"1355369236","filename":"file2"},{"photo_id":"1355369241","filename":"file4"},{"photo_id":"1355369233","filename":"file1"},{"photo_id":"1355369230","filename":"file0"},{"photo_id":"1355369238","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355369293":["hashtag1","hashtag2"]},{"1355369236":["hashtag1","hashtag2"]},{"1355369230":["hashtag1","hashtag2"]},{"1355369233":["hashtag1","hashtag2"]},{"1355369241":["hashtag1","hashtag2"]},{"1355369238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355369293, 1355369236, 1355369230, 1355369233, 1355369241, 1355369238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.23895025253296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:44:32.536251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/24/image_02052025_14_24_45_10504.jpg', '/home/pi/Desktop/images/02052025/14/24/image_02052025_14_24_54_9364.jpg', '/home/pi/Desktop/images/02052025/14/24/image_02052025_14_25_04_10379.jpg', '/home/pi/Desktop/images/02052025/14/25/image_02052025_14_25_14_9405.jpg', '/home/pi/Desktop/images/02052025/14/25/image_02052025_14_25_24_10357.jpg', '/home/pi/Desktop/images/02052025/14/25/image_02052025_14_25_34_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/24/image_02052025_14_24_45_10504.jpg
/home/pi/Desktop/images/02052025/14/24/image_02052025_14_24_54_9364.jpg
/home/pi/Desktop/images/02052025/14/24/image_02052025_14_25_04_10379.jpg
/home/pi/Desktop/images/02052025/14/25/image_02052025_14_25_14_9405.jpg
/home/pi/Desktop/images/02052025/14/25/image_02052025_14_25_24_10357.jpg
/home/pi/Desktop/images/02052025/14/25/image_02052025_14_25_34_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355369960","1355369907","1355369709","1355369657","1355369854","1355369599"],"photo_ids_order":["1355369599","1355369657","1355369709","1355369854","1355369907","1355369960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5995b7abe443de1d8a7bf6214e556685.jpg","text":"TemporaryFile(/tmp/multipartBody8624493760910688505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197133002,"filename":"image_02052025_14_25_34_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d387710e2aa984ea8053da25e323079.jpg","text":"TemporaryFile(/tmp/multipartBody3076380614678030083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197133002,"filename":"image_02052025_14_25_24_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c04109c73ba20634ebb4b5f04b8b9f65.jpg","text":"TemporaryFile(/tmp/multipartBody87353355056577092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197133002,"filename":"image_02052025_14_25_04_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb65fc63de7fe4d6044df64e6e0eac9d.jpg","text":"TemporaryFile(/tmp/multipartBody7824422465685668226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197133002,"filename":"image_02052025_14_24_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/089c8e771a0f7f93d59047a022ae06ec.jpg","text":"TemporaryFile(/tmp/multipartBody5751146946048976672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197133002,"filename":"image_02052025_14_25_14_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a2980d6a6b370d52df69c3b91b8f7a8.jpg","text":"TemporaryFile(/tmp/multipartBody4476690794269620952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197133002,"filename":"image_02052025_14_24_45_10504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355369709","file1":"1355369657","file0":"1355369599","file4":"1355369907","file5":"1355369960","file3":"1355369854"},"map_files_photo_id_array":[{"photo_id":"1355369960","filename":"file5"},{"photo_id":"1355369709","filename":"file2"},{"photo_id":"1355369907","filename":"file4"},{"photo_id":"1355369657","filename":"file1"},{"photo_id":"1355369599","filename":"file0"},{"photo_id":"1355369854","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355369960":["hashtag1","hashtag2"]},{"1355369907":["hashtag1","hashtag2"]},{"1355369709":["hashtag1","hashtag2"]},{"1355369657":["hashtag1","hashtag2"]},{"1355369854":["hashtag1","hashtag2"]},{"1355369599":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355369960, 1355369907, 1355369709, 1355369657, 1355369854, 1355369599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.59899711608887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:45:32.764195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/25/image_02052025_14_25_44_9341.jpg', '/home/pi/Desktop/images/02052025/14/25/image_02052025_14_25_54_10237.jpg', '/home/pi/Desktop/images/02052025/14/25/image_02052025_14_26_05_10481.jpg', '/home/pi/Desktop/images/02052025/14/26/image_02052025_14_26_14_9353.jpg', '/home/pi/Desktop/images/02052025/14/26/image_02052025_14_26_24_10372.jpg', '/home/pi/Desktop/images/02052025/14/26/image_02052025_14_26_34_9469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/25/image_02052025_14_25_44_9341.jpg
/home/pi/Desktop/images/02052025/14/25/image_02052025_14_25_54_10237.jpg
/home/pi/Desktop/images/02052025/14/25/image_02052025_14_26_05_10481.jpg
/home/pi/Desktop/images/02052025/14/26/image_02052025_14_26_14_9353.jpg
/home/pi/Desktop/images/02052025/14/26/image_02052025_14_26_24_10372.jpg
/home/pi/Desktop/images/02052025/14/26/image_02052025_14_26_34_9469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355370249","1355370335","1355370308","1355370277","1355370221","1355370517"],"photo_ids_order":["1355370221","1355370249","1355370277","1355370308","1355370335","1355370517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2f987c9301b2a39b29166529b709bc52.jpg","text":"TemporaryFile(/tmp/multipartBody4737213891539336186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197193235,"filename":"image_02052025_14_25_54_10237.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2762531209300eb367b4be81ee096525.jpg","text":"TemporaryFile(/tmp/multipartBody5150845941126037789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197193235,"filename":"image_02052025_14_26_24_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7b85319df97c1f54b133e5c257bf0f9a.jpg","text":"TemporaryFile(/tmp/multipartBody1281072655137566455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197193235,"filename":"image_02052025_14_26_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/5/2/18cf41c256de208d3a28da5d99581949.jpg","text":"TemporaryFile(/tmp/multipartBody2230819855800334074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197193235,"filename":"image_02052025_14_26_05_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fe6113b2484e19b585dff8e37d86551c.jpg","text":"TemporaryFile(/tmp/multipartBody3039042507766634563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197193235,"filename":"image_02052025_14_25_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e094ec55771bf94dd0a10d045cc14662.jpg","text":"TemporaryFile(/tmp/multipartBody1808064047270496605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197193235,"filename":"image_02052025_14_26_34_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355370277","file1":"1355370249","file0":"1355370221","file4":"1355370335","file5":"1355370517","file3":"1355370308"},"map_files_photo_id_array":[{"photo_id":"1355370517","filename":"file5"},{"photo_id":"1355370277","filename":"file2"},{"photo_id":"1355370335","filename":"file4"},{"photo_id":"1355370249","filename":"file1"},{"photo_id":"1355370221","filename":"file0"},{"photo_id":"1355370308","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355370249":["hashtag1","hashtag2"]},{"1355370335":["hashtag1","hashtag2"]},{"1355370308":["hashtag1","hashtag2"]},{"1355370277":["hashtag1","hashtag2"]},{"1355370221":["hashtag1","hashtag2"]},{"1355370517":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355370249, 1355370335, 1355370308, 1355370277, 1355370221, 1355370517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5563063621521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:46:32.894894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/26/image_02052025_14_26_44_10365.jpg', '/home/pi/Desktop/images/02052025/14/26/image_02052025_14_26_55_10487.jpg', '/home/pi/Desktop/images/02052025/14/26/image_02052025_14_27_04_9365.jpg', '/home/pi/Desktop/images/02052025/14/27/image_02052025_14_27_24_9415.jpg', '/home/pi/Desktop/images/02052025/14/27/image_02052025_14_27_34_10348.jpg', '/home/pi/Desktop/images/02052025/14/27/image_02052025_14_27_45_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/26/image_02052025_14_26_44_10365.jpg
/home/pi/Desktop/images/02052025/14/26/image_02052025_14_26_55_10487.jpg
/home/pi/Desktop/images/02052025/14/26/image_02052025_14_27_04_9365.jpg
/home/pi/Desktop/images/02052025/14/27/image_02052025_14_27_24_9415.jpg
/home/pi/Desktop/images/02052025/14/27/image_02052025_14_27_34_10348.jpg
/home/pi/Desktop/images/02052025/14/27/image_02052025_14_27_45_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355371475","1355371085","1355371180","1355371327","1355371374","1355371260"],"photo_ids_order":["1355371085","1355371180","1355371260","1355371327","1355371374","1355371475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/103358a78dd2eb0b6263afd12e6de77d.jpg","text":"TemporaryFile(/tmp/multipartBody43365956815010124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197253357,"filename":"image_02052025_14_27_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/5/2/cb6eed5820e706c8f23d9fa323cab648.jpg","text":"TemporaryFile(/tmp/multipartBody6016741987691209152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197253357,"filename":"image_02052025_14_26_44_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce0a2fba7ee44a3b14f22937e044ff4c.jpg","text":"TemporaryFile(/tmp/multipartBody2459909605575566572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197253357,"filename":"image_02052025_14_26_55_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9a8c5b1a6deafa91415191a93f891e5.jpg","text":"TemporaryFile(/tmp/multipartBody1518041716136365221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197253357,"filename":"image_02052025_14_27_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/5/2/7f97da28164e2e5d3785e3027f435263.jpg","text":"TemporaryFile(/tmp/multipartBody7347285813088894678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197253357,"filename":"image_02052025_14_27_34_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/64d7f444480d1da9d122ebf861215404.jpg","text":"TemporaryFile(/tmp/multipartBody1749866334462258469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197253357,"filename":"image_02052025_14_27_04_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355371260","file1":"1355371180","file0":"1355371085","file4":"1355371374","file5":"1355371475","file3":"1355371327"},"map_files_photo_id_array":[{"photo_id":"1355371475","filename":"file5"},{"photo_id":"1355371260","filename":"file2"},{"photo_id":"1355371374","filename":"file4"},{"photo_id":"1355371180","filename":"file1"},{"photo_id":"1355371085","filename":"file0"},{"photo_id":"1355371327","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355371475":["hashtag1","hashtag2"]},{"1355371085":["hashtag1","hashtag2"]},{"1355371180":["hashtag1","hashtag2"]},{"1355371327":["hashtag1","hashtag2"]},{"1355371374":["hashtag1","hashtag2"]},{"1355371260":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355371475, 1355371085, 1355371180, 1355371327, 1355371374, 1355371260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58726620674133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:47:33.147341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/27/image_02052025_14_27_54_9365.jpg', '/home/pi/Desktop/images/02052025/14/27/image_02052025_14_28_04_10358.jpg', '/home/pi/Desktop/images/02052025/14/28/image_02052025_14_28_15_10457.jpg', '/home/pi/Desktop/images/02052025/14/28/image_02052025_14_28_24_9366.jpg', '/home/pi/Desktop/images/02052025/14/28/image_02052025_14_28_34_10408.jpg', '/home/pi/Desktop/images/02052025/14/28/image_02052025_14_29_05_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/27/image_02052025_14_27_54_9365.jpg
/home/pi/Desktop/images/02052025/14/27/image_02052025_14_28_04_10358.jpg
/home/pi/Desktop/images/02052025/14/28/image_02052025_14_28_15_10457.jpg
/home/pi/Desktop/images/02052025/14/28/image_02052025_14_28_24_9366.jpg
/home/pi/Desktop/images/02052025/14/28/image_02052025_14_28_34_10408.jpg
/home/pi/Desktop/images/02052025/14/28/image_02052025_14_29_05_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":["1355371973","1355371919","1355371887","1355371977","1355371863","1355371857"],"photo_ids_order":["1355371857","1355371863","1355371887","1355371919","1355371973","1355371977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1ef18ee26e424b48450811ed7aaf92d.jpg","text":"TemporaryFile(/tmp/multipartBody7266707754914444253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197313604,"filename":"image_02052025_14_28_34_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/51b19ff4f8a0d654d35a7a595db1b194.jpg","text":"TemporaryFile(/tmp/multipartBody4757285723619951066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197313604,"filename":"image_02052025_14_28_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/029c13732a4f59cd5b106903bc5ed60b.jpg","text":"TemporaryFile(/tmp/multipartBody7667001024037731720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197313604,"filename":"image_02052025_14_28_15_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/552c0043665450365aeea484991836ca.jpg","text":"TemporaryFile(/tmp/multipartBody4524446316637544059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197313604,"filename":"image_02052025_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/5/2/0f5a1446aa9bdc6f6da20ea72f9a5f53.jpg","text":"TemporaryFile(/tmp/multipartBody2119161517833588501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197313604,"filename":"image_02052025_14_28_04_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c5f455944644026a4292681baf66f42f.jpg","text":"TemporaryFile(/tmp/multipartBody4954673396897445556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197313604,"filename":"image_02052025_14_27_54_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355371887","file1":"1355371863","file0":"1355371857","file4":"1355371973","file5":"1355371977","file3":"1355371919"},"map_files_photo_id_array":[{"photo_id":"1355371977","filename":"file5"},{"photo_id":"1355371887","filename":"file2"},{"photo_id":"1355371973","filename":"file4"},{"photo_id":"1355371863","filename":"file1"},{"photo_id":"1355371857","filename":"file0"},{"photo_id":"1355371919","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355371973":["hashtag1","hashtag2"]},{"1355371919":["hashtag1","hashtag2"]},{"1355371887":["hashtag1","hashtag2"]},{"1355371977":["hashtag1","hashtag2"]},{"1355371863":["hashtag1","hashtag2"]},{"1355371857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355371973, 1355371919, 1355371887, 1355371977, 1355371863, 1355371857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.1444354057312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:48:32.470037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/29/image_02052025_14_29_14_9392.jpg', '/home/pi/Desktop/images/02052025/14/29/image_02052025_14_29_24_10371.jpg', '/home/pi/Desktop/images/02052025/14/29/image_02052025_14_29_34_9424.jpg', '/home/pi/Desktop/images/02052025/14/29/image_02052025_14_29_44_10369.jpg', '/home/pi/Desktop/images/02052025/14/29/image_02052025_14_29_55_10458.jpg', '/home/pi/Desktop/images/02052025/14/29/image_02052025_14_30_04_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/29/image_02052025_14_29_14_9392.jpg
/home/pi/Desktop/images/02052025/14/29/image_02052025_14_29_24_10371.jpg
/home/pi/Desktop/images/02052025/14/29/image_02052025_14_29_34_9424.jpg
/home/pi/Desktop/images/02052025/14/29/image_02052025_14_29_44_10369.jpg
/home/pi/Desktop/images/02052025/14/29/image_02052025_14_29_55_10458.jpg
/home/pi/Desktop/images/02052025/14/29/image_02052025_14_30_04_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355372021","1355372030","1355372024","1355372018","1355372026","1355372028"],"photo_ids_order":["1355372018","1355372021","1355372024","1355372026","1355372028","1355372030"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5753ed90f026272a6c8fab2e1a8d9729.jpg","text":"TemporaryFile(/tmp/multipartBody1107995059775662828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197372938,"filename":"image_02052025_14_29_24_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/50167e950ac0ce6a4bed84b64327e0f8.jpg","text":"TemporaryFile(/tmp/multipartBody8977761860901459151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197372938,"filename":"image_02052025_14_30_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/5/2/efe6d5c9c86d80e7028b48726782df7e.jpg","text":"TemporaryFile(/tmp/multipartBody124518443261698449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197372938,"filename":"image_02052025_14_29_34_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a44290a88edd21b0633a781f31edf73.jpg","text":"TemporaryFile(/tmp/multipartBody508388167261285946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197372938,"filename":"image_02052025_14_29_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/5/2/e3a6b10c5d8477c8eaa82170d6ae281a.jpg","text":"TemporaryFile(/tmp/multipartBody2830435942950463212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197372938,"filename":"image_02052025_14_29_44_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/18e12f386fbf3736578c6689653902b8.jpg","text":"TemporaryFile(/tmp/multipartBody433610996846692971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197372938,"filename":"image_02052025_14_29_55_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355372024","file1":"1355372021","file0":"1355372018","file4":"1355372028","file5":"1355372030","file3":"1355372026"},"map_files_photo_id_array":[{"photo_id":"1355372030","filename":"file5"},{"photo_id":"1355372024","filename":"file2"},{"photo_id":"1355372028","filename":"file4"},{"photo_id":"1355372021","filename":"file1"},{"photo_id":"1355372018","filename":"file0"},{"photo_id":"1355372026","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355372021":["hashtag1","hashtag2"]},{"1355372030":["hashtag1","hashtag2"]},{"1355372024":["hashtag1","hashtag2"]},{"1355372018":["hashtag1","hashtag2"]},{"1355372026":["hashtag1","hashtag2"]},{"1355372028":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355372021, 1355372030, 1355372024, 1355372018, 1355372026, 1355372028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.336081504821777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:49:32.630365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/30/image_02052025_14_30_14_10385.jpg', '/home/pi/Desktop/images/02052025/14/30/image_02052025_14_30_24_9399.jpg', '/home/pi/Desktop/images/02052025/14/30/image_02052025_14_30_34_10346.jpg', '/home/pi/Desktop/images/02052025/14/30/image_02052025_14_30_44_10410.jpg', '/home/pi/Desktop/images/02052025/14/30/image_02052025_14_30_54_9419.jpg', '/home/pi/Desktop/images/02052025/14/30/image_02052025_14_31_04_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/30/image_02052025_14_30_14_10385.jpg
/home/pi/Desktop/images/02052025/14/30/image_02052025_14_30_24_9399.jpg
/home/pi/Desktop/images/02052025/14/30/image_02052025_14_30_34_10346.jpg
/home/pi/Desktop/images/02052025/14/30/image_02052025_14_30_44_10410.jpg
/home/pi/Desktop/images/02052025/14/30/image_02052025_14_30_54_9419.jpg
/home/pi/Desktop/images/02052025/14/30/image_02052025_14_31_04_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":["1355372269","1355372215","1355372133","1355372241","1355372342","1355372159"],"photo_ids_order":["1355372133","1355372159","1355372215","1355372241","1355372269","1355372342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9bf690e558131359c699d1d8ae0a643b.jpg","text":"TemporaryFile(/tmp/multipartBody6164693987177042802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197433093,"filename":"image_02052025_14_30_54_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc9fe48bdd93c38544f3fe609490d9ce.jpg","text":"TemporaryFile(/tmp/multipartBody1653558895337718724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197433093,"filename":"image_02052025_14_30_34_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dab54e9b42ea8409b1a7d72d766b4655.jpg","text":"TemporaryFile(/tmp/multipartBody8359410361176260178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197433093,"filename":"image_02052025_14_30_14_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/79d35c3b32778afa7051bec4c883d69b.jpg","text":"TemporaryFile(/tmp/multipartBody8964472334527665653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197433093,"filename":"image_02052025_14_30_44_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c30d2d48ab30ebdd7179cd4f128e5e8.jpg","text":"TemporaryFile(/tmp/multipartBody9200215842841456619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197433093,"filename":"image_02052025_14_31_04_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/339efe546f9a1286da8595a3012aa904.jpg","text":"TemporaryFile(/tmp/multipartBody3136888181568148500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197433093,"filename":"image_02052025_14_30_24_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355372215","file1":"1355372159","file0":"1355372133","file4":"1355372269","file5":"1355372342","file3":"1355372241"},"map_files_photo_id_array":[{"photo_id":"1355372342","filename":"file5"},{"photo_id":"1355372215","filename":"file2"},{"photo_id":"1355372269","filename":"file4"},{"photo_id":"1355372159","filename":"file1"},{"photo_id":"1355372133","filename":"file0"},{"photo_id":"1355372241","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355372269":["hashtag1","hashtag2"]},{"1355372215":["hashtag1","hashtag2"]},{"1355372133":["hashtag1","hashtag2"]},{"1355372241":["hashtag1","hashtag2"]},{"1355372342":["hashtag1","hashtag2"]},{"1355372159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355372269, 1355372215, 1355372133, 1355372241, 1355372342, 1355372159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33347773551941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:50:32.771906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/31/image_02052025_14_31_14_9445.jpg', '/home/pi/Desktop/images/02052025/14/31/image_02052025_14_31_24_10486.jpg', '/home/pi/Desktop/images/02052025/14/31/image_02052025_14_31_34_9468.jpg', '/home/pi/Desktop/images/02052025/14/31/image_02052025_14_31_44_10363.jpg', '/home/pi/Desktop/images/02052025/14/31/image_02052025_14_31_55_10451.jpg', '/home/pi/Desktop/images/02052025/14/31/image_02052025_14_32_04_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/31/image_02052025_14_31_14_9445.jpg
/home/pi/Desktop/images/02052025/14/31/image_02052025_14_31_24_10486.jpg
/home/pi/Desktop/images/02052025/14/31/image_02052025_14_31_34_9468.jpg
/home/pi/Desktop/images/02052025/14/31/image_02052025_14_31_44_10363.jpg
/home/pi/Desktop/images/02052025/14/31/image_02052025_14_31_55_10451.jpg
/home/pi/Desktop/images/02052025/14/31/image_02052025_14_32_04_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":["1355373099","1355373027","1355372973","1355372745","1355372919","1355373128"],"photo_ids_order":["1355372745","1355372919","1355372973","1355373027","1355373099","1355373128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21b1cdcc0529598614b6201060c0ae45.jpg","text":"TemporaryFile(/tmp/multipartBody7372768954674642113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197493230,"filename":"image_02052025_14_31_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de4affbf60ce3b424202ed1046abeb63.jpg","text":"TemporaryFile(/tmp/multipartBody8352854091262425566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197493230,"filename":"image_02052025_14_31_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/5/2/7e18c079d3ac95bbdcdcea2404f902ea.jpg","text":"TemporaryFile(/tmp/multipartBody3691165530355525803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197493230,"filename":"image_02052025_14_31_34_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f042a0dc8c7cb7f23ee3409fb6ac12e5.jpg","text":"TemporaryFile(/tmp/multipartBody3241140760711030827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197493230,"filename":"image_02052025_14_31_14_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22f90cfa4d7d3dd26e12653fa8d2aece.jpg","text":"TemporaryFile(/tmp/multipartBody1545715324103392573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197493230,"filename":"image_02052025_14_31_24_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a5a548cdcb6f7ab98b4c89ad3c14236d.jpg","text":"TemporaryFile(/tmp/multipartBody8023450534443287611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197493230,"filename":"image_02052025_14_32_04_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355372973","file1":"1355372919","file0":"1355372745","file4":"1355373099","file5":"1355373128","file3":"1355373027"},"map_files_photo_id_array":[{"photo_id":"1355373128","filename":"file5"},{"photo_id":"1355372973","filename":"file2"},{"photo_id":"1355373099","filename":"file4"},{"photo_id":"1355372919","filename":"file1"},{"photo_id":"1355372745","filename":"file0"},{"photo_id":"1355373027","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355373099":["hashtag1","hashtag2"]},{"1355373027":["hashtag1","hashtag2"]},{"1355372973":["hashtag1","hashtag2"]},{"1355372745":["hashtag1","hashtag2"]},{"1355372919":["hashtag1","hashtag2"]},{"1355373128":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355373099, 1355373027, 1355372973, 1355372745, 1355372919, 1355373128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19706988334656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:51:32.858264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/32/image_02052025_14_32_14_10383.jpg', '/home/pi/Desktop/images/02052025/14/32/image_02052025_14_32_24_9402.jpg', '/home/pi/Desktop/images/02052025/14/32/image_02052025_14_32_34_10365.jpg', '/home/pi/Desktop/images/02052025/14/32/image_02052025_14_32_45_10468.jpg', '/home/pi/Desktop/images/02052025/14/32/image_02052025_14_32_54_9360.jpg', '/home/pi/Desktop/images/02052025/14/32/image_02052025_14_33_04_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/32/image_02052025_14_32_14_10383.jpg
/home/pi/Desktop/images/02052025/14/32/image_02052025_14_32_24_9402.jpg
/home/pi/Desktop/images/02052025/14/32/image_02052025_14_32_34_10365.jpg
/home/pi/Desktop/images/02052025/14/32/image_02052025_14_32_45_10468.jpg
/home/pi/Desktop/images/02052025/14/32/image_02052025_14_32_54_9360.jpg
/home/pi/Desktop/images/02052025/14/32/image_02052025_14_33_04_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":["1355373397","1355373484","1355373370","1355373340","1355373458","1355373422"],"photo_ids_order":["1355373340","1355373370","1355373397","1355373422","1355373458","1355373484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f04e963b17edd5b5c5452b94ad272b3b.jpg","text":"TemporaryFile(/tmp/multipartBody2711156473324993768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197553317,"filename":"image_02052025_14_32_34_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c69e2d0732b7ed6fe3a532afd8b3d9b6.jpg","text":"TemporaryFile(/tmp/multipartBody8755711997560154953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197553317,"filename":"image_02052025_14_33_04_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e5dcff8e19d629c7f3309a90ddfd865.jpg","text":"TemporaryFile(/tmp/multipartBody6628108707035833330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197553317,"filename":"image_02052025_14_32_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/5/2/25b8201247445fbce910ce57fe7eeab8.jpg","text":"TemporaryFile(/tmp/multipartBody7869874032122406111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197553317,"filename":"image_02052025_14_32_14_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5e5aa0b091629a5ab0d262d1b17ca73b.jpg","text":"TemporaryFile(/tmp/multipartBody35049291420593393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197553317,"filename":"image_02052025_14_32_54_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7cef6d4c174d7d6d403d2a1de4a9312b.jpg","text":"TemporaryFile(/tmp/multipartBody8115502962350879538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197553317,"filename":"image_02052025_14_32_45_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355373397","file1":"1355373370","file0":"1355373340","file4":"1355373458","file5":"1355373484","file3":"1355373422"},"map_files_photo_id_array":[{"photo_id":"1355373484","filename":"file5"},{"photo_id":"1355373397","filename":"file2"},{"photo_id":"1355373458","filename":"file4"},{"photo_id":"1355373370","filename":"file1"},{"photo_id":"1355373340","filename":"file0"},{"photo_id":"1355373422","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355373397":["hashtag1","hashtag2"]},{"1355373484":["hashtag1","hashtag2"]},{"1355373370":["hashtag1","hashtag2"]},{"1355373340":["hashtag1","hashtag2"]},{"1355373458":["hashtag1","hashtag2"]},{"1355373422":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355373397, 1355373484, 1355373370, 1355373340, 1355373458, 1355373422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19839286804199 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:52:33.094086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/33/image_02052025_14_33_15_10361.jpg', '/home/pi/Desktop/images/02052025/14/33/image_02052025_14_33_34_10428.jpg', '/home/pi/Desktop/images/02052025/14/33/image_02052025_14_33_44_9362.jpg', '/home/pi/Desktop/images/02052025/14/33/image_02052025_14_33_54_10375.jpg', '/home/pi/Desktop/images/02052025/14/33/image_02052025_14_34_05_10429.jpg', '/home/pi/Desktop/images/02052025/14/34/image_02052025_14_34_14_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/33/image_02052025_14_33_15_10361.jpg
/home/pi/Desktop/images/02052025/14/33/image_02052025_14_33_34_10428.jpg
/home/pi/Desktop/images/02052025/14/33/image_02052025_14_33_44_9362.jpg
/home/pi/Desktop/images/02052025/14/33/image_02052025_14_33_54_10375.jpg
/home/pi/Desktop/images/02052025/14/33/image_02052025_14_34_05_10429.jpg
/home/pi/Desktop/images/02052025/14/34/image_02052025_14_34_14_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":["1355374011","1355373900","1355373989","1355373869","1355373962","1355373932"],"photo_ids_order":["1355373869","1355373900","1355373932","1355373962","1355373989","1355374011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/061a55ae237519222688ef78596d7d43.jpg","text":"TemporaryFile(/tmp/multipartBody1984350585536040356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197613558,"filename":"image_02052025_14_34_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30827e4b626b0a22ccfb0d2060227c17.jpg","text":"TemporaryFile(/tmp/multipartBody5925992688120005790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197613558,"filename":"image_02052025_14_33_34_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cd63b411315125d1e7f4e07594ba82fb.jpg","text":"TemporaryFile(/tmp/multipartBody3699341294421181258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197613558,"filename":"image_02052025_14_34_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/5/2/b019f5d523830ffb6f9f3ad5b002b284.jpg","text":"TemporaryFile(/tmp/multipartBody8448830119863364379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197613558,"filename":"image_02052025_14_33_15_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ba78330008807c0824687d6937fec1a.jpg","text":"TemporaryFile(/tmp/multipartBody399378486750056253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197613558,"filename":"image_02052025_14_33_54_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/270fb57b00e56080008a4542b04d487b.jpg","text":"TemporaryFile(/tmp/multipartBody4822513052126896862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197613558,"filename":"image_02052025_14_33_44_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355373932","file1":"1355373900","file0":"1355373869","file4":"1355373989","file5":"1355374011","file3":"1355373962"},"map_files_photo_id_array":[{"photo_id":"1355374011","filename":"file5"},{"photo_id":"1355373932","filename":"file2"},{"photo_id":"1355373989","filename":"file4"},{"photo_id":"1355373900","filename":"file1"},{"photo_id":"1355373869","filename":"file0"},{"photo_id":"1355373962","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355374011":["hashtag1","hashtag2"]},{"1355373900":["hashtag1","hashtag2"]},{"1355373989":["hashtag1","hashtag2"]},{"1355373869":["hashtag1","hashtag2"]},{"1355373962":["hashtag1","hashtag2"]},{"1355373932":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355374011, 1355373900, 1355373989, 1355373869, 1355373962, 1355373932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53517937660217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:53:32.493361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/34/image_02052025_14_34_24_10535.jpg', '/home/pi/Desktop/images/02052025/14/34/image_02052025_14_34_34_9391.jpg', '/home/pi/Desktop/images/02052025/14/34/image_02052025_14_34_44_10438.jpg', '/home/pi/Desktop/images/02052025/14/34/image_02052025_14_34_55_10383.jpg', '/home/pi/Desktop/images/02052025/14/34/image_02052025_14_35_04_9340.jpg', '/home/pi/Desktop/images/02052025/14/35/image_02052025_14_35_14_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/34/image_02052025_14_34_24_10535.jpg
/home/pi/Desktop/images/02052025/14/34/image_02052025_14_34_34_9391.jpg
/home/pi/Desktop/images/02052025/14/34/image_02052025_14_34_44_10438.jpg
/home/pi/Desktop/images/02052025/14/34/image_02052025_14_34_55_10383.jpg
/home/pi/Desktop/images/02052025/14/34/image_02052025_14_35_04_9340.jpg
/home/pi/Desktop/images/02052025/14/35/image_02052025_14_35_14_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":["1355374070","1355374067","1355374076","1355374055","1355374078","1355374072"],"photo_ids_order":["1355374055","1355374067","1355374070","1355374072","1355374076","1355374078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ad9f2b496c9d22a9ec39fe47c09f781.jpg","text":"TemporaryFile(/tmp/multipartBody8381540067220344083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197672952,"filename":"image_02052025_14_34_44_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a3450ee1933ba096e95b93db0e7b9cc.jpg","text":"TemporaryFile(/tmp/multipartBody845017376474212271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197672952,"filename":"image_02052025_14_34_34_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2696ac9b79607075de7f19390ac92e18.jpg","text":"TemporaryFile(/tmp/multipartBody6087377694958167499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197672952,"filename":"image_02052025_14_35_04_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/801aa2d1b6fae829a857c3e66cce3ff5.jpg","text":"TemporaryFile(/tmp/multipartBody608344252308410497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197672952,"filename":"image_02052025_14_34_24_10535.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d2e0a04dcfd1d9975afaf8a8f7d10105.jpg","text":"TemporaryFile(/tmp/multipartBody19795096040497090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197672952,"filename":"image_02052025_14_35_14_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7228f3c036c65b40fcf446e59eda7a4c.jpg","text":"TemporaryFile(/tmp/multipartBody3554025785211688904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197672952,"filename":"image_02052025_14_34_55_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355374070","file1":"1355374067","file0":"1355374055","file4":"1355374076","file5":"1355374078","file3":"1355374072"},"map_files_photo_id_array":[{"photo_id":"1355374078","filename":"file5"},{"photo_id":"1355374070","filename":"file2"},{"photo_id":"1355374076","filename":"file4"},{"photo_id":"1355374067","filename":"file1"},{"photo_id":"1355374055","filename":"file0"},{"photo_id":"1355374072","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355374070":["hashtag1","hashtag2"]},{"1355374067":["hashtag1","hashtag2"]},{"1355374076":["hashtag1","hashtag2"]},{"1355374055":["hashtag1","hashtag2"]},{"1355374078":["hashtag1","hashtag2"]},{"1355374072":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355374070, 1355374067, 1355374076, 1355374055, 1355374078, 1355374072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.065465450286865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:54:32.525764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/35/image_02052025_14_35_34_10401.jpg', '/home/pi/Desktop/images/02052025/14/35/image_02052025_14_35_45_10372.jpg', '/home/pi/Desktop/images/02052025/14/35/image_02052025_14_35_54_9357.jpg', '/home/pi/Desktop/images/02052025/14/35/image_02052025_14_36_04_10364.jpg', '/home/pi/Desktop/images/02052025/14/36/image_02052025_14_36_14_9403.jpg', '/home/pi/Desktop/images/02052025/14/36/image_02052025_14_36_24_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/35/image_02052025_14_35_34_10401.jpg
/home/pi/Desktop/images/02052025/14/35/image_02052025_14_35_45_10372.jpg
/home/pi/Desktop/images/02052025/14/35/image_02052025_14_35_54_9357.jpg
/home/pi/Desktop/images/02052025/14/35/image_02052025_14_36_04_10364.jpg
/home/pi/Desktop/images/02052025/14/36/image_02052025_14_36_14_9403.jpg
/home/pi/Desktop/images/02052025/14/36/image_02052025_14_36_24_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":["1355374395","1355374606","1355374501","1355374332","1355374447","1355374555"],"photo_ids_order":["1355374332","1355374395","1355374447","1355374501","1355374555","1355374606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f348ef0c826bb46cfd9fe36ab1a4405b.jpg","text":"TemporaryFile(/tmp/multipartBody8219548580185490063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197732991,"filename":"image_02052025_14_35_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/5/2/21590bb3d46219455e6f23759e034bf9.jpg","text":"TemporaryFile(/tmp/multipartBody3216589396548270614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197732991,"filename":"image_02052025_14_36_24_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a0fc2daeb367625cbeb8fac216925cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8510975161555953496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197732991,"filename":"image_02052025_14_36_04_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ccdd10feede3b463d3db4c379a24421c.jpg","text":"TemporaryFile(/tmp/multipartBody1262959269961447715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197732991,"filename":"image_02052025_14_35_34_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6922dca7a4100f88d84081f126cf7c69.jpg","text":"TemporaryFile(/tmp/multipartBody7005680463143759650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197732991,"filename":"image_02052025_14_35_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba28214dc6c8dfb44460a87bae8e6691.jpg","text":"TemporaryFile(/tmp/multipartBody8364710436571733565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197732991,"filename":"image_02052025_14_36_14_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355374447","file1":"1355374395","file0":"1355374332","file4":"1355374555","file5":"1355374606","file3":"1355374501"},"map_files_photo_id_array":[{"photo_id":"1355374606","filename":"file5"},{"photo_id":"1355374447","filename":"file2"},{"photo_id":"1355374555","filename":"file4"},{"photo_id":"1355374395","filename":"file1"},{"photo_id":"1355374332","filename":"file0"},{"photo_id":"1355374501","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355374395":["hashtag1","hashtag2"]},{"1355374606":["hashtag1","hashtag2"]},{"1355374501":["hashtag1","hashtag2"]},{"1355374332":["hashtag1","hashtag2"]},{"1355374447":["hashtag1","hashtag2"]},{"1355374555":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355374395, 1355374606, 1355374501, 1355374332, 1355374447, 1355374555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.737656593322754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:55:32.584555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/36/image_02052025_14_36_35_10469.jpg', '/home/pi/Desktop/images/02052025/14/36/image_02052025_14_36_44_9356.jpg', '/home/pi/Desktop/images/02052025/14/36/image_02052025_14_36_54_10376.jpg', '/home/pi/Desktop/images/02052025/14/36/image_02052025_14_37_05_10412.jpg', '/home/pi/Desktop/images/02052025/14/37/image_02052025_14_37_14_9408.jpg', '/home/pi/Desktop/images/02052025/14/37/image_02052025_14_37_25_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/36/image_02052025_14_36_35_10469.jpg
/home/pi/Desktop/images/02052025/14/36/image_02052025_14_36_44_9356.jpg
/home/pi/Desktop/images/02052025/14/36/image_02052025_14_36_54_10376.jpg
/home/pi/Desktop/images/02052025/14/36/image_02052025_14_37_05_10412.jpg
/home/pi/Desktop/images/02052025/14/37/image_02052025_14_37_14_9408.jpg
/home/pi/Desktop/images/02052025/14/37/image_02052025_14_37_25_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":["1355374849","1355374890","1355375069","1355374991","1355374820","1355374792"],"photo_ids_order":["1355374792","1355374820","1355374849","1355374890","1355374991","1355375069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1cb6f9162f7c918bb5417ae9243daff6.jpg","text":"TemporaryFile(/tmp/multipartBody2050772299685374456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197793045,"filename":"image_02052025_14_36_54_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/27168c3eab7ce61434cb3450a6e8c07b.jpg","text":"TemporaryFile(/tmp/multipartBody6432590588289279723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197793045,"filename":"image_02052025_14_37_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/5/2/83bea841732693c49ba5b5b7f39454eb.jpg","text":"TemporaryFile(/tmp/multipartBody4241418774155823274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197793045,"filename":"image_02052025_14_37_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4809abc1108a8251f2e6c7dd1a02bf8c.jpg","text":"TemporaryFile(/tmp/multipartBody102861062005824845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197793045,"filename":"image_02052025_14_37_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/5/2/a4db09b8f7f54fd66720f1fd3e71534e.jpg","text":"TemporaryFile(/tmp/multipartBody6719864024745685605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197793045,"filename":"image_02052025_14_36_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/5/2/e3992bd2dcb818f7ebd8643b976a5cc4.jpg","text":"TemporaryFile(/tmp/multipartBody3118166388542456596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197793045,"filename":"image_02052025_14_36_35_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355374849","file1":"1355374820","file0":"1355374792","file4":"1355374991","file5":"1355375069","file3":"1355374890"},"map_files_photo_id_array":[{"photo_id":"1355375069","filename":"file5"},{"photo_id":"1355374849","filename":"file2"},{"photo_id":"1355374991","filename":"file4"},{"photo_id":"1355374820","filename":"file1"},{"photo_id":"1355374792","filename":"file0"},{"photo_id":"1355374890","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355374849":["hashtag1","hashtag2"]},{"1355374890":["hashtag1","hashtag2"]},{"1355375069":["hashtag1","hashtag2"]},{"1355374991":["hashtag1","hashtag2"]},{"1355374820":["hashtag1","hashtag2"]},{"1355374792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355374849, 1355374890, 1355375069, 1355374991, 1355374820, 1355374792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.623629093170166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:56:33.239826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/37/image_02052025_14_37_34_9380.jpg', '/home/pi/Desktop/images/02052025/14/37/image_02052025_14_37_44_10365.jpg', '/home/pi/Desktop/images/02052025/14/37/image_02052025_14_38_04_9385.jpg', '/home/pi/Desktop/images/02052025/14/38/image_02052025_14_38_15_10451.jpg', '/home/pi/Desktop/images/02052025/14/38/image_02052025_14_38_24_9365.jpg', '/home/pi/Desktop/images/02052025/14/38/image_02052025_14_38_45_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/37/image_02052025_14_37_34_9380.jpg
/home/pi/Desktop/images/02052025/14/37/image_02052025_14_37_44_10365.jpg
/home/pi/Desktop/images/02052025/14/37/image_02052025_14_38_04_9385.jpg
/home/pi/Desktop/images/02052025/14/38/image_02052025_14_38_15_10451.jpg
/home/pi/Desktop/images/02052025/14/38/image_02052025_14_38_24_9365.jpg
/home/pi/Desktop/images/02052025/14/38/image_02052025_14_38_45_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":["1355375484","1355375765","1355375420","1355375636","1355375881","1355375691"],"photo_ids_order":["1355375420","1355375484","1355375636","1355375691","1355375765","1355375881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/424eb9a0c38384cfb27bf15bebab447c.jpg","text":"TemporaryFile(/tmp/multipartBody5898761067272716134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197853716,"filename":"image_02052025_14_37_44_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6b4cb9e9364f65f24ce5b5abba89ff9.jpg","text":"TemporaryFile(/tmp/multipartBody8717833497858839114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197853716,"filename":"image_02052025_14_38_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/5/2/55971d746ba439f1c87e13b36a72f760.jpg","text":"TemporaryFile(/tmp/multipartBody3980264047175518412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197853716,"filename":"image_02052025_14_37_34_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc9fa6a23932fbd1ffc684827b6645a7.jpg","text":"TemporaryFile(/tmp/multipartBody7338968984862157727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197853716,"filename":"image_02052025_14_38_04_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/78c00cf00cafaa6f42403468db4344ff.jpg","text":"TemporaryFile(/tmp/multipartBody595139832248213393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197853716,"filename":"image_02052025_14_38_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/5/2/6c2a44f0024f20d788d435b4d8b13374.jpg","text":"TemporaryFile(/tmp/multipartBody6023787290146942002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746197853716,"filename":"image_02052025_14_38_15_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355375636","file1":"1355375484","file0":"1355375420","file4":"1355375765","file5":"1355375881","file3":"1355375691"},"map_files_photo_id_array":[{"photo_id":"1355375881","filename":"file5"},{"photo_id":"1355375636","filename":"file2"},{"photo_id":"1355375765","filename":"file4"},{"photo_id":"1355375484","filename":"file1"},{"photo_id":"1355375420","filename":"file0"},{"photo_id":"1355375691","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355375484":["hashtag1","hashtag2"]},{"1355375765":["hashtag1","hashtag2"]},{"1355375420":["hashtag1","hashtag2"]},{"1355375636":["hashtag1","hashtag2"]},{"1355375881":["hashtag1","hashtag2"]},{"1355375691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355375484, 1355375765, 1355375420, 1355375636, 1355375881, 1355375691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.476845502853394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:57:32.627463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/38/image_02052025_14_38_54_9350.jpg', '/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_24_10378.jpg', '/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_35_10360.jpg', '/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_44_9337.jpg', '/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_54_10375.jpg', '/home/pi/Desktop/images/02052025/14/39/image_02052025_14_40_05_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/38/image_02052025_14_38_54_9350.jpg
/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_24_10378.jpg
/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_35_10360.jpg
/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_44_9337.jpg
/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_54_10375.jpg
/home/pi/Desktop/images/02052025/14/39/image_02052025_14_40_05_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 16:59:03.599231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/38/image_02052025_14_38_54_9350.jpg', '/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_24_10378.jpg', '/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_35_10360.jpg', '/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_44_9337.jpg', '/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_54_10375.jpg', '/home/pi/Desktop/images/02052025/14/39/image_02052025_14_40_05_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/38/image_02052025_14_38_54_9350.jpg
/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_24_10378.jpg
/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_35_10360.jpg
/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_44_9337.jpg
/home/pi/Desktop/images/02052025/14/39/image_02052025_14_39_54_10375.jpg
/home/pi/Desktop/images/02052025/14/39/image_02052025_14_40_05_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355378107","1355378376","1355378424","1355378154","1355378040","1355378220"],"photo_ids_order":["1355378040","1355378107","1355378154","1355378220","1355378376","1355378424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4cdfffe9f4e0c91b3399ae478832a912.jpg","text":"TemporaryFile(/tmp/multipartBody293976925182185804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198004163,"filename":"image_02052025_14_39_24_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6c9f932f21b0969eb9506c7d5ffb4010.jpg","text":"TemporaryFile(/tmp/multipartBody3917023974403441314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198004163,"filename":"image_02052025_14_39_54_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b93aff2c64305105c34aec4c0fab0232.jpg","text":"TemporaryFile(/tmp/multipartBody2227023109721771761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198004163,"filename":"image_02052025_14_40_05_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/efd0408ac120dff7f8206bf31279109a.jpg","text":"TemporaryFile(/tmp/multipartBody6375840500051583374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198004163,"filename":"image_02052025_14_39_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ca35b0153c744098d5fcc4c09d7c460.jpg","text":"TemporaryFile(/tmp/multipartBody26255411356591880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198004163,"filename":"image_02052025_14_38_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/5/2/1ab490c0c5520e9e13c4608565414166.jpg","text":"TemporaryFile(/tmp/multipartBody6829668833770122573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198004163,"filename":"image_02052025_14_39_44_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355378154","file1":"1355378107","file0":"1355378040","file4":"1355378376","file5":"1355378424","file3":"1355378220"},"map_files_photo_id_array":[{"photo_id":"1355378424","filename":"file5"},{"photo_id":"1355378154","filename":"file2"},{"photo_id":"1355378376","filename":"file4"},{"photo_id":"1355378107","filename":"file1"},{"photo_id":"1355378040","filename":"file0"},{"photo_id":"1355378220","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355378107":["hashtag1","hashtag2"]},{"1355378376":["hashtag1","hashtag2"]},{"1355378424":["hashtag1","hashtag2"]},{"1355378154":["hashtag1","hashtag2"]},{"1355378040":["hashtag1","hashtag2"]},{"1355378220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355378107, 1355378376, 1355378424, 1355378154, 1355378040, 1355378220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.856614112854004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 16:59:52.185533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/40/image_02052025_14_40_14_9354.jpg', '/home/pi/Desktop/images/02052025/14/40/image_02052025_14_40_25_10499.jpg', '/home/pi/Desktop/images/02052025/14/40/image_02052025_14_40_44_10379.jpg', '/home/pi/Desktop/images/02052025/14/40/image_02052025_14_40_54_9450.jpg', '/home/pi/Desktop/images/02052025/14/40/image_02052025_14_41_04_10395.jpg', '/home/pi/Desktop/images/02052025/14/41/image_02052025_14_41_15_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/40/image_02052025_14_40_14_9354.jpg
/home/pi/Desktop/images/02052025/14/40/image_02052025_14_40_25_10499.jpg
/home/pi/Desktop/images/02052025/14/40/image_02052025_14_40_44_10379.jpg
/home/pi/Desktop/images/02052025/14/40/image_02052025_14_40_54_9450.jpg
/home/pi/Desktop/images/02052025/14/40/image_02052025_14_41_04_10395.jpg
/home/pi/Desktop/images/02052025/14/41/image_02052025_14_41_15_10434.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355378563","1355378536","1355378583","1355378486","1355378552","1355378555"],"photo_ids_order":["1355378486","1355378536","1355378552","1355378555","1355378563","1355378583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/466f541be0c1ba89940e163929ea31cb.jpg","text":"TemporaryFile(/tmp/multipartBody2486947714975576604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198052647,"filename":"image_02052025_14_41_04_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/816f927885a8a1debf6b1ee9b21e3a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5189998695768461264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198052647,"filename":"image_02052025_14_40_25_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc7943239d44330646a5bbf1ab1be5fd.jpg","text":"TemporaryFile(/tmp/multipartBody840434908302133059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198052647,"filename":"image_02052025_14_41_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/5/2/b9bb541b8c44522f175678b082c1006c.jpg","text":"TemporaryFile(/tmp/multipartBody1009696709281952150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198052647,"filename":"image_02052025_14_40_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/347fec7ab57e1275044a436bac98d5b7.jpg","text":"TemporaryFile(/tmp/multipartBody5301523433581069566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198052647,"filename":"image_02052025_14_40_44_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad630353e5ad986e8e5516e18f195ad6.jpg","text":"TemporaryFile(/tmp/multipartBody6602816620101567787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198052647,"filename":"image_02052025_14_40_54_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355378552","file1":"1355378536","file0":"1355378486","file4":"1355378563","file5":"1355378583","file3":"1355378555"},"map_files_photo_id_array":[{"photo_id":"1355378583","filename":"file5"},{"photo_id":"1355378552","filename":"file2"},{"photo_id":"1355378563","filename":"file4"},{"photo_id":"1355378536","filename":"file1"},{"photo_id":"1355378486","filename":"file0"},{"photo_id":"1355378555","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355378563":["hashtag1","hashtag2"]},{"1355378536":["hashtag1","hashtag2"]},{"1355378583":["hashtag1","hashtag2"]},{"1355378486":["hashtag1","hashtag2"]},{"1355378552":["hashtag1","hashtag2"]},{"1355378555":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355378563, 1355378536, 1355378583, 1355378486, 1355378552, 1355378555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20950269699097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:00:32.445870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/41/image_02052025_14_41_34_10440.jpg', '/home/pi/Desktop/images/02052025/14/41/image_02052025_14_41_44_9348.jpg', '/home/pi/Desktop/images/02052025/14/41/image_02052025_14_41_54_10378.jpg', '/home/pi/Desktop/images/02052025/14/42/image_02052025_14_42_24_10368.jpg', '/home/pi/Desktop/images/02052025/14/42/image_02052025_14_42_34_9415.jpg', '/home/pi/Desktop/images/02052025/14/42/image_02052025_14_42_55_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/41/image_02052025_14_41_34_10440.jpg
/home/pi/Desktop/images/02052025/14/41/image_02052025_14_41_44_9348.jpg
/home/pi/Desktop/images/02052025/14/41/image_02052025_14_41_54_10378.jpg
/home/pi/Desktop/images/02052025/14/42/image_02052025_14_42_24_10368.jpg
/home/pi/Desktop/images/02052025/14/42/image_02052025_14_42_34_9415.jpg
/home/pi/Desktop/images/02052025/14/42/image_02052025_14_42_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":["1355378737","1355378827","1355378707","1355378799","1355378673","1355378768"],"photo_ids_order":["1355378673","1355378707","1355378737","1355378768","1355378799","1355378827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f5f7559a9b86f191391d4bd664dbc8c.jpg","text":"TemporaryFile(/tmp/multipartBody1548190457953555070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198092913,"filename":"image_02052025_14_41_54_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d8e1ea2a7ccdc3c68567793ad9fb233.jpg","text":"TemporaryFile(/tmp/multipartBody3841192832622214870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198092913,"filename":"image_02052025_14_42_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/5/2/e36283932334913d14d238397a650f58.jpg","text":"TemporaryFile(/tmp/multipartBody8477781151778733574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198092913,"filename":"image_02052025_14_41_44_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da301700390d206211a1a3bd1c134cbb.jpg","text":"TemporaryFile(/tmp/multipartBody6255166060332048715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198092913,"filename":"image_02052025_14_42_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a30601d07d16ecc0bc0004c2d73d736c.jpg","text":"TemporaryFile(/tmp/multipartBody3510339268862871568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198092913,"filename":"image_02052025_14_41_34_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a74a28644c99fcdc91948ebd0d8076b.jpg","text":"TemporaryFile(/tmp/multipartBody1842454087447993120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198092913,"filename":"image_02052025_14_42_24_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355378737","file1":"1355378707","file0":"1355378673","file4":"1355378799","file5":"1355378827","file3":"1355378768"},"map_files_photo_id_array":[{"photo_id":"1355378827","filename":"file5"},{"photo_id":"1355378737","filename":"file2"},{"photo_id":"1355378799","filename":"file4"},{"photo_id":"1355378707","filename":"file1"},{"photo_id":"1355378673","filename":"file0"},{"photo_id":"1355378768","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355378737":["hashtag1","hashtag2"]},{"1355378827":["hashtag1","hashtag2"]},{"1355378707":["hashtag1","hashtag2"]},{"1355378799":["hashtag1","hashtag2"]},{"1355378673":["hashtag1","hashtag2"]},{"1355378768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355378737, 1355378827, 1355378707, 1355378799, 1355378673, 1355378768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63518261909485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:01:32.654477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/42/image_02052025_14_43_04_9526.jpg', '/home/pi/Desktop/images/02052025/14/43/image_02052025_14_43_24_9465.jpg', '/home/pi/Desktop/images/02052025/14/43/image_02052025_14_43_34_10367.jpg', '/home/pi/Desktop/images/02052025/14/43/image_02052025_14_43_44_9402.jpg', '/home/pi/Desktop/images/02052025/14/43/image_02052025_14_43_54_10382.jpg', '/home/pi/Desktop/images/02052025/14/43/image_02052025_14_44_05_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/42/image_02052025_14_43_04_9526.jpg
/home/pi/Desktop/images/02052025/14/43/image_02052025_14_43_24_9465.jpg
/home/pi/Desktop/images/02052025/14/43/image_02052025_14_43_34_10367.jpg
/home/pi/Desktop/images/02052025/14/43/image_02052025_14_43_44_9402.jpg
/home/pi/Desktop/images/02052025/14/43/image_02052025_14_43_54_10382.jpg
/home/pi/Desktop/images/02052025/14/43/image_02052025_14_44_05_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355379130","1355379136","1355379121","1355379108","1355379134","1355379125"],"photo_ids_order":["1355379108","1355379121","1355379125","1355379130","1355379134","1355379136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5b13ed7df04657bb9bf505dcc2f1bb4c.jpg","text":"TemporaryFile(/tmp/multipartBody7585609857625065042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198153133,"filename":"image_02052025_14_43_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/5/2/124535081112fdd9eca4e75a538a4632.jpg","text":"TemporaryFile(/tmp/multipartBody8428608163654587351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198153133,"filename":"image_02052025_14_44_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/5/2/ce493ce21af3d8390eb1df705e559a37.jpg","text":"TemporaryFile(/tmp/multipartBody1291939951048713524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198153133,"filename":"image_02052025_14_43_24_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/24e0cfcca40692977004b351176d42f9.jpg","text":"TemporaryFile(/tmp/multipartBody4458982419810572558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198153133,"filename":"image_02052025_14_43_04_9526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/98800e6a91195be6370587271590eb3e.jpg","text":"TemporaryFile(/tmp/multipartBody7400575299764806599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198153133,"filename":"image_02052025_14_43_54_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6496e4fc67e6202a86172183871f7723.jpg","text":"TemporaryFile(/tmp/multipartBody747181103451676979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198153133,"filename":"image_02052025_14_43_34_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355379125","file1":"1355379121","file0":"1355379108","file4":"1355379134","file5":"1355379136","file3":"1355379130"},"map_files_photo_id_array":[{"photo_id":"1355379136","filename":"file5"},{"photo_id":"1355379125","filename":"file2"},{"photo_id":"1355379134","filename":"file4"},{"photo_id":"1355379121","filename":"file1"},{"photo_id":"1355379108","filename":"file0"},{"photo_id":"1355379130","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355379130":["hashtag1","hashtag2"]},{"1355379136":["hashtag1","hashtag2"]},{"1355379121":["hashtag1","hashtag2"]},{"1355379108":["hashtag1","hashtag2"]},{"1355379134":["hashtag1","hashtag2"]},{"1355379125":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355379130, 1355379136, 1355379121, 1355379108, 1355379134, 1355379125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.900338649749756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:02:32.815897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/44/image_02052025_14_44_14_9353.jpg', '/home/pi/Desktop/images/02052025/14/44/image_02052025_14_44_44_10439.jpg', '/home/pi/Desktop/images/02052025/14/44/image_02052025_14_44_55_10409.jpg', '/home/pi/Desktop/images/02052025/14/44/image_02052025_14_45_04_9394.jpg', '/home/pi/Desktop/images/02052025/14/45/image_02052025_14_45_15_10505.jpg', '/home/pi/Desktop/images/02052025/14/45/image_02052025_14_45_24_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/44/image_02052025_14_44_14_9353.jpg
/home/pi/Desktop/images/02052025/14/44/image_02052025_14_44_44_10439.jpg
/home/pi/Desktop/images/02052025/14/44/image_02052025_14_44_55_10409.jpg
/home/pi/Desktop/images/02052025/14/44/image_02052025_14_45_04_9394.jpg
/home/pi/Desktop/images/02052025/14/45/image_02052025_14_45_15_10505.jpg
/home/pi/Desktop/images/02052025/14/45/image_02052025_14_45_24_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355379457","1355379424","1355379360","1355379389","1355379332","1355379302"],"photo_ids_order":["1355379302","1355379332","1355379360","1355379389","1355379424","1355379457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/310c54fe0c68673cfb9018786d90fff8.jpg","text":"TemporaryFile(/tmp/multipartBody6714364683172479302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198213292,"filename":"image_02052025_14_45_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/5/2/648308a3337f520f7a5ea675ed06c25e.jpg","text":"TemporaryFile(/tmp/multipartBody3320184735383907367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198213292,"filename":"image_02052025_14_45_15_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2f2ac782a3a366c1e35247995caf7a5a.jpg","text":"TemporaryFile(/tmp/multipartBody3387273856784214498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198213292,"filename":"image_02052025_14_44_55_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41fbf7a69d4cb16c1dae359cc90fad07.jpg","text":"TemporaryFile(/tmp/multipartBody1040100843487690323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198213292,"filename":"image_02052025_14_45_04_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/091c3d68db2e34fb3847e3ee02bc520a.jpg","text":"TemporaryFile(/tmp/multipartBody2167483609278259414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198213292,"filename":"image_02052025_14_44_44_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b6d855969e42be6882cf2790c443804.jpg","text":"TemporaryFile(/tmp/multipartBody5959309062996151287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198213292,"filename":"image_02052025_14_44_14_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355379360","file1":"1355379332","file0":"1355379302","file4":"1355379424","file5":"1355379457","file3":"1355379389"},"map_files_photo_id_array":[{"photo_id":"1355379457","filename":"file5"},{"photo_id":"1355379360","filename":"file2"},{"photo_id":"1355379424","filename":"file4"},{"photo_id":"1355379332","filename":"file1"},{"photo_id":"1355379302","filename":"file0"},{"photo_id":"1355379389","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355379457":["hashtag1","hashtag2"]},{"1355379424":["hashtag1","hashtag2"]},{"1355379360":["hashtag1","hashtag2"]},{"1355379389":["hashtag1","hashtag2"]},{"1355379332":["hashtag1","hashtag2"]},{"1355379302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355379457, 1355379424, 1355379360, 1355379389, 1355379332, 1355379302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.671371936798096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:03:33.069926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/45/image_02052025_14_45_34_10370.jpg', '/home/pi/Desktop/images/02052025/14/45/image_02052025_14_45_44_9465.jpg', '/home/pi/Desktop/images/02052025/14/45/image_02052025_14_45_54_10407.jpg', '/home/pi/Desktop/images/02052025/14/45/image_02052025_14_46_05_10499.jpg', '/home/pi/Desktop/images/02052025/14/46/image_02052025_14_46_14_9331.jpg', '/home/pi/Desktop/images/02052025/14/46/image_02052025_14_46_24_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/45/image_02052025_14_45_34_10370.jpg
/home/pi/Desktop/images/02052025/14/45/image_02052025_14_45_44_9465.jpg
/home/pi/Desktop/images/02052025/14/45/image_02052025_14_45_54_10407.jpg
/home/pi/Desktop/images/02052025/14/45/image_02052025_14_46_05_10499.jpg
/home/pi/Desktop/images/02052025/14/46/image_02052025_14_46_14_9331.jpg
/home/pi/Desktop/images/02052025/14/46/image_02052025_14_46_24_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355380785","1355380842","1355380437","1355380617","1355380814","1355380736"],"photo_ids_order":["1355380437","1355380617","1355380736","1355380785","1355380814","1355380842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55e98beda8f9cf771c190fb03d98678a.jpg","text":"TemporaryFile(/tmp/multipartBody3736747146504596769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198273530,"filename":"image_02052025_14_46_05_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5b69a71a52307058b86be06e8cbbf44d.jpg","text":"TemporaryFile(/tmp/multipartBody683650876668020679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198273530,"filename":"image_02052025_14_46_24_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4cc49375f3805be46f9385ab28f65eec.jpg","text":"TemporaryFile(/tmp/multipartBody2677510705291879138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198273530,"filename":"image_02052025_14_45_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fb6d73a62660669d64be550824ae16d5.jpg","text":"TemporaryFile(/tmp/multipartBody5755501540127215378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198273530,"filename":"image_02052025_14_45_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/5/2/2631a4dabe485a1b4591085913674502.jpg","text":"TemporaryFile(/tmp/multipartBody585438692435182507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198273530,"filename":"image_02052025_14_46_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/5/2/3b6718b2597de23952cbf4dc4b5643bc.jpg","text":"TemporaryFile(/tmp/multipartBody5013813225916906102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198273530,"filename":"image_02052025_14_45_54_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355380736","file1":"1355380617","file0":"1355380437","file4":"1355380814","file5":"1355380842","file3":"1355380785"},"map_files_photo_id_array":[{"photo_id":"1355380842","filename":"file5"},{"photo_id":"1355380736","filename":"file2"},{"photo_id":"1355380814","filename":"file4"},{"photo_id":"1355380617","filename":"file1"},{"photo_id":"1355380437","filename":"file0"},{"photo_id":"1355380785","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355380785":["hashtag1","hashtag2"]},{"1355380842":["hashtag1","hashtag2"]},{"1355380437":["hashtag1","hashtag2"]},{"1355380617":["hashtag1","hashtag2"]},{"1355380814":["hashtag1","hashtag2"]},{"1355380736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355380785, 1355380842, 1355380437, 1355380617, 1355380814, 1355380736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.386536598205566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:04:32.228908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/46/image_02052025_14_46_34_9392.jpg', '/home/pi/Desktop/images/02052025/14/46/image_02052025_14_46_44_10364.jpg', '/home/pi/Desktop/images/02052025/14/46/image_02052025_14_46_55_10395.jpg', '/home/pi/Desktop/images/02052025/14/46/image_02052025_14_47_04_9356.jpg', '/home/pi/Desktop/images/02052025/14/47/image_02052025_14_47_14_10347.jpg', '/home/pi/Desktop/images/02052025/14/47/image_02052025_14_47_25_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/46/image_02052025_14_46_34_9392.jpg
/home/pi/Desktop/images/02052025/14/46/image_02052025_14_46_44_10364.jpg
/home/pi/Desktop/images/02052025/14/46/image_02052025_14_46_55_10395.jpg
/home/pi/Desktop/images/02052025/14/46/image_02052025_14_47_04_9356.jpg
/home/pi/Desktop/images/02052025/14/47/image_02052025_14_47_14_10347.jpg
/home/pi/Desktop/images/02052025/14/47/image_02052025_14_47_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":["1355381551","1355381440","1355381496","1355381361","1355381631","1355381601"],"photo_ids_order":["1355381361","1355381440","1355381496","1355381551","1355381601","1355381631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0395d84f098b347c6460a16153b6d9a6.jpg","text":"TemporaryFile(/tmp/multipartBody8109935781051985653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198332699,"filename":"image_02052025_14_47_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/931dff814a24764a02c9d1d49a720d00.jpg","text":"TemporaryFile(/tmp/multipartBody5269760876171451409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198332699,"filename":"image_02052025_14_46_44_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b57a44afa8686ef0c11f1452e9dae9f.jpg","text":"TemporaryFile(/tmp/multipartBody899548716402582092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198332699,"filename":"image_02052025_14_46_55_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/31b1c4af86a0d8916b376030a06d029e.jpg","text":"TemporaryFile(/tmp/multipartBody7670605135689587253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198332699,"filename":"image_02052025_14_46_34_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/358b1a8e2ec38b8e4e8752f37726b555.jpg","text":"TemporaryFile(/tmp/multipartBody4196228915263255789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198332699,"filename":"image_02052025_14_47_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/5/2/4ed6d56b85f0cdf6bd9bb1ef9c4141a7.jpg","text":"TemporaryFile(/tmp/multipartBody2341495626076400371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198332699,"filename":"image_02052025_14_47_14_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355381496","file1":"1355381440","file0":"1355381361","file4":"1355381601","file5":"1355381631","file3":"1355381551"},"map_files_photo_id_array":[{"photo_id":"1355381631","filename":"file5"},{"photo_id":"1355381496","filename":"file2"},{"photo_id":"1355381601","filename":"file4"},{"photo_id":"1355381440","filename":"file1"},{"photo_id":"1355381361","filename":"file0"},{"photo_id":"1355381551","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355381551":["hashtag1","hashtag2"]},{"1355381440":["hashtag1","hashtag2"]},{"1355381496":["hashtag1","hashtag2"]},{"1355381361":["hashtag1","hashtag2"]},{"1355381631":["hashtag1","hashtag2"]},{"1355381601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355381551, 1355381440, 1355381496, 1355381361, 1355381631, 1355381601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68537902832031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:05:32.486197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/47/image_02052025_14_47_54_9346.jpg', '/home/pi/Desktop/images/02052025/14/47/image_02052025_14_48_04_10356.jpg', '/home/pi/Desktop/images/02052025/14/48/image_02052025_14_48_15_10371.jpg', '/home/pi/Desktop/images/02052025/14/48/image_02052025_14_48_24_9349.jpg', '/home/pi/Desktop/images/02052025/14/48/image_02052025_14_48_34_10362.jpg', '/home/pi/Desktop/images/02052025/14/48/image_02052025_14_48_45_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/47/image_02052025_14_47_54_9346.jpg
/home/pi/Desktop/images/02052025/14/47/image_02052025_14_48_04_10356.jpg
/home/pi/Desktop/images/02052025/14/48/image_02052025_14_48_15_10371.jpg
/home/pi/Desktop/images/02052025/14/48/image_02052025_14_48_24_9349.jpg
/home/pi/Desktop/images/02052025/14/48/image_02052025_14_48_34_10362.jpg
/home/pi/Desktop/images/02052025/14/48/image_02052025_14_48_45_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":["1355382208","1355382564","1355382486","1355382659","1355382434","1355382023"],"photo_ids_order":["1355382023","1355382208","1355382434","1355382486","1355382564","1355382659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b493dce4f5e8cd03d7a4920265ca2656.jpg","text":"TemporaryFile(/tmp/multipartBody9010605648220827014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198392946,"filename":"image_02052025_14_48_04_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f70ce50db0beff9633f0d75301ad63af.jpg","text":"TemporaryFile(/tmp/multipartBody6991856558105889869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198392946,"filename":"image_02052025_14_48_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aae0bc8f7dbc5264b0276d14c1f9617b.jpg","text":"TemporaryFile(/tmp/multipartBody7735834781365485223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198392946,"filename":"image_02052025_14_48_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/5/2/662e29fce8b1614013ed6c9e611b2d51.jpg","text":"TemporaryFile(/tmp/multipartBody292207577638034845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198392946,"filename":"image_02052025_14_48_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e50b24770ec3b152204f649992575fbe.jpg","text":"TemporaryFile(/tmp/multipartBody6657662102578145125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198392946,"filename":"image_02052025_14_48_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/5/2/ce66c216c1390abddbb96331ccbd2eab.jpg","text":"TemporaryFile(/tmp/multipartBody2431845228039762845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198392946,"filename":"image_02052025_14_47_54_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355382434","file1":"1355382208","file0":"1355382023","file4":"1355382564","file5":"1355382659","file3":"1355382486"},"map_files_photo_id_array":[{"photo_id":"1355382659","filename":"file5"},{"photo_id":"1355382434","filename":"file2"},{"photo_id":"1355382564","filename":"file4"},{"photo_id":"1355382208","filename":"file1"},{"photo_id":"1355382023","filename":"file0"},{"photo_id":"1355382486","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355382208":["hashtag1","hashtag2"]},{"1355382564":["hashtag1","hashtag2"]},{"1355382486":["hashtag1","hashtag2"]},{"1355382659":["hashtag1","hashtag2"]},{"1355382434":["hashtag1","hashtag2"]},{"1355382023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355382208, 1355382564, 1355382486, 1355382659, 1355382434, 1355382023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76681590080261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:06:32.747192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/48/image_02052025_14_48_54_9380.jpg', '/home/pi/Desktop/images/02052025/14/48/image_02052025_14_49_04_10444.jpg', '/home/pi/Desktop/images/02052025/14/49/image_02052025_14_49_14_9367.jpg', '/home/pi/Desktop/images/02052025/14/49/image_02052025_14_49_24_10393.jpg', '/home/pi/Desktop/images/02052025/14/49/image_02052025_14_49_35_10466.jpg', '/home/pi/Desktop/images/02052025/14/49/image_02052025_14_49_44_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/48/image_02052025_14_48_54_9380.jpg
/home/pi/Desktop/images/02052025/14/48/image_02052025_14_49_04_10444.jpg
/home/pi/Desktop/images/02052025/14/49/image_02052025_14_49_14_9367.jpg
/home/pi/Desktop/images/02052025/14/49/image_02052025_14_49_24_10393.jpg
/home/pi/Desktop/images/02052025/14/49/image_02052025_14_49_35_10466.jpg
/home/pi/Desktop/images/02052025/14/49/image_02052025_14_49_44_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":["1355383491","1355383728","1355383643","1355383613","1355383393","1355383669"],"photo_ids_order":["1355383393","1355383491","1355383613","1355383643","1355383669","1355383728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e17b5e88dc15df2f35e79769e110288.jpg","text":"TemporaryFile(/tmp/multipartBody8350144069884288582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198453272,"filename":"image_02052025_14_49_04_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5e6b41841110722e78a8cca83c4a020a.jpg","text":"TemporaryFile(/tmp/multipartBody3465471300274452193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198453272,"filename":"image_02052025_14_49_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/5/2/05c84c501a89642eb678caeb9d843c03.jpg","text":"TemporaryFile(/tmp/multipartBody7128589858860673309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198453272,"filename":"image_02052025_14_49_24_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6a23d83ddafbe370a8b20f430d2d4b11.jpg","text":"TemporaryFile(/tmp/multipartBody4404336565179965485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198453272,"filename":"image_02052025_14_49_14_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c934134a36b62cd39a0860b0ad440bc.jpg","text":"TemporaryFile(/tmp/multipartBody7907171347333296502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198453272,"filename":"image_02052025_14_48_54_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d13a14a56a75bdc20f3e5ea525023576.jpg","text":"TemporaryFile(/tmp/multipartBody4876842875340202553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198453272,"filename":"image_02052025_14_49_35_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355383613","file1":"1355383491","file0":"1355383393","file4":"1355383669","file5":"1355383728","file3":"1355383643"},"map_files_photo_id_array":[{"photo_id":"1355383728","filename":"file5"},{"photo_id":"1355383613","filename":"file2"},{"photo_id":"1355383669","filename":"file4"},{"photo_id":"1355383491","filename":"file1"},{"photo_id":"1355383393","filename":"file0"},{"photo_id":"1355383643","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355383491":["hashtag1","hashtag2"]},{"1355383728":["hashtag1","hashtag2"]},{"1355383643":["hashtag1","hashtag2"]},{"1355383613":["hashtag1","hashtag2"]},{"1355383393":["hashtag1","hashtag2"]},{"1355383669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355383491, 1355383728, 1355383643, 1355383613, 1355383393, 1355383669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43024301528931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:07:32.843465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/49/image_02052025_14_49_55_10487.jpg', '/home/pi/Desktop/images/02052025/14/49/image_02052025_14_50_04_9345.jpg', '/home/pi/Desktop/images/02052025/14/50/image_02052025_14_50_14_10446.jpg', '/home/pi/Desktop/images/02052025/14/50/image_02052025_14_50_24_9429.jpg', '/home/pi/Desktop/images/02052025/14/50/image_02052025_14_50_34_10384.jpg', '/home/pi/Desktop/images/02052025/14/50/image_02052025_14_50_45_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/49/image_02052025_14_49_55_10487.jpg
/home/pi/Desktop/images/02052025/14/49/image_02052025_14_50_04_9345.jpg
/home/pi/Desktop/images/02052025/14/50/image_02052025_14_50_14_10446.jpg
/home/pi/Desktop/images/02052025/14/50/image_02052025_14_50_24_9429.jpg
/home/pi/Desktop/images/02052025/14/50/image_02052025_14_50_34_10384.jpg
/home/pi/Desktop/images/02052025/14/50/image_02052025_14_50_45_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355383865","1355383856","1355383922","1355383891","1355383861","1355383959"],"photo_ids_order":["1355383856","1355383861","1355383865","1355383891","1355383922","1355383959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ccb34b6c192a3f6a1feeb2fe18db2c9e.jpg","text":"TemporaryFile(/tmp/multipartBody2369565243610439272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198513303,"filename":"image_02052025_14_50_14_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f4e8c94f6743ec2a1958004ec1097cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2789472227447860804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198513303,"filename":"image_02052025_14_49_55_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa52afa664c7392203e92fc24e132921.jpg","text":"TemporaryFile(/tmp/multipartBody3990331251215371623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198513303,"filename":"image_02052025_14_50_34_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b19512262feb24ae03875798941decc.jpg","text":"TemporaryFile(/tmp/multipartBody975887399221681541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198513303,"filename":"image_02052025_14_50_24_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d2f898cbefc3368b8f029900b88fd71.jpg","text":"TemporaryFile(/tmp/multipartBody6920506648746919079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198513303,"filename":"image_02052025_14_50_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/5/2/1acd44e3c46eb877e65e12b3c1a91070.jpg","text":"TemporaryFile(/tmp/multipartBody124178613600613063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198513303,"filename":"image_02052025_14_50_45_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355383865","file1":"1355383861","file0":"1355383856","file4":"1355383922","file5":"1355383959","file3":"1355383891"},"map_files_photo_id_array":[{"photo_id":"1355383959","filename":"file5"},{"photo_id":"1355383865","filename":"file2"},{"photo_id":"1355383922","filename":"file4"},{"photo_id":"1355383861","filename":"file1"},{"photo_id":"1355383856","filename":"file0"},{"photo_id":"1355383891","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355383865":["hashtag1","hashtag2"]},{"1355383856":["hashtag1","hashtag2"]},{"1355383922":["hashtag1","hashtag2"]},{"1355383891":["hashtag1","hashtag2"]},{"1355383861":["hashtag1","hashtag2"]},{"1355383959":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355383865, 1355383856, 1355383922, 1355383891, 1355383861, 1355383959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.922529220581055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:08:32.925549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/50/image_02052025_14_50_54_9424.jpg', '/home/pi/Desktop/images/02052025/14/50/image_02052025_14_51_05_10516.jpg', '/home/pi/Desktop/images/02052025/14/51/image_02052025_14_51_14_9358.jpg', '/home/pi/Desktop/images/02052025/14/51/image_02052025_14_51_24_10383.jpg', '/home/pi/Desktop/images/02052025/14/51/image_02052025_14_51_35_10360.jpg', '/home/pi/Desktop/images/02052025/14/51/image_02052025_14_51_44_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/50/image_02052025_14_50_54_9424.jpg
/home/pi/Desktop/images/02052025/14/50/image_02052025_14_51_05_10516.jpg
/home/pi/Desktop/images/02052025/14/51/image_02052025_14_51_14_9358.jpg
/home/pi/Desktop/images/02052025/14/51/image_02052025_14_51_24_10383.jpg
/home/pi/Desktop/images/02052025/14/51/image_02052025_14_51_35_10360.jpg
/home/pi/Desktop/images/02052025/14/51/image_02052025_14_51_44_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":["1355384542","1355384221","1355384277","1355384457","1355384403","1355384331"],"photo_ids_order":["1355384221","1355384277","1355384331","1355384403","1355384457","1355384542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/181a7bdf642ddf2501e3f78dd2c387b5.jpg","text":"TemporaryFile(/tmp/multipartBody7860585069433975056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198573384,"filename":"image_02052025_14_51_44_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f5e2b67ac27009b7ea4a6d4ea9de611.jpg","text":"TemporaryFile(/tmp/multipartBody637396060761661007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198573384,"filename":"image_02052025_14_50_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/5/2/9943308f867317b43aa3a662828986af.jpg","text":"TemporaryFile(/tmp/multipartBody4383113545520573360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198573384,"filename":"image_02052025_14_51_05_10516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b19999f16ba5d0c706257f753e4aac50.jpg","text":"TemporaryFile(/tmp/multipartBody4102897467510883095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198573384,"filename":"image_02052025_14_51_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9a51b989a15c4f5f86d5fa563cd9829.jpg","text":"TemporaryFile(/tmp/multipartBody6283558278313186228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198573384,"filename":"image_02052025_14_51_24_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d469b3784309e2b5ad3219d24f898a27.jpg","text":"TemporaryFile(/tmp/multipartBody4332890313976341063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198573384,"filename":"image_02052025_14_51_14_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355384331","file1":"1355384277","file0":"1355384221","file4":"1355384457","file5":"1355384542","file3":"1355384403"},"map_files_photo_id_array":[{"photo_id":"1355384542","filename":"file5"},{"photo_id":"1355384331","filename":"file2"},{"photo_id":"1355384457","filename":"file4"},{"photo_id":"1355384277","filename":"file1"},{"photo_id":"1355384221","filename":"file0"},{"photo_id":"1355384403","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355384542":["hashtag1","hashtag2"]},{"1355384221":["hashtag1","hashtag2"]},{"1355384277":["hashtag1","hashtag2"]},{"1355384457":["hashtag1","hashtag2"]},{"1355384403":["hashtag1","hashtag2"]},{"1355384331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355384542, 1355384221, 1355384277, 1355384457, 1355384403, 1355384331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72136068344116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:09:33.140138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/51/image_02052025_14_51_54_10364.jpg', '/home/pi/Desktop/images/02052025/14/51/image_02052025_14_52_04_9462.jpg', '/home/pi/Desktop/images/02052025/14/52/image_02052025_14_52_14_10493.jpg', '/home/pi/Desktop/images/02052025/14/52/image_02052025_14_52_24_9443.jpg', '/home/pi/Desktop/images/02052025/14/52/image_02052025_14_52_34_10431.jpg', '/home/pi/Desktop/images/02052025/14/52/image_02052025_14_52_45_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/51/image_02052025_14_51_54_10364.jpg
/home/pi/Desktop/images/02052025/14/51/image_02052025_14_52_04_9462.jpg
/home/pi/Desktop/images/02052025/14/52/image_02052025_14_52_14_10493.jpg
/home/pi/Desktop/images/02052025/14/52/image_02052025_14_52_24_9443.jpg
/home/pi/Desktop/images/02052025/14/52/image_02052025_14_52_34_10431.jpg
/home/pi/Desktop/images/02052025/14/52/image_02052025_14_52_45_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355385047","1355385158","1355385679","1355385472","1355385097","1355385575"],"photo_ids_order":["1355385047","1355385097","1355385158","1355385472","1355385575","1355385679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7850b45067707541537d8ab7f1e9971a.jpg","text":"TemporaryFile(/tmp/multipartBody8457387575299392187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198633598,"filename":"image_02052025_14_51_54_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6baa4f778665d47454d463d9f0d234e4.jpg","text":"TemporaryFile(/tmp/multipartBody7497179182169236575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198633598,"filename":"image_02052025_14_52_14_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3964d2fdc19e76900927c60fb0201588.jpg","text":"TemporaryFile(/tmp/multipartBody3332363627531443550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198633598,"filename":"image_02052025_14_52_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0cfb90bb69e803b8ad1b1f31952b9551.jpg","text":"TemporaryFile(/tmp/multipartBody4032504939085950222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198633598,"filename":"image_02052025_14_52_24_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c81ef225600ba665e06a72e691874bd8.jpg","text":"TemporaryFile(/tmp/multipartBody485015345113001358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198633598,"filename":"image_02052025_14_52_04_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9811e16ed9a27d6b8c915a6474b9816.jpg","text":"TemporaryFile(/tmp/multipartBody6496912930476832198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198633598,"filename":"image_02052025_14_52_34_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355385158","file1":"1355385097","file0":"1355385047","file4":"1355385575","file5":"1355385679","file3":"1355385472"},"map_files_photo_id_array":[{"photo_id":"1355385679","filename":"file5"},{"photo_id":"1355385158","filename":"file2"},{"photo_id":"1355385575","filename":"file4"},{"photo_id":"1355385097","filename":"file1"},{"photo_id":"1355385047","filename":"file0"},{"photo_id":"1355385472","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355385047":["hashtag1","hashtag2"]},{"1355385158":["hashtag1","hashtag2"]},{"1355385679":["hashtag1","hashtag2"]},{"1355385472":["hashtag1","hashtag2"]},{"1355385097":["hashtag1","hashtag2"]},{"1355385575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355385047, 1355385158, 1355385679, 1355385472, 1355385097, 1355385575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.249796867370605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:10:32.262527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/53/image_02052025_14_53_24_9357.jpg', '/home/pi/Desktop/images/02052025/14/53/image_02052025_14_53_34_10468.jpg', '/home/pi/Desktop/images/02052025/14/53/image_02052025_14_53_44_9353.jpg', '/home/pi/Desktop/images/02052025/14/53/image_02052025_14_53_54_10384.jpg', '/home/pi/Desktop/images/02052025/14/53/image_02052025_14_54_05_10462.jpg', '/home/pi/Desktop/images/02052025/14/54/image_02052025_14_54_14_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/53/image_02052025_14_53_24_9357.jpg
/home/pi/Desktop/images/02052025/14/53/image_02052025_14_53_34_10468.jpg
/home/pi/Desktop/images/02052025/14/53/image_02052025_14_53_44_9353.jpg
/home/pi/Desktop/images/02052025/14/53/image_02052025_14_53_54_10384.jpg
/home/pi/Desktop/images/02052025/14/53/image_02052025_14_54_05_10462.jpg
/home/pi/Desktop/images/02052025/14/54/image_02052025_14_54_14_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":["1355387458","1355387190","1355387516","1355387380","1355386910","1355386622"],"photo_ids_order":["1355386622","1355386910","1355387190","1355387380","1355387458","1355387516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1951dbc23d48a8c75108d43c0d7b6233.jpg","text":"TemporaryFile(/tmp/multipartBody2817492415766720183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198692722,"filename":"image_02052025_14_54_05_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ef2d2aa5649b97a9f545d048a54d407d.jpg","text":"TemporaryFile(/tmp/multipartBody3130113143303450432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198692722,"filename":"image_02052025_14_53_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/5/2/a9b2bfc6fabeada9036115897dbe34b1.jpg","text":"TemporaryFile(/tmp/multipartBody2271880562688304571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198692722,"filename":"image_02052025_14_54_14_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fe7395eb6f7a85dd761fd2142f3c03b4.jpg","text":"TemporaryFile(/tmp/multipartBody1804160087650230695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198692722,"filename":"image_02052025_14_53_54_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a646d941a44cf92c1286ed41171ca9d8.jpg","text":"TemporaryFile(/tmp/multipartBody3163613869884901175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198692722,"filename":"image_02052025_14_53_34_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ba76e76e08e08c05f1a518fb4618859.jpg","text":"TemporaryFile(/tmp/multipartBody3211385772122594121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198692722,"filename":"image_02052025_14_53_24_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355387190","file1":"1355386910","file0":"1355386622","file4":"1355387458","file5":"1355387516","file3":"1355387380"},"map_files_photo_id_array":[{"photo_id":"1355387516","filename":"file5"},{"photo_id":"1355387190","filename":"file2"},{"photo_id":"1355387458","filename":"file4"},{"photo_id":"1355386910","filename":"file1"},{"photo_id":"1355386622","filename":"file0"},{"photo_id":"1355387380","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355387458":["hashtag1","hashtag2"]},{"1355387190":["hashtag1","hashtag2"]},{"1355387516":["hashtag1","hashtag2"]},{"1355387380":["hashtag1","hashtag2"]},{"1355386910":["hashtag1","hashtag2"]},{"1355386622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355387458, 1355387190, 1355387516, 1355387380, 1355386910, 1355386622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.328778743743896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:11:32.573882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/54/image_02052025_14_54_24_10381.jpg', '/home/pi/Desktop/images/02052025/14/54/image_02052025_14_55_04_9433.jpg', '/home/pi/Desktop/images/02052025/14/55/image_02052025_14_55_14_10431.jpg', '/home/pi/Desktop/images/02052025/14/55/image_02052025_14_55_34_10449.jpg', '/home/pi/Desktop/images/02052025/14/55/image_02052025_14_55_54_9356.jpg', '/home/pi/Desktop/images/02052025/14/55/image_02052025_14_56_04_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/54/image_02052025_14_54_24_10381.jpg
/home/pi/Desktop/images/02052025/14/54/image_02052025_14_55_04_9433.jpg
/home/pi/Desktop/images/02052025/14/55/image_02052025_14_55_14_10431.jpg
/home/pi/Desktop/images/02052025/14/55/image_02052025_14_55_34_10449.jpg
/home/pi/Desktop/images/02052025/14/55/image_02052025_14_55_54_9356.jpg
/home/pi/Desktop/images/02052025/14/55/image_02052025_14_56_04_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":["1355387979","1355388009","1355387940","1355388227","1355388175","1355388148"],"photo_ids_order":["1355387940","1355387979","1355388009","1355388148","1355388175","1355388227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b721a3eba688bb189e78092ef054631.jpg","text":"TemporaryFile(/tmp/multipartBody3035714127100850381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198753032,"filename":"image_02052025_14_55_04_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a912b73661d9e1883637d0aabf9efc50.jpg","text":"TemporaryFile(/tmp/multipartBody8207608677892345713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198753032,"filename":"image_02052025_14_55_14_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6aa4467942411b3d8c87d52a7f242783.jpg","text":"TemporaryFile(/tmp/multipartBody5325078944747722610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198753032,"filename":"image_02052025_14_54_24_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e9bf5273a9a6104a7e7a8475933cd38.jpg","text":"TemporaryFile(/tmp/multipartBody8323153930502363649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198753032,"filename":"image_02052025_14_56_04_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39cc69922dd9b0be92519e7e439242e4.jpg","text":"TemporaryFile(/tmp/multipartBody3788094400168447222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198753032,"filename":"image_02052025_14_55_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/5/2/60de8d4a357535bd5ae00653ef9094f1.jpg","text":"TemporaryFile(/tmp/multipartBody5485833353399208341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198753032,"filename":"image_02052025_14_55_34_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355388009","file1":"1355387979","file0":"1355387940","file4":"1355388175","file5":"1355388227","file3":"1355388148"},"map_files_photo_id_array":[{"photo_id":"1355388227","filename":"file5"},{"photo_id":"1355388009","filename":"file2"},{"photo_id":"1355388175","filename":"file4"},{"photo_id":"1355387979","filename":"file1"},{"photo_id":"1355387940","filename":"file0"},{"photo_id":"1355388148","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355387979":["hashtag1","hashtag2"]},{"1355388009":["hashtag1","hashtag2"]},{"1355387940":["hashtag1","hashtag2"]},{"1355388227":["hashtag1","hashtag2"]},{"1355388175":["hashtag1","hashtag2"]},{"1355388148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355387979, 1355388009, 1355387940, 1355388227, 1355388175, 1355388148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.30368971824646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:12:32.698650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/56/image_02052025_14_56_14_9347.jpg', '/home/pi/Desktop/images/02052025/14/56/image_02052025_14_56_24_10313.jpg', '/home/pi/Desktop/images/02052025/14/56/image_02052025_14_56_35_10405.jpg', '/home/pi/Desktop/images/02052025/14/56/image_02052025_14_57_04_9421.jpg', '/home/pi/Desktop/images/02052025/14/57/image_02052025_14_57_14_10361.jpg', '/home/pi/Desktop/images/02052025/14/57/image_02052025_14_57_25_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/56/image_02052025_14_56_14_9347.jpg
/home/pi/Desktop/images/02052025/14/56/image_02052025_14_56_24_10313.jpg
/home/pi/Desktop/images/02052025/14/56/image_02052025_14_56_35_10405.jpg
/home/pi/Desktop/images/02052025/14/56/image_02052025_14_57_04_9421.jpg
/home/pi/Desktop/images/02052025/14/57/image_02052025_14_57_14_10361.jpg
/home/pi/Desktop/images/02052025/14/57/image_02052025_14_57_25_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":["1355388768","1355389063","1355388874","1355388652","1355389009","1355388940"],"photo_ids_order":["1355388652","1355388768","1355388874","1355388940","1355389009","1355389063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9960af9175a44962624f1cc299d33d5e.jpg","text":"TemporaryFile(/tmp/multipartBody4549865208102040116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198813160,"filename":"image_02052025_14_56_24_10313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55dae41daeffa6a66b424cc6b62a4a14.jpg","text":"TemporaryFile(/tmp/multipartBody9040964778928835602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198813160,"filename":"image_02052025_14_57_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/5/2/c5046c83ae0115264c89647fcb696ebb.jpg","text":"TemporaryFile(/tmp/multipartBody4141918506847943477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198813160,"filename":"image_02052025_14_56_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a229403df4b946e41dc47a6a0b5c3b49.jpg","text":"TemporaryFile(/tmp/multipartBody3191846150955085979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198813160,"filename":"image_02052025_14_56_14_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c09b93adeabf0f284285687a038afb4.jpg","text":"TemporaryFile(/tmp/multipartBody3080293856531330608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198813160,"filename":"image_02052025_14_57_14_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/887bb8467bd4a7b556817d9505207cef.jpg","text":"TemporaryFile(/tmp/multipartBody6429322918969655729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198813160,"filename":"image_02052025_14_57_04_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355388874","file1":"1355388768","file0":"1355388652","file4":"1355389009","file5":"1355389063","file3":"1355388940"},"map_files_photo_id_array":[{"photo_id":"1355389063","filename":"file5"},{"photo_id":"1355388874","filename":"file2"},{"photo_id":"1355389009","filename":"file4"},{"photo_id":"1355388768","filename":"file1"},{"photo_id":"1355388652","filename":"file0"},{"photo_id":"1355388940","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355388768":["hashtag1","hashtag2"]},{"1355389063":["hashtag1","hashtag2"]},{"1355388874":["hashtag1","hashtag2"]},{"1355388652":["hashtag1","hashtag2"]},{"1355389009":["hashtag1","hashtag2"]},{"1355388940":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355388768, 1355389063, 1355388874, 1355388652, 1355389009, 1355388940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.699692249298096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:13:32.817933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/57/image_02052025_14_57_55_10493.jpg', '/home/pi/Desktop/images/02052025/14/57/image_02052025_14_58_04_9361.jpg', '/home/pi/Desktop/images/02052025/14/58/image_02052025_14_58_15_10492.jpg', '/home/pi/Desktop/images/02052025/14/58/image_02052025_14_58_24_9355.jpg', '/home/pi/Desktop/images/02052025/14/58/image_02052025_14_58_34_10520.jpg', '/home/pi/Desktop/images/02052025/14/58/image_02052025_14_58_44_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/57/image_02052025_14_57_55_10493.jpg
/home/pi/Desktop/images/02052025/14/57/image_02052025_14_58_04_9361.jpg
/home/pi/Desktop/images/02052025/14/58/image_02052025_14_58_15_10492.jpg
/home/pi/Desktop/images/02052025/14/58/image_02052025_14_58_24_9355.jpg
/home/pi/Desktop/images/02052025/14/58/image_02052025_14_58_34_10520.jpg
/home/pi/Desktop/images/02052025/14/58/image_02052025_14_58_44_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":["1355389679","1355389853","1355389897","1355389808","1355389768","1355389714"],"photo_ids_order":["1355389679","1355389714","1355389768","1355389808","1355389853","1355389897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f1514b200c47c089d8ce8ec19899526f.jpg","text":"TemporaryFile(/tmp/multipartBody7481570529602936991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198873284,"filename":"image_02052025_14_57_55_10493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ab73f3a6c4ffe6a45f1004212a24ecf3.jpg","text":"TemporaryFile(/tmp/multipartBody7072708225944470145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198873284,"filename":"image_02052025_14_58_34_10520.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bdd422a4835f1644a6da9e0910fbd15b.jpg","text":"TemporaryFile(/tmp/multipartBody985199471108174054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198873284,"filename":"image_02052025_14_58_44_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75bdc932f7595b61f2c19a729e8bb0f1.jpg","text":"TemporaryFile(/tmp/multipartBody5981732965168544264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198873284,"filename":"image_02052025_14_58_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/468a8dd2b97a668a5af15a2f6b9061f1.jpg","text":"TemporaryFile(/tmp/multipartBody5578059761897588500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198873284,"filename":"image_02052025_14_58_15_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/092887fb03f40b615248016acc51ec63.jpg","text":"TemporaryFile(/tmp/multipartBody8873380521510217410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198873284,"filename":"image_02052025_14_58_04_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355389768","file1":"1355389714","file0":"1355389679","file4":"1355389853","file5":"1355389897","file3":"1355389808"},"map_files_photo_id_array":[{"photo_id":"1355389897","filename":"file5"},{"photo_id":"1355389768","filename":"file2"},{"photo_id":"1355389853","filename":"file4"},{"photo_id":"1355389714","filename":"file1"},{"photo_id":"1355389679","filename":"file0"},{"photo_id":"1355389808","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355389679":["hashtag1","hashtag2"]},{"1355389853":["hashtag1","hashtag2"]},{"1355389897":["hashtag1","hashtag2"]},{"1355389808":["hashtag1","hashtag2"]},{"1355389768":["hashtag1","hashtag2"]},{"1355389714":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355389679, 1355389853, 1355389897, 1355389808, 1355389768, 1355389714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.85671067237854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:14:33.139706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/14/58/image_02052025_14_58_54_10384.jpg', '/home/pi/Desktop/images/02052025/14/58/image_02052025_14_59_05_10385.jpg', '/home/pi/Desktop/images/02052025/14/59/image_02052025_14_59_14_9329.jpg', '/home/pi/Desktop/images/02052025/14/59/image_02052025_14_59_24_10374.jpg', '/home/pi/Desktop/images/02052025/14/59/image_02052025_14_59_34_9368.jpg', '/home/pi/Desktop/images/02052025/14/59/image_02052025_14_59_44_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/14/58/image_02052025_14_58_54_10384.jpg
/home/pi/Desktop/images/02052025/14/58/image_02052025_14_59_05_10385.jpg
/home/pi/Desktop/images/02052025/14/59/image_02052025_14_59_14_9329.jpg
/home/pi/Desktop/images/02052025/14/59/image_02052025_14_59_24_10374.jpg
/home/pi/Desktop/images/02052025/14/59/image_02052025_14_59_34_9368.jpg
/home/pi/Desktop/images/02052025/14/59/image_02052025_14_59_44_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":["1355391077","1355391146","1355391242","1355391215","1355390969","1355391186"],"photo_ids_order":["1355390969","1355391077","1355391146","1355391186","1355391215","1355391242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/995cda1be933f0d1be65db088fb29338.jpg","text":"TemporaryFile(/tmp/multipartBody6025015686631451455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198933617,"filename":"image_02052025_14_59_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f84f2dd5503ffb6b6e7aed1a885ce851.jpg","text":"TemporaryFile(/tmp/multipartBody4297414439085371644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198933617,"filename":"image_02052025_14_59_14_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90a89ccb2b3ce7b364df4b392e08438a.jpg","text":"TemporaryFile(/tmp/multipartBody3421666025657894141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198933617,"filename":"image_02052025_14_59_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/5/2/569ba2ff60d8b3ee875aad8251d000e4.jpg","text":"TemporaryFile(/tmp/multipartBody4953800702367601908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198933617,"filename":"image_02052025_14_59_34_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f5b3e670c9356124dde856368196c8f4.jpg","text":"TemporaryFile(/tmp/multipartBody2374041678317426453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198933617,"filename":"image_02052025_14_58_54_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b62935e9277b9ebae0cae4a596232191.jpg","text":"TemporaryFile(/tmp/multipartBody3511556917910186317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198933617,"filename":"image_02052025_14_59_24_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355391146","file1":"1355391077","file0":"1355390969","file4":"1355391215","file5":"1355391242","file3":"1355391186"},"map_files_photo_id_array":[{"photo_id":"1355391242","filename":"file5"},{"photo_id":"1355391146","filename":"file2"},{"photo_id":"1355391215","filename":"file4"},{"photo_id":"1355391077","filename":"file1"},{"photo_id":"1355390969","filename":"file0"},{"photo_id":"1355391186","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355391077":["hashtag1","hashtag2"]},{"1355391146":["hashtag1","hashtag2"]},{"1355391242":["hashtag1","hashtag2"]},{"1355391215":["hashtag1","hashtag2"]},{"1355390969":["hashtag1","hashtag2"]},{"1355391186":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355391077, 1355391146, 1355391242, 1355391215, 1355390969, 1355391186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36049699783325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:15:32.372586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/01/image_02052025_15_01_14_10076.jpg', '/home/pi/Desktop/images/02052025/15/01/image_02052025_15_01_25_10423.jpg', '/home/pi/Desktop/images/02052025/15/01/image_02052025_15_01_35_10356.jpg', '/home/pi/Desktop/images/02052025/15/01/image_02052025_15_01_45_9468.jpg', '/home/pi/Desktop/images/02052025/15/01/image_02052025_15_01_55_10356.jpg', '/home/pi/Desktop/images/02052025/15/01/image_02052025_15_02_05_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/01/image_02052025_15_01_14_10076.jpg
/home/pi/Desktop/images/02052025/15/01/image_02052025_15_01_25_10423.jpg
/home/pi/Desktop/images/02052025/15/01/image_02052025_15_01_35_10356.jpg
/home/pi/Desktop/images/02052025/15/01/image_02052025_15_01_45_9468.jpg
/home/pi/Desktop/images/02052025/15/01/image_02052025_15_01_55_10356.jpg
/home/pi/Desktop/images/02052025/15/01/image_02052025_15_02_05_9863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355391735","1355391764","1355391755","1355391758","1355391707","1355391760"],"photo_ids_order":["1355391707","1355391735","1355391755","1355391758","1355391760","1355391764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eacd290fb281b6ca855b024a212abbb3.jpg","text":"TemporaryFile(/tmp/multipartBody1000430170651396189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198992842,"filename":"image_02052025_15_01_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/5/2/935dc7d7087d4f0418613f1606531e9f.jpg","text":"TemporaryFile(/tmp/multipartBody4645903981319681864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198992842,"filename":"image_02052025_15_02_05_9863.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f1f4877d2495b1abeb9eb29498f8b39.jpg","text":"TemporaryFile(/tmp/multipartBody683544619307827193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198992842,"filename":"image_02052025_15_01_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8a640831fce90bdac7ad17a7b4dd2446.jpg","text":"TemporaryFile(/tmp/multipartBody3758394681908246075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198992842,"filename":"image_02052025_15_01_45_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7a45c308be7667aea8690b1074fe2872.jpg","text":"TemporaryFile(/tmp/multipartBody3243252928272634588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198992842,"filename":"image_02052025_15_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/5/2/3f0ddaa37933211c7d0560f95790fbd6.jpg","text":"TemporaryFile(/tmp/multipartBody7515727936864182361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746198992842,"filename":"image_02052025_15_01_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355391755","file1":"1355391735","file0":"1355391707","file4":"1355391760","file5":"1355391764","file3":"1355391758"},"map_files_photo_id_array":[{"photo_id":"1355391764","filename":"file5"},{"photo_id":"1355391755","filename":"file2"},{"photo_id":"1355391760","filename":"file4"},{"photo_id":"1355391735","filename":"file1"},{"photo_id":"1355391707","filename":"file0"},{"photo_id":"1355391758","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355391735":["hashtag1","hashtag2"]},{"1355391764":["hashtag1","hashtag2"]},{"1355391755":["hashtag1","hashtag2"]},{"1355391758":["hashtag1","hashtag2"]},{"1355391707":["hashtag1","hashtag2"]},{"1355391760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355391735, 1355391764, 1355391755, 1355391758, 1355391707, 1355391760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25362992286682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:16:32.738512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/02/image_02052025_15_02_15_10343.jpg', '/home/pi/Desktop/images/02052025/15/02/image_02052025_15_02_25_9385.jpg', '/home/pi/Desktop/images/02052025/15/02/image_02052025_15_02_35_10340.jpg', '/home/pi/Desktop/images/02052025/15/02/image_02052025_15_02_55_10427.jpg', '/home/pi/Desktop/images/02052025/15/02/image_02052025_15_03_05_10358.jpg', '/home/pi/Desktop/images/02052025/15/03/image_02052025_15_03_15_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/02/image_02052025_15_02_15_10343.jpg
/home/pi/Desktop/images/02052025/15/02/image_02052025_15_02_25_9385.jpg
/home/pi/Desktop/images/02052025/15/02/image_02052025_15_02_35_10340.jpg
/home/pi/Desktop/images/02052025/15/02/image_02052025_15_02_55_10427.jpg
/home/pi/Desktop/images/02052025/15/02/image_02052025_15_03_05_10358.jpg
/home/pi/Desktop/images/02052025/15/03/image_02052025_15_03_15_9381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355392370","1355392256","1355392502","1355392424","1355392171","1355392320"],"photo_ids_order":["1355392171","1355392256","1355392320","1355392370","1355392424","1355392502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d96b2fb489aa7a7031fccbfd6e8e4fce.jpg","text":"TemporaryFile(/tmp/multipartBody7996167264432300573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199053278,"filename":"image_02052025_15_02_55_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4bd7b5edbc4c8dfe490f2a7ec91b09a.jpg","text":"TemporaryFile(/tmp/multipartBody2998448851344826475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199053278,"filename":"image_02052025_15_02_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/5/2/216b66413f531ce7b01da8054564349d.jpg","text":"TemporaryFile(/tmp/multipartBody3695011655319657245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199053278,"filename":"image_02052025_15_03_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/5/2/a5dbea3d9d30de152724da826e90a9bc.jpg","text":"TemporaryFile(/tmp/multipartBody1608192197029613967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199053278,"filename":"image_02052025_15_03_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5cd8f885c0e759508e89e50175efe5f0.jpg","text":"TemporaryFile(/tmp/multipartBody3663723264136389275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199053278,"filename":"image_02052025_15_02_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/5/2/af347034de65e91df44c729efa93545b.jpg","text":"TemporaryFile(/tmp/multipartBody8079738496363838380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199053278,"filename":"image_02052025_15_02_35_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355392320","file1":"1355392256","file0":"1355392171","file4":"1355392424","file5":"1355392502","file3":"1355392370"},"map_files_photo_id_array":[{"photo_id":"1355392502","filename":"file5"},{"photo_id":"1355392320","filename":"file2"},{"photo_id":"1355392424","filename":"file4"},{"photo_id":"1355392256","filename":"file1"},{"photo_id":"1355392171","filename":"file0"},{"photo_id":"1355392370","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355392370":["hashtag1","hashtag2"]},{"1355392256":["hashtag1","hashtag2"]},{"1355392502":["hashtag1","hashtag2"]},{"1355392424":["hashtag1","hashtag2"]},{"1355392171":["hashtag1","hashtag2"]},{"1355392320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355392370, 1355392256, 1355392502, 1355392424, 1355392171, 1355392320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.474337339401245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:17:32.773701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/03/image_02052025_15_03_25_10360.jpg', '/home/pi/Desktop/images/02052025/15/03/image_02052025_15_03_34_9411.jpg', '/home/pi/Desktop/images/02052025/15/03/image_02052025_15_03_45_10430.jpg', '/home/pi/Desktop/images/02052025/15/03/image_02052025_15_03_55_10367.jpg', '/home/pi/Desktop/images/02052025/15/03/image_02052025_15_04_04_9388.jpg', '/home/pi/Desktop/images/02052025/15/04/image_02052025_15_04_15_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/03/image_02052025_15_03_25_10360.jpg
/home/pi/Desktop/images/02052025/15/03/image_02052025_15_03_34_9411.jpg
/home/pi/Desktop/images/02052025/15/03/image_02052025_15_03_45_10430.jpg
/home/pi/Desktop/images/02052025/15/03/image_02052025_15_03_55_10367.jpg
/home/pi/Desktop/images/02052025/15/03/image_02052025_15_04_04_9388.jpg
/home/pi/Desktop/images/02052025/15/04/image_02052025_15_04_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":["1355393234","1355393177","1355393207","1355393143","1355393294","1355393267"],"photo_ids_order":["1355393143","1355393177","1355393207","1355393234","1355393267","1355393294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b948628e90aabf8f920314020a9b4b45.jpg","text":"TemporaryFile(/tmp/multipartBody2545533768543905571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199113234,"filename":"image_02052025_15_03_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/5/2/8d2c9df8029f737e05fbb0b9e434d948.jpg","text":"TemporaryFile(/tmp/multipartBody6040773712771833431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199113234,"filename":"image_02052025_15_03_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/5/2/8082f8d72b8b9c22506baeae5c9830db.jpg","text":"TemporaryFile(/tmp/multipartBody7115463622148689011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199113234,"filename":"image_02052025_15_03_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/5/2/cb46dc6480c9cbfbf81541e4a3553e8d.jpg","text":"TemporaryFile(/tmp/multipartBody4796188754181840847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199113234,"filename":"image_02052025_15_03_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/5/2/e4de80803876c6807a24d07e380f5b55.jpg","text":"TemporaryFile(/tmp/multipartBody9204277714694550563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199113234,"filename":"image_02052025_15_04_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/5/2/f2457ca1c69da85dbdf33d1bb405e4a2.jpg","text":"TemporaryFile(/tmp/multipartBody8299886210791518012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199113234,"filename":"image_02052025_15_04_04_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355393207","file1":"1355393177","file0":"1355393143","file4":"1355393267","file5":"1355393294","file3":"1355393234"},"map_files_photo_id_array":[{"photo_id":"1355393294","filename":"file5"},{"photo_id":"1355393207","filename":"file2"},{"photo_id":"1355393267","filename":"file4"},{"photo_id":"1355393177","filename":"file1"},{"photo_id":"1355393143","filename":"file0"},{"photo_id":"1355393234","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355393234":["hashtag1","hashtag2"]},{"1355393177":["hashtag1","hashtag2"]},{"1355393207":["hashtag1","hashtag2"]},{"1355393143":["hashtag1","hashtag2"]},{"1355393294":["hashtag1","hashtag2"]},{"1355393267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355393234, 1355393177, 1355393207, 1355393143, 1355393294, 1355393267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42542576789856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:18:33.061710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/04/image_02052025_15_04_25_10376.jpg', '/home/pi/Desktop/images/02052025/15/04/image_02052025_15_04_35_9462.jpg', '/home/pi/Desktop/images/02052025/15/04/image_02052025_15_04_45_10402.jpg', '/home/pi/Desktop/images/02052025/15/04/image_02052025_15_04_55_9434.jpg', '/home/pi/Desktop/images/02052025/15/04/image_02052025_15_05_05_10400.jpg', '/home/pi/Desktop/images/02052025/15/05/image_02052025_15_05_25_9282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/04/image_02052025_15_04_25_10376.jpg
/home/pi/Desktop/images/02052025/15/04/image_02052025_15_04_35_9462.jpg
/home/pi/Desktop/images/02052025/15/04/image_02052025_15_04_45_10402.jpg
/home/pi/Desktop/images/02052025/15/04/image_02052025_15_04_55_9434.jpg
/home/pi/Desktop/images/02052025/15/04/image_02052025_15_05_05_10400.jpg
/home/pi/Desktop/images/02052025/15/05/image_02052025_15_05_25_9282.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355393732","1355393770","1355393709","1355393741","1355393735","1355393678"],"photo_ids_order":["1355393678","1355393709","1355393732","1355393735","1355393741","1355393770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/809c1bf9321158f48af68470717988a6.jpg","text":"TemporaryFile(/tmp/multipartBody9170916048361384157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199173575,"filename":"image_02052025_15_04_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9040e35ee5fdbecc9e58fa48d3f88250.jpg","text":"TemporaryFile(/tmp/multipartBody5558619642967959440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199173575,"filename":"image_02052025_15_05_25_9282.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d8c917ff5351423d9fcf3406d807448.jpg","text":"TemporaryFile(/tmp/multipartBody4409814554586065438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199173575,"filename":"image_02052025_15_04_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/5/2/27fc15a1da9bb1eb0188f8d81a20851d.jpg","text":"TemporaryFile(/tmp/multipartBody7764952833139454340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199173575,"filename":"image_02052025_15_05_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/5/2/ea9826d21d2ad4e168d2faefe8e2d86b.jpg","text":"TemporaryFile(/tmp/multipartBody1928340266182883733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199173575,"filename":"image_02052025_15_04_55_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97a6d9a01695bb4eef5c000f69aba837.jpg","text":"TemporaryFile(/tmp/multipartBody761883736438810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199173575,"filename":"image_02052025_15_04_25_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355393732","file1":"1355393709","file0":"1355393678","file4":"1355393741","file5":"1355393770","file3":"1355393735"},"map_files_photo_id_array":[{"photo_id":"1355393770","filename":"file5"},{"photo_id":"1355393732","filename":"file2"},{"photo_id":"1355393741","filename":"file4"},{"photo_id":"1355393709","filename":"file1"},{"photo_id":"1355393678","filename":"file0"},{"photo_id":"1355393735","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355393732":["hashtag1","hashtag2"]},{"1355393770":["hashtag1","hashtag2"]},{"1355393709":["hashtag1","hashtag2"]},{"1355393741":["hashtag1","hashtag2"]},{"1355393735":["hashtag1","hashtag2"]},{"1355393678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355393732, 1355393770, 1355393709, 1355393741, 1355393735, 1355393678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.375972986221313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:19:32.224186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/05/image_02052025_15_05_35_10425.jpg', '/home/pi/Desktop/images/02052025/15/05/image_02052025_15_05_45_9740.jpg', '/home/pi/Desktop/images/02052025/15/05/image_02052025_15_05_55_10370.jpg', '/home/pi/Desktop/images/02052025/15/05/image_02052025_15_06_04_9406.jpg', '/home/pi/Desktop/images/02052025/15/06/image_02052025_15_06_15_10326.jpg', '/home/pi/Desktop/images/02052025/15/06/image_02052025_15_06_25_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/05/image_02052025_15_05_35_10425.jpg
/home/pi/Desktop/images/02052025/15/05/image_02052025_15_05_45_9740.jpg
/home/pi/Desktop/images/02052025/15/05/image_02052025_15_05_55_10370.jpg
/home/pi/Desktop/images/02052025/15/05/image_02052025_15_06_04_9406.jpg
/home/pi/Desktop/images/02052025/15/06/image_02052025_15_06_15_10326.jpg
/home/pi/Desktop/images/02052025/15/06/image_02052025_15_06_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":["1355394094","1355394061","1355393893","1355394036","1355393955","1355393925"],"photo_ids_order":["1355393893","1355393925","1355393955","1355394036","1355394061","1355394094"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/849e72a570d6bba0f944a8890493b57d.jpg","text":"TemporaryFile(/tmp/multipartBody4609899565061899686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199232700,"filename":"image_02052025_15_06_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/5/2/c5b869d3b121612a28ba9d711d8d113c.jpg","text":"TemporaryFile(/tmp/multipartBody8303071673584631244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199232700,"filename":"image_02052025_15_06_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/5/2/3a9f12f00a5202eb8043e4884f17318d.jpg","text":"TemporaryFile(/tmp/multipartBody5774673036349816546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199232700,"filename":"image_02052025_15_05_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ecfd64d10bce54b8f44a3d2fc53a1d92.jpg","text":"TemporaryFile(/tmp/multipartBody2920770462859797818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199232700,"filename":"image_02052025_15_06_04_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2efa08b27614b386bae862fbc86987c4.jpg","text":"TemporaryFile(/tmp/multipartBody867906973692860300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199232700,"filename":"image_02052025_15_05_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/5/2/16c37169b46eccbbb74e0fbe30ebb651.jpg","text":"TemporaryFile(/tmp/multipartBody6536128963077919663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199232700,"filename":"image_02052025_15_05_45_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355393955","file1":"1355393925","file0":"1355393893","file4":"1355394061","file5":"1355394094","file3":"1355394036"},"map_files_photo_id_array":[{"photo_id":"1355394094","filename":"file5"},{"photo_id":"1355393955","filename":"file2"},{"photo_id":"1355394061","filename":"file4"},{"photo_id":"1355393925","filename":"file1"},{"photo_id":"1355393893","filename":"file0"},{"photo_id":"1355394036","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355394094":["hashtag1","hashtag2"]},{"1355394061":["hashtag1","hashtag2"]},{"1355393893":["hashtag1","hashtag2"]},{"1355394036":["hashtag1","hashtag2"]},{"1355393955":["hashtag1","hashtag2"]},{"1355393925":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355394094, 1355394061, 1355393893, 1355394036, 1355393955, 1355393925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.190595626831055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:20:32.326346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/06/image_02052025_15_06_35_9348.jpg', '/home/pi/Desktop/images/02052025/15/06/image_02052025_15_06_45_10361.jpg', '/home/pi/Desktop/images/02052025/15/06/image_02052025_15_06_55_10351.jpg', '/home/pi/Desktop/images/02052025/15/06/image_02052025_15_07_05_9443.jpg', '/home/pi/Desktop/images/02052025/15/07/image_02052025_15_07_25_9572.jpg', '/home/pi/Desktop/images/02052025/15/07/image_02052025_15_07_35_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/06/image_02052025_15_06_35_9348.jpg
/home/pi/Desktop/images/02052025/15/06/image_02052025_15_06_45_10361.jpg
/home/pi/Desktop/images/02052025/15/06/image_02052025_15_06_55_10351.jpg
/home/pi/Desktop/images/02052025/15/06/image_02052025_15_07_05_9443.jpg
/home/pi/Desktop/images/02052025/15/07/image_02052025_15_07_25_9572.jpg
/home/pi/Desktop/images/02052025/15/07/image_02052025_15_07_35_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355394370","1355394224","1355394252","1355394342","1355394312","1355394284"],"photo_ids_order":["1355394224","1355394252","1355394284","1355394312","1355394342","1355394370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/192e258592da5ae962e91a9562ff0744.jpg","text":"TemporaryFile(/tmp/multipartBody1163045691384355679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199292795,"filename":"image_02052025_15_07_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/01bc88b8666fbcb66b75c73629b7a0fe.jpg","text":"TemporaryFile(/tmp/multipartBody8711856217314629095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199292795,"filename":"image_02052025_15_06_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/5/2/916466af8376d620bb33cb7b1bd9a280.jpg","text":"TemporaryFile(/tmp/multipartBody2471744987743275832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199292795,"filename":"image_02052025_15_06_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/5/2/acd0ed1db8d289e9277d23b34bebbfcd.jpg","text":"TemporaryFile(/tmp/multipartBody6936619250957725051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199292795,"filename":"image_02052025_15_07_25_9572.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9d4f0ebaadfb7439cdb377a4735beef.jpg","text":"TemporaryFile(/tmp/multipartBody4433560538741667906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199292795,"filename":"image_02052025_15_07_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/5/2/cad6d7847729989b68a25b8c24093f70.jpg","text":"TemporaryFile(/tmp/multipartBody423317768067306896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199292795,"filename":"image_02052025_15_06_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355394284","file1":"1355394252","file0":"1355394224","file4":"1355394342","file5":"1355394370","file3":"1355394312"},"map_files_photo_id_array":[{"photo_id":"1355394370","filename":"file5"},{"photo_id":"1355394284","filename":"file2"},{"photo_id":"1355394342","filename":"file4"},{"photo_id":"1355394252","filename":"file1"},{"photo_id":"1355394224","filename":"file0"},{"photo_id":"1355394312","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355394370":["hashtag1","hashtag2"]},{"1355394224":["hashtag1","hashtag2"]},{"1355394252":["hashtag1","hashtag2"]},{"1355394342":["hashtag1","hashtag2"]},{"1355394312":["hashtag1","hashtag2"]},{"1355394284":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355394370, 1355394224, 1355394252, 1355394342, 1355394312, 1355394284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42065119743347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:21:32.694099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/07/image_02052025_15_07_44_9357.jpg', '/home/pi/Desktop/images/02052025/15/07/image_02052025_15_07_55_10447.jpg', '/home/pi/Desktop/images/02052025/15/07/image_02052025_15_08_05_10360.jpg', '/home/pi/Desktop/images/02052025/15/08/image_02052025_15_08_15_9374.jpg', '/home/pi/Desktop/images/02052025/15/08/image_02052025_15_08_25_10360.jpg', '/home/pi/Desktop/images/02052025/15/08/image_02052025_15_08_35_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/07/image_02052025_15_07_44_9357.jpg
/home/pi/Desktop/images/02052025/15/07/image_02052025_15_07_55_10447.jpg
/home/pi/Desktop/images/02052025/15/07/image_02052025_15_08_05_10360.jpg
/home/pi/Desktop/images/02052025/15/08/image_02052025_15_08_15_9374.jpg
/home/pi/Desktop/images/02052025/15/08/image_02052025_15_08_25_10360.jpg
/home/pi/Desktop/images/02052025/15/08/image_02052025_15_08_35_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":["1355394670","1355394640","1355394678","1355394705","1355394708","1355394710"],"photo_ids_order":["1355394640","1355394670","1355394678","1355394705","1355394708","1355394710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7bec6e1c80e72bf4cb70097621e0c5a2.jpg","text":"TemporaryFile(/tmp/multipartBody2674858683459994508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199353157,"filename":"image_02052025_15_07_55_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65fb1c07e57566544fd48cac00f3d8ff.jpg","text":"TemporaryFile(/tmp/multipartBody3051393358560759095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199353157,"filename":"image_02052025_15_07_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/5/2/c485c53fd28a980546ceb91d199235f1.jpg","text":"TemporaryFile(/tmp/multipartBody1397539118653024067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199353157,"filename":"image_02052025_15_08_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/5/2/f72d016c60efe46d01358cf9a5c32172.jpg","text":"TemporaryFile(/tmp/multipartBody7572398385446725714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199353157,"filename":"image_02052025_15_08_15_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/14b72a4c2d2274b7339122105bd37035.jpg","text":"TemporaryFile(/tmp/multipartBody7799012629981569892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199353157,"filename":"image_02052025_15_08_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/5/2/14ca349dbfcaa16f85136dc9c7b347bf.jpg","text":"TemporaryFile(/tmp/multipartBody7939969941353783263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199353157,"filename":"image_02052025_15_08_35_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355394678","file1":"1355394670","file0":"1355394640","file4":"1355394708","file5":"1355394710","file3":"1355394705"},"map_files_photo_id_array":[{"photo_id":"1355394710","filename":"file5"},{"photo_id":"1355394678","filename":"file2"},{"photo_id":"1355394708","filename":"file4"},{"photo_id":"1355394670","filename":"file1"},{"photo_id":"1355394640","filename":"file0"},{"photo_id":"1355394705","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355394670":["hashtag1","hashtag2"]},{"1355394640":["hashtag1","hashtag2"]},{"1355394678":["hashtag1","hashtag2"]},{"1355394705":["hashtag1","hashtag2"]},{"1355394708":["hashtag1","hashtag2"]},{"1355394710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355394670, 1355394640, 1355394678, 1355394705, 1355394708, 1355394710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.592153787612915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:22:32.778191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/08/image_02052025_15_08_45_9345.jpg', '/home/pi/Desktop/images/02052025/15/08/image_02052025_15_08_55_10361.jpg', '/home/pi/Desktop/images/02052025/15/09/image_02052025_15_09_15_10448.jpg', '/home/pi/Desktop/images/02052025/15/09/image_02052025_15_09_35_9360.jpg', '/home/pi/Desktop/images/02052025/15/09/image_02052025_15_09_45_10350.jpg', '/home/pi/Desktop/images/02052025/15/09/image_02052025_15_10_05_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/08/image_02052025_15_08_45_9345.jpg
/home/pi/Desktop/images/02052025/15/08/image_02052025_15_08_55_10361.jpg
/home/pi/Desktop/images/02052025/15/09/image_02052025_15_09_15_10448.jpg
/home/pi/Desktop/images/02052025/15/09/image_02052025_15_09_35_9360.jpg
/home/pi/Desktop/images/02052025/15/09/image_02052025_15_09_45_10350.jpg
/home/pi/Desktop/images/02052025/15/09/image_02052025_15_10_05_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":["1355394757","1355394733","1355394736","1355394741","1355394744","1355394738"],"photo_ids_order":["1355394733","1355394736","1355394738","1355394741","1355394744","1355394757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/54694a16ee481060b3293000615dc07f.jpg","text":"TemporaryFile(/tmp/multipartBody4539227256462421034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199413258,"filename":"image_02052025_15_10_05_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd5336513b8a0f27fea3b796caccfdf0.jpg","text":"TemporaryFile(/tmp/multipartBody8528037340746478598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199413258,"filename":"image_02052025_15_08_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/5/2/4c08a849272f174317e03e79a4ce3928.jpg","text":"TemporaryFile(/tmp/multipartBody8670731862801844504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199413258,"filename":"image_02052025_15_08_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/5/2/8b39e30a3a9b1a7fb63dfce3e9a32db9.jpg","text":"TemporaryFile(/tmp/multipartBody2909232076825160059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199413258,"filename":"image_02052025_15_09_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/5/2/6f5887c1808bbd7cb40df4c52729be8d.jpg","text":"TemporaryFile(/tmp/multipartBody3924778962988786770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199413258,"filename":"image_02052025_15_09_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/5/2/8c7704dc561d142497ab82bcfa88e4d4.jpg","text":"TemporaryFile(/tmp/multipartBody832398483005289341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199413258,"filename":"image_02052025_15_09_15_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355394738","file1":"1355394736","file0":"1355394733","file4":"1355394744","file5":"1355394757","file3":"1355394741"},"map_files_photo_id_array":[{"photo_id":"1355394757","filename":"file5"},{"photo_id":"1355394738","filename":"file2"},{"photo_id":"1355394744","filename":"file4"},{"photo_id":"1355394736","filename":"file1"},{"photo_id":"1355394733","filename":"file0"},{"photo_id":"1355394741","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355394757":["hashtag1","hashtag2"]},{"1355394733":["hashtag1","hashtag2"]},{"1355394736":["hashtag1","hashtag2"]},{"1355394741":["hashtag1","hashtag2"]},{"1355394744":["hashtag1","hashtag2"]},{"1355394738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355394757, 1355394733, 1355394736, 1355394741, 1355394744, 1355394738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86718273162842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:23:32.947127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/10/image_02052025_15_10_15_10370.jpg', '/home/pi/Desktop/images/02052025/15/10/image_02052025_15_10_24_9352.jpg', '/home/pi/Desktop/images/02052025/15/10/image_02052025_15_10_35_10436.jpg', '/home/pi/Desktop/images/02052025/15/10/image_02052025_15_10_45_10376.jpg', '/home/pi/Desktop/images/02052025/15/10/image_02052025_15_10_55_9382.jpg', '/home/pi/Desktop/images/02052025/15/10/image_02052025_15_11_05_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/10/image_02052025_15_10_15_10370.jpg
/home/pi/Desktop/images/02052025/15/10/image_02052025_15_10_24_9352.jpg
/home/pi/Desktop/images/02052025/15/10/image_02052025_15_10_35_10436.jpg
/home/pi/Desktop/images/02052025/15/10/image_02052025_15_10_45_10376.jpg
/home/pi/Desktop/images/02052025/15/10/image_02052025_15_10_55_9382.jpg
/home/pi/Desktop/images/02052025/15/10/image_02052025_15_11_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":["1355394931","1355394916","1355394933","1355394927","1355394935","1355394923"],"photo_ids_order":["1355394916","1355394923","1355394927","1355394931","1355394933","1355394935"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7fc43a2e2e91821aa53cf1025bf4e969.jpg","text":"TemporaryFile(/tmp/multipartBody452858080980370637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199473415,"filename":"image_02052025_15_10_45_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4963dcb2091e3ca62477d2f493363e04.jpg","text":"TemporaryFile(/tmp/multipartBody1302262474830951940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199473415,"filename":"image_02052025_15_10_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/017d5d144382b511a6dc0c1b5be59206.jpg","text":"TemporaryFile(/tmp/multipartBody4601201608810771306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199473415,"filename":"image_02052025_15_10_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/5/2/bc58a42c3cf0ab6d77afcd47fae16eda.jpg","text":"TemporaryFile(/tmp/multipartBody2630592450516747592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199473415,"filename":"image_02052025_15_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/5/2/4e83ac6c5e7bc8dbbaa05c6905064f5a.jpg","text":"TemporaryFile(/tmp/multipartBody4171371578089632707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199473415,"filename":"image_02052025_15_11_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/5/2/aa4a050025ace7ce200090e5f582a518.jpg","text":"TemporaryFile(/tmp/multipartBody6442597324313824858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199473415,"filename":"image_02052025_15_10_24_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355394927","file1":"1355394923","file0":"1355394916","file4":"1355394933","file5":"1355394935","file3":"1355394931"},"map_files_photo_id_array":[{"photo_id":"1355394935","filename":"file5"},{"photo_id":"1355394927","filename":"file2"},{"photo_id":"1355394933","filename":"file4"},{"photo_id":"1355394923","filename":"file1"},{"photo_id":"1355394916","filename":"file0"},{"photo_id":"1355394931","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355394931":["hashtag1","hashtag2"]},{"1355394916":["hashtag1","hashtag2"]},{"1355394933":["hashtag1","hashtag2"]},{"1355394927":["hashtag1","hashtag2"]},{"1355394935":["hashtag1","hashtag2"]},{"1355394923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355394931, 1355394916, 1355394933, 1355394927, 1355394935, 1355394923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.497525930404663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:24:32.232987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/11/image_02052025_15_11_15_10384.jpg', '/home/pi/Desktop/images/02052025/15/11/image_02052025_15_11_25_9399.jpg', '/home/pi/Desktop/images/02052025/15/11/image_02052025_15_11_35_10365.jpg', '/home/pi/Desktop/images/02052025/15/11/image_02052025_15_11_44_9342.jpg', '/home/pi/Desktop/images/02052025/15/11/image_02052025_15_12_05_10368.jpg', '/home/pi/Desktop/images/02052025/15/12/image_02052025_15_12_15_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/11/image_02052025_15_11_15_10384.jpg
/home/pi/Desktop/images/02052025/15/11/image_02052025_15_11_25_9399.jpg
/home/pi/Desktop/images/02052025/15/11/image_02052025_15_11_35_10365.jpg
/home/pi/Desktop/images/02052025/15/11/image_02052025_15_11_44_9342.jpg
/home/pi/Desktop/images/02052025/15/11/image_02052025_15_12_05_10368.jpg
/home/pi/Desktop/images/02052025/15/12/image_02052025_15_12_15_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":["1355394973","1355394963","1355394977","1355394971","1355394968","1355394985"],"photo_ids_order":["1355394963","1355394968","1355394971","1355394973","1355394977","1355394985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2057e7d0e6fcaccd9d84135841ef39cf.jpg","text":"TemporaryFile(/tmp/multipartBody8887938221490174407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199532691,"filename":"image_02052025_15_11_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/5/2/aa6eaec26f1078f9761a9cafb0015939.jpg","text":"TemporaryFile(/tmp/multipartBody3695092811817622908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199532691,"filename":"image_02052025_15_11_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11287257c2e17679e78c919e52f50a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8743525819546488286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199532691,"filename":"image_02052025_15_12_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ffce44137334641016e9266e5e035cd.jpg","text":"TemporaryFile(/tmp/multipartBody8949161487527974074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199532691,"filename":"image_02052025_15_11_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/5/2/8d3de80b03e6e1f184b8d30d91df688b.jpg","text":"TemporaryFile(/tmp/multipartBody5976884345578642646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199532691,"filename":"image_02052025_15_11_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/5/2/416f426ee4c6f12b4896439c8281f839.jpg","text":"TemporaryFile(/tmp/multipartBody5381613868191270233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199532691,"filename":"image_02052025_15_12_15_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355394971","file1":"1355394968","file0":"1355394963","file4":"1355394977","file5":"1355394985","file3":"1355394973"},"map_files_photo_id_array":[{"photo_id":"1355394985","filename":"file5"},{"photo_id":"1355394971","filename":"file2"},{"photo_id":"1355394977","filename":"file4"},{"photo_id":"1355394968","filename":"file1"},{"photo_id":"1355394963","filename":"file0"},{"photo_id":"1355394973","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355394973":["hashtag1","hashtag2"]},{"1355394963":["hashtag1","hashtag2"]},{"1355394977":["hashtag1","hashtag2"]},{"1355394971":["hashtag1","hashtag2"]},{"1355394968":["hashtag1","hashtag2"]},{"1355394985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355394973, 1355394963, 1355394977, 1355394971, 1355394968, 1355394985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.042492389678955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:25:32.397942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/12/image_02052025_15_12_25_10371.jpg', '/home/pi/Desktop/images/02052025/15/12/image_02052025_15_12_34_9377.jpg', '/home/pi/Desktop/images/02052025/15/12/image_02052025_15_12_45_10399.jpg', '/home/pi/Desktop/images/02052025/15/12/image_02052025_15_12_55_10371.jpg', '/home/pi/Desktop/images/02052025/15/12/image_02052025_15_13_05_9381.jpg', '/home/pi/Desktop/images/02052025/15/13/image_02052025_15_13_15_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/12/image_02052025_15_12_25_10371.jpg
/home/pi/Desktop/images/02052025/15/12/image_02052025_15_12_34_9377.jpg
/home/pi/Desktop/images/02052025/15/12/image_02052025_15_12_45_10399.jpg
/home/pi/Desktop/images/02052025/15/12/image_02052025_15_12_55_10371.jpg
/home/pi/Desktop/images/02052025/15/12/image_02052025_15_13_05_9381.jpg
/home/pi/Desktop/images/02052025/15/13/image_02052025_15_13_15_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355395027","1355395017","1355395011","1355395005","1355395025","1355395001"],"photo_ids_order":["1355395001","1355395005","1355395011","1355395017","1355395025","1355395027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bdecd125cfa61a4a1435b01e85507d4f.jpg","text":"TemporaryFile(/tmp/multipartBody7887165216549180461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199592854,"filename":"image_02052025_15_13_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/389c1a04616bf8e6cd969f22efbb1228.jpg","text":"TemporaryFile(/tmp/multipartBody3430955794235313049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199592854,"filename":"image_02052025_15_12_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/5/2/452412dc98e40e8d31053155accaa5da.jpg","text":"TemporaryFile(/tmp/multipartBody6872280858363793069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199592854,"filename":"image_02052025_15_12_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/5/2/3e7c061cec4819fe7fc7494757182f31.jpg","text":"TemporaryFile(/tmp/multipartBody5500415457248052703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199592854,"filename":"image_02052025_15_12_34_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/883a4a10c0b78f65925b97df0a7ae0bf.jpg","text":"TemporaryFile(/tmp/multipartBody2907191552053400130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199592854,"filename":"image_02052025_15_13_05_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b82d6d9760d0611330d23f16c8c3ff14.jpg","text":"TemporaryFile(/tmp/multipartBody2274775264728345321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199592854,"filename":"image_02052025_15_12_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355395011","file1":"1355395005","file0":"1355395001","file4":"1355395025","file5":"1355395027","file3":"1355395017"},"map_files_photo_id_array":[{"photo_id":"1355395027","filename":"file5"},{"photo_id":"1355395011","filename":"file2"},{"photo_id":"1355395025","filename":"file4"},{"photo_id":"1355395005","filename":"file1"},{"photo_id":"1355395001","filename":"file0"},{"photo_id":"1355395017","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355395027":["hashtag1","hashtag2"]},{"1355395017":["hashtag1","hashtag2"]},{"1355395011":["hashtag1","hashtag2"]},{"1355395005":["hashtag1","hashtag2"]},{"1355395025":["hashtag1","hashtag2"]},{"1355395001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355395027, 1355395017, 1355395011, 1355395005, 1355395025, 1355395001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.16745471954346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:26:52.543590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/13/image_02052025_15_13_25_10361.jpg', '/home/pi/Desktop/images/02052025/15/13/image_02052025_15_13_35_9421.jpg', '/home/pi/Desktop/images/02052025/15/13/image_02052025_15_13_45_10438.jpg', '/home/pi/Desktop/images/02052025/15/13/image_02052025_15_13_55_9498.jpg', '/home/pi/Desktop/images/02052025/15/13/image_02052025_15_14_05_10361.jpg', '/home/pi/Desktop/images/02052025/15/14/image_02052025_15_14_14_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/13/image_02052025_15_13_25_10361.jpg
/home/pi/Desktop/images/02052025/15/13/image_02052025_15_13_35_9421.jpg
/home/pi/Desktop/images/02052025/15/13/image_02052025_15_13_45_10438.jpg
/home/pi/Desktop/images/02052025/15/13/image_02052025_15_13_55_9498.jpg
/home/pi/Desktop/images/02052025/15/13/image_02052025_15_14_05_10361.jpg
/home/pi/Desktop/images/02052025/15/14/image_02052025_15_14_14_9350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355395150","1355395185","1355395173","1355395167","1355395181","1355395154"],"photo_ids_order":["1355395150","1355395154","1355395167","1355395173","1355395181","1355395185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/052119f83e17854e55bfb99e91b0a009.jpg","text":"TemporaryFile(/tmp/multipartBody3118176732188780947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199673002,"filename":"image_02052025_15_13_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5c5fde07d8f17678ba03d7828f2ce0a8.jpg","text":"TemporaryFile(/tmp/multipartBody4725076052280054263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199673002,"filename":"image_02052025_15_14_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d8c0e218125b05d591f07df7028dcff1.jpg","text":"TemporaryFile(/tmp/multipartBody4056375491246109672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199673002,"filename":"image_02052025_15_13_55_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/104482e19e57736351afaf4a5d2d59b5.jpg","text":"TemporaryFile(/tmp/multipartBody718103450723371549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199673002,"filename":"image_02052025_15_13_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3bdd4ed2fa4ab5826aab93b1f0550787.jpg","text":"TemporaryFile(/tmp/multipartBody74742613959394130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199673002,"filename":"image_02052025_15_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/5/2/d6824b4a77825cc1b8b8f7a28b58a262.jpg","text":"TemporaryFile(/tmp/multipartBody7887220467789930401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199673002,"filename":"image_02052025_15_13_35_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355395167","file1":"1355395154","file0":"1355395150","file4":"1355395181","file5":"1355395185","file3":"1355395173"},"map_files_photo_id_array":[{"photo_id":"1355395185","filename":"file5"},{"photo_id":"1355395167","filename":"file2"},{"photo_id":"1355395181","filename":"file4"},{"photo_id":"1355395154","filename":"file1"},{"photo_id":"1355395150","filename":"file0"},{"photo_id":"1355395173","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355395150":["hashtag1","hashtag2"]},{"1355395185":["hashtag1","hashtag2"]},{"1355395173":["hashtag1","hashtag2"]},{"1355395167":["hashtag1","hashtag2"]},{"1355395181":["hashtag1","hashtag2"]},{"1355395154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355395150, 1355395185, 1355395173, 1355395167, 1355395181, 1355395154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.846752405166626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:27:32.748150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/14/image_02052025_15_14_25_10375.jpg', '/home/pi/Desktop/images/02052025/15/14/image_02052025_15_14_35_10366.jpg', '/home/pi/Desktop/images/02052025/15/14/image_02052025_15_14_45_9421.jpg', '/home/pi/Desktop/images/02052025/15/14/image_02052025_15_14_55_10467.jpg', '/home/pi/Desktop/images/02052025/15/14/image_02052025_15_15_04_9518.jpg', '/home/pi/Desktop/images/02052025/15/15/image_02052025_15_15_15_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/14/image_02052025_15_14_25_10375.jpg
/home/pi/Desktop/images/02052025/15/14/image_02052025_15_14_35_10366.jpg
/home/pi/Desktop/images/02052025/15/14/image_02052025_15_14_45_9421.jpg
/home/pi/Desktop/images/02052025/15/14/image_02052025_15_14_55_10467.jpg
/home/pi/Desktop/images/02052025/15/14/image_02052025_15_15_04_9518.jpg
/home/pi/Desktop/images/02052025/15/15/image_02052025_15_15_15_10479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355395216","1355395210","1355395212","1355395206","1355395223","1355395220"],"photo_ids_order":["1355395206","1355395210","1355395212","1355395216","1355395220","1355395223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c853e4174498e773ba9b96f76704145.jpg","text":"TemporaryFile(/tmp/multipartBody8218275568486690481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199713206,"filename":"image_02052025_15_14_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/5/2/88d7328c9af517ab5d6dee84a8a986da.jpg","text":"TemporaryFile(/tmp/multipartBody8217841067399103077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199713206,"filename":"image_02052025_15_14_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/5/2/e0a3abbaca58bd11a8ea80dc4e76f48e.jpg","text":"TemporaryFile(/tmp/multipartBody8788953486296008979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199713206,"filename":"image_02052025_15_14_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/5/2/d1fbfa82d934dcf25fc7d91f5924389b.jpg","text":"TemporaryFile(/tmp/multipartBody4282967479642591601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199713206,"filename":"image_02052025_15_14_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8a28fa539fce770b6eb72fb51ac13f1.jpg","text":"TemporaryFile(/tmp/multipartBody6853246459723743299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199713206,"filename":"image_02052025_15_15_15_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7f5aaf0a1ae397190b29c7fc7292456c.jpg","text":"TemporaryFile(/tmp/multipartBody2770509581885102725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199713206,"filename":"image_02052025_15_15_04_9518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355395212","file1":"1355395210","file0":"1355395206","file4":"1355395220","file5":"1355395223","file3":"1355395216"},"map_files_photo_id_array":[{"photo_id":"1355395223","filename":"file5"},{"photo_id":"1355395212","filename":"file2"},{"photo_id":"1355395220","filename":"file4"},{"photo_id":"1355395210","filename":"file1"},{"photo_id":"1355395206","filename":"file0"},{"photo_id":"1355395216","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355395216":["hashtag1","hashtag2"]},{"1355395210":["hashtag1","hashtag2"]},{"1355395212":["hashtag1","hashtag2"]},{"1355395206":["hashtag1","hashtag2"]},{"1355395223":["hashtag1","hashtag2"]},{"1355395220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355395216, 1355395210, 1355395212, 1355395206, 1355395223, 1355395220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.096736907958984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:28:33.025536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/15/image_02052025_15_15_24_9360.jpg', '/home/pi/Desktop/images/02052025/15/15/image_02052025_15_15_35_10462.jpg', '/home/pi/Desktop/images/02052025/15/15/image_02052025_15_15_45_10352.jpg', '/home/pi/Desktop/images/02052025/15/15/image_02052025_15_15_55_9387.jpg', '/home/pi/Desktop/images/02052025/15/15/image_02052025_15_16_05_10366.jpg', '/home/pi/Desktop/images/02052025/15/16/image_02052025_15_16_14_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/15/image_02052025_15_15_24_9360.jpg
/home/pi/Desktop/images/02052025/15/15/image_02052025_15_15_35_10462.jpg
/home/pi/Desktop/images/02052025/15/15/image_02052025_15_15_45_10352.jpg
/home/pi/Desktop/images/02052025/15/15/image_02052025_15_15_55_9387.jpg
/home/pi/Desktop/images/02052025/15/15/image_02052025_15_16_05_10366.jpg
/home/pi/Desktop/images/02052025/15/16/image_02052025_15_16_14_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355395303","1355395296","1355395302","1355395274","1355395268","1355395264"],"photo_ids_order":["1355395264","1355395268","1355395274","1355395296","1355395302","1355395303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a483a2464c551dc4060f9d660a30a4f7.jpg","text":"TemporaryFile(/tmp/multipartBody6611522772254449850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199773484,"filename":"image_02052025_15_16_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/5/2/e22642c4c55874e9cdbfa95d1d7b3102.jpg","text":"TemporaryFile(/tmp/multipartBody8745298684908162214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199773484,"filename":"image_02052025_15_15_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/5/2/265be3ec273253d8a102be06dc7e6ea2.jpg","text":"TemporaryFile(/tmp/multipartBody1730075404033608687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199773484,"filename":"image_02052025_15_16_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/5/2/d2b115e84527265ee77eab8b92ca2935.jpg","text":"TemporaryFile(/tmp/multipartBody7962802948131442660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199773484,"filename":"image_02052025_15_15_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/5/2/6fe70999a652f0e093396d3cb78c8992.jpg","text":"TemporaryFile(/tmp/multipartBody8109266130105709035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199773484,"filename":"image_02052025_15_15_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/5/2/7496e35945d4d0aaad1494719d77e5e9.jpg","text":"TemporaryFile(/tmp/multipartBody8725824845061101198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199773484,"filename":"image_02052025_15_15_24_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355395274","file1":"1355395268","file0":"1355395264","file4":"1355395302","file5":"1355395303","file3":"1355395296"},"map_files_photo_id_array":[{"photo_id":"1355395303","filename":"file5"},{"photo_id":"1355395274","filename":"file2"},{"photo_id":"1355395302","filename":"file4"},{"photo_id":"1355395268","filename":"file1"},{"photo_id":"1355395264","filename":"file0"},{"photo_id":"1355395296","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355395303":["hashtag1","hashtag2"]},{"1355395296":["hashtag1","hashtag2"]},{"1355395302":["hashtag1","hashtag2"]},{"1355395274":["hashtag1","hashtag2"]},{"1355395268":["hashtag1","hashtag2"]},{"1355395264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355395303, 1355395296, 1355395302, 1355395274, 1355395268, 1355395264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.827620029449463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:29:32.444300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/16/image_02052025_15_16_25_10430.jpg', '/home/pi/Desktop/images/02052025/15/16/image_02052025_15_16_35_10373.jpg', '/home/pi/Desktop/images/02052025/15/16/image_02052025_15_16_45_9410.jpg', '/home/pi/Desktop/images/02052025/15/16/image_02052025_15_16_55_10485.jpg', '/home/pi/Desktop/images/02052025/15/16/image_02052025_15_17_04_9463.jpg', '/home/pi/Desktop/images/02052025/15/17/image_02052025_15_17_15_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/16/image_02052025_15_16_25_10430.jpg
/home/pi/Desktop/images/02052025/15/16/image_02052025_15_16_35_10373.jpg
/home/pi/Desktop/images/02052025/15/16/image_02052025_15_16_45_9410.jpg
/home/pi/Desktop/images/02052025/15/16/image_02052025_15_16_55_10485.jpg
/home/pi/Desktop/images/02052025/15/16/image_02052025_15_17_04_9463.jpg
/home/pi/Desktop/images/02052025/15/17/image_02052025_15_17_15_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355395326","1355395329","1355395355","1355395334","1355395358","1355395337"],"photo_ids_order":["1355395326","1355395329","1355395334","1355395337","1355395355","1355395358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6c24e92903d80c7b594cd2aad71c6bcd.jpg","text":"TemporaryFile(/tmp/multipartBody6849181457792393742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199832914,"filename":"image_02052025_15_16_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2ff5757349f0ef449e18135655a1803.jpg","text":"TemporaryFile(/tmp/multipartBody249537727619511998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199832914,"filename":"image_02052025_15_16_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/04a85813b987159fff3d95d5936c4f4f.jpg","text":"TemporaryFile(/tmp/multipartBody1203202449510056221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199832914,"filename":"image_02052025_15_17_04_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/556e29846a7aa270a54cb48a9224fac7.jpg","text":"TemporaryFile(/tmp/multipartBody4042653061223757773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199832914,"filename":"image_02052025_15_16_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/5/2/5ee41f630db2b37b5820addab68fb7df.jpg","text":"TemporaryFile(/tmp/multipartBody25557428034932100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199832914,"filename":"image_02052025_15_17_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/5/2/89edfe34c79c38550741305751f5e247.jpg","text":"TemporaryFile(/tmp/multipartBody6051725223557767753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199832914,"filename":"image_02052025_15_16_55_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355395334","file1":"1355395329","file0":"1355395326","file4":"1355395355","file5":"1355395358","file3":"1355395337"},"map_files_photo_id_array":[{"photo_id":"1355395358","filename":"file5"},{"photo_id":"1355395334","filename":"file2"},{"photo_id":"1355395355","filename":"file4"},{"photo_id":"1355395329","filename":"file1"},{"photo_id":"1355395326","filename":"file0"},{"photo_id":"1355395337","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355395326":["hashtag1","hashtag2"]},{"1355395329":["hashtag1","hashtag2"]},{"1355395355":["hashtag1","hashtag2"]},{"1355395334":["hashtag1","hashtag2"]},{"1355395358":["hashtag1","hashtag2"]},{"1355395337":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355395326, 1355395329, 1355395355, 1355395334, 1355395358, 1355395337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.173834562301636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:30:32.655238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/17/image_02052025_15_17_25_10375.jpg', '/home/pi/Desktop/images/02052025/15/17/image_02052025_15_17_35_9464.jpg', '/home/pi/Desktop/images/02052025/15/17/image_02052025_15_17_45_10359.jpg', '/home/pi/Desktop/images/02052025/15/17/image_02052025_15_17_55_9433.jpg', '/home/pi/Desktop/images/02052025/15/17/image_02052025_15_18_05_10362.jpg', '/home/pi/Desktop/images/02052025/15/18/image_02052025_15_18_15_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/17/image_02052025_15_17_25_10375.jpg
/home/pi/Desktop/images/02052025/15/17/image_02052025_15_17_35_9464.jpg
/home/pi/Desktop/images/02052025/15/17/image_02052025_15_17_45_10359.jpg
/home/pi/Desktop/images/02052025/15/17/image_02052025_15_17_55_9433.jpg
/home/pi/Desktop/images/02052025/15/17/image_02052025_15_18_05_10362.jpg
/home/pi/Desktop/images/02052025/15/18/image_02052025_15_18_15_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355395402","1355395389","1355395398","1355395401","1355395394","1355395382"],"photo_ids_order":["1355395382","1355395389","1355395394","1355395398","1355395401","1355395402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb0bf5a8b0e264cec14ac006a0eb15b4.jpg","text":"TemporaryFile(/tmp/multipartBody7943734666339935457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199893133,"filename":"image_02052025_15_18_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/5/2/984fecfb99f7d1d12eb8a78056962eac.jpg","text":"TemporaryFile(/tmp/multipartBody6464641115967986053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199893133,"filename":"image_02052025_15_17_35_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9324593d9a989bcc29f488058221f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4210372392787232935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199893133,"filename":"image_02052025_15_17_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/5/2/1c1a9601016dfb8faaf5439fd47f3eb7.jpg","text":"TemporaryFile(/tmp/multipartBody7542050460036439219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199893133,"filename":"image_02052025_15_18_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/5/2/3adb998d7010d8eb658024290640d73b.jpg","text":"TemporaryFile(/tmp/multipartBody5905153405410435104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199893133,"filename":"image_02052025_15_17_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/5/2/06d6d029fa2203da7d6566cd9f3d4ce2.jpg","text":"TemporaryFile(/tmp/multipartBody548888259810684865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199893133,"filename":"image_02052025_15_17_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355395394","file1":"1355395389","file0":"1355395382","file4":"1355395401","file5":"1355395402","file3":"1355395398"},"map_files_photo_id_array":[{"photo_id":"1355395402","filename":"file5"},{"photo_id":"1355395394","filename":"file2"},{"photo_id":"1355395401","filename":"file4"},{"photo_id":"1355395389","filename":"file1"},{"photo_id":"1355395382","filename":"file0"},{"photo_id":"1355395398","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355395402":["hashtag1","hashtag2"]},{"1355395389":["hashtag1","hashtag2"]},{"1355395398":["hashtag1","hashtag2"]},{"1355395401":["hashtag1","hashtag2"]},{"1355395394":["hashtag1","hashtag2"]},{"1355395382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355395402, 1355395389, 1355395398, 1355395401, 1355395394, 1355395382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.880953550338745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:31:32.826256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/18/image_02052025_15_18_25_9458.jpg', '/home/pi/Desktop/images/02052025/15/18/image_02052025_15_18_35_10347.jpg', '/home/pi/Desktop/images/02052025/15/18/image_02052025_15_18_44_9338.jpg', '/home/pi/Desktop/images/02052025/15/18/image_02052025_15_18_55_10406.jpg', '/home/pi/Desktop/images/02052025/15/18/image_02052025_15_19_05_10361.jpg', '/home/pi/Desktop/images/02052025/15/19/image_02052025_15_19_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/18/image_02052025_15_18_25_9458.jpg
/home/pi/Desktop/images/02052025/15/18/image_02052025_15_18_35_10347.jpg
/home/pi/Desktop/images/02052025/15/18/image_02052025_15_18_44_9338.jpg
/home/pi/Desktop/images/02052025/15/18/image_02052025_15_18_55_10406.jpg
/home/pi/Desktop/images/02052025/15/18/image_02052025_15_19_05_10361.jpg
/home/pi/Desktop/images/02052025/15/19/image_02052025_15_19_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355395507","1355395452","1355395532","1355395421","1355395418","1355395480"],"photo_ids_order":["1355395418","1355395421","1355395452","1355395480","1355395507","1355395532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a05627f3c9942fc1f767b0ad4f143d51.jpg","text":"TemporaryFile(/tmp/multipartBody6987946985935696861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199953278,"filename":"image_02052025_15_19_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/5/2/529721e343c32cd430aa6a60cd1cd778.jpg","text":"TemporaryFile(/tmp/multipartBody3721395144470547413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199953278,"filename":"image_02052025_15_18_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/5/2/adcfaebb76e30bf81d9f8827954bde86.jpg","text":"TemporaryFile(/tmp/multipartBody2539314341641434771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199953278,"filename":"image_02052025_15_19_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30e0198d1604ebbfb609ddb4e2ec2421.jpg","text":"TemporaryFile(/tmp/multipartBody4580636594854258656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199953278,"filename":"image_02052025_15_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/5/2/1bfb5f9e18d3cdc766527c05926e0746.jpg","text":"TemporaryFile(/tmp/multipartBody2783829286099381566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199953278,"filename":"image_02052025_15_18_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/5/2/78acbc662245d3821265195e3f403040.jpg","text":"TemporaryFile(/tmp/multipartBody4221442856420705189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746199953278,"filename":"image_02052025_15_18_55_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355395452","file1":"1355395421","file0":"1355395418","file4":"1355395507","file5":"1355395532","file3":"1355395480"},"map_files_photo_id_array":[{"photo_id":"1355395532","filename":"file5"},{"photo_id":"1355395452","filename":"file2"},{"photo_id":"1355395507","filename":"file4"},{"photo_id":"1355395421","filename":"file1"},{"photo_id":"1355395418","filename":"file0"},{"photo_id":"1355395480","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355395507":["hashtag1","hashtag2"]},{"1355395452":["hashtag1","hashtag2"]},{"1355395532":["hashtag1","hashtag2"]},{"1355395421":["hashtag1","hashtag2"]},{"1355395418":["hashtag1","hashtag2"]},{"1355395480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355395507, 1355395452, 1355395532, 1355395421, 1355395418, 1355395480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64066982269287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:32:33.029828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/19/image_02052025_15_19_45_10408.jpg', '/home/pi/Desktop/images/02052025/15/19/image_02052025_15_19_55_10388.jpg', '/home/pi/Desktop/images/02052025/15/19/image_02052025_15_20_05_9376.jpg', '/home/pi/Desktop/images/02052025/15/20/image_02052025_15_20_15_10394.jpg', '/home/pi/Desktop/images/02052025/15/20/image_02052025_15_20_35_10398.jpg', '/home/pi/Desktop/images/02052025/15/20/image_02052025_15_20_45_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/19/image_02052025_15_19_45_10408.jpg
/home/pi/Desktop/images/02052025/15/19/image_02052025_15_19_55_10388.jpg
/home/pi/Desktop/images/02052025/15/19/image_02052025_15_20_05_9376.jpg
/home/pi/Desktop/images/02052025/15/20/image_02052025_15_20_15_10394.jpg
/home/pi/Desktop/images/02052025/15/20/image_02052025_15_20_35_10398.jpg
/home/pi/Desktop/images/02052025/15/20/image_02052025_15_20_45_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":["1355395758","1355395702","1355395728","1355395800","1355395644","1355395676"],"photo_ids_order":["1355395644","1355395676","1355395702","1355395728","1355395758","1355395800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bcf33a2ac8afa6670ff124918d42c772.jpg","text":"TemporaryFile(/tmp/multipartBody1111524967461406029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200013489,"filename":"image_02052025_15_20_35_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/26f88d1d89c53814fba97a753e554f45.jpg","text":"TemporaryFile(/tmp/multipartBody4168951331332613485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200013489,"filename":"image_02052025_15_20_05_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5885721392176334858f879a97bcbbb6.jpg","text":"TemporaryFile(/tmp/multipartBody2604492423258173685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200013489,"filename":"image_02052025_15_20_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/5/2/85ac5331c75575a461b92247ff7c1799.jpg","text":"TemporaryFile(/tmp/multipartBody1237091933168397081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200013489,"filename":"image_02052025_15_20_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/5/2/1b007733c468f0ba94e3ef2abe48ed7e.jpg","text":"TemporaryFile(/tmp/multipartBody3366380725035377857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200013489,"filename":"image_02052025_15_19_45_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b85c80b887f3dc96ad36fd72852a0a5.jpg","text":"TemporaryFile(/tmp/multipartBody9018133720152032376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200013489,"filename":"image_02052025_15_19_55_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355395702","file1":"1355395676","file0":"1355395644","file4":"1355395758","file5":"1355395800","file3":"1355395728"},"map_files_photo_id_array":[{"photo_id":"1355395800","filename":"file5"},{"photo_id":"1355395702","filename":"file2"},{"photo_id":"1355395758","filename":"file4"},{"photo_id":"1355395676","filename":"file1"},{"photo_id":"1355395644","filename":"file0"},{"photo_id":"1355395728","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355395758":["hashtag1","hashtag2"]},{"1355395702":["hashtag1","hashtag2"]},{"1355395728":["hashtag1","hashtag2"]},{"1355395800":["hashtag1","hashtag2"]},{"1355395644":["hashtag1","hashtag2"]},{"1355395676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355395758, 1355395702, 1355395728, 1355395800, 1355395644, 1355395676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.168200969696045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:33:32.256236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/20/image_02052025_15_20_54_9437.jpg', '/home/pi/Desktop/images/02052025/15/20/image_02052025_15_21_05_10359.jpg', '/home/pi/Desktop/images/02052025/15/21/image_02052025_15_21_15_10362.jpg', '/home/pi/Desktop/images/02052025/15/21/image_02052025_15_21_25_9360.jpg', '/home/pi/Desktop/images/02052025/15/21/image_02052025_15_21_35_10405.jpg', '/home/pi/Desktop/images/02052025/15/21/image_02052025_15_21_44_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/20/image_02052025_15_20_54_9437.jpg
/home/pi/Desktop/images/02052025/15/20/image_02052025_15_21_05_10359.jpg
/home/pi/Desktop/images/02052025/15/21/image_02052025_15_21_15_10362.jpg
/home/pi/Desktop/images/02052025/15/21/image_02052025_15_21_25_9360.jpg
/home/pi/Desktop/images/02052025/15/21/image_02052025_15_21_35_10405.jpg
/home/pi/Desktop/images/02052025/15/21/image_02052025_15_21_44_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":["1355396019","1355396103","1355396168","1355395994","1355396098","1355396077"],"photo_ids_order":["1355395994","1355396019","1355396077","1355396098","1355396103","1355396168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bbd39d2fa478b3aba6639b0b071c7a8f.jpg","text":"TemporaryFile(/tmp/multipartBody9211759417052168859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200072729,"filename":"image_02052025_15_21_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/5/2/2a98afc35ea2697ce867b00b798847e3.jpg","text":"TemporaryFile(/tmp/multipartBody4190384672133371178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200072729,"filename":"image_02052025_15_21_35_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21ddba628e5a398ba80db339107fe79b.jpg","text":"TemporaryFile(/tmp/multipartBody11159445437733576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200072729,"filename":"image_02052025_15_21_44_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95566663770441f2e866caef5a048015.jpg","text":"TemporaryFile(/tmp/multipartBody6531462132070878345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200072729,"filename":"image_02052025_15_20_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/5/2/cdf15aa65260340ca869b8e40ad6467e.jpg","text":"TemporaryFile(/tmp/multipartBody4640105927589674987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200072729,"filename":"image_02052025_15_21_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/5/2/7411d4422e4ddb87cf1188c4de94ee9f.jpg","text":"TemporaryFile(/tmp/multipartBody1060291073259602089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200072729,"filename":"image_02052025_15_21_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355396077","file1":"1355396019","file0":"1355395994","file4":"1355396103","file5":"1355396168","file3":"1355396098"},"map_files_photo_id_array":[{"photo_id":"1355396168","filename":"file5"},{"photo_id":"1355396077","filename":"file2"},{"photo_id":"1355396103","filename":"file4"},{"photo_id":"1355396019","filename":"file1"},{"photo_id":"1355395994","filename":"file0"},{"photo_id":"1355396098","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355396019":["hashtag1","hashtag2"]},{"1355396103":["hashtag1","hashtag2"]},{"1355396168":["hashtag1","hashtag2"]},{"1355395994":["hashtag1","hashtag2"]},{"1355396098":["hashtag1","hashtag2"]},{"1355396077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355396019, 1355396103, 1355396168, 1355395994, 1355396098, 1355396077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.04049468040466 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 17:34:42.355830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/21/image_02052025_15_21_55_10375.jpg', '/home/pi/Desktop/images/02052025/15/21/image_02052025_15_22_05_10356.jpg', '/home/pi/Desktop/images/02052025/15/22/image_02052025_15_22_15_9428.jpg', '/home/pi/Desktop/images/02052025/15/22/image_02052025_15_22_25_10471.jpg', '/home/pi/Desktop/images/02052025/15/22/image_02052025_15_22_35_9528.jpg', '/home/pi/Desktop/images/02052025/15/22/image_02052025_15_22_45_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/21/image_02052025_15_21_55_10375.jpg
/home/pi/Desktop/images/02052025/15/21/image_02052025_15_22_05_10356.jpg
/home/pi/Desktop/images/02052025/15/22/image_02052025_15_22_15_9428.jpg
/home/pi/Desktop/images/02052025/15/22/image_02052025_15_22_25_10471.jpg
/home/pi/Desktop/images/02052025/15/22/image_02052025_15_22_35_9528.jpg
/home/pi/Desktop/images/02052025/15/22/image_02052025_15_22_45_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":["1355396416","1355396465","1355396491","1355396293","1355396296","1355396338"],"photo_ids_order":["1355396293","1355396296","1355396338","1355396416","1355396465","1355396491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e56cd9448d7a077cab3fcf2fe4a85a4e.jpg","text":"TemporaryFile(/tmp/multipartBody85036675373612697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200142835,"filename":"image_02052025_15_22_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d67de95a9415a444e9b7d96b3bd67d50.jpg","text":"TemporaryFile(/tmp/multipartBody1629447803154943269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200142835,"filename":"image_02052025_15_22_35_9528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d952edc1c6330c8c3634520d5ece6468.jpg","text":"TemporaryFile(/tmp/multipartBody2976484535302438348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200142835,"filename":"image_02052025_15_22_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/5/2/87e8cf793904ae805a272f97eb1fd4f6.jpg","text":"TemporaryFile(/tmp/multipartBody8400609075999022639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200142835,"filename":"image_02052025_15_21_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/5/2/5d2348e67c645172738c6f5dcf7f1fb4.jpg","text":"TemporaryFile(/tmp/multipartBody475728471677398984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200142835,"filename":"image_02052025_15_22_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/5/2/41824231682237e2909d48bc0f7e88cf.jpg","text":"TemporaryFile(/tmp/multipartBody2538985797390467213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200142835,"filename":"image_02052025_15_22_15_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355396338","file1":"1355396296","file0":"1355396293","file4":"1355396465","file5":"1355396491","file3":"1355396416"},"map_files_photo_id_array":[{"photo_id":"1355396491","filename":"file5"},{"photo_id":"1355396338","filename":"file2"},{"photo_id":"1355396465","filename":"file4"},{"photo_id":"1355396296","filename":"file1"},{"photo_id":"1355396293","filename":"file0"},{"photo_id":"1355396416","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355396416":["hashtag1","hashtag2"]},{"1355396465":["hashtag1","hashtag2"]},{"1355396491":["hashtag1","hashtag2"]},{"1355396293":["hashtag1","hashtag2"]},{"1355396296":["hashtag1","hashtag2"]},{"1355396338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355396416, 1355396465, 1355396491, 1355396293, 1355396296, 1355396338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.913879871368408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:35:32.748004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/22/image_02052025_15_22_54_9361.jpg', '/home/pi/Desktop/images/02052025/15/22/image_02052025_15_23_05_10363.jpg', '/home/pi/Desktop/images/02052025/15/23/image_02052025_15_23_15_10361.jpg', '/home/pi/Desktop/images/02052025/15/23/image_02052025_15_23_24_9445.jpg', '/home/pi/Desktop/images/02052025/15/23/image_02052025_15_23_35_10375.jpg', '/home/pi/Desktop/images/02052025/15/23/image_02052025_15_23_45_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/22/image_02052025_15_22_54_9361.jpg
/home/pi/Desktop/images/02052025/15/22/image_02052025_15_23_05_10363.jpg
/home/pi/Desktop/images/02052025/15/23/image_02052025_15_23_15_10361.jpg
/home/pi/Desktop/images/02052025/15/23/image_02052025_15_23_24_9445.jpg
/home/pi/Desktop/images/02052025/15/23/image_02052025_15_23_35_10375.jpg
/home/pi/Desktop/images/02052025/15/23/image_02052025_15_23_45_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355396574","1355396588","1355396582","1355396576","1355396585","1355396579"],"photo_ids_order":["1355396574","1355396576","1355396579","1355396582","1355396585","1355396588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/80f6520439fe0470512c9d524dd19498.jpg","text":"TemporaryFile(/tmp/multipartBody7440207181171806315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200193211,"filename":"image_02052025_15_22_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7e8fb826c32dc09acbc78fc3af6fda5b.jpg","text":"TemporaryFile(/tmp/multipartBody2768437967586595009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200193211,"filename":"image_02052025_15_23_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/5/2/e2e1141f5cc373ed2c1238649169383b.jpg","text":"TemporaryFile(/tmp/multipartBody709891302387315253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200193211,"filename":"image_02052025_15_23_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/5/2/f1a5eb5b54d4010dec29763569a4b6ea.jpg","text":"TemporaryFile(/tmp/multipartBody8166501221316653754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200193211,"filename":"image_02052025_15_23_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/5/2/2efa7f9434f4ec2f172c52e4a0f31e3b.jpg","text":"TemporaryFile(/tmp/multipartBody852372165020018925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200193211,"filename":"image_02052025_15_23_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/5/2/ce1ce3d8c8c6713158682ba7271540dd.jpg","text":"TemporaryFile(/tmp/multipartBody1943527738886105189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200193211,"filename":"image_02052025_15_23_15_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355396579","file1":"1355396576","file0":"1355396574","file4":"1355396585","file5":"1355396588","file3":"1355396582"},"map_files_photo_id_array":[{"photo_id":"1355396588","filename":"file5"},{"photo_id":"1355396579","filename":"file2"},{"photo_id":"1355396585","filename":"file4"},{"photo_id":"1355396576","filename":"file1"},{"photo_id":"1355396574","filename":"file0"},{"photo_id":"1355396582","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355396574":["hashtag1","hashtag2"]},{"1355396588":["hashtag1","hashtag2"]},{"1355396582":["hashtag1","hashtag2"]},{"1355396576":["hashtag1","hashtag2"]},{"1355396585":["hashtag1","hashtag2"]},{"1355396579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355396574, 1355396588, 1355396582, 1355396576, 1355396585, 1355396579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.748430252075195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:36:32.802475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/23/image_02052025_15_23_55_9362.jpg', '/home/pi/Desktop/images/02052025/15/23/image_02052025_15_24_05_10375.jpg', '/home/pi/Desktop/images/02052025/15/24/image_02052025_15_24_14_9350.jpg', '/home/pi/Desktop/images/02052025/15/24/image_02052025_15_24_25_10492.jpg', '/home/pi/Desktop/images/02052025/15/24/image_02052025_15_24_35_10355.jpg', '/home/pi/Desktop/images/02052025/15/24/image_02052025_15_24_45_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/23/image_02052025_15_23_55_9362.jpg
/home/pi/Desktop/images/02052025/15/23/image_02052025_15_24_05_10375.jpg
/home/pi/Desktop/images/02052025/15/24/image_02052025_15_24_14_9350.jpg
/home/pi/Desktop/images/02052025/15/24/image_02052025_15_24_25_10492.jpg
/home/pi/Desktop/images/02052025/15/24/image_02052025_15_24_35_10355.jpg
/home/pi/Desktop/images/02052025/15/24/image_02052025_15_24_45_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355396760","1355396766","1355396724","1355396764","1355396755","1355396694"],"photo_ids_order":["1355396694","1355396724","1355396755","1355396760","1355396764","1355396766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b7a65c30cf1c6fd76b68124f9ab99fc.jpg","text":"TemporaryFile(/tmp/multipartBody5470031354463585713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200253267,"filename":"image_02052025_15_24_25_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da229d810e68cc2d7b54329cc0bef37a.jpg","text":"TemporaryFile(/tmp/multipartBody8904749183775890549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200253267,"filename":"image_02052025_15_24_45_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/46aaff508b9ed8b9b233f120bf7b8533.jpg","text":"TemporaryFile(/tmp/multipartBody7786110181145257534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200253267,"filename":"image_02052025_15_24_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09875a30fa79f45938f023cdb869426e.jpg","text":"TemporaryFile(/tmp/multipartBody1195967276227862985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200253267,"filename":"image_02052025_15_24_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/5/2/47040aac2e9bf4843989af14b7bc43af.jpg","text":"TemporaryFile(/tmp/multipartBody7475598261580690748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200253267,"filename":"image_02052025_15_24_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4a7d42e510d42dde9809f263de0684a.jpg","text":"TemporaryFile(/tmp/multipartBody5079202948452426816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200253267,"filename":"image_02052025_15_23_55_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355396755","file1":"1355396724","file0":"1355396694","file4":"1355396764","file5":"1355396766","file3":"1355396760"},"map_files_photo_id_array":[{"photo_id":"1355396766","filename":"file5"},{"photo_id":"1355396755","filename":"file2"},{"photo_id":"1355396764","filename":"file4"},{"photo_id":"1355396724","filename":"file1"},{"photo_id":"1355396694","filename":"file0"},{"photo_id":"1355396760","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355396760":["hashtag1","hashtag2"]},{"1355396766":["hashtag1","hashtag2"]},{"1355396724":["hashtag1","hashtag2"]},{"1355396764":["hashtag1","hashtag2"]},{"1355396755":["hashtag1","hashtag2"]},{"1355396694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355396760, 1355396766, 1355396724, 1355396764, 1355396755, 1355396694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.683237075805664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:37:33.037199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/24/image_02052025_15_24_55_10365.jpg', '/home/pi/Desktop/images/02052025/15/24/image_02052025_15_25_04_9358.jpg', '/home/pi/Desktop/images/02052025/15/25/image_02052025_15_25_15_10468.jpg', '/home/pi/Desktop/images/02052025/15/25/image_02052025_15_25_25_10439.jpg', '/home/pi/Desktop/images/02052025/15/25/image_02052025_15_25_35_9366.jpg', '/home/pi/Desktop/images/02052025/15/25/image_02052025_15_25_45_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/24/image_02052025_15_24_55_10365.jpg
/home/pi/Desktop/images/02052025/15/24/image_02052025_15_25_04_9358.jpg
/home/pi/Desktop/images/02052025/15/25/image_02052025_15_25_15_10468.jpg
/home/pi/Desktop/images/02052025/15/25/image_02052025_15_25_25_10439.jpg
/home/pi/Desktop/images/02052025/15/25/image_02052025_15_25_35_9366.jpg
/home/pi/Desktop/images/02052025/15/25/image_02052025_15_25_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355396862","1355396916","1355396876","1355396924","1355396906","1355396920"],"photo_ids_order":["1355396862","1355396876","1355396906","1355396916","1355396920","1355396924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9dcd65fd87fda1be3de14370ce181d11.jpg","text":"TemporaryFile(/tmp/multipartBody3946052462372229684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200313513,"filename":"image_02052025_15_24_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/5/2/a93ada13e9061376ca83566f912fb3aa.jpg","text":"TemporaryFile(/tmp/multipartBody3162726696539555272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200313513,"filename":"image_02052025_15_25_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/5/2/065594475d78fa6d4e0e5807387787dd.jpg","text":"TemporaryFile(/tmp/multipartBody1522718413213144240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200313513,"filename":"image_02052025_15_25_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2974e1b923b2849cce0ec216530382cf.jpg","text":"TemporaryFile(/tmp/multipartBody6884942560519297898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200313513,"filename":"image_02052025_15_25_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/5/2/5a62e70f144d4e041390f04f15aaf74a.jpg","text":"TemporaryFile(/tmp/multipartBody1741304349642939291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200313513,"filename":"image_02052025_15_25_15_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba0ef3c44ff12c98e8e29dcec27ab24a.jpg","text":"TemporaryFile(/tmp/multipartBody293987311229129492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200313513,"filename":"image_02052025_15_25_35_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355396906","file1":"1355396876","file0":"1355396862","file4":"1355396920","file5":"1355396924","file3":"1355396916"},"map_files_photo_id_array":[{"photo_id":"1355396924","filename":"file5"},{"photo_id":"1355396906","filename":"file2"},{"photo_id":"1355396920","filename":"file4"},{"photo_id":"1355396876","filename":"file1"},{"photo_id":"1355396862","filename":"file0"},{"photo_id":"1355396916","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355396862":["hashtag1","hashtag2"]},{"1355396916":["hashtag1","hashtag2"]},{"1355396876":["hashtag1","hashtag2"]},{"1355396924":["hashtag1","hashtag2"]},{"1355396906":["hashtag1","hashtag2"]},{"1355396920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355396862, 1355396916, 1355396876, 1355396924, 1355396906, 1355396920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03222393989563 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:38:32.301411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/25/image_02052025_15_25_54_9358.jpg', '/home/pi/Desktop/images/02052025/15/25/image_02052025_15_26_05_10517.jpg', '/home/pi/Desktop/images/02052025/15/26/image_02052025_15_26_15_10352.jpg', '/home/pi/Desktop/images/02052025/15/26/image_02052025_15_26_25_9353.jpg', '/home/pi/Desktop/images/02052025/15/26/image_02052025_15_26_35_10366.jpg', '/home/pi/Desktop/images/02052025/15/26/image_02052025_15_26_44_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/25/image_02052025_15_25_54_9358.jpg
/home/pi/Desktop/images/02052025/15/25/image_02052025_15_26_05_10517.jpg
/home/pi/Desktop/images/02052025/15/26/image_02052025_15_26_15_10352.jpg
/home/pi/Desktop/images/02052025/15/26/image_02052025_15_26_25_9353.jpg
/home/pi/Desktop/images/02052025/15/26/image_02052025_15_26_35_10366.jpg
/home/pi/Desktop/images/02052025/15/26/image_02052025_15_26_44_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":["1355397137","1355397175","1355397160","1355397232","1355397205","1355397165"],"photo_ids_order":["1355397137","1355397160","1355397165","1355397175","1355397205","1355397232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/153161a59a09f402892bd6660cded7c4.jpg","text":"TemporaryFile(/tmp/multipartBody6111281504001050805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200372821,"filename":"image_02052025_15_25_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7454446c8ec5bc0fd9586998907d18d1.jpg","text":"TemporaryFile(/tmp/multipartBody6495298956216027035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200372821,"filename":"image_02052025_15_26_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/654afc87849330df2d5584568b236c9b.jpg","text":"TemporaryFile(/tmp/multipartBody1598861655660279600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200372821,"filename":"image_02052025_15_26_05_10517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e586526eaeed30ae735ecba1639b8ea4.jpg","text":"TemporaryFile(/tmp/multipartBody6366614745281834071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200372821,"filename":"image_02052025_15_26_44_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f8992921a60a441681c865622f8ed3f.jpg","text":"TemporaryFile(/tmp/multipartBody1407532872251137953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200372821,"filename":"image_02052025_15_26_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/5/2/92552ffb0cb44b889d1e3e8099eb6e82.jpg","text":"TemporaryFile(/tmp/multipartBody5376162811549438636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200372821,"filename":"image_02052025_15_26_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355397165","file1":"1355397160","file0":"1355397137","file4":"1355397205","file5":"1355397232","file3":"1355397175"},"map_files_photo_id_array":[{"photo_id":"1355397232","filename":"file5"},{"photo_id":"1355397165","filename":"file2"},{"photo_id":"1355397205","filename":"file4"},{"photo_id":"1355397160","filename":"file1"},{"photo_id":"1355397137","filename":"file0"},{"photo_id":"1355397175","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355397137":["hashtag1","hashtag2"]},{"1355397175":["hashtag1","hashtag2"]},{"1355397160":["hashtag1","hashtag2"]},{"1355397232":["hashtag1","hashtag2"]},{"1355397205":["hashtag1","hashtag2"]},{"1355397165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355397137, 1355397175, 1355397160, 1355397232, 1355397205, 1355397165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41989755630493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:39:32.493268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/26/image_02052025_15_26_55_10373.jpg', '/home/pi/Desktop/images/02052025/15/26/image_02052025_15_27_05_10432.jpg', '/home/pi/Desktop/images/02052025/15/27/image_02052025_15_27_15_9414.jpg', '/home/pi/Desktop/images/02052025/15/27/image_02052025_15_27_25_10395.jpg', '/home/pi/Desktop/images/02052025/15/27/image_02052025_15_27_34_9362.jpg', '/home/pi/Desktop/images/02052025/15/27/image_02052025_15_27_45_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/26/image_02052025_15_26_55_10373.jpg
/home/pi/Desktop/images/02052025/15/26/image_02052025_15_27_05_10432.jpg
/home/pi/Desktop/images/02052025/15/27/image_02052025_15_27_15_9414.jpg
/home/pi/Desktop/images/02052025/15/27/image_02052025_15_27_25_10395.jpg
/home/pi/Desktop/images/02052025/15/27/image_02052025_15_27_34_9362.jpg
/home/pi/Desktop/images/02052025/15/27/image_02052025_15_27_45_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355397312","1355397382","1355397385","1355397388","1355397378","1355397345"],"photo_ids_order":["1355397312","1355397345","1355397378","1355397382","1355397385","1355397388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a685fae63061eaf82e65808b9bb54b44.jpg","text":"TemporaryFile(/tmp/multipartBody7323363035793495112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200432957,"filename":"image_02052025_15_26_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/5/2/b23853fead1d2808a379419637a52821.jpg","text":"TemporaryFile(/tmp/multipartBody4619110745712996635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200432957,"filename":"image_02052025_15_27_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/5/2/1dc51b2c5b4b4b5422b650722cb0423f.jpg","text":"TemporaryFile(/tmp/multipartBody6819142997297769872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200432957,"filename":"image_02052025_15_27_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/5/2/e0ec6db784dd6cfdfaafd11fb80f57ef.jpg","text":"TemporaryFile(/tmp/multipartBody1255625172385341126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200432957,"filename":"image_02052025_15_27_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/5/2/76255b089986b45659c50dc9a78ef21f.jpg","text":"TemporaryFile(/tmp/multipartBody1460843650675088071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200432957,"filename":"image_02052025_15_27_15_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/79171f007b6d2ef5be62baca3ea9b36d.jpg","text":"TemporaryFile(/tmp/multipartBody4910106630650110567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200432957,"filename":"image_02052025_15_27_05_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355397378","file1":"1355397345","file0":"1355397312","file4":"1355397385","file5":"1355397388","file3":"1355397382"},"map_files_photo_id_array":[{"photo_id":"1355397388","filename":"file5"},{"photo_id":"1355397378","filename":"file2"},{"photo_id":"1355397385","filename":"file4"},{"photo_id":"1355397345","filename":"file1"},{"photo_id":"1355397312","filename":"file0"},{"photo_id":"1355397382","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355397312":["hashtag1","hashtag2"]},{"1355397382":["hashtag1","hashtag2"]},{"1355397385":["hashtag1","hashtag2"]},{"1355397388":["hashtag1","hashtag2"]},{"1355397378":["hashtag1","hashtag2"]},{"1355397345":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355397312, 1355397382, 1355397385, 1355397388, 1355397378, 1355397345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.16374444961548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:40:32.669056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/27/image_02052025_15_27_55_10378.jpg', '/home/pi/Desktop/images/02052025/15/27/image_02052025_15_28_04_9342.jpg', '/home/pi/Desktop/images/02052025/15/28/image_02052025_15_28_15_10443.jpg', '/home/pi/Desktop/images/02052025/15/28/image_02052025_15_28_25_10459.jpg', '/home/pi/Desktop/images/02052025/15/28/image_02052025_15_28_45_10341.jpg', '/home/pi/Desktop/images/02052025/15/28/image_02052025_15_28_55_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/27/image_02052025_15_27_55_10378.jpg
/home/pi/Desktop/images/02052025/15/27/image_02052025_15_28_04_9342.jpg
/home/pi/Desktop/images/02052025/15/28/image_02052025_15_28_15_10443.jpg
/home/pi/Desktop/images/02052025/15/28/image_02052025_15_28_25_10459.jpg
/home/pi/Desktop/images/02052025/15/28/image_02052025_15_28_45_10341.jpg
/home/pi/Desktop/images/02052025/15/28/image_02052025_15_28_55_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":["1355397546","1355397501","1355397566","1355397551","1355397595","1355397508"],"photo_ids_order":["1355397501","1355397508","1355397546","1355397551","1355397566","1355397595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e83a37c71d88ff7880375603f99f4b3.jpg","text":"TemporaryFile(/tmp/multipartBody8029956499991609826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200493137,"filename":"image_02052025_15_28_15_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3982ad8c723b54e14bf88721b6bec2a.jpg","text":"TemporaryFile(/tmp/multipartBody4157010277770835774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200493137,"filename":"image_02052025_15_27_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9334107c19b3f1f7b0ac6a1d5d9e0710.jpg","text":"TemporaryFile(/tmp/multipartBody3839816311859688567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200493137,"filename":"image_02052025_15_28_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/5/2/edbd8f0190f1b15eb6312bb07d0bbf1f.jpg","text":"TemporaryFile(/tmp/multipartBody2213819083594670073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200493137,"filename":"image_02052025_15_28_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/5/2/2ffcc8407cb2a754689c1e08abcc352b.jpg","text":"TemporaryFile(/tmp/multipartBody4963448765516862462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200493137,"filename":"image_02052025_15_28_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/5/2/ec7bdb6c81acbccd652dd230a77d7dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8746161053315400424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200493137,"filename":"image_02052025_15_28_04_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355397546","file1":"1355397508","file0":"1355397501","file4":"1355397566","file5":"1355397595","file3":"1355397551"},"map_files_photo_id_array":[{"photo_id":"1355397595","filename":"file5"},{"photo_id":"1355397546","filename":"file2"},{"photo_id":"1355397566","filename":"file4"},{"photo_id":"1355397508","filename":"file1"},{"photo_id":"1355397501","filename":"file0"},{"photo_id":"1355397551","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355397546":["hashtag1","hashtag2"]},{"1355397501":["hashtag1","hashtag2"]},{"1355397566":["hashtag1","hashtag2"]},{"1355397551":["hashtag1","hashtag2"]},{"1355397595":["hashtag1","hashtag2"]},{"1355397508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355397546, 1355397501, 1355397566, 1355397551, 1355397595, 1355397508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.35511231422424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:41:32.838363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/28/image_02052025_15_29_05_10374.jpg', '/home/pi/Desktop/images/02052025/15/29/image_02052025_15_29_15_10366.jpg', '/home/pi/Desktop/images/02052025/15/29/image_02052025_15_29_25_9473.jpg', '/home/pi/Desktop/images/02052025/15/29/image_02052025_15_29_35_10346.jpg', '/home/pi/Desktop/images/02052025/15/29/image_02052025_15_29_45_9478.jpg', '/home/pi/Desktop/images/02052025/15/29/image_02052025_15_29_55_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/28/image_02052025_15_29_05_10374.jpg
/home/pi/Desktop/images/02052025/15/29/image_02052025_15_29_15_10366.jpg
/home/pi/Desktop/images/02052025/15/29/image_02052025_15_29_25_9473.jpg
/home/pi/Desktop/images/02052025/15/29/image_02052025_15_29_35_10346.jpg
/home/pi/Desktop/images/02052025/15/29/image_02052025_15_29_45_9478.jpg
/home/pi/Desktop/images/02052025/15/29/image_02052025_15_29_55_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":["1355397627","1355397653","1355397644","1355397623","1355397625","1355397649"],"photo_ids_order":["1355397623","1355397625","1355397627","1355397644","1355397649","1355397653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d84096bf319be59754b919bfe7fd887.jpg","text":"TemporaryFile(/tmp/multipartBody5878790177044819599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200553326,"filename":"image_02052025_15_29_25_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f84db290256f589a131a4cae4e6c879.jpg","text":"TemporaryFile(/tmp/multipartBody4512672909159046053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200553326,"filename":"image_02052025_15_29_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/5/2/18a8b606fa6412439fda9d0f397b507e.jpg","text":"TemporaryFile(/tmp/multipartBody7722406527094773555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200553326,"filename":"image_02052025_15_29_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/5/2/8b9625a2f3e2b245598cfe7bc5272092.jpg","text":"TemporaryFile(/tmp/multipartBody6625349073599701396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200553326,"filename":"image_02052025_15_29_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/18510ace273460c77eb1a14aab4c98d3.jpg","text":"TemporaryFile(/tmp/multipartBody1378679925086177386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200553326,"filename":"image_02052025_15_29_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/5/2/6f98669d94013c9ab08aff38b635e603.jpg","text":"TemporaryFile(/tmp/multipartBody37862956313726117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200553326,"filename":"image_02052025_15_29_45_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355397627","file1":"1355397625","file0":"1355397623","file4":"1355397649","file5":"1355397653","file3":"1355397644"},"map_files_photo_id_array":[{"photo_id":"1355397653","filename":"file5"},{"photo_id":"1355397627","filename":"file2"},{"photo_id":"1355397649","filename":"file4"},{"photo_id":"1355397625","filename":"file1"},{"photo_id":"1355397623","filename":"file0"},{"photo_id":"1355397644","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355397627":["hashtag1","hashtag2"]},{"1355397653":["hashtag1","hashtag2"]},{"1355397644":["hashtag1","hashtag2"]},{"1355397623":["hashtag1","hashtag2"]},{"1355397625":["hashtag1","hashtag2"]},{"1355397649":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355397627, 1355397653, 1355397644, 1355397623, 1355397625, 1355397649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.436755180358887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:42:33.053532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/29/image_02052025_15_30_04_9417.jpg', '/home/pi/Desktop/images/02052025/15/30/image_02052025_15_30_15_10362.jpg', '/home/pi/Desktop/images/02052025/15/30/image_02052025_15_30_25_10426.jpg', '/home/pi/Desktop/images/02052025/15/30/image_02052025_15_30_35_9429.jpg', '/home/pi/Desktop/images/02052025/15/30/image_02052025_15_30_45_10427.jpg', '/home/pi/Desktop/images/02052025/15/30/image_02052025_15_30_54_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/29/image_02052025_15_30_04_9417.jpg
/home/pi/Desktop/images/02052025/15/30/image_02052025_15_30_15_10362.jpg
/home/pi/Desktop/images/02052025/15/30/image_02052025_15_30_25_10426.jpg
/home/pi/Desktop/images/02052025/15/30/image_02052025_15_30_35_9429.jpg
/home/pi/Desktop/images/02052025/15/30/image_02052025_15_30_45_10427.jpg
/home/pi/Desktop/images/02052025/15/30/image_02052025_15_30_54_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355397695","1355397677","1355397688","1355397691","1355397685","1355397681"],"photo_ids_order":["1355397677","1355397681","1355397685","1355397688","1355397691","1355397695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56c8adb1450127af347cfcfaefdeb0f5.jpg","text":"TemporaryFile(/tmp/multipartBody7327921065180455940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200613515,"filename":"image_02052025_15_30_54_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/31dd1c4a4d442f5e89b38d94cbf2fc26.jpg","text":"TemporaryFile(/tmp/multipartBody685095204257566748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200613515,"filename":"image_02052025_15_30_04_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d64d60c38802f4c29b481f32bf5e3eb.jpg","text":"TemporaryFile(/tmp/multipartBody8750294070294043041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200613515,"filename":"image_02052025_15_30_35_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7b33bd34e18a99ec61c5b3a25244e389.jpg","text":"TemporaryFile(/tmp/multipartBody6777520230699929431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200613515,"filename":"image_02052025_15_30_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/5/2/4ddd8d87a6231e28f340b280cd3c5271.jpg","text":"TemporaryFile(/tmp/multipartBody4756224431593672692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200613515,"filename":"image_02052025_15_30_25_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc7dfcabd63ee14faf9fb01eec5aff17.jpg","text":"TemporaryFile(/tmp/multipartBody671913770956314575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200613515,"filename":"image_02052025_15_30_15_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355397685","file1":"1355397681","file0":"1355397677","file4":"1355397691","file5":"1355397695","file3":"1355397688"},"map_files_photo_id_array":[{"photo_id":"1355397695","filename":"file5"},{"photo_id":"1355397685","filename":"file2"},{"photo_id":"1355397691","filename":"file4"},{"photo_id":"1355397681","filename":"file1"},{"photo_id":"1355397677","filename":"file0"},{"photo_id":"1355397688","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355397695":["hashtag1","hashtag2"]},{"1355397677":["hashtag1","hashtag2"]},{"1355397688":["hashtag1","hashtag2"]},{"1355397691":["hashtag1","hashtag2"]},{"1355397685":["hashtag1","hashtag2"]},{"1355397681":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355397695, 1355397677, 1355397688, 1355397691, 1355397685, 1355397681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.520714282989502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:43:32.363372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/30/image_02052025_15_31_05_10407.jpg', '/home/pi/Desktop/images/02052025/15/31/image_02052025_15_31_15_10422.jpg', '/home/pi/Desktop/images/02052025/15/31/image_02052025_15_31_35_10364.jpg', '/home/pi/Desktop/images/02052025/15/31/image_02052025_15_31_44_9330.jpg', '/home/pi/Desktop/images/02052025/15/31/image_02052025_15_31_55_10414.jpg', '/home/pi/Desktop/images/02052025/15/31/image_02052025_15_32_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/30/image_02052025_15_31_05_10407.jpg
/home/pi/Desktop/images/02052025/15/31/image_02052025_15_31_15_10422.jpg
/home/pi/Desktop/images/02052025/15/31/image_02052025_15_31_35_10364.jpg
/home/pi/Desktop/images/02052025/15/31/image_02052025_15_31_44_9330.jpg
/home/pi/Desktop/images/02052025/15/31/image_02052025_15_31_55_10414.jpg
/home/pi/Desktop/images/02052025/15/31/image_02052025_15_32_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":["1355397722","1355397725","1355397730","1355397718","1355397733","1355397727"],"photo_ids_order":["1355397718","1355397722","1355397725","1355397727","1355397730","1355397733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d00aa2e863794a1531100edcb6b45135.jpg","text":"TemporaryFile(/tmp/multipartBody1578896425249830601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200672838,"filename":"image_02052025_15_31_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/5/2/5618626ccc9425b64cb454c3424c18f4.jpg","text":"TemporaryFile(/tmp/multipartBody2189220406773221281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200672838,"filename":"image_02052025_15_31_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/5/2/f96e1d400b738e4c5d8482d6b20e3532.jpg","text":"TemporaryFile(/tmp/multipartBody1233434057031431849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200672838,"filename":"image_02052025_15_31_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/5/2/7e3034dc47d3311e4357d8f427f28289.jpg","text":"TemporaryFile(/tmp/multipartBody2618873946973862562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200672838,"filename":"image_02052025_15_31_05_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/359b9dd1c6f4ebc94668c7b90b017954.jpg","text":"TemporaryFile(/tmp/multipartBody3641042432598854333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200672838,"filename":"image_02052025_15_32_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/5/2/f117cb2cf9bc39fa3c0463c3a4b35e1c.jpg","text":"TemporaryFile(/tmp/multipartBody6951665348052585982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200672838,"filename":"image_02052025_15_31_44_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355397725","file1":"1355397722","file0":"1355397718","file4":"1355397730","file5":"1355397733","file3":"1355397727"},"map_files_photo_id_array":[{"photo_id":"1355397733","filename":"file5"},{"photo_id":"1355397725","filename":"file2"},{"photo_id":"1355397730","filename":"file4"},{"photo_id":"1355397722","filename":"file1"},{"photo_id":"1355397718","filename":"file0"},{"photo_id":"1355397727","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355397722":["hashtag1","hashtag2"]},{"1355397725":["hashtag1","hashtag2"]},{"1355397730":["hashtag1","hashtag2"]},{"1355397718":["hashtag1","hashtag2"]},{"1355397733":["hashtag1","hashtag2"]},{"1355397727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355397722, 1355397725, 1355397730, 1355397718, 1355397733, 1355397727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07793045043945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:44:32.696929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/32/image_02052025_15_32_15_9450.jpg', '/home/pi/Desktop/images/02052025/15/32/image_02052025_15_32_25_10471.jpg', '/home/pi/Desktop/images/02052025/15/32/image_02052025_15_32_35_9487.jpg', '/home/pi/Desktop/images/02052025/15/32/image_02052025_15_32_45_10411.jpg', '/home/pi/Desktop/images/02052025/15/32/image_02052025_15_32_54_9477.jpg', '/home/pi/Desktop/images/02052025/15/33/image_02052025_15_33_25_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/32/image_02052025_15_32_15_9450.jpg
/home/pi/Desktop/images/02052025/15/32/image_02052025_15_32_25_10471.jpg
/home/pi/Desktop/images/02052025/15/32/image_02052025_15_32_35_9487.jpg
/home/pi/Desktop/images/02052025/15/32/image_02052025_15_32_45_10411.jpg
/home/pi/Desktop/images/02052025/15/32/image_02052025_15_32_54_9477.jpg
/home/pi/Desktop/images/02052025/15/33/image_02052025_15_33_25_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355397764","1355397767","1355397752","1355397761","1355397769","1355397757"],"photo_ids_order":["1355397752","1355397757","1355397761","1355397764","1355397767","1355397769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9dd88f1dfb7b709f5749150674cc965.jpg","text":"TemporaryFile(/tmp/multipartBody564349557222043410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200733171,"filename":"image_02052025_15_32_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/5/2/7cde69ec99e3caf02733023f6f1cf112.jpg","text":"TemporaryFile(/tmp/multipartBody6254189016862997933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200733171,"filename":"image_02052025_15_32_54_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3a0ff5a95fb941afa7dd627b9dd047e.jpg","text":"TemporaryFile(/tmp/multipartBody5113892744889542067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200733171,"filename":"image_02052025_15_32_15_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c903c9fa0f7cf2541c8a1458d3120ada.jpg","text":"TemporaryFile(/tmp/multipartBody7691239415504409115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200733171,"filename":"image_02052025_15_32_35_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba4628a04ceb5b9ec3ad384c4c4fad6e.jpg","text":"TemporaryFile(/tmp/multipartBody5334587322853727528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200733171,"filename":"image_02052025_15_33_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/5/2/ce6c96d5cba749f8700665ec3817cf35.jpg","text":"TemporaryFile(/tmp/multipartBody2628223803135373481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200733171,"filename":"image_02052025_15_32_25_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355397761","file1":"1355397757","file0":"1355397752","file4":"1355397767","file5":"1355397769","file3":"1355397764"},"map_files_photo_id_array":[{"photo_id":"1355397769","filename":"file5"},{"photo_id":"1355397761","filename":"file2"},{"photo_id":"1355397767","filename":"file4"},{"photo_id":"1355397757","filename":"file1"},{"photo_id":"1355397752","filename":"file0"},{"photo_id":"1355397764","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355397764":["hashtag1","hashtag2"]},{"1355397767":["hashtag1","hashtag2"]},{"1355397752":["hashtag1","hashtag2"]},{"1355397761":["hashtag1","hashtag2"]},{"1355397769":["hashtag1","hashtag2"]},{"1355397757":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355397764, 1355397767, 1355397752, 1355397761, 1355397769, 1355397757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.158931732177734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:45:32.812094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/33/image_02052025_15_33_35_10374.jpg', '/home/pi/Desktop/images/02052025/15/33/image_02052025_15_33_44_9342.jpg', '/home/pi/Desktop/images/02052025/15/33/image_02052025_15_34_05_10365.jpg', '/home/pi/Desktop/images/02052025/15/34/image_02052025_15_34_15_9387.jpg', '/home/pi/Desktop/images/02052025/15/34/image_02052025_15_34_45_9396.jpg', '/home/pi/Desktop/images/02052025/15/34/image_02052025_15_34_55_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/33/image_02052025_15_33_35_10374.jpg
/home/pi/Desktop/images/02052025/15/33/image_02052025_15_33_44_9342.jpg
/home/pi/Desktop/images/02052025/15/33/image_02052025_15_34_05_10365.jpg
/home/pi/Desktop/images/02052025/15/34/image_02052025_15_34_15_9387.jpg
/home/pi/Desktop/images/02052025/15/34/image_02052025_15_34_45_9396.jpg
/home/pi/Desktop/images/02052025/15/34/image_02052025_15_34_55_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355397810","1355397785","1355397793","1355397811","1355397802","1355397789"],"photo_ids_order":["1355397785","1355397789","1355397793","1355397802","1355397810","1355397811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/46a4329f76b386d6d4e0049f63a992fa.jpg","text":"TemporaryFile(/tmp/multipartBody5435572104098325797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200793269,"filename":"image_02052025_15_34_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/5/2/90cc9cf54f9696ff19339e7164d6f62c.jpg","text":"TemporaryFile(/tmp/multipartBody503200172376653649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200793269,"filename":"image_02052025_15_33_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/5/2/e589df8d901df74397b66a73b251a91a.jpg","text":"TemporaryFile(/tmp/multipartBody4982579527489088686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200793269,"filename":"image_02052025_15_34_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/5/2/d72ad0d3bbddcccbb8752ecc9d2057d8.jpg","text":"TemporaryFile(/tmp/multipartBody3139179976161560472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200793269,"filename":"image_02052025_15_34_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/5/2/37fd1782ad11a4122a27f6d950a7b4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7357683393310847608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200793269,"filename":"image_02052025_15_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/5/2/8a5a3edd2b625f7a1ea20c91ebf4374a.jpg","text":"TemporaryFile(/tmp/multipartBody4425726600617053590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200793269,"filename":"image_02052025_15_33_44_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355397793","file1":"1355397789","file0":"1355397785","file4":"1355397810","file5":"1355397811","file3":"1355397802"},"map_files_photo_id_array":[{"photo_id":"1355397811","filename":"file5"},{"photo_id":"1355397793","filename":"file2"},{"photo_id":"1355397810","filename":"file4"},{"photo_id":"1355397789","filename":"file1"},{"photo_id":"1355397785","filename":"file0"},{"photo_id":"1355397802","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355397810":["hashtag1","hashtag2"]},{"1355397785":["hashtag1","hashtag2"]},{"1355397793":["hashtag1","hashtag2"]},{"1355397811":["hashtag1","hashtag2"]},{"1355397802":["hashtag1","hashtag2"]},{"1355397789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355397810, 1355397785, 1355397793, 1355397811, 1355397802, 1355397789)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1355397793 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02052025/15/33/image_02052025_15_34_05_10365.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 53.74717354774475 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:46:32.910462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/34/image_02052025_15_35_05_9539.jpg', '/home/pi/Desktop/images/02052025/15/35/image_02052025_15_35_15_10367.jpg', '/home/pi/Desktop/images/02052025/15/35/image_02052025_15_35_24_9380.jpg', '/home/pi/Desktop/images/02052025/15/35/image_02052025_15_35_35_10456.jpg', '/home/pi/Desktop/images/02052025/15/35/image_02052025_15_35_45_10365.jpg', '/home/pi/Desktop/images/02052025/15/35/image_02052025_15_35_55_9489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/34/image_02052025_15_35_05_9539.jpg
/home/pi/Desktop/images/02052025/15/35/image_02052025_15_35_15_10367.jpg
/home/pi/Desktop/images/02052025/15/35/image_02052025_15_35_24_9380.jpg
/home/pi/Desktop/images/02052025/15/35/image_02052025_15_35_35_10456.jpg
/home/pi/Desktop/images/02052025/15/35/image_02052025_15_35_45_10365.jpg
/home/pi/Desktop/images/02052025/15/35/image_02052025_15_35_55_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":["1355397858","1355397860","1355397854","1355397859","1355397844","1355397840"],"photo_ids_order":["1355397840","1355397844","1355397854","1355397858","1355397859","1355397860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e9d9b32ff9055d3ed3356e36dbc862d.jpg","text":"TemporaryFile(/tmp/multipartBody6222320782673605992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200853532,"filename":"image_02052025_15_35_35_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/42478406426fc698957887923c04a9e9.jpg","text":"TemporaryFile(/tmp/multipartBody5340664562924810002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200853532,"filename":"image_02052025_15_35_55_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/06c161bcc8a4b3cdd0543bb494c38bf4.jpg","text":"TemporaryFile(/tmp/multipartBody7866448807616364472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200853532,"filename":"image_02052025_15_35_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/5/2/42a289c2818a980f8e5f88b57f4c963b.jpg","text":"TemporaryFile(/tmp/multipartBody732833707003635669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200853532,"filename":"image_02052025_15_35_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/df414939cfcb7b7a2b7aea8ad5f3f2eb.jpg","text":"TemporaryFile(/tmp/multipartBody414479089158161221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200853532,"filename":"image_02052025_15_35_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/369e747d51204ba1863b2ab53d56b705.jpg","text":"TemporaryFile(/tmp/multipartBody719712829776084566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200853532,"filename":"image_02052025_15_35_05_9539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355397854","file1":"1355397844","file0":"1355397840","file4":"1355397859","file5":"1355397860","file3":"1355397858"},"map_files_photo_id_array":[{"photo_id":"1355397860","filename":"file5"},{"photo_id":"1355397854","filename":"file2"},{"photo_id":"1355397859","filename":"file4"},{"photo_id":"1355397844","filename":"file1"},{"photo_id":"1355397840","filename":"file0"},{"photo_id":"1355397858","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355397858":["hashtag1","hashtag2"]},{"1355397860":["hashtag1","hashtag2"]},{"1355397854":["hashtag1","hashtag2"]},{"1355397859":["hashtag1","hashtag2"]},{"1355397844":["hashtag1","hashtag2"]},{"1355397840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355397858, 1355397860, 1355397854, 1355397859, 1355397844, 1355397840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.155855655670166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:47:33.058710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/35/image_02052025_15_36_05_10356.jpg', '/home/pi/Desktop/images/02052025/15/36/image_02052025_15_36_14_9481.jpg', '/home/pi/Desktop/images/02052025/15/36/image_02052025_15_36_25_10468.jpg', '/home/pi/Desktop/images/02052025/15/36/image_02052025_15_36_34_9349.jpg', '/home/pi/Desktop/images/02052025/15/36/image_02052025_15_36_45_10351.jpg', '/home/pi/Desktop/images/02052025/15/36/image_02052025_15_36_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/35/image_02052025_15_36_05_10356.jpg
/home/pi/Desktop/images/02052025/15/36/image_02052025_15_36_14_9481.jpg
/home/pi/Desktop/images/02052025/15/36/image_02052025_15_36_25_10468.jpg
/home/pi/Desktop/images/02052025/15/36/image_02052025_15_36_34_9349.jpg
/home/pi/Desktop/images/02052025/15/36/image_02052025_15_36_45_10351.jpg
/home/pi/Desktop/images/02052025/15/36/image_02052025_15_36_55_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355397890","1355397880","1355397882","1355397891","1355397885","1355397888"],"photo_ids_order":["1355397880","1355397882","1355397885","1355397888","1355397890","1355397891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fde603447194326fa2dbe7f1fa34b4c3.jpg","text":"TemporaryFile(/tmp/multipartBody2725409056001611592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200913522,"filename":"image_02052025_15_36_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/5/2/803240c7c2e0f4a31ce0904416058501.jpg","text":"TemporaryFile(/tmp/multipartBody5037918190485910230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200913522,"filename":"image_02052025_15_36_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/5/2/ecea155647447b00cd652271bc23e9d1.jpg","text":"TemporaryFile(/tmp/multipartBody7990017437004787614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200913522,"filename":"image_02052025_15_36_14_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9c39f54711cbf147cdf00464a9c9d1c.jpg","text":"TemporaryFile(/tmp/multipartBody3047781007320101455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200913522,"filename":"image_02052025_15_36_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/5/2/4248604809de296e9c0c0bbc0da5c9e1.jpg","text":"TemporaryFile(/tmp/multipartBody2630319084743947229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200913522,"filename":"image_02052025_15_36_25_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3541702eda4ce46cf629ef895042183f.jpg","text":"TemporaryFile(/tmp/multipartBody3172023847493660206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200913522,"filename":"image_02052025_15_36_34_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355397885","file1":"1355397882","file0":"1355397880","file4":"1355397890","file5":"1355397891","file3":"1355397888"},"map_files_photo_id_array":[{"photo_id":"1355397891","filename":"file5"},{"photo_id":"1355397885","filename":"file2"},{"photo_id":"1355397890","filename":"file4"},{"photo_id":"1355397882","filename":"file1"},{"photo_id":"1355397880","filename":"file0"},{"photo_id":"1355397888","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355397890":["hashtag1","hashtag2"]},{"1355397880":["hashtag1","hashtag2"]},{"1355397882":["hashtag1","hashtag2"]},{"1355397891":["hashtag1","hashtag2"]},{"1355397885":["hashtag1","hashtag2"]},{"1355397888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355397890, 1355397880, 1355397882, 1355397891, 1355397885, 1355397888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.195860624313354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:48:32.251712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/36/image_02052025_15_37_04_9381.jpg', '/home/pi/Desktop/images/02052025/15/37/image_02052025_15_37_15_10453.jpg', '/home/pi/Desktop/images/02052025/15/37/image_02052025_15_37_25_10435.jpg', '/home/pi/Desktop/images/02052025/15/37/image_02052025_15_37_35_9409.jpg', '/home/pi/Desktop/images/02052025/15/37/image_02052025_15_37_45_10359.jpg', '/home/pi/Desktop/images/02052025/15/37/image_02052025_15_37_55_9478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/36/image_02052025_15_37_04_9381.jpg
/home/pi/Desktop/images/02052025/15/37/image_02052025_15_37_15_10453.jpg
/home/pi/Desktop/images/02052025/15/37/image_02052025_15_37_25_10435.jpg
/home/pi/Desktop/images/02052025/15/37/image_02052025_15_37_35_9409.jpg
/home/pi/Desktop/images/02052025/15/37/image_02052025_15_37_45_10359.jpg
/home/pi/Desktop/images/02052025/15/37/image_02052025_15_37_55_9478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355397911","1355397929","1355397920","1355397923","1355397916","1355397927"],"photo_ids_order":["1355397911","1355397916","1355397920","1355397923","1355397927","1355397929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ef76a3b3e9a8a1694437d553171b05f4.jpg","text":"TemporaryFile(/tmp/multipartBody2115371424750640458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200972710,"filename":"image_02052025_15_37_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/5/2/26f704798d9c3362ce33f517d90c0a1a.jpg","text":"TemporaryFile(/tmp/multipartBody1465639478759315571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200972710,"filename":"image_02052025_15_37_55_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/274dc047090f898ad58e96a3522c4960.jpg","text":"TemporaryFile(/tmp/multipartBody2790841456474879165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200972710,"filename":"image_02052025_15_37_25_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa55b1ab0755f450fa9a035af3de0ede.jpg","text":"TemporaryFile(/tmp/multipartBody3814201593105085166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200972710,"filename":"image_02052025_15_37_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/5/2/55beb8524e979647d5d091c4ea273a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8558182248063688017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200972710,"filename":"image_02052025_15_37_15_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a03f131c8d988d3d7ef4fc7f609b8e11.jpg","text":"TemporaryFile(/tmp/multipartBody2249037196959486191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746200972710,"filename":"image_02052025_15_37_45_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355397920","file1":"1355397916","file0":"1355397911","file4":"1355397927","file5":"1355397929","file3":"1355397923"},"map_files_photo_id_array":[{"photo_id":"1355397929","filename":"file5"},{"photo_id":"1355397920","filename":"file2"},{"photo_id":"1355397927","filename":"file4"},{"photo_id":"1355397916","filename":"file1"},{"photo_id":"1355397911","filename":"file0"},{"photo_id":"1355397923","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355397911":["hashtag1","hashtag2"]},{"1355397929":["hashtag1","hashtag2"]},{"1355397920":["hashtag1","hashtag2"]},{"1355397923":["hashtag1","hashtag2"]},{"1355397916":["hashtag1","hashtag2"]},{"1355397927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355397911, 1355397929, 1355397920, 1355397923, 1355397916, 1355397927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.847671031951904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:49:32.376046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/37/image_02052025_15_38_05_10417.jpg', '/home/pi/Desktop/images/02052025/15/38/image_02052025_15_38_14_9371.jpg', '/home/pi/Desktop/images/02052025/15/38/image_02052025_15_38_25_10374.jpg', '/home/pi/Desktop/images/02052025/15/38/image_02052025_15_38_35_10345.jpg', '/home/pi/Desktop/images/02052025/15/38/image_02052025_15_38_44_9357.jpg', '/home/pi/Desktop/images/02052025/15/38/image_02052025_15_38_55_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/37/image_02052025_15_38_05_10417.jpg
/home/pi/Desktop/images/02052025/15/38/image_02052025_15_38_14_9371.jpg
/home/pi/Desktop/images/02052025/15/38/image_02052025_15_38_25_10374.jpg
/home/pi/Desktop/images/02052025/15/38/image_02052025_15_38_35_10345.jpg
/home/pi/Desktop/images/02052025/15/38/image_02052025_15_38_44_9357.jpg
/home/pi/Desktop/images/02052025/15/38/image_02052025_15_38_55_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355398302","1355398193","1355398246","1355398036","1355398138","1355398068"],"photo_ids_order":["1355398036","1355398068","1355398138","1355398193","1355398246","1355398302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d605479b5e54c2e3a4ea1f31c18d2ab.jpg","text":"TemporaryFile(/tmp/multipartBody7694036958468995802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201032845,"filename":"image_02052025_15_38_55_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc97f2372a88b03040a781f1d71751a2.jpg","text":"TemporaryFile(/tmp/multipartBody7047250478506962091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201032845,"filename":"image_02052025_15_38_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/5/2/2da27d082e5a568be34e59963902777e.jpg","text":"TemporaryFile(/tmp/multipartBody4630146938680006793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201032845,"filename":"image_02052025_15_38_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/5/2/bb036d0ca332c5791035244903396c24.jpg","text":"TemporaryFile(/tmp/multipartBody6742632464321884864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201032845,"filename":"image_02052025_15_38_05_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ef7dea8820f632bb78aa834a7d1866ce.jpg","text":"TemporaryFile(/tmp/multipartBody1159502718726291030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201032845,"filename":"image_02052025_15_38_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/5/2/5822892698f6b5ecea89688aac9881ff.jpg","text":"TemporaryFile(/tmp/multipartBody8666845357400181959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201032845,"filename":"image_02052025_15_38_14_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355398138","file1":"1355398068","file0":"1355398036","file4":"1355398246","file5":"1355398302","file3":"1355398193"},"map_files_photo_id_array":[{"photo_id":"1355398302","filename":"file5"},{"photo_id":"1355398138","filename":"file2"},{"photo_id":"1355398246","filename":"file4"},{"photo_id":"1355398068","filename":"file1"},{"photo_id":"1355398036","filename":"file0"},{"photo_id":"1355398193","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355398302":["hashtag1","hashtag2"]},{"1355398193":["hashtag1","hashtag2"]},{"1355398246":["hashtag1","hashtag2"]},{"1355398036":["hashtag1","hashtag2"]},{"1355398138":["hashtag1","hashtag2"]},{"1355398068":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355398302, 1355398193, 1355398246, 1355398036, 1355398138, 1355398068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79514002799988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:50:32.632816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/38/image_02052025_15_39_05_10356.jpg', '/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_14_9283.jpg', '/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_25_10362.jpg', '/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_35_10428.jpg', '/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_45_9403.jpg', '/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/38/image_02052025_15_39_05_10356.jpg
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_14_9283.jpg
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_25_10362.jpg
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_35_10428.jpg
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_45_9403.jpg
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_55_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3756141662597656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 17:50:42.538091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/38/image_02052025_15_39_05_10356.jpg', '/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_14_9283.jpg', '/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_25_10362.jpg', '/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_35_10428.jpg', '/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_45_9403.jpg', '/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/38/image_02052025_15_39_05_10356.jpg
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_14_9283.jpg
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_25_10362.jpg
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_35_10428.jpg
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_45_9403.jpg
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_39_55_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":["1355399533","1355399050","1355399245","1355399361","1355399163","1355399307"],"photo_ids_order":["1355399050","1355399163","1355399245","1355399307","1355399361","1355399533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5f94c6663bf26ff01755e2dcdaf8d241.jpg","text":"TemporaryFile(/tmp/multipartBody2948160874007614943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201103025,"filename":"image_02052025_15_39_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e37197bf77a702a853fdd7687e32df3.jpg","text":"TemporaryFile(/tmp/multipartBody6753728844353629070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201103025,"filename":"image_02052025_15_39_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/5/2/bfce7b8cc522cb9b4a926233fb0008d2.jpg","text":"TemporaryFile(/tmp/multipartBody5063233511146921750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201103025,"filename":"image_02052025_15_39_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/370f06e9e07faff1252cda97bc7c2a31.jpg","text":"TemporaryFile(/tmp/multipartBody3048484619825167772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201103025,"filename":"image_02052025_15_39_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/5/2/3c615eb26ee7dce7a75ed6566152db5b.jpg","text":"TemporaryFile(/tmp/multipartBody6354300359447650403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201103025,"filename":"image_02052025_15_39_14_9283.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7c681108f2d9e402e54bae1ae607c66.jpg","text":"TemporaryFile(/tmp/multipartBody6678237685504964249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201103025,"filename":"image_02052025_15_39_35_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355399245","file1":"1355399163","file0":"1355399050","file4":"1355399361","file5":"1355399533","file3":"1355399307"},"map_files_photo_id_array":[{"photo_id":"1355399533","filename":"file5"},{"photo_id":"1355399245","filename":"file2"},{"photo_id":"1355399361","filename":"file4"},{"photo_id":"1355399163","filename":"file1"},{"photo_id":"1355399050","filename":"file0"},{"photo_id":"1355399307","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355399533":["hashtag1","hashtag2"]},{"1355399050":["hashtag1","hashtag2"]},{"1355399245":["hashtag1","hashtag2"]},{"1355399361":["hashtag1","hashtag2"]},{"1355399163":["hashtag1","hashtag2"]},{"1355399307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355399533, 1355399050, 1355399245, 1355399361, 1355399163, 1355399307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17690682411194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:51:32.803323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/39/image_02052025_15_40_05_9481.jpg', '/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_15_10360.jpg', '/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_25_10378.jpg', '/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_35_9424.jpg', '/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_45_10355.jpg', '/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_54_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_40_05_9481.jpg
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_15_10360.jpg
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_25_10378.jpg
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_35_9424.jpg
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_45_10355.jpg
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_54_9399.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37610769271850586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 17:51:42.648235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/39/image_02052025_15_40_05_9481.jpg', '/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_15_10360.jpg', '/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_25_10378.jpg', '/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_35_9424.jpg', '/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_45_10355.jpg', '/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_54_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/39/image_02052025_15_40_05_9481.jpg
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_15_10360.jpg
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_25_10378.jpg
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_35_9424.jpg
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_45_10355.jpg
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_40_54_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":["1355400229","1355400336","1355400284","1355400389","1355400161","1355400101"],"photo_ids_order":["1355400101","1355400161","1355400229","1355400284","1355400336","1355400389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e2568c00f60f45ba1b71b06d01666d7.jpg","text":"TemporaryFile(/tmp/multipartBody2671630077489816294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201163123,"filename":"image_02052025_15_40_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/5/2/91d8ee5be78151b74f897a694fbd343a.jpg","text":"TemporaryFile(/tmp/multipartBody7616357995402719092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201163123,"filename":"image_02052025_15_40_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/5/2/2223c40dd4af011eba75e8c284aa8d8c.jpg","text":"TemporaryFile(/tmp/multipartBody5139008115787621734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201163123,"filename":"image_02052025_15_40_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/5/2/bb957a64eaf4ee33a758923a3d10da88.jpg","text":"TemporaryFile(/tmp/multipartBody1301465283846494617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201163123,"filename":"image_02052025_15_40_54_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97ed4ddce7a2d1341fee5fdd25e5abca.jpg","text":"TemporaryFile(/tmp/multipartBody6855517242649854901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201163123,"filename":"image_02052025_15_40_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/5/2/32d01ba8c35b049ef213c95291ec189c.jpg","text":"TemporaryFile(/tmp/multipartBody4159053856397604276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201163123,"filename":"image_02052025_15_40_05_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355400229","file1":"1355400161","file0":"1355400101","file4":"1355400336","file5":"1355400389","file3":"1355400284"},"map_files_photo_id_array":[{"photo_id":"1355400389","filename":"file5"},{"photo_id":"1355400229","filename":"file2"},{"photo_id":"1355400336","filename":"file4"},{"photo_id":"1355400161","filename":"file1"},{"photo_id":"1355400101","filename":"file0"},{"photo_id":"1355400284","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355400229":["hashtag1","hashtag2"]},{"1355400336":["hashtag1","hashtag2"]},{"1355400284":["hashtag1","hashtag2"]},{"1355400389":["hashtag1","hashtag2"]},{"1355400161":["hashtag1","hashtag2"]},{"1355400101":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355400229, 1355400336, 1355400284, 1355400389, 1355400161, 1355400101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.272265672683716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:52:32.967028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/40/image_02052025_15_41_05_10479.jpg', '/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_15_10360.jpg', '/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_25_9452.jpg', '/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_35_10341.jpg', '/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_45_9469.jpg', '/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_55_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_41_05_10479.jpg
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_15_10360.jpg
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_25_9452.jpg
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_35_10341.jpg
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_45_9469.jpg
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_55_10373.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3791828155517578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 17:52:42.922190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/40/image_02052025_15_41_05_10479.jpg', '/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_15_10360.jpg', '/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_25_9452.jpg', '/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_35_10341.jpg', '/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_45_9469.jpg', '/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_55_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/40/image_02052025_15_41_05_10479.jpg
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_15_10360.jpg
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_25_9452.jpg
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_35_10341.jpg
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_45_9469.jpg
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_41_55_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355401123","1355401024","1355400954","1355400861","1355401073","1355401189"],"photo_ids_order":["1355400861","1355400954","1355401024","1355401073","1355401123","1355401189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/92d183dcf3c09eaedde0a092b24ffd53.jpg","text":"TemporaryFile(/tmp/multipartBody6593842828881948907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201223397,"filename":"image_02052025_15_41_45_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b50f4656b5ca3f22d930b39232e37e51.jpg","text":"TemporaryFile(/tmp/multipartBody3235030987098348290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201223397,"filename":"image_02052025_15_41_25_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d4f3b41931a0a208f69d41a0f5306dc.jpg","text":"TemporaryFile(/tmp/multipartBody8888380493011251793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201223397,"filename":"image_02052025_15_41_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/5/2/93b6de306149519b2888a2c0a3c5e525.jpg","text":"TemporaryFile(/tmp/multipartBody7368574944867623369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201223397,"filename":"image_02052025_15_41_05_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8b549da29d9f100456d78290b9ea0536.jpg","text":"TemporaryFile(/tmp/multipartBody1738210617019512050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201223397,"filename":"image_02052025_15_41_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/5/2/f9b19ac4b2715cd6dd7e1dabe0d4d421.jpg","text":"TemporaryFile(/tmp/multipartBody8851958219132966063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201223397,"filename":"image_02052025_15_41_55_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355401024","file1":"1355400954","file0":"1355400861","file4":"1355401123","file5":"1355401189","file3":"1355401073"},"map_files_photo_id_array":[{"photo_id":"1355401189","filename":"file5"},{"photo_id":"1355401024","filename":"file2"},{"photo_id":"1355401123","filename":"file4"},{"photo_id":"1355400954","filename":"file1"},{"photo_id":"1355400861","filename":"file0"},{"photo_id":"1355401073","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355401123":["hashtag1","hashtag2"]},{"1355401024":["hashtag1","hashtag2"]},{"1355400954":["hashtag1","hashtag2"]},{"1355400861":["hashtag1","hashtag2"]},{"1355401073":["hashtag1","hashtag2"]},{"1355401189":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355401123, 1355401024, 1355400954, 1355400861, 1355401073, 1355401189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77541923522949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:53:33.304974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/41/image_02052025_15_42_04_9402.jpg', '/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_15_10389.jpg', '/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_25_10375.jpg', '/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_34_9400.jpg', '/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_45_10449.jpg', '/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_54_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_42_04_9402.jpg
/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_15_10389.jpg
/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_25_10375.jpg
/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_34_9400.jpg
/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_45_10449.jpg
/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_54_9434.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3736741542816162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 17:53:43.285734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/41/image_02052025_15_42_04_9402.jpg', '/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_15_10389.jpg', '/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_25_10375.jpg', '/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_34_9400.jpg', '/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_45_10449.jpg', '/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_54_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/41/image_02052025_15_42_04_9402.jpg
/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_15_10389.jpg
/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_25_10375.jpg
/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_34_9400.jpg
/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_45_10449.jpg
/home/pi/Desktop/images/02052025/15/42/image_02052025_15_42_54_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355401404","1355401406","1355401399","1355401402","1355401405","1355401395"],"photo_ids_order":["1355401395","1355401399","1355401402","1355401404","1355401405","1355401406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a992d15ba240846ba5c4fb7da9d41c9.jpg","text":"TemporaryFile(/tmp/multipartBody5376960153102937814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201283768,"filename":"image_02052025_15_42_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/5/2/989d95c5542df1905bc57e7a9a0f877f.jpg","text":"TemporaryFile(/tmp/multipartBody8159798333207343747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201283768,"filename":"image_02052025_15_42_54_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/04e0f7f1794dd2ea156f48b2a67cfe64.jpg","text":"TemporaryFile(/tmp/multipartBody5512949639226775366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201283768,"filename":"image_02052025_15_42_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e79f6f216abb206ff8ca85d8baf83204.jpg","text":"TemporaryFile(/tmp/multipartBody3477359834915773325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201283768,"filename":"image_02052025_15_42_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a9e8124c07aff27de7620ed763bd6f6.jpg","text":"TemporaryFile(/tmp/multipartBody1784318017788541008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201283768,"filename":"image_02052025_15_42_45_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e6abce7527b2e94304e618181e4add9.jpg","text":"TemporaryFile(/tmp/multipartBody4944796634804018264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201283768,"filename":"image_02052025_15_42_04_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355401402","file1":"1355401399","file0":"1355401395","file4":"1355401405","file5":"1355401406","file3":"1355401404"},"map_files_photo_id_array":[{"photo_id":"1355401406","filename":"file5"},{"photo_id":"1355401402","filename":"file2"},{"photo_id":"1355401405","filename":"file4"},{"photo_id":"1355401399","filename":"file1"},{"photo_id":"1355401395","filename":"file0"},{"photo_id":"1355401404","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355401404":["hashtag1","hashtag2"]},{"1355401406":["hashtag1","hashtag2"]},{"1355401399":["hashtag1","hashtag2"]},{"1355401402":["hashtag1","hashtag2"]},{"1355401405":["hashtag1","hashtag2"]},{"1355401395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355401404, 1355401406, 1355401399, 1355401402, 1355401405, 1355401395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09841227531433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:54:32.439482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/42/image_02052025_15_43_05_10364.jpg', '/home/pi/Desktop/images/02052025/15/43/image_02052025_15_43_15_10350.jpg', '/home/pi/Desktop/images/02052025/15/43/image_02052025_15_43_25_9508.jpg', '/home/pi/Desktop/images/02052025/15/43/image_02052025_15_43_35_10373.jpg', '/home/pi/Desktop/images/02052025/15/43/image_02052025_15_43_44_9424.jpg', '/home/pi/Desktop/images/02052025/15/43/image_02052025_15_43_55_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/42/image_02052025_15_43_05_10364.jpg
/home/pi/Desktop/images/02052025/15/43/image_02052025_15_43_15_10350.jpg
/home/pi/Desktop/images/02052025/15/43/image_02052025_15_43_25_9508.jpg
/home/pi/Desktop/images/02052025/15/43/image_02052025_15_43_35_10373.jpg
/home/pi/Desktop/images/02052025/15/43/image_02052025_15_43_44_9424.jpg
/home/pi/Desktop/images/02052025/15/43/image_02052025_15_43_55_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355401434","1355401442","1355401430","1355401444","1355401438","1355401426"],"photo_ids_order":["1355401426","1355401430","1355401434","1355401438","1355401442","1355401444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af12e1a5aee9100bae588e2c9bdb2a28.jpg","text":"TemporaryFile(/tmp/multipartBody6971550391002414311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201332905,"filename":"image_02052025_15_43_25_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b85e27d7decf96c1057ca6be7c7069e.jpg","text":"TemporaryFile(/tmp/multipartBody5908401998670699978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201332905,"filename":"image_02052025_15_43_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/5/2/0f3e89b504551a2c6e6c5271ec19ec8d.jpg","text":"TemporaryFile(/tmp/multipartBody7250552666376631306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201332905,"filename":"image_02052025_15_43_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/5/2/fc5843613d0986038a3b9e45f9c9be56.jpg","text":"TemporaryFile(/tmp/multipartBody6140152344717549627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201332905,"filename":"image_02052025_15_43_55_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6824d40e04311640add6708ee83f2584.jpg","text":"TemporaryFile(/tmp/multipartBody8842050160035286673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201332905,"filename":"image_02052025_15_43_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6d92112ac48c2634fea96792b555ae9.jpg","text":"TemporaryFile(/tmp/multipartBody1601293497203822310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201332905,"filename":"image_02052025_15_43_05_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355401434","file1":"1355401430","file0":"1355401426","file4":"1355401442","file5":"1355401444","file3":"1355401438"},"map_files_photo_id_array":[{"photo_id":"1355401444","filename":"file5"},{"photo_id":"1355401434","filename":"file2"},{"photo_id":"1355401442","filename":"file4"},{"photo_id":"1355401430","filename":"file1"},{"photo_id":"1355401426","filename":"file0"},{"photo_id":"1355401438","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355401434":["hashtag1","hashtag2"]},{"1355401442":["hashtag1","hashtag2"]},{"1355401430":["hashtag1","hashtag2"]},{"1355401444":["hashtag1","hashtag2"]},{"1355401438":["hashtag1","hashtag2"]},{"1355401426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355401434, 1355401442, 1355401430, 1355401444, 1355401438, 1355401426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.400131464004517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:55:32.608868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/43/image_02052025_15_44_05_10366.jpg', '/home/pi/Desktop/images/02052025/15/44/image_02052025_15_44_15_9388.jpg', '/home/pi/Desktop/images/02052025/15/44/image_02052025_15_44_25_10368.jpg', '/home/pi/Desktop/images/02052025/15/44/image_02052025_15_44_45_10369.jpg', '/home/pi/Desktop/images/02052025/15/44/image_02052025_15_44_55_10361.jpg', '/home/pi/Desktop/images/02052025/15/44/image_02052025_15_45_05_9475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/43/image_02052025_15_44_05_10366.jpg
/home/pi/Desktop/images/02052025/15/44/image_02052025_15_44_15_9388.jpg
/home/pi/Desktop/images/02052025/15/44/image_02052025_15_44_25_10368.jpg
/home/pi/Desktop/images/02052025/15/44/image_02052025_15_44_45_10369.jpg
/home/pi/Desktop/images/02052025/15/44/image_02052025_15_44_55_10361.jpg
/home/pi/Desktop/images/02052025/15/44/image_02052025_15_45_05_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":["1355401482","1355401476","1355401464","1355401460","1355401471","1355401480"],"photo_ids_order":["1355401460","1355401464","1355401471","1355401476","1355401480","1355401482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d8afc826272848fdb7e322639076b978.jpg","text":"TemporaryFile(/tmp/multipartBody4334843393696272692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201393069,"filename":"image_02052025_15_45_05_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d86d7a4ff25a018575da5689e544cc7.jpg","text":"TemporaryFile(/tmp/multipartBody6808832090041444618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201393069,"filename":"image_02052025_15_44_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/5/2/d15f93d1e96473399c1c90f2bb7b369f.jpg","text":"TemporaryFile(/tmp/multipartBody5539467450897166875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201393069,"filename":"image_02052025_15_44_15_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/93b66ee68fcf74d62514cb9e058c1094.jpg","text":"TemporaryFile(/tmp/multipartBody8722850612087457071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201393069,"filename":"image_02052025_15_44_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/5/2/9872762f5305e342559afb5b6c25ee69.jpg","text":"TemporaryFile(/tmp/multipartBody4627999784326345149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201393069,"filename":"image_02052025_15_44_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/5/2/9799da1ca9a5081571b5249c2e6a4877.jpg","text":"TemporaryFile(/tmp/multipartBody6319451733712528902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201393069,"filename":"image_02052025_15_44_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355401471","file1":"1355401464","file0":"1355401460","file4":"1355401480","file5":"1355401482","file3":"1355401476"},"map_files_photo_id_array":[{"photo_id":"1355401482","filename":"file5"},{"photo_id":"1355401471","filename":"file2"},{"photo_id":"1355401480","filename":"file4"},{"photo_id":"1355401464","filename":"file1"},{"photo_id":"1355401460","filename":"file0"},{"photo_id":"1355401476","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355401482":["hashtag1","hashtag2"]},{"1355401476":["hashtag1","hashtag2"]},{"1355401464":["hashtag1","hashtag2"]},{"1355401460":["hashtag1","hashtag2"]},{"1355401471":["hashtag1","hashtag2"]},{"1355401480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355401482, 1355401476, 1355401464, 1355401460, 1355401471, 1355401480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24034810066223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:56:32.730509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/45/image_02052025_15_45_15_10466.jpg', '/home/pi/Desktop/images/02052025/15/45/image_02052025_15_45_24_9361.jpg', '/home/pi/Desktop/images/02052025/15/45/image_02052025_15_45_35_10357.jpg', '/home/pi/Desktop/images/02052025/15/45/image_02052025_15_45_45_10341.jpg', '/home/pi/Desktop/images/02052025/15/45/image_02052025_15_45_54_9360.jpg', '/home/pi/Desktop/images/02052025/15/45/image_02052025_15_46_05_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/45/image_02052025_15_45_15_10466.jpg
/home/pi/Desktop/images/02052025/15/45/image_02052025_15_45_24_9361.jpg
/home/pi/Desktop/images/02052025/15/45/image_02052025_15_45_35_10357.jpg
/home/pi/Desktop/images/02052025/15/45/image_02052025_15_45_45_10341.jpg
/home/pi/Desktop/images/02052025/15/45/image_02052025_15_45_54_9360.jpg
/home/pi/Desktop/images/02052025/15/45/image_02052025_15_46_05_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":["1355402148","1355401977","1355401917","1355402036","1355401856","1355402089"],"photo_ids_order":["1355401856","1355401917","1355401977","1355402036","1355402089","1355402148"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86c78bec39a3a36d3fc6ff19ba9c19c7.jpg","text":"TemporaryFile(/tmp/multipartBody4686985253356909599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201453196,"filename":"image_02052025_15_46_05_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a139ccea3ddba082756baeebbd205eae.jpg","text":"TemporaryFile(/tmp/multipartBody68146915938492151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201453196,"filename":"image_02052025_15_45_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/5/2/f45ebafe8f88432c7ab75aa53111aad2.jpg","text":"TemporaryFile(/tmp/multipartBody6343848712908324326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201453196,"filename":"image_02052025_15_45_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/849c9df4740121ba27ac5f620bf2c0b3.jpg","text":"TemporaryFile(/tmp/multipartBody1555309808248768407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201453196,"filename":"image_02052025_15_45_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7fbcf44110f416b4892dcaec442f1e24.jpg","text":"TemporaryFile(/tmp/multipartBody194398882621419530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201453196,"filename":"image_02052025_15_45_15_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0838d83b6bdb54b693e1a48735dc80c4.jpg","text":"TemporaryFile(/tmp/multipartBody7351472171831766485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201453196,"filename":"image_02052025_15_45_54_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355401977","file1":"1355401917","file0":"1355401856","file4":"1355402089","file5":"1355402148","file3":"1355402036"},"map_files_photo_id_array":[{"photo_id":"1355402148","filename":"file5"},{"photo_id":"1355401977","filename":"file2"},{"photo_id":"1355402089","filename":"file4"},{"photo_id":"1355401917","filename":"file1"},{"photo_id":"1355401856","filename":"file0"},{"photo_id":"1355402036","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355402148":["hashtag1","hashtag2"]},{"1355401977":["hashtag1","hashtag2"]},{"1355401917":["hashtag1","hashtag2"]},{"1355402036":["hashtag1","hashtag2"]},{"1355401856":["hashtag1","hashtag2"]},{"1355402089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355402148, 1355401977, 1355401917, 1355402036, 1355401856, 1355402089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.629611492156982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:57:33.004434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_25_9364.jpg', '/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_35_10363.jpg', '/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_45_10349.jpg', '/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_55_9413.jpg', '/home/pi/Desktop/images/02052025/15/46/image_02052025_15_47_05_10355.jpg', '/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_14_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_25_9364.jpg
/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_35_10363.jpg
/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_45_10349.jpg
/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_55_9413.jpg
/home/pi/Desktop/images/02052025/15/46/image_02052025_15_47_05_10355.jpg
/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_14_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 17:59:03.796723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_25_9364.jpg', '/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_35_10363.jpg', '/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_45_10349.jpg', '/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_55_9413.jpg', '/home/pi/Desktop/images/02052025/15/46/image_02052025_15_47_05_10355.jpg', '/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_14_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_25_9364.jpg
/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_35_10363.jpg
/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_45_10349.jpg
/home/pi/Desktop/images/02052025/15/46/image_02052025_15_46_55_9413.jpg
/home/pi/Desktop/images/02052025/15/46/image_02052025_15_47_05_10355.jpg
/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_14_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355403725","1355403685","1355403868","1355403817","1355403651","1355403900"],"photo_ids_order":["1355403651","1355403685","1355403725","1355403817","1355403868","1355403900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d39880742efabf0b2b3fdfcc2a1a6945.jpg","text":"TemporaryFile(/tmp/multipartBody8374881237032261238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201604417,"filename":"image_02052025_15_46_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/5/2/c21dbe3515b63e450cd4e13931430b80.jpg","text":"TemporaryFile(/tmp/multipartBody202693028190661004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201604417,"filename":"image_02052025_15_46_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/5/2/0392b14c380422f2b37c7bcbac999b0f.jpg","text":"TemporaryFile(/tmp/multipartBody1944438558362664934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201604417,"filename":"image_02052025_15_47_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/5/2/868c9ad9b4f25b2a9b9927b1f88f2dfa.jpg","text":"TemporaryFile(/tmp/multipartBody732107256231597999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201604417,"filename":"image_02052025_15_46_55_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34bb67fcb2f17762a9542abd5b841f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3158857783874801738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201604417,"filename":"image_02052025_15_46_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c259ef603fd3a9c2cfde9f8d0aa8fb57.jpg","text":"TemporaryFile(/tmp/multipartBody7460930944342555968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201604417,"filename":"image_02052025_15_47_14_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355403725","file1":"1355403685","file0":"1355403651","file4":"1355403868","file5":"1355403900","file3":"1355403817"},"map_files_photo_id_array":[{"photo_id":"1355403900","filename":"file5"},{"photo_id":"1355403725","filename":"file2"},{"photo_id":"1355403868","filename":"file4"},{"photo_id":"1355403685","filename":"file1"},{"photo_id":"1355403651","filename":"file0"},{"photo_id":"1355403817","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355403725":["hashtag1","hashtag2"]},{"1355403685":["hashtag1","hashtag2"]},{"1355403868":["hashtag1","hashtag2"]},{"1355403817":["hashtag1","hashtag2"]},{"1355403651":["hashtag1","hashtag2"]},{"1355403900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355403725, 1355403685, 1355403868, 1355403817, 1355403651, 1355403900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15970802307129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 17:59:52.601149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_25_10399.jpg', '/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_35_10366.jpg', '/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_45_9393.jpg', '/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_55_10374.jpg', '/home/pi/Desktop/images/02052025/15/47/image_02052025_15_48_05_10360.jpg', '/home/pi/Desktop/images/02052025/15/48/image_02052025_15_48_15_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_25_10399.jpg
/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_35_10366.jpg
/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_45_9393.jpg
/home/pi/Desktop/images/02052025/15/47/image_02052025_15_47_55_10374.jpg
/home/pi/Desktop/images/02052025/15/47/image_02052025_15_48_05_10360.jpg
/home/pi/Desktop/images/02052025/15/48/image_02052025_15_48_15_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355404069","1355404654","1355404519","1355404182","1355404740","1355404370"],"photo_ids_order":["1355404069","1355404182","1355404370","1355404519","1355404654","1355404740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16724b425420e7165b7330b571d33e0d.jpg","text":"TemporaryFile(/tmp/multipartBody4075328745652021317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201653062,"filename":"image_02052025_15_47_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/72ff78a65ed2e8e6d8159f58162c3eb0.jpg","text":"TemporaryFile(/tmp/multipartBody3295428716153446477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201653062,"filename":"image_02052025_15_48_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/5/2/216cbbe1dc281c4a59fff3b59be6b382.jpg","text":"TemporaryFile(/tmp/multipartBody1907823077050458851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201653062,"filename":"image_02052025_15_47_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/5/2/a73ebab6bd14ecfa1648b1b1b572b29e.jpg","text":"TemporaryFile(/tmp/multipartBody2803238078340057129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201653062,"filename":"image_02052025_15_47_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/5/2/db111733b54df8be591f52af329ced0c.jpg","text":"TemporaryFile(/tmp/multipartBody7668815034627879984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201653062,"filename":"image_02052025_15_48_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/5/2/66ff5c2587b429d13735cac4cfbc8fa7.jpg","text":"TemporaryFile(/tmp/multipartBody2138452855443799020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201653062,"filename":"image_02052025_15_47_45_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355404370","file1":"1355404182","file0":"1355404069","file4":"1355404654","file5":"1355404740","file3":"1355404519"},"map_files_photo_id_array":[{"photo_id":"1355404740","filename":"file5"},{"photo_id":"1355404370","filename":"file2"},{"photo_id":"1355404654","filename":"file4"},{"photo_id":"1355404182","filename":"file1"},{"photo_id":"1355404069","filename":"file0"},{"photo_id":"1355404519","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355404069":["hashtag1","hashtag2"]},{"1355404654":["hashtag1","hashtag2"]},{"1355404519":["hashtag1","hashtag2"]},{"1355404182":["hashtag1","hashtag2"]},{"1355404740":["hashtag1","hashtag2"]},{"1355404370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355404069, 1355404654, 1355404519, 1355404182, 1355404740, 1355404370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 74.2235209941864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:01:33.391733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/48/image_02052025_15_48_25_10428.jpg', '/home/pi/Desktop/images/02052025/15/48/image_02052025_15_48_34_9357.jpg', '/home/pi/Desktop/images/02052025/15/48/image_02052025_15_48_54_9481.jpg', '/home/pi/Desktop/images/02052025/15/48/image_02052025_15_49_05_10355.jpg', '/home/pi/Desktop/images/02052025/15/49/image_02052025_15_49_15_10410.jpg', '/home/pi/Desktop/images/02052025/15/49/image_02052025_15_49_25_9462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/48/image_02052025_15_48_25_10428.jpg
/home/pi/Desktop/images/02052025/15/48/image_02052025_15_48_34_9357.jpg
/home/pi/Desktop/images/02052025/15/48/image_02052025_15_48_54_9481.jpg
/home/pi/Desktop/images/02052025/15/48/image_02052025_15_49_05_10355.jpg
/home/pi/Desktop/images/02052025/15/49/image_02052025_15_49_15_10410.jpg
/home/pi/Desktop/images/02052025/15/49/image_02052025_15_49_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":["1355404922","1355404936","1355404939","1355404896","1355404878","1355404874"],"photo_ids_order":["1355404874","1355404878","1355404896","1355404922","1355404936","1355404939"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ac7511bcdc0e28b32c723dd6ef301d5.jpg","text":"TemporaryFile(/tmp/multipartBody6584463355681620474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201753860,"filename":"image_02052025_15_49_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/5/2/d19e723e4da107350b00477331215aa5.jpg","text":"TemporaryFile(/tmp/multipartBody5906180865752026659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201753860,"filename":"image_02052025_15_49_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/5/2/34c045fa18b22fa87c89d7d8368e590e.jpg","text":"TemporaryFile(/tmp/multipartBody6975812134798088631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201753860,"filename":"image_02052025_15_49_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/5/2/0a4633ad42d89609901280bdb4fa3c31.jpg","text":"TemporaryFile(/tmp/multipartBody2355782476609655934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201753860,"filename":"image_02052025_15_48_54_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e99114207140e4ad0ad27e537ccf4f88.jpg","text":"TemporaryFile(/tmp/multipartBody7046737261599229065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201753860,"filename":"image_02052025_15_48_34_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5e87331ecc9849c2a3be71c00062489d.jpg","text":"TemporaryFile(/tmp/multipartBody2474203725591596149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201753860,"filename":"image_02052025_15_48_25_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355404896","file1":"1355404878","file0":"1355404874","file4":"1355404936","file5":"1355404939","file3":"1355404922"},"map_files_photo_id_array":[{"photo_id":"1355404939","filename":"file5"},{"photo_id":"1355404896","filename":"file2"},{"photo_id":"1355404936","filename":"file4"},{"photo_id":"1355404878","filename":"file1"},{"photo_id":"1355404874","filename":"file0"},{"photo_id":"1355404922","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355404922":["hashtag1","hashtag2"]},{"1355404936":["hashtag1","hashtag2"]},{"1355404939":["hashtag1","hashtag2"]},{"1355404896":["hashtag1","hashtag2"]},{"1355404878":["hashtag1","hashtag2"]},{"1355404874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355404922, 1355404936, 1355404939, 1355404896, 1355404878, 1355404874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.419565677642822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:02:32.527470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/49/image_02052025_15_49_35_10370.jpg', '/home/pi/Desktop/images/02052025/15/49/image_02052025_15_49_45_10372.jpg', '/home/pi/Desktop/images/02052025/15/49/image_02052025_15_49_55_9463.jpg', '/home/pi/Desktop/images/02052025/15/49/image_02052025_15_50_05_10353.jpg', '/home/pi/Desktop/images/02052025/15/50/image_02052025_15_50_15_9446.jpg', '/home/pi/Desktop/images/02052025/15/50/image_02052025_15_50_25_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/49/image_02052025_15_49_35_10370.jpg
/home/pi/Desktop/images/02052025/15/49/image_02052025_15_49_45_10372.jpg
/home/pi/Desktop/images/02052025/15/49/image_02052025_15_49_55_9463.jpg
/home/pi/Desktop/images/02052025/15/49/image_02052025_15_50_05_10353.jpg
/home/pi/Desktop/images/02052025/15/50/image_02052025_15_50_15_9446.jpg
/home/pi/Desktop/images/02052025/15/50/image_02052025_15_50_25_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355405003","1355404996","1355404981","1355404977","1355404986","1355404974"],"photo_ids_order":["1355404974","1355404977","1355404981","1355404986","1355404996","1355405003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a7d06ac56fa85f0e40578df73e96245.jpg","text":"TemporaryFile(/tmp/multipartBody4408789703838251802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201813000,"filename":"image_02052025_15_50_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/5/2/38aa5198617fd8efbb4a4395f1352ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6104305970680805984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201813000,"filename":"image_02052025_15_50_15_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b871bd37cd372e46c83998b8df1e3494.jpg","text":"TemporaryFile(/tmp/multipartBody6532130494217421279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201813000,"filename":"image_02052025_15_49_55_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc90635cf832a18c09268831f127d237.jpg","text":"TemporaryFile(/tmp/multipartBody4980302933060373371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201813000,"filename":"image_02052025_15_49_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/5/2/8c8bd726620ea55e14430592e4f067c0.jpg","text":"TemporaryFile(/tmp/multipartBody2600672168682951670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201813000,"filename":"image_02052025_15_50_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/80a16425adcf54c6187d14168c4ac0a0.jpg","text":"TemporaryFile(/tmp/multipartBody6385452550183397830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201813000,"filename":"image_02052025_15_49_35_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355404981","file1":"1355404977","file0":"1355404974","file4":"1355404996","file5":"1355405003","file3":"1355404986"},"map_files_photo_id_array":[{"photo_id":"1355405003","filename":"file5"},{"photo_id":"1355404981","filename":"file2"},{"photo_id":"1355404996","filename":"file4"},{"photo_id":"1355404977","filename":"file1"},{"photo_id":"1355404974","filename":"file0"},{"photo_id":"1355404986","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355405003":["hashtag1","hashtag2"]},{"1355404996":["hashtag1","hashtag2"]},{"1355404981":["hashtag1","hashtag2"]},{"1355404977":["hashtag1","hashtag2"]},{"1355404986":["hashtag1","hashtag2"]},{"1355404974":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355405003, 1355404996, 1355404981, 1355404977, 1355404986, 1355404974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.893337726593018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:03:32.713522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/50/image_02052025_15_50_45_9345.jpg', '/home/pi/Desktop/images/02052025/15/50/image_02052025_15_50_55_10361.jpg', '/home/pi/Desktop/images/02052025/15/50/image_02052025_15_51_04_9350.jpg', '/home/pi/Desktop/images/02052025/15/51/image_02052025_15_51_15_10436.jpg', '/home/pi/Desktop/images/02052025/15/51/image_02052025_15_51_25_10373.jpg', '/home/pi/Desktop/images/02052025/15/51/image_02052025_15_51_35_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/50/image_02052025_15_50_45_9345.jpg
/home/pi/Desktop/images/02052025/15/50/image_02052025_15_50_55_10361.jpg
/home/pi/Desktop/images/02052025/15/50/image_02052025_15_51_04_9350.jpg
/home/pi/Desktop/images/02052025/15/51/image_02052025_15_51_15_10436.jpg
/home/pi/Desktop/images/02052025/15/51/image_02052025_15_51_25_10373.jpg
/home/pi/Desktop/images/02052025/15/51/image_02052025_15_51_35_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":["1355405368","1355405422","1355405396","1355405243","1355405339","1355405306"],"photo_ids_order":["1355405243","1355405306","1355405339","1355405368","1355405396","1355405422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9962a40dfdf668ba2a2dcef75215185.jpg","text":"TemporaryFile(/tmp/multipartBody7845409592312517991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201873186,"filename":"image_02052025_15_51_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/5/2/2f7bab7844da01e025531ded3fdc5db4.jpg","text":"TemporaryFile(/tmp/multipartBody941598874518541281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201873186,"filename":"image_02052025_15_51_35_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/127a607817c1a2dd588b3971f63fc00e.jpg","text":"TemporaryFile(/tmp/multipartBody640044843486643780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201873186,"filename":"image_02052025_15_51_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/acb21b345868f7b076c12cadb2e58316.jpg","text":"TemporaryFile(/tmp/multipartBody3065596044574052776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201873186,"filename":"image_02052025_15_50_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/5/2/44b4b7e15f6e6dddeb33ddbd2e8138d4.jpg","text":"TemporaryFile(/tmp/multipartBody6218745338857735565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201873186,"filename":"image_02052025_15_51_04_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ae7a3d8cbed64d1f4fe482c2d34c2b4.jpg","text":"TemporaryFile(/tmp/multipartBody7168415134925702701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201873186,"filename":"image_02052025_15_50_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355405339","file1":"1355405306","file0":"1355405243","file4":"1355405396","file5":"1355405422","file3":"1355405368"},"map_files_photo_id_array":[{"photo_id":"1355405422","filename":"file5"},{"photo_id":"1355405339","filename":"file2"},{"photo_id":"1355405396","filename":"file4"},{"photo_id":"1355405306","filename":"file1"},{"photo_id":"1355405243","filename":"file0"},{"photo_id":"1355405368","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355405368":["hashtag1","hashtag2"]},{"1355405422":["hashtag1","hashtag2"]},{"1355405396":["hashtag1","hashtag2"]},{"1355405243":["hashtag1","hashtag2"]},{"1355405339":["hashtag1","hashtag2"]},{"1355405306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355405368, 1355405422, 1355405396, 1355405243, 1355405339, 1355405306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45825791358948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:04:32.739461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/51/image_02052025_15_51_45_10366.jpg', '/home/pi/Desktop/images/02052025/15/51/image_02052025_15_51_55_10360.jpg', '/home/pi/Desktop/images/02052025/15/51/image_02052025_15_52_05_9354.jpg', '/home/pi/Desktop/images/02052025/15/52/image_02052025_15_52_15_10354.jpg', '/home/pi/Desktop/images/02052025/15/52/image_02052025_15_52_24_9371.jpg', '/home/pi/Desktop/images/02052025/15/52/image_02052025_15_52_35_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/51/image_02052025_15_51_45_10366.jpg
/home/pi/Desktop/images/02052025/15/51/image_02052025_15_51_55_10360.jpg
/home/pi/Desktop/images/02052025/15/51/image_02052025_15_52_05_9354.jpg
/home/pi/Desktop/images/02052025/15/52/image_02052025_15_52_15_10354.jpg
/home/pi/Desktop/images/02052025/15/52/image_02052025_15_52_24_9371.jpg
/home/pi/Desktop/images/02052025/15/52/image_02052025_15_52_35_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355405596","1355405662","1355405638","1355405688","1355405646","1355405627"],"photo_ids_order":["1355405596","1355405627","1355405638","1355405646","1355405662","1355405688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/30950fd568588fc1baabed53d6960cba.jpg","text":"TemporaryFile(/tmp/multipartBody8078158711081833558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201933202,"filename":"image_02052025_15_51_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/5/2/c20022f160410d00648e968fe6127fbe.jpg","text":"TemporaryFile(/tmp/multipartBody4850197895218065797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201933202,"filename":"image_02052025_15_52_24_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/146adbda3c4f2bf011f6f8e05097e0ad.jpg","text":"TemporaryFile(/tmp/multipartBody4274929609357107433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201933202,"filename":"image_02052025_15_52_05_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6151f13eaa16e0da27ca8dde2fee987d.jpg","text":"TemporaryFile(/tmp/multipartBody5909646260903703159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201933202,"filename":"image_02052025_15_52_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/5/2/2814174371faa792b58db7cc7a6d574c.jpg","text":"TemporaryFile(/tmp/multipartBody6393188248281347407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201933202,"filename":"image_02052025_15_52_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/5/2/cd387302c3d232775b8b9b2bf5a83c74.jpg","text":"TemporaryFile(/tmp/multipartBody6652738866699961419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201933202,"filename":"image_02052025_15_51_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355405638","file1":"1355405627","file0":"1355405596","file4":"1355405662","file5":"1355405688","file3":"1355405646"},"map_files_photo_id_array":[{"photo_id":"1355405688","filename":"file5"},{"photo_id":"1355405638","filename":"file2"},{"photo_id":"1355405662","filename":"file4"},{"photo_id":"1355405627","filename":"file1"},{"photo_id":"1355405596","filename":"file0"},{"photo_id":"1355405646","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355405596":["hashtag1","hashtag2"]},{"1355405662":["hashtag1","hashtag2"]},{"1355405638":["hashtag1","hashtag2"]},{"1355405688":["hashtag1","hashtag2"]},{"1355405646":["hashtag1","hashtag2"]},{"1355405627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355405596, 1355405662, 1355405638, 1355405688, 1355405646, 1355405627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0068244934082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:05:32.875538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/52/image_02052025_15_52_55_9441.jpg', '/home/pi/Desktop/images/02052025/15/53/image_02052025_15_53_14_9332.jpg', '/home/pi/Desktop/images/02052025/15/53/image_02052025_15_53_25_10357.jpg', '/home/pi/Desktop/images/02052025/15/53/image_02052025_15_53_35_10416.jpg', '/home/pi/Desktop/images/02052025/15/53/image_02052025_15_54_05_10354.jpg', '/home/pi/Desktop/images/02052025/15/54/image_02052025_15_54_15_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/52/image_02052025_15_52_55_9441.jpg
/home/pi/Desktop/images/02052025/15/53/image_02052025_15_53_14_9332.jpg
/home/pi/Desktop/images/02052025/15/53/image_02052025_15_53_25_10357.jpg
/home/pi/Desktop/images/02052025/15/53/image_02052025_15_53_35_10416.jpg
/home/pi/Desktop/images/02052025/15/53/image_02052025_15_54_05_10354.jpg
/home/pi/Desktop/images/02052025/15/54/image_02052025_15_54_15_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355405782","1355405755","1355405743","1355405809","1355405751","1355405747"],"photo_ids_order":["1355405743","1355405747","1355405751","1355405755","1355405782","1355405809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/228493edd3b636435e33c284bc44779f.jpg","text":"TemporaryFile(/tmp/multipartBody3081271010529673866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201993333,"filename":"image_02052025_15_54_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/5/2/47aa726d33a66c8997612679c1e0c818.jpg","text":"TemporaryFile(/tmp/multipartBody2532609574282800640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201993333,"filename":"image_02052025_15_53_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/5/2/5a0b16d9061fba16549e9bbda10de283.jpg","text":"TemporaryFile(/tmp/multipartBody6062955314310451543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201993333,"filename":"image_02052025_15_52_55_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dfe355633649a101d25b60ce31140ad8.jpg","text":"TemporaryFile(/tmp/multipartBody1930455942921955370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201993333,"filename":"image_02052025_15_54_15_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d01d8396d290d77136bf002dc8ef9f46.jpg","text":"TemporaryFile(/tmp/multipartBody4913744270687640216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201993333,"filename":"image_02052025_15_53_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4417b6b5bb7b5e1142b5fe4da354dc8.jpg","text":"TemporaryFile(/tmp/multipartBody3832815409919569580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746201993333,"filename":"image_02052025_15_53_14_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355405751","file1":"1355405747","file0":"1355405743","file4":"1355405782","file5":"1355405809","file3":"1355405755"},"map_files_photo_id_array":[{"photo_id":"1355405809","filename":"file5"},{"photo_id":"1355405751","filename":"file2"},{"photo_id":"1355405782","filename":"file4"},{"photo_id":"1355405747","filename":"file1"},{"photo_id":"1355405743","filename":"file0"},{"photo_id":"1355405755","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355405782":["hashtag1","hashtag2"]},{"1355405755":["hashtag1","hashtag2"]},{"1355405743":["hashtag1","hashtag2"]},{"1355405809":["hashtag1","hashtag2"]},{"1355405751":["hashtag1","hashtag2"]},{"1355405747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355405782, 1355405755, 1355405743, 1355405809, 1355405751, 1355405747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.70424509048462 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:06:33.131978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/54/image_02052025_15_54_25_10366.jpg', '/home/pi/Desktop/images/02052025/15/54/image_02052025_15_54_34_9356.jpg', '/home/pi/Desktop/images/02052025/15/54/image_02052025_15_54_45_10455.jpg', '/home/pi/Desktop/images/02052025/15/54/image_02052025_15_54_55_10358.jpg', '/home/pi/Desktop/images/02052025/15/54/image_02052025_15_55_05_9443.jpg', '/home/pi/Desktop/images/02052025/15/55/image_02052025_15_55_15_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/54/image_02052025_15_54_25_10366.jpg
/home/pi/Desktop/images/02052025/15/54/image_02052025_15_54_34_9356.jpg
/home/pi/Desktop/images/02052025/15/54/image_02052025_15_54_45_10455.jpg
/home/pi/Desktop/images/02052025/15/54/image_02052025_15_54_55_10358.jpg
/home/pi/Desktop/images/02052025/15/54/image_02052025_15_55_05_9443.jpg
/home/pi/Desktop/images/02052025/15/55/image_02052025_15_55_15_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355405959","1355405950","1355405956","1355405973","1355405967","1355405963"],"photo_ids_order":["1355405950","1355405956","1355405959","1355405963","1355405967","1355405973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e28146263e392f72130668444a8f6f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2787138682720147560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202053591,"filename":"image_02052025_15_54_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/5/2/3a624d634eb732bbb4b1aae638e44d79.jpg","text":"TemporaryFile(/tmp/multipartBody3132859411599095376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202053591,"filename":"image_02052025_15_54_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/5/2/d3ec2d99780936250b621d4d19df32f7.jpg","text":"TemporaryFile(/tmp/multipartBody2132267140032818928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202053591,"filename":"image_02052025_15_54_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5afd4afc7c31bfb6161afe6e80d3eba5.jpg","text":"TemporaryFile(/tmp/multipartBody6491752947927451999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202053591,"filename":"image_02052025_15_55_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b04acccd1688fa70a090f4f8fd5510d5.jpg","text":"TemporaryFile(/tmp/multipartBody8448703879340804272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202053591,"filename":"image_02052025_15_55_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/5/2/e61edc828fff70a9d5946ea8cff0f424.jpg","text":"TemporaryFile(/tmp/multipartBody2050535648383088396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202053591,"filename":"image_02052025_15_54_55_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355405959","file1":"1355405956","file0":"1355405950","file4":"1355405967","file5":"1355405973","file3":"1355405963"},"map_files_photo_id_array":[{"photo_id":"1355405973","filename":"file5"},{"photo_id":"1355405959","filename":"file2"},{"photo_id":"1355405967","filename":"file4"},{"photo_id":"1355405956","filename":"file1"},{"photo_id":"1355405950","filename":"file0"},{"photo_id":"1355405963","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355405959":["hashtag1","hashtag2"]},{"1355405950":["hashtag1","hashtag2"]},{"1355405956":["hashtag1","hashtag2"]},{"1355405973":["hashtag1","hashtag2"]},{"1355405967":["hashtag1","hashtag2"]},{"1355405963":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355405959, 1355405950, 1355405956, 1355405973, 1355405967, 1355405963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82621455192566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:07:32.392578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/55/image_02052025_15_55_24_9434.jpg', '/home/pi/Desktop/images/02052025/15/55/image_02052025_15_55_35_10367.jpg', '/home/pi/Desktop/images/02052025/15/55/image_02052025_15_55_45_10339.jpg', '/home/pi/Desktop/images/02052025/15/55/image_02052025_15_55_55_9496.jpg', '/home/pi/Desktop/images/02052025/15/55/image_02052025_15_56_05_10420.jpg', '/home/pi/Desktop/images/02052025/15/56/image_02052025_15_56_14_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/55/image_02052025_15_55_24_9434.jpg
/home/pi/Desktop/images/02052025/15/55/image_02052025_15_55_35_10367.jpg
/home/pi/Desktop/images/02052025/15/55/image_02052025_15_55_45_10339.jpg
/home/pi/Desktop/images/02052025/15/55/image_02052025_15_55_55_9496.jpg
/home/pi/Desktop/images/02052025/15/55/image_02052025_15_56_05_10420.jpg
/home/pi/Desktop/images/02052025/15/56/image_02052025_15_56_14_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":["1355406211","1355406153","1355406231","1355406228","1355406179","1355406173"],"photo_ids_order":["1355406153","1355406173","1355406179","1355406211","1355406228","1355406231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9082cc9a966f394b57601c12a29cbc25.jpg","text":"TemporaryFile(/tmp/multipartBody4275995218087015780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202112860,"filename":"image_02052025_15_55_55_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/140df03ed54eab61fd0c8e7271af7927.jpg","text":"TemporaryFile(/tmp/multipartBody9128765195483171663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202112860,"filename":"image_02052025_15_55_24_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/034adf3210f494ed9785bc66b2958095.jpg","text":"TemporaryFile(/tmp/multipartBody4793609857045498554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202112860,"filename":"image_02052025_15_56_14_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e4a2c04e5a05fd5912323f01c8218a63.jpg","text":"TemporaryFile(/tmp/multipartBody1421999434554110022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202112860,"filename":"image_02052025_15_56_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/5/2/4cbe7aade3a29f9208f0e5fd630724b6.jpg","text":"TemporaryFile(/tmp/multipartBody3703061264491017037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202112860,"filename":"image_02052025_15_55_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/5/2/39478c2f78d5f2d572eef4a3713c19fb.jpg","text":"TemporaryFile(/tmp/multipartBody2215648471681720921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202112860,"filename":"image_02052025_15_55_35_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355406179","file1":"1355406173","file0":"1355406153","file4":"1355406228","file5":"1355406231","file3":"1355406211"},"map_files_photo_id_array":[{"photo_id":"1355406231","filename":"file5"},{"photo_id":"1355406179","filename":"file2"},{"photo_id":"1355406228","filename":"file4"},{"photo_id":"1355406173","filename":"file1"},{"photo_id":"1355406153","filename":"file0"},{"photo_id":"1355406211","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355406211":["hashtag1","hashtag2"]},{"1355406153":["hashtag1","hashtag2"]},{"1355406231":["hashtag1","hashtag2"]},{"1355406228":["hashtag1","hashtag2"]},{"1355406179":["hashtag1","hashtag2"]},{"1355406173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355406211, 1355406153, 1355406231, 1355406228, 1355406179, 1355406173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11807417869568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:08:32.596621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/56/image_02052025_15_56_25_10338.jpg', '/home/pi/Desktop/images/02052025/15/56/image_02052025_15_56_35_10432.jpg', '/home/pi/Desktop/images/02052025/15/56/image_02052025_15_56_45_9433.jpg', '/home/pi/Desktop/images/02052025/15/56/image_02052025_15_56_55_10363.jpg', '/home/pi/Desktop/images/02052025/15/56/image_02052025_15_57_04_9351.jpg', '/home/pi/Desktop/images/02052025/15/57/image_02052025_15_57_15_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/56/image_02052025_15_56_25_10338.jpg
/home/pi/Desktop/images/02052025/15/56/image_02052025_15_56_35_10432.jpg
/home/pi/Desktop/images/02052025/15/56/image_02052025_15_56_45_9433.jpg
/home/pi/Desktop/images/02052025/15/56/image_02052025_15_56_55_10363.jpg
/home/pi/Desktop/images/02052025/15/56/image_02052025_15_57_04_9351.jpg
/home/pi/Desktop/images/02052025/15/57/image_02052025_15_57_15_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":["1355406328","1355406348","1355406309","1355406323","1355406317","1355406349"],"photo_ids_order":["1355406309","1355406317","1355406323","1355406328","1355406348","1355406349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d8d5a8d7970eab832f1b1fbb88f0058.jpg","text":"TemporaryFile(/tmp/multipartBody119144463892657329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202173056,"filename":"image_02052025_15_56_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/5/2/f4b15525df5eed07599977872164db8e.jpg","text":"TemporaryFile(/tmp/multipartBody2473225211867141102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202173056,"filename":"image_02052025_15_57_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/5/2/c62fcfe762944cb961ed76af565f2e72.jpg","text":"TemporaryFile(/tmp/multipartBody2096806013701233401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202173056,"filename":"image_02052025_15_56_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b7e4898e14db646dd39a637c302116a.jpg","text":"TemporaryFile(/tmp/multipartBody231067662392654134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202173056,"filename":"image_02052025_15_56_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/5/2/c1e906c2dbe5c42b17bb08e7822df8ec.jpg","text":"TemporaryFile(/tmp/multipartBody9031796306365734441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202173056,"filename":"image_02052025_15_56_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/5/2/9d690dca7aaa163565d1f4f857c31042.jpg","text":"TemporaryFile(/tmp/multipartBody4785576463446862085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202173056,"filename":"image_02052025_15_57_15_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355406323","file1":"1355406317","file0":"1355406309","file4":"1355406348","file5":"1355406349","file3":"1355406328"},"map_files_photo_id_array":[{"photo_id":"1355406349","filename":"file5"},{"photo_id":"1355406323","filename":"file2"},{"photo_id":"1355406348","filename":"file4"},{"photo_id":"1355406317","filename":"file1"},{"photo_id":"1355406309","filename":"file0"},{"photo_id":"1355406328","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355406328":["hashtag1","hashtag2"]},{"1355406348":["hashtag1","hashtag2"]},{"1355406309":["hashtag1","hashtag2"]},{"1355406323":["hashtag1","hashtag2"]},{"1355406317":["hashtag1","hashtag2"]},{"1355406349":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355406328, 1355406348, 1355406309, 1355406323, 1355406317, 1355406349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.857590675354004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:09:32.826817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/57/image_02052025_15_57_25_10366.jpg', '/home/pi/Desktop/images/02052025/15/57/image_02052025_15_57_35_9481.jpg', '/home/pi/Desktop/images/02052025/15/57/image_02052025_15_57_45_10362.jpg', '/home/pi/Desktop/images/02052025/15/57/image_02052025_15_57_55_10350.jpg', '/home/pi/Desktop/images/02052025/15/57/image_02052025_15_58_05_9447.jpg', '/home/pi/Desktop/images/02052025/15/58/image_02052025_15_58_15_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/57/image_02052025_15_57_25_10366.jpg
/home/pi/Desktop/images/02052025/15/57/image_02052025_15_57_35_9481.jpg
/home/pi/Desktop/images/02052025/15/57/image_02052025_15_57_45_10362.jpg
/home/pi/Desktop/images/02052025/15/57/image_02052025_15_57_55_10350.jpg
/home/pi/Desktop/images/02052025/15/57/image_02052025_15_58_05_9447.jpg
/home/pi/Desktop/images/02052025/15/58/image_02052025_15_58_15_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355406393","1355406387","1355406395","1355406389","1355406383","1355406379"],"photo_ids_order":["1355406379","1355406383","1355406387","1355406389","1355406393","1355406395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f942d6bacec9c614294b12e36cb117f.jpg","text":"TemporaryFile(/tmp/multipartBody7449648449428006171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202233310,"filename":"image_02052025_15_58_05_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/02ae8f1c854aaa2297c96cd59ffc710e.jpg","text":"TemporaryFile(/tmp/multipartBody8517963322126165116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202233310,"filename":"image_02052025_15_57_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/5/2/5d4c50812c188ef8a48f9a7f6f618377.jpg","text":"TemporaryFile(/tmp/multipartBody911152497860088071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202233310,"filename":"image_02052025_15_58_15_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c3c391956bd3522b8a86d86e84f5608.jpg","text":"TemporaryFile(/tmp/multipartBody5534048982329177854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202233310,"filename":"image_02052025_15_57_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/5/2/b652d3920fae35567be06414d2732cbd.jpg","text":"TemporaryFile(/tmp/multipartBody5474824429086714757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202233310,"filename":"image_02052025_15_57_35_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86ccda010f1f7dc1024534d8855d6db3.jpg","text":"TemporaryFile(/tmp/multipartBody8800107069579157401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202233310,"filename":"image_02052025_15_57_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355406387","file1":"1355406383","file0":"1355406379","file4":"1355406393","file5":"1355406395","file3":"1355406389"},"map_files_photo_id_array":[{"photo_id":"1355406395","filename":"file5"},{"photo_id":"1355406387","filename":"file2"},{"photo_id":"1355406393","filename":"file4"},{"photo_id":"1355406383","filename":"file1"},{"photo_id":"1355406379","filename":"file0"},{"photo_id":"1355406389","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355406393":["hashtag1","hashtag2"]},{"1355406387":["hashtag1","hashtag2"]},{"1355406395":["hashtag1","hashtag2"]},{"1355406389":["hashtag1","hashtag2"]},{"1355406383":["hashtag1","hashtag2"]},{"1355406379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355406393, 1355406387, 1355406395, 1355406389, 1355406383, 1355406379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.974658250808716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:10:32.814445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/58/image_02052025_15_58_25_9456.jpg', '/home/pi/Desktop/images/02052025/15/58/image_02052025_15_58_35_10439.jpg', '/home/pi/Desktop/images/02052025/15/58/image_02052025_15_58_44_9375.jpg', '/home/pi/Desktop/images/02052025/15/58/image_02052025_15_58_55_10411.jpg', '/home/pi/Desktop/images/02052025/15/58/image_02052025_15_59_05_10344.jpg', '/home/pi/Desktop/images/02052025/15/59/image_02052025_15_59_15_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/58/image_02052025_15_58_25_9456.jpg
/home/pi/Desktop/images/02052025/15/58/image_02052025_15_58_35_10439.jpg
/home/pi/Desktop/images/02052025/15/58/image_02052025_15_58_44_9375.jpg
/home/pi/Desktop/images/02052025/15/58/image_02052025_15_58_55_10411.jpg
/home/pi/Desktop/images/02052025/15/58/image_02052025_15_59_05_10344.jpg
/home/pi/Desktop/images/02052025/15/59/image_02052025_15_59_15_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":["1355406444","1355406497","1355406440","1355406475","1355406448","1355406436"],"photo_ids_order":["1355406436","1355406440","1355406444","1355406448","1355406475","1355406497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8fefe326f26b781e0c5653f65ffe9c6.jpg","text":"TemporaryFile(/tmp/multipartBody2358930533824794305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202293293,"filename":"image_02052025_15_58_44_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34b04b650fb440aef49a322eac270f1f.jpg","text":"TemporaryFile(/tmp/multipartBody6430163411538100453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202293293,"filename":"image_02052025_15_59_15_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5237ed883ee887310f3bd2e8b67f398d.jpg","text":"TemporaryFile(/tmp/multipartBody4139101711173188242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202293293,"filename":"image_02052025_15_58_35_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34a00abebf0fb080a9ed2c31e58cbf5a.jpg","text":"TemporaryFile(/tmp/multipartBody6403426149074820598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202293293,"filename":"image_02052025_15_59_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/5/2/efa210298131f1c5c3aa9d10614fd1a1.jpg","text":"TemporaryFile(/tmp/multipartBody1852117422524987459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202293293,"filename":"image_02052025_15_58_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/5/2/e23fef27f338dcc41313fa69b5bfda61.jpg","text":"TemporaryFile(/tmp/multipartBody2553099506845437922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202293293,"filename":"image_02052025_15_58_25_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355406444","file1":"1355406440","file0":"1355406436","file4":"1355406475","file5":"1355406497","file3":"1355406448"},"map_files_photo_id_array":[{"photo_id":"1355406497","filename":"file5"},{"photo_id":"1355406444","filename":"file2"},{"photo_id":"1355406475","filename":"file4"},{"photo_id":"1355406440","filename":"file1"},{"photo_id":"1355406436","filename":"file0"},{"photo_id":"1355406448","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355406444":["hashtag1","hashtag2"]},{"1355406497":["hashtag1","hashtag2"]},{"1355406440":["hashtag1","hashtag2"]},{"1355406475":["hashtag1","hashtag2"]},{"1355406448":["hashtag1","hashtag2"]},{"1355406436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355406444, 1355406497, 1355406440, 1355406475, 1355406448, 1355406436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.617516040802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:11:32.987263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/15/59/image_02052025_15_59_25_10353.jpg', '/home/pi/Desktop/images/02052025/15/59/image_02052025_15_59_34_9373.jpg', '/home/pi/Desktop/images/02052025/15/59/image_02052025_15_59_45_10456.jpg', '/home/pi/Desktop/images/02052025/15/59/image_02052025_15_59_55_10360.jpg', '/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_15_10073.jpg', '/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/15/59/image_02052025_15_59_25_10353.jpg
/home/pi/Desktop/images/02052025/15/59/image_02052025_15_59_34_9373.jpg
/home/pi/Desktop/images/02052025/15/59/image_02052025_15_59_45_10456.jpg
/home/pi/Desktop/images/02052025/15/59/image_02052025_15_59_55_10360.jpg
/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_15_10073.jpg
/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355406814","1355406789","1355406729","1355406755","1355406734","1355406737"],"photo_ids_order":["1355406729","1355406734","1355406737","1355406755","1355406789","1355406814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd9c8d8f44e2ecf88f2390e65f1f29a3.jpg","text":"TemporaryFile(/tmp/multipartBody8925402756636329328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202353479,"filename":"image_02052025_16_01_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/844417f5fcebcd037f6246c2572f3223.jpg","text":"TemporaryFile(/tmp/multipartBody974150952947932324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202353479,"filename":"image_02052025_16_01_15_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53d7b0bfd9443e0c3d56591878524bb1.jpg","text":"TemporaryFile(/tmp/multipartBody4086311775886577691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202353479,"filename":"image_02052025_15_59_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/5/2/6e781a8406e8c81c86414513d31fc6c3.jpg","text":"TemporaryFile(/tmp/multipartBody223030201450428880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202353479,"filename":"image_02052025_15_59_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/5/2/aa3a3af52e69c42114bedfc5d391d679.jpg","text":"TemporaryFile(/tmp/multipartBody2915463288581798632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202353479,"filename":"image_02052025_15_59_34_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c32cacf8d11582ab4c60270916acf40f.jpg","text":"TemporaryFile(/tmp/multipartBody4157777368854739108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202353479,"filename":"image_02052025_15_59_45_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355406737","file1":"1355406734","file0":"1355406729","file4":"1355406789","file5":"1355406814","file3":"1355406755"},"map_files_photo_id_array":[{"photo_id":"1355406814","filename":"file5"},{"photo_id":"1355406737","filename":"file2"},{"photo_id":"1355406789","filename":"file4"},{"photo_id":"1355406734","filename":"file1"},{"photo_id":"1355406729","filename":"file0"},{"photo_id":"1355406755","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355406814":["hashtag1","hashtag2"]},{"1355406789":["hashtag1","hashtag2"]},{"1355406729":["hashtag1","hashtag2"]},{"1355406755":["hashtag1","hashtag2"]},{"1355406734":["hashtag1","hashtag2"]},{"1355406737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355406814, 1355406789, 1355406729, 1355406755, 1355406734, 1355406737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11137104034424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:12:32.270757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_36_10382.jpg', '/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_45_9349.jpg', '/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_55_10456.jpg', '/home/pi/Desktop/images/02052025/16/01/image_02052025_16_02_06_10365.jpg', '/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_15_9342.jpg', '/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_26_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_36_10382.jpg
/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_45_9349.jpg
/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_55_10456.jpg
/home/pi/Desktop/images/02052025/16/01/image_02052025_16_02_06_10365.jpg
/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_15_9342.jpg
/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_26_10489.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3877999782562256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 18:12:42.208526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_36_10382.jpg', '/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_45_9349.jpg', '/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_55_10456.jpg', '/home/pi/Desktop/images/02052025/16/01/image_02052025_16_02_06_10365.jpg', '/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_15_9342.jpg', '/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_26_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_36_10382.jpg
/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_45_9349.jpg
/home/pi/Desktop/images/02052025/16/01/image_02052025_16_01_55_10456.jpg
/home/pi/Desktop/images/02052025/16/01/image_02052025_16_02_06_10365.jpg
/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_15_9342.jpg
/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_26_10489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355407251","1355407592","1355407652","1355407310","1355407369","1355407426"],"photo_ids_order":["1355407251","1355407310","1355407369","1355407426","1355407592","1355407652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a0ab5825bef154606813cf326d27d197.jpg","text":"TemporaryFile(/tmp/multipartBody1876361714334850272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202422667,"filename":"image_02052025_16_01_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a37098d88b3e42e8be583863b53e01eb.jpg","text":"TemporaryFile(/tmp/multipartBody174800383650270336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202422667,"filename":"image_02052025_16_02_15_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8101153a1207b4cefcf91509deca42be.jpg","text":"TemporaryFile(/tmp/multipartBody1413948877151072616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202422667,"filename":"image_02052025_16_02_26_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec5f2ab2f7c1f5d01535092d4955f655.jpg","text":"TemporaryFile(/tmp/multipartBody9178349268231771686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202422667,"filename":"image_02052025_16_01_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/5/2/e990c99fdcaba8cd1f29c6fb6a201bca.jpg","text":"TemporaryFile(/tmp/multipartBody3848492669842825528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202422667,"filename":"image_02052025_16_01_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1efbeacbbb3edf6823532f2436cbee2e.jpg","text":"TemporaryFile(/tmp/multipartBody6805543465499578983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202422667,"filename":"image_02052025_16_02_06_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355407369","file1":"1355407310","file0":"1355407251","file4":"1355407592","file5":"1355407652","file3":"1355407426"},"map_files_photo_id_array":[{"photo_id":"1355407652","filename":"file5"},{"photo_id":"1355407369","filename":"file2"},{"photo_id":"1355407592","filename":"file4"},{"photo_id":"1355407310","filename":"file1"},{"photo_id":"1355407251","filename":"file0"},{"photo_id":"1355407426","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355407251":["hashtag1","hashtag2"]},{"1355407592":["hashtag1","hashtag2"]},{"1355407652":["hashtag1","hashtag2"]},{"1355407310":["hashtag1","hashtag2"]},{"1355407369":["hashtag1","hashtag2"]},{"1355407426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355407251, 1355407592, 1355407652, 1355407310, 1355407369, 1355407426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.65550470352173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:13:32.378280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_35_9343.jpg', '/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_45_10402.jpg', '/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_56_10367.jpg', '/home/pi/Desktop/images/02052025/16/02/image_02052025_16_03_05_9346.jpg', '/home/pi/Desktop/images/02052025/16/03/image_02052025_16_03_25_9463.jpg', '/home/pi/Desktop/images/02052025/16/03/image_02052025_16_03_35_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_35_9343.jpg
/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_45_10402.jpg
/home/pi/Desktop/images/02052025/16/02/image_02052025_16_02_56_10367.jpg
/home/pi/Desktop/images/02052025/16/02/image_02052025_16_03_05_9346.jpg
/home/pi/Desktop/images/02052025/16/03/image_02052025_16_03_25_9463.jpg
/home/pi/Desktop/images/02052025/16/03/image_02052025_16_03_35_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355407869","1355407991","1355408018","1355407800","1355407901","1355407939"],"photo_ids_order":["1355407800","1355407869","1355407901","1355407939","1355407991","1355408018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa5c8ece0cc5bee1f63000fc6f892660.jpg","text":"TemporaryFile(/tmp/multipartBody6622090474727270181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202472837,"filename":"image_02052025_16_02_45_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6b341e02075c2e3940ad6040de68615.jpg","text":"TemporaryFile(/tmp/multipartBody8284202176984481047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202472837,"filename":"image_02052025_16_03_25_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce589f2ab96a2efa12b7db230b92bbc7.jpg","text":"TemporaryFile(/tmp/multipartBody582984100940228441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202472837,"filename":"image_02052025_16_03_35_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bbdee5572a14c2a5a5d4299edcc01f71.jpg","text":"TemporaryFile(/tmp/multipartBody2097899126160475053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202472837,"filename":"image_02052025_16_02_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/5/2/b7bed0d76f48bb7ce3cd334075c88635.jpg","text":"TemporaryFile(/tmp/multipartBody2006301178021462064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202472837,"filename":"image_02052025_16_02_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/5/2/c4d7dfb15b17c3b13b1585195e9a060b.jpg","text":"TemporaryFile(/tmp/multipartBody4703604405317012336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202472837,"filename":"image_02052025_16_03_05_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355407901","file1":"1355407869","file0":"1355407800","file4":"1355407991","file5":"1355408018","file3":"1355407939"},"map_files_photo_id_array":[{"photo_id":"1355408018","filename":"file5"},{"photo_id":"1355407901","filename":"file2"},{"photo_id":"1355407991","filename":"file4"},{"photo_id":"1355407869","filename":"file1"},{"photo_id":"1355407800","filename":"file0"},{"photo_id":"1355407939","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355407869":["hashtag1","hashtag2"]},{"1355407991":["hashtag1","hashtag2"]},{"1355408018":["hashtag1","hashtag2"]},{"1355407800":["hashtag1","hashtag2"]},{"1355407901":["hashtag1","hashtag2"]},{"1355407939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355407869, 1355407991, 1355408018, 1355407800, 1355407901, 1355407939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31056046485901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:14:32.783967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/03/image_02052025_16_03_46_10448.jpg', '/home/pi/Desktop/images/02052025/16/03/image_02052025_16_03_55_9353.jpg', '/home/pi/Desktop/images/02052025/16/03/image_02052025_16_04_05_10358.jpg', '/home/pi/Desktop/images/02052025/16/04/image_02052025_16_04_15_9353.jpg', '/home/pi/Desktop/images/02052025/16/04/image_02052025_16_04_25_10439.jpg', '/home/pi/Desktop/images/02052025/16/04/image_02052025_16_04_36_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/03/image_02052025_16_03_46_10448.jpg
/home/pi/Desktop/images/02052025/16/03/image_02052025_16_03_55_9353.jpg
/home/pi/Desktop/images/02052025/16/03/image_02052025_16_04_05_10358.jpg
/home/pi/Desktop/images/02052025/16/04/image_02052025_16_04_15_9353.jpg
/home/pi/Desktop/images/02052025/16/04/image_02052025_16_04_25_10439.jpg
/home/pi/Desktop/images/02052025/16/04/image_02052025_16_04_36_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355408247","1355408252","1355408216","1355408278","1355408257","1355408262"],"photo_ids_order":["1355408216","1355408247","1355408252","1355408257","1355408262","1355408278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8c61f7d2c804f9bcc6b6ecacc933023d.jpg","text":"TemporaryFile(/tmp/multipartBody5757486564844577947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202533236,"filename":"image_02052025_16_03_55_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ca4b4694314c56eb8e8d84fda7bf8ae.jpg","text":"TemporaryFile(/tmp/multipartBody887515322581421090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202533236,"filename":"image_02052025_16_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/5/2/09e7716d0c9a6970a3679651b35d4a65.jpg","text":"TemporaryFile(/tmp/multipartBody2489798230220093589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202533236,"filename":"image_02052025_16_03_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/5/2/97e0d6d9654950e9de472b8586f1279b.jpg","text":"TemporaryFile(/tmp/multipartBody4726673755186477925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202533236,"filename":"image_02052025_16_04_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/18b8443c6e3e4c91a655033c35cd9036.jpg","text":"TemporaryFile(/tmp/multipartBody7572359916281590649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202533236,"filename":"image_02052025_16_04_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/5/2/fab4311248762121b052f00131ff06e0.jpg","text":"TemporaryFile(/tmp/multipartBody5570087791833769281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202533236,"filename":"image_02052025_16_04_25_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355408252","file1":"1355408247","file0":"1355408216","file4":"1355408262","file5":"1355408278","file3":"1355408257"},"map_files_photo_id_array":[{"photo_id":"1355408278","filename":"file5"},{"photo_id":"1355408252","filename":"file2"},{"photo_id":"1355408262","filename":"file4"},{"photo_id":"1355408247","filename":"file1"},{"photo_id":"1355408216","filename":"file0"},{"photo_id":"1355408257","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355408247":["hashtag1","hashtag2"]},{"1355408252":["hashtag1","hashtag2"]},{"1355408216":["hashtag1","hashtag2"]},{"1355408278":["hashtag1","hashtag2"]},{"1355408257":["hashtag1","hashtag2"]},{"1355408262":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355408247, 1355408252, 1355408216, 1355408278, 1355408257, 1355408262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.047475814819336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:15:32.841019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/04/image_02052025_16_04_55_10372.jpg', '/home/pi/Desktop/images/02052025/16/05/image_02052025_16_05_26_10422.jpg', '/home/pi/Desktop/images/02052025/16/05/image_02052025_16_05_35_9354.jpg', '/home/pi/Desktop/images/02052025/16/05/image_02052025_16_05_45_10400.jpg', '/home/pi/Desktop/images/02052025/16/05/image_02052025_16_05_56_10404.jpg', '/home/pi/Desktop/images/02052025/16/05/image_02052025_16_06_05_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/04/image_02052025_16_04_55_10372.jpg
/home/pi/Desktop/images/02052025/16/05/image_02052025_16_05_26_10422.jpg
/home/pi/Desktop/images/02052025/16/05/image_02052025_16_05_35_9354.jpg
/home/pi/Desktop/images/02052025/16/05/image_02052025_16_05_45_10400.jpg
/home/pi/Desktop/images/02052025/16/05/image_02052025_16_05_56_10404.jpg
/home/pi/Desktop/images/02052025/16/05/image_02052025_16_06_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":["1355408715","1355408765","1355408639","1355408806","1355408583","1355408652"],"photo_ids_order":["1355408583","1355408639","1355408652","1355408715","1355408765","1355408806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e81bb6c5c49484f40590a3ee38d92235.jpg","text":"TemporaryFile(/tmp/multipartBody8605829488659055392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202593313,"filename":"image_02052025_16_05_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/5/2/8566755f16b333e21d9c4432585ab76f.jpg","text":"TemporaryFile(/tmp/multipartBody168475092898677321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202593313,"filename":"image_02052025_16_05_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/5/2/b773ec5319ddee4d5ce810d13aeb90d8.jpg","text":"TemporaryFile(/tmp/multipartBody6289902074617721784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202593313,"filename":"image_02052025_16_05_26_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90c8e79f778ca5c8bd69776112214214.jpg","text":"TemporaryFile(/tmp/multipartBody3300343128655506127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202593313,"filename":"image_02052025_16_06_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/5/2/3b1377792722fe04f64054201e82f0f0.jpg","text":"TemporaryFile(/tmp/multipartBody3694189208596067505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202593313,"filename":"image_02052025_16_04_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/5/2/0eb8c4071db914acefb71ae483f21c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2737138930754095814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202593313,"filename":"image_02052025_16_05_35_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355408652","file1":"1355408639","file0":"1355408583","file4":"1355408765","file5":"1355408806","file3":"1355408715"},"map_files_photo_id_array":[{"photo_id":"1355408806","filename":"file5"},{"photo_id":"1355408652","filename":"file2"},{"photo_id":"1355408765","filename":"file4"},{"photo_id":"1355408639","filename":"file1"},{"photo_id":"1355408583","filename":"file0"},{"photo_id":"1355408715","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355408715":["hashtag1","hashtag2"]},{"1355408765":["hashtag1","hashtag2"]},{"1355408639":["hashtag1","hashtag2"]},{"1355408806":["hashtag1","hashtag2"]},{"1355408583":["hashtag1","hashtag2"]},{"1355408652":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355408715, 1355408765, 1355408639, 1355408806, 1355408583, 1355408652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99904823303223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:16:32.272929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/06/image_02052025_16_06_16_10513.jpg', '/home/pi/Desktop/images/02052025/16/06/image_02052025_16_06_25_9445.jpg', '/home/pi/Desktop/images/02052025/16/06/image_02052025_16_06_35_10355.jpg', '/home/pi/Desktop/images/02052025/16/06/image_02052025_16_06_45_9407.jpg', '/home/pi/Desktop/images/02052025/16/06/image_02052025_16_06_56_10857.jpg', '/home/pi/Desktop/images/02052025/16/06/image_02052025_16_07_05_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/06/image_02052025_16_06_16_10513.jpg
/home/pi/Desktop/images/02052025/16/06/image_02052025_16_06_25_9445.jpg
/home/pi/Desktop/images/02052025/16/06/image_02052025_16_06_35_10355.jpg
/home/pi/Desktop/images/02052025/16/06/image_02052025_16_06_45_9407.jpg
/home/pi/Desktop/images/02052025/16/06/image_02052025_16_06_56_10857.jpg
/home/pi/Desktop/images/02052025/16/06/image_02052025_16_07_05_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":["1355409102","1355409352","1355409291","1355409216","1355409138","1355409423"],"photo_ids_order":["1355409102","1355409138","1355409216","1355409291","1355409352","1355409423"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/027a6bb90ea9e19f515beecabe80e45d.jpg","text":"TemporaryFile(/tmp/multipartBody6660492641896261960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202652743,"filename":"image_02052025_16_06_16_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d8310d57ae58711d1ae0acc99d544c4.jpg","text":"TemporaryFile(/tmp/multipartBody4329920020795620023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202652743,"filename":"image_02052025_16_06_56_10857.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63cd5d70c477bfd60bc4ce2edf24c389.jpg","text":"TemporaryFile(/tmp/multipartBody1389728368983016866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202652743,"filename":"image_02052025_16_06_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/5/2/18c670fe88163a60d636df8ae1f57986.jpg","text":"TemporaryFile(/tmp/multipartBody8079274292950261626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202652743,"filename":"image_02052025_16_06_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/5/2/047098e8b9fb0fd01f5bc5215fdd47c0.jpg","text":"TemporaryFile(/tmp/multipartBody4137283070794143026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202652743,"filename":"image_02052025_16_06_25_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/69cc35345b1bcd4cba3745dec9c398ea.jpg","text":"TemporaryFile(/tmp/multipartBody2726042264737767436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202652743,"filename":"image_02052025_16_07_05_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355409216","file1":"1355409138","file0":"1355409102","file4":"1355409352","file5":"1355409423","file3":"1355409291"},"map_files_photo_id_array":[{"photo_id":"1355409423","filename":"file5"},{"photo_id":"1355409216","filename":"file2"},{"photo_id":"1355409352","filename":"file4"},{"photo_id":"1355409138","filename":"file1"},{"photo_id":"1355409102","filename":"file0"},{"photo_id":"1355409291","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355409102":["hashtag1","hashtag2"]},{"1355409352":["hashtag1","hashtag2"]},{"1355409291":["hashtag1","hashtag2"]},{"1355409216":["hashtag1","hashtag2"]},{"1355409138":["hashtag1","hashtag2"]},{"1355409423":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355409102, 1355409352, 1355409291, 1355409216, 1355409138, 1355409423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.070051193237305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:17:32.516944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/07/image_02052025_16_07_15_10364.jpg', '/home/pi/Desktop/images/02052025/16/07/image_02052025_16_07_35_10352.jpg', '/home/pi/Desktop/images/02052025/16/07/image_02052025_16_08_05_10361.jpg', '/home/pi/Desktop/images/02052025/16/08/image_02052025_16_08_16_10448.jpg', '/home/pi/Desktop/images/02052025/16/08/image_02052025_16_08_25_9364.jpg', '/home/pi/Desktop/images/02052025/16/08/image_02052025_16_08_36_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/07/image_02052025_16_07_15_10364.jpg
/home/pi/Desktop/images/02052025/16/07/image_02052025_16_07_35_10352.jpg
/home/pi/Desktop/images/02052025/16/07/image_02052025_16_08_05_10361.jpg
/home/pi/Desktop/images/02052025/16/08/image_02052025_16_08_16_10448.jpg
/home/pi/Desktop/images/02052025/16/08/image_02052025_16_08_25_9364.jpg
/home/pi/Desktop/images/02052025/16/08/image_02052025_16_08_36_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355409839","1355409763","1355409811","1355409748","1355409768","1355409782"],"photo_ids_order":["1355409748","1355409763","1355409768","1355409782","1355409811","1355409839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7aa4354f572cc07e35226f2b4b1c8160.jpg","text":"TemporaryFile(/tmp/multipartBody764860287328157051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202712984,"filename":"image_02052025_16_08_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/5/2/cfa214b09975e8b29aa12890365e2e11.jpg","text":"TemporaryFile(/tmp/multipartBody239852755876438209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202712984,"filename":"image_02052025_16_07_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/5/2/bf92fe0d0206112cae103dc0c2b11292.jpg","text":"TemporaryFile(/tmp/multipartBody1813747197260252310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202712984,"filename":"image_02052025_16_08_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d4bb426d4b9e9784fee82f9e2dc1ba5.jpg","text":"TemporaryFile(/tmp/multipartBody3613213917213285320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202712984,"filename":"image_02052025_16_07_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/5/2/dc288f4fd81d18632851c30681c23f7e.jpg","text":"TemporaryFile(/tmp/multipartBody2516627065560273572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202712984,"filename":"image_02052025_16_08_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/5/2/17cf516f03b6759e3deb6694d8bc8a37.jpg","text":"TemporaryFile(/tmp/multipartBody3427393112411710585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202712984,"filename":"image_02052025_16_08_16_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355409768","file1":"1355409763","file0":"1355409748","file4":"1355409811","file5":"1355409839","file3":"1355409782"},"map_files_photo_id_array":[{"photo_id":"1355409839","filename":"file5"},{"photo_id":"1355409768","filename":"file2"},{"photo_id":"1355409811","filename":"file4"},{"photo_id":"1355409763","filename":"file1"},{"photo_id":"1355409748","filename":"file0"},{"photo_id":"1355409782","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355409839":["hashtag1","hashtag2"]},{"1355409763":["hashtag1","hashtag2"]},{"1355409811":["hashtag1","hashtag2"]},{"1355409748":["hashtag1","hashtag2"]},{"1355409768":["hashtag1","hashtag2"]},{"1355409782":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355409839, 1355409763, 1355409811, 1355409748, 1355409768, 1355409782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.83201026916504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:18:32.637933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/08/image_02052025_16_08_45_9335.jpg', '/home/pi/Desktop/images/02052025/16/08/image_02052025_16_08_55_10372.jpg', '/home/pi/Desktop/images/02052025/16/08/image_02052025_16_09_06_10461.jpg', '/home/pi/Desktop/images/02052025/16/09/image_02052025_16_09_15_9330.jpg', '/home/pi/Desktop/images/02052025/16/09/image_02052025_16_09_25_10363.jpg', '/home/pi/Desktop/images/02052025/16/09/image_02052025_16_09_56_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/08/image_02052025_16_08_45_9335.jpg
/home/pi/Desktop/images/02052025/16/08/image_02052025_16_08_55_10372.jpg
/home/pi/Desktop/images/02052025/16/08/image_02052025_16_09_06_10461.jpg
/home/pi/Desktop/images/02052025/16/09/image_02052025_16_09_15_9330.jpg
/home/pi/Desktop/images/02052025/16/09/image_02052025_16_09_25_10363.jpg
/home/pi/Desktop/images/02052025/16/09/image_02052025_16_09_56_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355409959","1355409944","1355409974","1355409947","1355409967","1355409937"],"photo_ids_order":["1355409937","1355409944","1355409947","1355409959","1355409967","1355409974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3c512cb4cb37ea1db9fa676e195ae3d8.jpg","text":"TemporaryFile(/tmp/multipartBody1712087940370283254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202773097,"filename":"image_02052025_16_09_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/5/2/57db7a3b9ebaec5847a604e813345425.jpg","text":"TemporaryFile(/tmp/multipartBody3888066836940716334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202773097,"filename":"image_02052025_16_08_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/5/2/4500a40a24e80c6dd8770962fb1ba5e3.jpg","text":"TemporaryFile(/tmp/multipartBody5693219164102062303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202773097,"filename":"image_02052025_16_09_56_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/93f8a9e3aca5e664b3c30d00516bd837.jpg","text":"TemporaryFile(/tmp/multipartBody8543748080684237837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202773097,"filename":"image_02052025_16_09_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/5/2/975d835837a1cdeea46dc3b6daba351a.jpg","text":"TemporaryFile(/tmp/multipartBody3946288830761155938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202773097,"filename":"image_02052025_16_09_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/5/2/004fb95da0f21c31f1e392b5b2350c86.jpg","text":"TemporaryFile(/tmp/multipartBody6125203746528486191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202773097,"filename":"image_02052025_16_08_45_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355409947","file1":"1355409944","file0":"1355409937","file4":"1355409967","file5":"1355409974","file3":"1355409959"},"map_files_photo_id_array":[{"photo_id":"1355409974","filename":"file5"},{"photo_id":"1355409947","filename":"file2"},{"photo_id":"1355409967","filename":"file4"},{"photo_id":"1355409944","filename":"file1"},{"photo_id":"1355409937","filename":"file0"},{"photo_id":"1355409959","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355409959":["hashtag1","hashtag2"]},{"1355409944":["hashtag1","hashtag2"]},{"1355409974":["hashtag1","hashtag2"]},{"1355409947":["hashtag1","hashtag2"]},{"1355409967":["hashtag1","hashtag2"]},{"1355409937":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355409959, 1355409944, 1355409974, 1355409947, 1355409967, 1355409937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.939101696014404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:19:32.719314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/10/image_02052025_16_10_26_10367.jpg', '/home/pi/Desktop/images/02052025/16/10/image_02052025_16_11_05_10373.jpg', '/home/pi/Desktop/images/02052025/16/11/image_02052025_16_11_55_9343.jpg', '/home/pi/Desktop/images/02052025/16/11/image_02052025_16_12_05_10409.jpg', '/home/pi/Desktop/images/02052025/16/12/image_02052025_16_12_15_9418.jpg', '/home/pi/Desktop/images/02052025/16/12/image_02052025_16_12_36_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/10/image_02052025_16_10_26_10367.jpg
/home/pi/Desktop/images/02052025/16/10/image_02052025_16_11_05_10373.jpg
/home/pi/Desktop/images/02052025/16/11/image_02052025_16_11_55_9343.jpg
/home/pi/Desktop/images/02052025/16/11/image_02052025_16_12_05_10409.jpg
/home/pi/Desktop/images/02052025/16/12/image_02052025_16_12_15_9418.jpg
/home/pi/Desktop/images/02052025/16/12/image_02052025_16_12_36_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":["1355410203","1355410181","1355410186","1355410124","1355410118","1355410138"],"photo_ids_order":["1355410118","1355410124","1355410138","1355410181","1355410186","1355410203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0c0cb8aa5d5a8d269d4d6d704ac1c533.jpg","text":"TemporaryFile(/tmp/multipartBody375201430416338631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202833183,"filename":"image_02052025_16_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/5/2/7d9e5b9a04c8b67891f7622e1d325c25.jpg","text":"TemporaryFile(/tmp/multipartBody6049743870654659219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202833183,"filename":"image_02052025_16_12_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f95bd54610d3a58b23d6b412de8d27de.jpg","text":"TemporaryFile(/tmp/multipartBody6826918736723534004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202833183,"filename":"image_02052025_16_12_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/5/2/4b259e4ccf69a702f168c56b27623ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6607144478029657865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202833183,"filename":"image_02052025_16_11_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f652321a919393e8124fb580ba9b366e.jpg","text":"TemporaryFile(/tmp/multipartBody7467360658987734619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202833183,"filename":"image_02052025_16_10_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/5/2/f0a073125ca60e5d255b51e4ce476bd1.jpg","text":"TemporaryFile(/tmp/multipartBody3587807345991916494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202833183,"filename":"image_02052025_16_11_55_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355410138","file1":"1355410124","file0":"1355410118","file4":"1355410186","file5":"1355410203","file3":"1355410181"},"map_files_photo_id_array":[{"photo_id":"1355410203","filename":"file5"},{"photo_id":"1355410138","filename":"file2"},{"photo_id":"1355410186","filename":"file4"},{"photo_id":"1355410124","filename":"file1"},{"photo_id":"1355410118","filename":"file0"},{"photo_id":"1355410181","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355410203":["hashtag1","hashtag2"]},{"1355410181":["hashtag1","hashtag2"]},{"1355410186":["hashtag1","hashtag2"]},{"1355410124":["hashtag1","hashtag2"]},{"1355410118":["hashtag1","hashtag2"]},{"1355410138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355410203, 1355410181, 1355410186, 1355410124, 1355410118, 1355410138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27442240715027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:20:32.959156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/12/image_02052025_16_12_45_9479.jpg', '/home/pi/Desktop/images/02052025/16/12/image_02052025_16_12_56_10451.jpg', '/home/pi/Desktop/images/02052025/16/12/image_02052025_16_13_05_9422.jpg', '/home/pi/Desktop/images/02052025/16/13/image_02052025_16_13_15_10355.jpg', '/home/pi/Desktop/images/02052025/16/13/image_02052025_16_13_25_9458.jpg', '/home/pi/Desktop/images/02052025/16/13/image_02052025_16_13_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/12/image_02052025_16_12_45_9479.jpg
/home/pi/Desktop/images/02052025/16/12/image_02052025_16_12_56_10451.jpg
/home/pi/Desktop/images/02052025/16/12/image_02052025_16_13_05_9422.jpg
/home/pi/Desktop/images/02052025/16/13/image_02052025_16_13_15_10355.jpg
/home/pi/Desktop/images/02052025/16/13/image_02052025_16_13_25_9458.jpg
/home/pi/Desktop/images/02052025/16/13/image_02052025_16_13_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":["1355410292","1355410286","1355410297","1355410301","1355410306","1355410281"],"photo_ids_order":["1355410281","1355410286","1355410292","1355410297","1355410301","1355410306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/36f0a329d6b664b556a4596a029cb426.jpg","text":"TemporaryFile(/tmp/multipartBody6270273826048308444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202893415,"filename":"image_02052025_16_13_05_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d03d63f50a6d790bbbd5ed0be5842ff8.jpg","text":"TemporaryFile(/tmp/multipartBody1456401811847610984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202893415,"filename":"image_02052025_16_12_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/5/2/6550025c982caf5d06cf6d66c317faf6.jpg","text":"TemporaryFile(/tmp/multipartBody129466518508527865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202893415,"filename":"image_02052025_16_13_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/5/2/61907d071708aa0d95687ca2d35a56dd.jpg","text":"TemporaryFile(/tmp/multipartBody623432787513194989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202893415,"filename":"image_02052025_16_13_25_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d6de1d01ad0c17d9b4a0e04831f24e34.jpg","text":"TemporaryFile(/tmp/multipartBody4722765738324217895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202893415,"filename":"image_02052025_16_13_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/5/2/a22a384f827f8fcb8a2ec46ae22d70fd.jpg","text":"TemporaryFile(/tmp/multipartBody3308919362631497697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202893415,"filename":"image_02052025_16_12_45_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355410292","file1":"1355410286","file0":"1355410281","file4":"1355410301","file5":"1355410306","file3":"1355410297"},"map_files_photo_id_array":[{"photo_id":"1355410306","filename":"file5"},{"photo_id":"1355410292","filename":"file2"},{"photo_id":"1355410301","filename":"file4"},{"photo_id":"1355410286","filename":"file1"},{"photo_id":"1355410281","filename":"file0"},{"photo_id":"1355410297","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355410292":["hashtag1","hashtag2"]},{"1355410286":["hashtag1","hashtag2"]},{"1355410297":["hashtag1","hashtag2"]},{"1355410301":["hashtag1","hashtag2"]},{"1355410306":["hashtag1","hashtag2"]},{"1355410281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355410292, 1355410286, 1355410297, 1355410301, 1355410306, 1355410281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.554763078689575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:21:33.093543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/13/image_02052025_16_13_46_10472.jpg', '/home/pi/Desktop/images/02052025/16/13/image_02052025_16_13_55_9350.jpg', '/home/pi/Desktop/images/02052025/16/13/image_02052025_16_14_05_10348.jpg', '/home/pi/Desktop/images/02052025/16/14/image_02052025_16_14_15_9412.jpg', '/home/pi/Desktop/images/02052025/16/14/image_02052025_16_14_25_10379.jpg', '/home/pi/Desktop/images/02052025/16/14/image_02052025_16_14_36_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/13/image_02052025_16_13_46_10472.jpg
/home/pi/Desktop/images/02052025/16/13/image_02052025_16_13_55_9350.jpg
/home/pi/Desktop/images/02052025/16/13/image_02052025_16_14_05_10348.jpg
/home/pi/Desktop/images/02052025/16/14/image_02052025_16_14_15_9412.jpg
/home/pi/Desktop/images/02052025/16/14/image_02052025_16_14_25_10379.jpg
/home/pi/Desktop/images/02052025/16/14/image_02052025_16_14_36_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355410355","1355410340","1355410331","1355410351","1355410336","1355410353"],"photo_ids_order":["1355410331","1355410336","1355410340","1355410351","1355410353","1355410355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ce72db8722e95d9df637d85007eb7c5.jpg","text":"TemporaryFile(/tmp/multipartBody7972691327678597613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202953551,"filename":"image_02052025_16_14_36_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8554de2140608b3a474bd8ae0f93b214.jpg","text":"TemporaryFile(/tmp/multipartBody1932776311703379316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202953551,"filename":"image_02052025_16_14_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a50b55a8cb58ff4f4485dd122a56a20c.jpg","text":"TemporaryFile(/tmp/multipartBody7902034513444171264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202953551,"filename":"image_02052025_16_13_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/5/2/c58ae75eaf97cc65a951a9bc4fd67e7b.jpg","text":"TemporaryFile(/tmp/multipartBody5755149231331883153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202953551,"filename":"image_02052025_16_14_15_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/017b3f7a8b62a3a160d13d8d16b94e92.jpg","text":"TemporaryFile(/tmp/multipartBody2060967379295377287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202953551,"filename":"image_02052025_16_13_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/5/2/bd6810e9229cde46d031e0cd8ee411e8.jpg","text":"TemporaryFile(/tmp/multipartBody4778707531274119430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746202953551,"filename":"image_02052025_16_14_25_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355410340","file1":"1355410336","file0":"1355410331","file4":"1355410353","file5":"1355410355","file3":"1355410351"},"map_files_photo_id_array":[{"photo_id":"1355410355","filename":"file5"},{"photo_id":"1355410340","filename":"file2"},{"photo_id":"1355410353","filename":"file4"},{"photo_id":"1355410336","filename":"file1"},{"photo_id":"1355410331","filename":"file0"},{"photo_id":"1355410351","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355410355":["hashtag1","hashtag2"]},{"1355410340":["hashtag1","hashtag2"]},{"1355410331":["hashtag1","hashtag2"]},{"1355410351":["hashtag1","hashtag2"]},{"1355410336":["hashtag1","hashtag2"]},{"1355410353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355410355, 1355410340, 1355410331, 1355410351, 1355410336, 1355410353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.76763725280762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:22:32.518149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/14/image_02052025_16_14_45_9345.jpg', '/home/pi/Desktop/images/02052025/16/14/image_02052025_16_14_55_10418.jpg', '/home/pi/Desktop/images/02052025/16/14/image_02052025_16_15_05_9424.jpg', '/home/pi/Desktop/images/02052025/16/15/image_02052025_16_15_15_10383.jpg', '/home/pi/Desktop/images/02052025/16/15/image_02052025_16_15_26_10444.jpg', '/home/pi/Desktop/images/02052025/16/15/image_02052025_16_15_55_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/14/image_02052025_16_14_45_9345.jpg
/home/pi/Desktop/images/02052025/16/14/image_02052025_16_14_55_10418.jpg
/home/pi/Desktop/images/02052025/16/14/image_02052025_16_15_05_9424.jpg
/home/pi/Desktop/images/02052025/16/15/image_02052025_16_15_15_10383.jpg
/home/pi/Desktop/images/02052025/16/15/image_02052025_16_15_26_10444.jpg
/home/pi/Desktop/images/02052025/16/15/image_02052025_16_15_55_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":["1355410382","1355410379","1355410406","1355410417","1355410411","1355410374"],"photo_ids_order":["1355410374","1355410379","1355410382","1355410406","1355410411","1355410417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4429a0248b0c141c768a213d3136ef07.jpg","text":"TemporaryFile(/tmp/multipartBody7088544004911458533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203012999,"filename":"image_02052025_16_15_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/5/2/e55aebedfa0c5a6b38b6dad2dc9f0514.jpg","text":"TemporaryFile(/tmp/multipartBody2106541593137863189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203012999,"filename":"image_02052025_16_14_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/5/2/6f6bed929aa1009b1eae201e092e2065.jpg","text":"TemporaryFile(/tmp/multipartBody4895936791942309109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203012999,"filename":"image_02052025_16_15_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/5/2/802d38e91fc16ae1bd44c6dfa1e42ae2.jpg","text":"TemporaryFile(/tmp/multipartBody9187030617511220408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203012999,"filename":"image_02052025_16_15_55_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b59c2fb994219aa3d7bb92c806523fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4596512950687165071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203012999,"filename":"image_02052025_16_15_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/5/2/03746b67b6d0c0d1c5382628fc1737a2.jpg","text":"TemporaryFile(/tmp/multipartBody8255275284707372288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203012999,"filename":"image_02052025_16_14_45_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355410382","file1":"1355410379","file0":"1355410374","file4":"1355410411","file5":"1355410417","file3":"1355410406"},"map_files_photo_id_array":[{"photo_id":"1355410417","filename":"file5"},{"photo_id":"1355410382","filename":"file2"},{"photo_id":"1355410411","filename":"file4"},{"photo_id":"1355410379","filename":"file1"},{"photo_id":"1355410374","filename":"file0"},{"photo_id":"1355410406","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355410382":["hashtag1","hashtag2"]},{"1355410379":["hashtag1","hashtag2"]},{"1355410406":["hashtag1","hashtag2"]},{"1355410417":["hashtag1","hashtag2"]},{"1355410411":["hashtag1","hashtag2"]},{"1355410374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355410382, 1355410379, 1355410406, 1355410417, 1355410411, 1355410374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03119444847107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:23:32.608113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/15/image_02052025_16_16_05_10358.jpg', '/home/pi/Desktop/images/02052025/16/16/image_02052025_16_16_16_10418.jpg', '/home/pi/Desktop/images/02052025/16/16/image_02052025_16_16_35_10360.jpg', '/home/pi/Desktop/images/02052025/16/16/image_02052025_16_16_46_10412.jpg', '/home/pi/Desktop/images/02052025/16/16/image_02052025_16_16_55_9441.jpg', '/home/pi/Desktop/images/02052025/16/16/image_02052025_16_17_06_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/15/image_02052025_16_16_05_10358.jpg
/home/pi/Desktop/images/02052025/16/16/image_02052025_16_16_16_10418.jpg
/home/pi/Desktop/images/02052025/16/16/image_02052025_16_16_35_10360.jpg
/home/pi/Desktop/images/02052025/16/16/image_02052025_16_16_46_10412.jpg
/home/pi/Desktop/images/02052025/16/16/image_02052025_16_16_55_9441.jpg
/home/pi/Desktop/images/02052025/16/16/image_02052025_16_17_06_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":["1355410512","1355410440","1355410574","1355410538","1355410480","1355410452"],"photo_ids_order":["1355410440","1355410452","1355410480","1355410512","1355410538","1355410574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c12380cb0ec7a713f9ea8d7464af9d11.jpg","text":"TemporaryFile(/tmp/multipartBody4114509782940401169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203073074,"filename":"image_02052025_16_16_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/5/2/fb1e55f6e0b2e0d9edc36e3853ad6f64.jpg","text":"TemporaryFile(/tmp/multipartBody5590326285576885832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203073074,"filename":"image_02052025_16_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/5/2/17bf758d9cf577fcfbec714c8beb69bc.jpg","text":"TemporaryFile(/tmp/multipartBody968039010740090574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203073074,"filename":"image_02052025_16_17_06_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/928d5735d5c594aebc364efaed19761d.jpg","text":"TemporaryFile(/tmp/multipartBody8184613220657767068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203073074,"filename":"image_02052025_16_16_55_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/01ebe8c8d34a88df587991d0310628d2.jpg","text":"TemporaryFile(/tmp/multipartBody2253850602704479230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203073074,"filename":"image_02052025_16_16_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/5/2/0e1d1e1549ccf044a70446353fa988d1.jpg","text":"TemporaryFile(/tmp/multipartBody8564893609347559911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203073074,"filename":"image_02052025_16_16_16_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355410480","file1":"1355410452","file0":"1355410440","file4":"1355410538","file5":"1355410574","file3":"1355410512"},"map_files_photo_id_array":[{"photo_id":"1355410574","filename":"file5"},{"photo_id":"1355410480","filename":"file2"},{"photo_id":"1355410538","filename":"file4"},{"photo_id":"1355410452","filename":"file1"},{"photo_id":"1355410440","filename":"file0"},{"photo_id":"1355410512","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355410512":["hashtag1","hashtag2"]},{"1355410440":["hashtag1","hashtag2"]},{"1355410574":["hashtag1","hashtag2"]},{"1355410538":["hashtag1","hashtag2"]},{"1355410480":["hashtag1","hashtag2"]},{"1355410452":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355410512, 1355410440, 1355410574, 1355410538, 1355410480, 1355410452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.66118812561035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:24:32.780248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/17/image_02052025_16_17_15_9327.jpg', '/home/pi/Desktop/images/02052025/16/17/image_02052025_16_17_25_10463.jpg', '/home/pi/Desktop/images/02052025/16/17/image_02052025_16_17_35_9452.jpg', '/home/pi/Desktop/images/02052025/16/17/image_02052025_16_17_45_10357.jpg', '/home/pi/Desktop/images/02052025/16/17/image_02052025_16_17_56_10509.jpg', '/home/pi/Desktop/images/02052025/16/17/image_02052025_16_18_05_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/17/image_02052025_16_17_15_9327.jpg
/home/pi/Desktop/images/02052025/16/17/image_02052025_16_17_25_10463.jpg
/home/pi/Desktop/images/02052025/16/17/image_02052025_16_17_35_9452.jpg
/home/pi/Desktop/images/02052025/16/17/image_02052025_16_17_45_10357.jpg
/home/pi/Desktop/images/02052025/16/17/image_02052025_16_17_56_10509.jpg
/home/pi/Desktop/images/02052025/16/17/image_02052025_16_18_05_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355411380","1355411443","1355411413","1355411200","1355411112","1355411291"],"photo_ids_order":["1355411112","1355411200","1355411291","1355411380","1355411413","1355411443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/452a958205bde7c149630bc26bdc012f.jpg","text":"TemporaryFile(/tmp/multipartBody818025906708965593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203133320,"filename":"image_02052025_16_17_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/5/2/a516294dee2fe984853ccadd1e0a4a82.jpg","text":"TemporaryFile(/tmp/multipartBody5161486676695320317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203133320,"filename":"image_02052025_16_18_05_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c84fd42e646cb04564a8669e7fe1c102.jpg","text":"TemporaryFile(/tmp/multipartBody3574091050562635534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203133320,"filename":"image_02052025_16_17_56_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c44ef7b90e29fcaf74a01c8df6c03a5e.jpg","text":"TemporaryFile(/tmp/multipartBody2638107216911127513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203133320,"filename":"image_02052025_16_17_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/5/2/504647d1823073425df003355f87b8ec.jpg","text":"TemporaryFile(/tmp/multipartBody6232154699070733682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203133320,"filename":"image_02052025_16_17_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/5/2/e811e3da08cb8549f4a1cda86ad74a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1863954848445570809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203133320,"filename":"image_02052025_16_17_35_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355411291","file1":"1355411200","file0":"1355411112","file4":"1355411413","file5":"1355411443","file3":"1355411380"},"map_files_photo_id_array":[{"photo_id":"1355411443","filename":"file5"},{"photo_id":"1355411291","filename":"file2"},{"photo_id":"1355411413","filename":"file4"},{"photo_id":"1355411200","filename":"file1"},{"photo_id":"1355411112","filename":"file0"},{"photo_id":"1355411380","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355411380":["hashtag1","hashtag2"]},{"1355411443":["hashtag1","hashtag2"]},{"1355411413":["hashtag1","hashtag2"]},{"1355411200":["hashtag1","hashtag2"]},{"1355411112":["hashtag1","hashtag2"]},{"1355411291":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355411380, 1355411443, 1355411413, 1355411200, 1355411112, 1355411291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.997495889663696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:25:33.109702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/18/image_02052025_16_18_15_10369.jpg', '/home/pi/Desktop/images/02052025/16/18/image_02052025_16_18_25_9358.jpg', '/home/pi/Desktop/images/02052025/16/18/image_02052025_16_18_35_10450.jpg', '/home/pi/Desktop/images/02052025/16/18/image_02052025_16_18_46_10359.jpg', '/home/pi/Desktop/images/02052025/16/18/image_02052025_16_18_55_9359.jpg', '/home/pi/Desktop/images/02052025/16/18/image_02052025_16_19_05_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/18/image_02052025_16_18_15_10369.jpg
/home/pi/Desktop/images/02052025/16/18/image_02052025_16_18_25_9358.jpg
/home/pi/Desktop/images/02052025/16/18/image_02052025_16_18_35_10450.jpg
/home/pi/Desktop/images/02052025/16/18/image_02052025_16_18_46_10359.jpg
/home/pi/Desktop/images/02052025/16/18/image_02052025_16_18_55_9359.jpg
/home/pi/Desktop/images/02052025/16/18/image_02052025_16_19_05_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355411924","1355411828","1355412139","1355411986","1355411869","1355412228"],"photo_ids_order":["1355411828","1355411869","1355411924","1355411986","1355412139","1355412228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/51be38bfcb42e0385bc44cc9176b5c20.jpg","text":"TemporaryFile(/tmp/multipartBody2549840524199816562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203193575,"filename":"image_02052025_16_18_35_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fb2194b62b1ef591de836b227f56e6f5.jpg","text":"TemporaryFile(/tmp/multipartBody3236347382202505303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203193575,"filename":"image_02052025_16_18_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ee7e2e15cbf1fa0349d0327fae41376.jpg","text":"TemporaryFile(/tmp/multipartBody546066994323780476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203193575,"filename":"image_02052025_16_18_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/5/2/6ef84afbd6899752f7e4f09ce5d45761.jpg","text":"TemporaryFile(/tmp/multipartBody8945664798034678514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203193575,"filename":"image_02052025_16_18_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a75c5ed522f51f3863a2d0f91e02965.jpg","text":"TemporaryFile(/tmp/multipartBody1215882321197518208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203193575,"filename":"image_02052025_16_18_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/5/2/f959de6621130a3b93b2cb7c703f0d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5814464654231256991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203193575,"filename":"image_02052025_16_19_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355411924","file1":"1355411869","file0":"1355411828","file4":"1355412139","file5":"1355412228","file3":"1355411986"},"map_files_photo_id_array":[{"photo_id":"1355412228","filename":"file5"},{"photo_id":"1355411924","filename":"file2"},{"photo_id":"1355412139","filename":"file4"},{"photo_id":"1355411869","filename":"file1"},{"photo_id":"1355411828","filename":"file0"},{"photo_id":"1355411986","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355411924":["hashtag1","hashtag2"]},{"1355411828":["hashtag1","hashtag2"]},{"1355412139":["hashtag1","hashtag2"]},{"1355411986":["hashtag1","hashtag2"]},{"1355411869":["hashtag1","hashtag2"]},{"1355412228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355411924, 1355411828, 1355412139, 1355411986, 1355411869, 1355412228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 77.07352423667908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:26:52.191113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/19/image_02052025_16_19_16_10447.jpg', '/home/pi/Desktop/images/02052025/16/19/image_02052025_16_19_25_9351.jpg', '/home/pi/Desktop/images/02052025/16/19/image_02052025_16_19_35_10330.jpg', '/home/pi/Desktop/images/02052025/16/19/image_02052025_16_19_45_9393.jpg', '/home/pi/Desktop/images/02052025/16/19/image_02052025_16_19_55_10424.jpg', '/home/pi/Desktop/images/02052025/16/19/image_02052025_16_20_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/19/image_02052025_16_19_16_10447.jpg
/home/pi/Desktop/images/02052025/16/19/image_02052025_16_19_25_9351.jpg
/home/pi/Desktop/images/02052025/16/19/image_02052025_16_19_35_10330.jpg
/home/pi/Desktop/images/02052025/16/19/image_02052025_16_19_45_9393.jpg
/home/pi/Desktop/images/02052025/16/19/image_02052025_16_19_55_10424.jpg
/home/pi/Desktop/images/02052025/16/19/image_02052025_16_20_06_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":["1355412985","1355412777","1355412531","1355412906","1355412680","1355412446"],"photo_ids_order":["1355412446","1355412531","1355412680","1355412777","1355412906","1355412985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6397c6d477a1441c1884013b4230d64.jpg","text":"TemporaryFile(/tmp/multipartBody2616455690371497531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203273190,"filename":"image_02052025_16_20_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/5/2/a33de6b134c943863d943a8629a608b2.jpg","text":"TemporaryFile(/tmp/multipartBody2131095710566999304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203273190,"filename":"image_02052025_16_19_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/5/2/04ab86619ac9a1fa237016f7dcc899fa.jpg","text":"TemporaryFile(/tmp/multipartBody7070637692817994492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203273190,"filename":"image_02052025_16_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/5/2/5b69641ebe1593c22436230514d513d3.jpg","text":"TemporaryFile(/tmp/multipartBody3088472000935774902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203273190,"filename":"image_02052025_16_19_55_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6817e3cfbda598df47b0502e760fda2a.jpg","text":"TemporaryFile(/tmp/multipartBody6528973098259515163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203273190,"filename":"image_02052025_16_19_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/5/2/75d55a5f52f55152be4dc4ec227b0072.jpg","text":"TemporaryFile(/tmp/multipartBody6645644427956719130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203273190,"filename":"image_02052025_16_19_16_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355412680","file1":"1355412531","file0":"1355412446","file4":"1355412906","file5":"1355412985","file3":"1355412777"},"map_files_photo_id_array":[{"photo_id":"1355412985","filename":"file5"},{"photo_id":"1355412680","filename":"file2"},{"photo_id":"1355412906","filename":"file4"},{"photo_id":"1355412531","filename":"file1"},{"photo_id":"1355412446","filename":"file0"},{"photo_id":"1355412777","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355412985":["hashtag1","hashtag2"]},{"1355412777":["hashtag1","hashtag2"]},{"1355412531":["hashtag1","hashtag2"]},{"1355412906":["hashtag1","hashtag2"]},{"1355412680":["hashtag1","hashtag2"]},{"1355412446":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355412985, 1355412777, 1355412531, 1355412906, 1355412680, 1355412446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.80619549751282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:27:52.477233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/20/image_02052025_16_20_15_9336.jpg', '/home/pi/Desktop/images/02052025/16/20/image_02052025_16_20_25_10359.jpg', '/home/pi/Desktop/images/02052025/16/20/image_02052025_16_20_36_10448.jpg', '/home/pi/Desktop/images/02052025/16/20/image_02052025_16_20_45_9350.jpg', '/home/pi/Desktop/images/02052025/16/20/image_02052025_16_20_55_10364.jpg', '/home/pi/Desktop/images/02052025/16/20/image_02052025_16_21_05_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/20/image_02052025_16_20_15_9336.jpg
/home/pi/Desktop/images/02052025/16/20/image_02052025_16_20_25_10359.jpg
/home/pi/Desktop/images/02052025/16/20/image_02052025_16_20_36_10448.jpg
/home/pi/Desktop/images/02052025/16/20/image_02052025_16_20_45_9350.jpg
/home/pi/Desktop/images/02052025/16/20/image_02052025_16_20_55_10364.jpg
/home/pi/Desktop/images/02052025/16/20/image_02052025_16_21_05_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":["1355413111","1355413098","1355413178","1355413142","1355413226","1355413100"],"photo_ids_order":["1355413098","1355413100","1355413111","1355413142","1355413178","1355413226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/673ec280c44744f43fe9b17eaf86f0e3.jpg","text":"TemporaryFile(/tmp/multipartBody2590583339389979965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203333083,"filename":"image_02052025_16_20_36_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/35282337bcc8b3ce4afd7e311e40837b.jpg","text":"TemporaryFile(/tmp/multipartBody3191972404404706445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203333083,"filename":"image_02052025_16_20_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/5/2/94a2a3fb50ba46c5714af4cba714cd4b.jpg","text":"TemporaryFile(/tmp/multipartBody817347392171146105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203333083,"filename":"image_02052025_16_20_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/5/2/389af5d31826357f88f0e1c23d993a1d.jpg","text":"TemporaryFile(/tmp/multipartBody4398332303304515086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203333083,"filename":"image_02052025_16_20_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f302a2d062f1d7dafa887ee95755e1d0.jpg","text":"TemporaryFile(/tmp/multipartBody2259776569552052532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203333083,"filename":"image_02052025_16_21_05_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6d2564dedc7a2f5e72a94f81531c7c3.jpg","text":"TemporaryFile(/tmp/multipartBody1344930543340694682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203333083,"filename":"image_02052025_16_20_25_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355413111","file1":"1355413100","file0":"1355413098","file4":"1355413178","file5":"1355413226","file3":"1355413142"},"map_files_photo_id_array":[{"photo_id":"1355413226","filename":"file5"},{"photo_id":"1355413111","filename":"file2"},{"photo_id":"1355413178","filename":"file4"},{"photo_id":"1355413100","filename":"file1"},{"photo_id":"1355413098","filename":"file0"},{"photo_id":"1355413142","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355413111":["hashtag1","hashtag2"]},{"1355413098":["hashtag1","hashtag2"]},{"1355413178":["hashtag1","hashtag2"]},{"1355413142":["hashtag1","hashtag2"]},{"1355413226":["hashtag1","hashtag2"]},{"1355413100":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355413111, 1355413098, 1355413178, 1355413142, 1355413226, 1355413100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.02617120742798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 18:28:42.647529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/21/image_02052025_16_21_15_10366.jpg', '/home/pi/Desktop/images/02052025/16/21/image_02052025_16_21_26_10440.jpg', '/home/pi/Desktop/images/02052025/16/21/image_02052025_16_21_35_9343.jpg', '/home/pi/Desktop/images/02052025/16/21/image_02052025_16_21_45_10340.jpg', '/home/pi/Desktop/images/02052025/16/21/image_02052025_16_21_55_9438.jpg', '/home/pi/Desktop/images/02052025/16/21/image_02052025_16_22_05_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/21/image_02052025_16_21_15_10366.jpg
/home/pi/Desktop/images/02052025/16/21/image_02052025_16_21_26_10440.jpg
/home/pi/Desktop/images/02052025/16/21/image_02052025_16_21_35_9343.jpg
/home/pi/Desktop/images/02052025/16/21/image_02052025_16_21_45_10340.jpg
/home/pi/Desktop/images/02052025/16/21/image_02052025_16_21_55_9438.jpg
/home/pi/Desktop/images/02052025/16/21/image_02052025_16_22_05_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355413267","1355413369","1355413336","1355413263","1355413271","1355413307"],"photo_ids_order":["1355413263","1355413267","1355413271","1355413307","1355413336","1355413369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d9fe3749b5783360705d9c7894ed4b4a.jpg","text":"TemporaryFile(/tmp/multipartBody5713556812935283530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203383620,"filename":"image_02052025_16_21_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/01c9af733d607c8fb74333626bac9f4e.jpg","text":"TemporaryFile(/tmp/multipartBody4669203410914039618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203383620,"filename":"image_02052025_16_22_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/5/2/e486a2586d0303199fc40659d462f471.jpg","text":"TemporaryFile(/tmp/multipartBody1509018505808370488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203383620,"filename":"image_02052025_16_21_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/5/2/023bd342c7dae9a53aa4c2c2b11ffecb.jpg","text":"TemporaryFile(/tmp/multipartBody1375311593895215959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203383620,"filename":"image_02052025_16_21_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/5/2/fa90377c5d42e0a330d8cfacc32a8f33.jpg","text":"TemporaryFile(/tmp/multipartBody7114549677539416197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203383620,"filename":"image_02052025_16_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/5/2/70bf61c5d5bc5b623f3bec8f97935c04.jpg","text":"TemporaryFile(/tmp/multipartBody2715182430749785093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203383620,"filename":"image_02052025_16_21_45_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355413271","file1":"1355413267","file0":"1355413263","file4":"1355413336","file5":"1355413369","file3":"1355413307"},"map_files_photo_id_array":[{"photo_id":"1355413369","filename":"file5"},{"photo_id":"1355413271","filename":"file2"},{"photo_id":"1355413336","filename":"file4"},{"photo_id":"1355413267","filename":"file1"},{"photo_id":"1355413263","filename":"file0"},{"photo_id":"1355413307","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355413267":["hashtag1","hashtag2"]},{"1355413369":["hashtag1","hashtag2"]},{"1355413336":["hashtag1","hashtag2"]},{"1355413263":["hashtag1","hashtag2"]},{"1355413271":["hashtag1","hashtag2"]},{"1355413307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355413267, 1355413369, 1355413336, 1355413263, 1355413271, 1355413307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60046648979187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:29:32.890185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/22/image_02052025_16_22_16_10395.jpg', '/home/pi/Desktop/images/02052025/16/22/image_02052025_16_22_25_9342.jpg', '/home/pi/Desktop/images/02052025/16/22/image_02052025_16_22_35_10410.jpg', '/home/pi/Desktop/images/02052025/16/22/image_02052025_16_22_46_10371.jpg', '/home/pi/Desktop/images/02052025/16/22/image_02052025_16_22_55_9359.jpg', '/home/pi/Desktop/images/02052025/16/22/image_02052025_16_23_05_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/22/image_02052025_16_22_16_10395.jpg
/home/pi/Desktop/images/02052025/16/22/image_02052025_16_22_25_9342.jpg
/home/pi/Desktop/images/02052025/16/22/image_02052025_16_22_35_10410.jpg
/home/pi/Desktop/images/02052025/16/22/image_02052025_16_22_46_10371.jpg
/home/pi/Desktop/images/02052025/16/22/image_02052025_16_22_55_9359.jpg
/home/pi/Desktop/images/02052025/16/22/image_02052025_16_23_05_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355413504","1355413472","1355413433","1355413535","1355413403","1355413406"],"photo_ids_order":["1355413403","1355413406","1355413433","1355413472","1355413504","1355413535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16bf2b0daa3cf1cfc8b9d4655e97fbb2.jpg","text":"TemporaryFile(/tmp/multipartBody1323549627349197955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203433358,"filename":"image_02052025_16_22_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/5/2/773492c94fd962443586b805356f40a0.jpg","text":"TemporaryFile(/tmp/multipartBody7574541183696447509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203433358,"filename":"image_02052025_16_22_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/5/2/05c65523f0a8dc6fe025b861c5b8f4b7.jpg","text":"TemporaryFile(/tmp/multipartBody6689707236647384220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203433358,"filename":"image_02052025_16_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/5/2/384d9923d3ed9333b4497d9155322c53.jpg","text":"TemporaryFile(/tmp/multipartBody762112676789145454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203433358,"filename":"image_02052025_16_23_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b70c6730d68bea3b89d9067655e59b27.jpg","text":"TemporaryFile(/tmp/multipartBody1227978014256256335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203433358,"filename":"image_02052025_16_22_16_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3763fa05c25d74462169a56e28be974.jpg","text":"TemporaryFile(/tmp/multipartBody484468728485197746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203433358,"filename":"image_02052025_16_22_25_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355413433","file1":"1355413406","file0":"1355413403","file4":"1355413504","file5":"1355413535","file3":"1355413472"},"map_files_photo_id_array":[{"photo_id":"1355413535","filename":"file5"},{"photo_id":"1355413433","filename":"file2"},{"photo_id":"1355413504","filename":"file4"},{"photo_id":"1355413406","filename":"file1"},{"photo_id":"1355413403","filename":"file0"},{"photo_id":"1355413472","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355413504":["hashtag1","hashtag2"]},{"1355413472":["hashtag1","hashtag2"]},{"1355413433":["hashtag1","hashtag2"]},{"1355413535":["hashtag1","hashtag2"]},{"1355413403":["hashtag1","hashtag2"]},{"1355413406":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355413504, 1355413472, 1355413433, 1355413535, 1355413403, 1355413406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53493618965149 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:30:33.103846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/23/image_02052025_16_23_15_9349.jpg', '/home/pi/Desktop/images/02052025/16/23/image_02052025_16_23_25_10388.jpg', '/home/pi/Desktop/images/02052025/16/23/image_02052025_16_23_36_10419.jpg', '/home/pi/Desktop/images/02052025/16/23/image_02052025_16_23_45_9348.jpg', '/home/pi/Desktop/images/02052025/16/23/image_02052025_16_23_55_10358.jpg', '/home/pi/Desktop/images/02052025/16/24/image_02052025_16_24_15_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/23/image_02052025_16_23_15_9349.jpg
/home/pi/Desktop/images/02052025/16/23/image_02052025_16_23_25_10388.jpg
/home/pi/Desktop/images/02052025/16/23/image_02052025_16_23_36_10419.jpg
/home/pi/Desktop/images/02052025/16/23/image_02052025_16_23_45_9348.jpg
/home/pi/Desktop/images/02052025/16/23/image_02052025_16_23_55_10358.jpg
/home/pi/Desktop/images/02052025/16/24/image_02052025_16_24_15_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355413689","1355413755","1355413758","1355413701","1355413739","1355413622"],"photo_ids_order":["1355413622","1355413689","1355413701","1355413739","1355413755","1355413758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d19e20d2ab4a344c24621e4d5cd034ce.jpg","text":"TemporaryFile(/tmp/multipartBody743836267005805055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203493561,"filename":"image_02052025_16_23_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/5/2/5adf625821c1eefbef0686726298e4d5.jpg","text":"TemporaryFile(/tmp/multipartBody1395049946354683946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203493561,"filename":"image_02052025_16_23_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/5/2/d4ad79bcea1e1850fda2c07ee12c6307.jpg","text":"TemporaryFile(/tmp/multipartBody4733411693827974873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203493561,"filename":"image_02052025_16_24_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/5/2/64fbd5c56742a4d2f3109bfe51eaa614.jpg","text":"TemporaryFile(/tmp/multipartBody5863709916723054640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203493561,"filename":"image_02052025_16_23_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/5/2/2df0ad1e52500b8978a114628ef624f1.jpg","text":"TemporaryFile(/tmp/multipartBody5449230441355820902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203493561,"filename":"image_02052025_16_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/5/2/63ae2569b0caad28d46a1640c03b1b90.jpg","text":"TemporaryFile(/tmp/multipartBody8952040795484987524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203493561,"filename":"image_02052025_16_23_15_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355413701","file1":"1355413689","file0":"1355413622","file4":"1355413755","file5":"1355413758","file3":"1355413739"},"map_files_photo_id_array":[{"photo_id":"1355413758","filename":"file5"},{"photo_id":"1355413701","filename":"file2"},{"photo_id":"1355413755","filename":"file4"},{"photo_id":"1355413689","filename":"file1"},{"photo_id":"1355413622","filename":"file0"},{"photo_id":"1355413739","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355413689":["hashtag1","hashtag2"]},{"1355413755":["hashtag1","hashtag2"]},{"1355413758":["hashtag1","hashtag2"]},{"1355413701":["hashtag1","hashtag2"]},{"1355413739":["hashtag1","hashtag2"]},{"1355413622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355413689, 1355413755, 1355413758, 1355413701, 1355413739, 1355413622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.118093967437744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:31:32.276835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/24/image_02052025_16_24_25_10370.jpg', '/home/pi/Desktop/images/02052025/16/24/image_02052025_16_24_36_10346.jpg', '/home/pi/Desktop/images/02052025/16/24/image_02052025_16_24_45_9348.jpg', '/home/pi/Desktop/images/02052025/16/24/image_02052025_16_24_55_10345.jpg', '/home/pi/Desktop/images/02052025/16/24/image_02052025_16_25_05_9408.jpg', '/home/pi/Desktop/images/02052025/16/25/image_02052025_16_25_15_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/24/image_02052025_16_24_25_10370.jpg
/home/pi/Desktop/images/02052025/16/24/image_02052025_16_24_36_10346.jpg
/home/pi/Desktop/images/02052025/16/24/image_02052025_16_24_45_9348.jpg
/home/pi/Desktop/images/02052025/16/24/image_02052025_16_24_55_10345.jpg
/home/pi/Desktop/images/02052025/16/24/image_02052025_16_25_05_9408.jpg
/home/pi/Desktop/images/02052025/16/25/image_02052025_16_25_15_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355413983","1355413974","1355413935","1355413830","1355413905","1355413874"],"photo_ids_order":["1355413830","1355413874","1355413905","1355413935","1355413974","1355413983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7f6ac8ebff6ee394a7fd07191d499116.jpg","text":"TemporaryFile(/tmp/multipartBody3371733039365063321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203552731,"filename":"image_02052025_16_25_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ba1f897e9cd986aac43de7ae882d772.jpg","text":"TemporaryFile(/tmp/multipartBody2118528566840373254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203552731,"filename":"image_02052025_16_25_05_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/03db25b154924fe556c53b2e7ba10f16.jpg","text":"TemporaryFile(/tmp/multipartBody2064672552577531752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203552731,"filename":"image_02052025_16_24_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/5/2/129b2277da7afb4798ed472102ad47a6.jpg","text":"TemporaryFile(/tmp/multipartBody988939776951252343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203552731,"filename":"image_02052025_16_24_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/5/2/a3b7e2c77a26d680d0981352786b6a7a.jpg","text":"TemporaryFile(/tmp/multipartBody3175351183435925179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203552731,"filename":"image_02052025_16_24_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/5/2/a54ac815ca8ba4f1393352a3a0a17229.jpg","text":"TemporaryFile(/tmp/multipartBody1756126675223560052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203552731,"filename":"image_02052025_16_24_36_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355413905","file1":"1355413874","file0":"1355413830","file4":"1355413974","file5":"1355413983","file3":"1355413935"},"map_files_photo_id_array":[{"photo_id":"1355413983","filename":"file5"},{"photo_id":"1355413905","filename":"file2"},{"photo_id":"1355413974","filename":"file4"},{"photo_id":"1355413874","filename":"file1"},{"photo_id":"1355413830","filename":"file0"},{"photo_id":"1355413935","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355413983":["hashtag1","hashtag2"]},{"1355413974":["hashtag1","hashtag2"]},{"1355413935":["hashtag1","hashtag2"]},{"1355413830":["hashtag1","hashtag2"]},{"1355413905":["hashtag1","hashtag2"]},{"1355413874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355413983, 1355413974, 1355413935, 1355413830, 1355413905, 1355413874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59666585922241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:32:32.480323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/25/image_02052025_16_25_45_10338.jpg', '/home/pi/Desktop/images/02052025/16/25/image_02052025_16_25_55_9448.jpg', '/home/pi/Desktop/images/02052025/16/25/image_02052025_16_26_05_10350.jpg', '/home/pi/Desktop/images/02052025/16/26/image_02052025_16_26_15_10333.jpg', '/home/pi/Desktop/images/02052025/16/26/image_02052025_16_26_25_9400.jpg', '/home/pi/Desktop/images/02052025/16/26/image_02052025_16_26_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/25/image_02052025_16_25_45_10338.jpg
/home/pi/Desktop/images/02052025/16/25/image_02052025_16_25_55_9448.jpg
/home/pi/Desktop/images/02052025/16/25/image_02052025_16_26_05_10350.jpg
/home/pi/Desktop/images/02052025/16/26/image_02052025_16_26_15_10333.jpg
/home/pi/Desktop/images/02052025/16/26/image_02052025_16_26_25_9400.jpg
/home/pi/Desktop/images/02052025/16/26/image_02052025_16_26_35_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355414292","1355414305","1355414313","1355414261","1355414309","1355414231"],"photo_ids_order":["1355414231","1355414261","1355414292","1355414305","1355414309","1355414313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8f9add1dd8bbcbbc1e1d0ecfa6c4d62a.jpg","text":"TemporaryFile(/tmp/multipartBody1401774788656855590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203613004,"filename":"image_02052025_16_26_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/5/2/c70b21e54fcca618f46d9d02fb700bcb.jpg","text":"TemporaryFile(/tmp/multipartBody9208024520903357112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203613004,"filename":"image_02052025_16_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/5/2/94ace6e31d0fce63381f0e5f62a1acf4.jpg","text":"TemporaryFile(/tmp/multipartBody1642191002448773077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203613004,"filename":"image_02052025_16_26_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/5/2/4c8adc36b5b9c543fe38e4da0fd36db8.jpg","text":"TemporaryFile(/tmp/multipartBody4919338936871119900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203613004,"filename":"image_02052025_16_25_55_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/26f28ee2b9c1c5a065fc21ab9e4e6835.jpg","text":"TemporaryFile(/tmp/multipartBody7348803124075836416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203613004,"filename":"image_02052025_16_26_25_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d81e546ac8d0d122e16bbbc2ce4cb91.jpg","text":"TemporaryFile(/tmp/multipartBody5396496064615984348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203613004,"filename":"image_02052025_16_25_45_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355414292","file1":"1355414261","file0":"1355414231","file4":"1355414309","file5":"1355414313","file3":"1355414305"},"map_files_photo_id_array":[{"photo_id":"1355414313","filename":"file5"},{"photo_id":"1355414292","filename":"file2"},{"photo_id":"1355414309","filename":"file4"},{"photo_id":"1355414261","filename":"file1"},{"photo_id":"1355414231","filename":"file0"},{"photo_id":"1355414305","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355414292":["hashtag1","hashtag2"]},{"1355414305":["hashtag1","hashtag2"]},{"1355414313":["hashtag1","hashtag2"]},{"1355414261":["hashtag1","hashtag2"]},{"1355414309":["hashtag1","hashtag2"]},{"1355414231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355414292, 1355414305, 1355414313, 1355414261, 1355414309, 1355414231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88543629646301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:33:32.638892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/26/image_02052025_16_26_55_9355.jpg', '/home/pi/Desktop/images/02052025/16/26/image_02052025_16_27_05_10374.jpg', '/home/pi/Desktop/images/02052025/16/27/image_02052025_16_27_36_10401.jpg', '/home/pi/Desktop/images/02052025/16/27/image_02052025_16_27_45_9353.jpg', '/home/pi/Desktop/images/02052025/16/27/image_02052025_16_27_55_10371.jpg', '/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_15_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/26/image_02052025_16_26_55_9355.jpg
/home/pi/Desktop/images/02052025/16/26/image_02052025_16_27_05_10374.jpg
/home/pi/Desktop/images/02052025/16/27/image_02052025_16_27_36_10401.jpg
/home/pi/Desktop/images/02052025/16/27/image_02052025_16_27_45_9353.jpg
/home/pi/Desktop/images/02052025/16/27/image_02052025_16_27_55_10371.jpg
/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_15_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355414766","1355414588","1355414576","1355414636","1355414450","1355414437"],"photo_ids_order":["1355414437","1355414450","1355414576","1355414588","1355414636","1355414766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a8f6d214bbd7a9f3617a7ca6947c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody3265005376768674708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203673096,"filename":"image_02052025_16_28_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/5/2/c0c24d5a374a06144884d927842d9429.jpg","text":"TemporaryFile(/tmp/multipartBody3439079933784878269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203673096,"filename":"image_02052025_16_27_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/5/2/cab1b063fc5d86d21355d11915c3add3.jpg","text":"TemporaryFile(/tmp/multipartBody3738917195563794770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203673096,"filename":"image_02052025_16_27_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/5/2/c5381e62cc063e71ce5d1bb54497b115.jpg","text":"TemporaryFile(/tmp/multipartBody756565806277473951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203673096,"filename":"image_02052025_16_27_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/5/2/a22ddc531b54e3acd25bb2bae448513b.jpg","text":"TemporaryFile(/tmp/multipartBody2779817709624817468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203673096,"filename":"image_02052025_16_27_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/51bb8b8b39b608f99f09eba39d990b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4598790060583561094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203673096,"filename":"image_02052025_16_26_55_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355414576","file1":"1355414450","file0":"1355414437","file4":"1355414636","file5":"1355414766","file3":"1355414588"},"map_files_photo_id_array":[{"photo_id":"1355414766","filename":"file5"},{"photo_id":"1355414576","filename":"file2"},{"photo_id":"1355414636","filename":"file4"},{"photo_id":"1355414450","filename":"file1"},{"photo_id":"1355414437","filename":"file0"},{"photo_id":"1355414588","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355414766":["hashtag1","hashtag2"]},{"1355414588":["hashtag1","hashtag2"]},{"1355414576":["hashtag1","hashtag2"]},{"1355414636":["hashtag1","hashtag2"]},{"1355414450":["hashtag1","hashtag2"]},{"1355414437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355414766, 1355414588, 1355414576, 1355414636, 1355414450, 1355414437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.2717342376709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:34:32.764161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_25_10417.jpg', '/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_35_9446.jpg', '/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_45_10333.jpg', '/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_56_10482.jpg', '/home/pi/Desktop/images/02052025/16/28/image_02052025_16_29_05_9343.jpg', '/home/pi/Desktop/images/02052025/16/29/image_02052025_16_29_26_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_25_10417.jpg
/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_35_9446.jpg
/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_45_10333.jpg
/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_56_10482.jpg
/home/pi/Desktop/images/02052025/16/28/image_02052025_16_29_05_9343.jpg
/home/pi/Desktop/images/02052025/16/29/image_02052025_16_29_26_10350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3916795253753662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 18:34:42.837825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_25_10417.jpg', '/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_35_9446.jpg', '/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_45_10333.jpg', '/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_56_10482.jpg', '/home/pi/Desktop/images/02052025/16/28/image_02052025_16_29_05_9343.jpg', '/home/pi/Desktop/images/02052025/16/29/image_02052025_16_29_26_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_25_10417.jpg
/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_35_9446.jpg
/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_45_10333.jpg
/home/pi/Desktop/images/02052025/16/28/image_02052025_16_28_56_10482.jpg
/home/pi/Desktop/images/02052025/16/28/image_02052025_16_29_05_9343.jpg
/home/pi/Desktop/images/02052025/16/29/image_02052025_16_29_26_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":["1355414976","1355415033","1355415077","1355414966","1355415052","1355415019"],"photo_ids_order":["1355414966","1355414976","1355415019","1355415033","1355415052","1355415077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c667d95588005a5748376ca1d46e0f80.jpg","text":"TemporaryFile(/tmp/multipartBody8096460687552189207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203743304,"filename":"image_02052025_16_28_35_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/861ae8e0fbd3f7d141a354996a3d19ba.jpg","text":"TemporaryFile(/tmp/multipartBody3763624741491390415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203743304,"filename":"image_02052025_16_28_56_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3d6ffb74a020c2f121013ccad0067d5.jpg","text":"TemporaryFile(/tmp/multipartBody5943171307669541846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203743304,"filename":"image_02052025_16_29_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/5/2/63656230b6c9489be8651ae475c46394.jpg","text":"TemporaryFile(/tmp/multipartBody3556774464228639608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203743304,"filename":"image_02052025_16_28_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/5/2/d634230749e93f3b1edf0bac2ce44463.jpg","text":"TemporaryFile(/tmp/multipartBody1318449387548330917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203743304,"filename":"image_02052025_16_29_05_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3071cee3777c57245eadcdbcb5b206d9.jpg","text":"TemporaryFile(/tmp/multipartBody8224520677351034018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203743304,"filename":"image_02052025_16_28_45_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355415019","file1":"1355414976","file0":"1355414966","file4":"1355415052","file5":"1355415077","file3":"1355415033"},"map_files_photo_id_array":[{"photo_id":"1355415077","filename":"file5"},{"photo_id":"1355415019","filename":"file2"},{"photo_id":"1355415052","filename":"file4"},{"photo_id":"1355414976","filename":"file1"},{"photo_id":"1355414966","filename":"file0"},{"photo_id":"1355415033","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355414976":["hashtag1","hashtag2"]},{"1355415033":["hashtag1","hashtag2"]},{"1355415077":["hashtag1","hashtag2"]},{"1355414966":["hashtag1","hashtag2"]},{"1355415052":["hashtag1","hashtag2"]},{"1355415019":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355414976, 1355415033, 1355415077, 1355414966, 1355415052, 1355415019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.755874156951904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:35:32.957826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/29/image_02052025_16_29_35_9342.jpg', '/home/pi/Desktop/images/02052025/16/30/image_02052025_16_30_25_9359.jpg', '/home/pi/Desktop/images/02052025/16/30/image_02052025_16_30_35_10350.jpg', '/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_15_9321.jpg', '/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_25_10354.jpg', '/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_45_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/29/image_02052025_16_29_35_9342.jpg
/home/pi/Desktop/images/02052025/16/30/image_02052025_16_30_25_9359.jpg
/home/pi/Desktop/images/02052025/16/30/image_02052025_16_30_35_10350.jpg
/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_15_9321.jpg
/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_25_10354.jpg
/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_45_9416.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3769552707672119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 18:35:43.008287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/29/image_02052025_16_29_35_9342.jpg', '/home/pi/Desktop/images/02052025/16/30/image_02052025_16_30_25_9359.jpg', '/home/pi/Desktop/images/02052025/16/30/image_02052025_16_30_35_10350.jpg', '/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_15_9321.jpg', '/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_25_10354.jpg', '/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_45_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/29/image_02052025_16_29_35_9342.jpg
/home/pi/Desktop/images/02052025/16/30/image_02052025_16_30_25_9359.jpg
/home/pi/Desktop/images/02052025/16/30/image_02052025_16_30_35_10350.jpg
/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_15_9321.jpg
/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_25_10354.jpg
/home/pi/Desktop/images/02052025/16/31/image_02052025_16_31_45_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355415216","1355415185","1355415158","1355415233","1355415130","1355415115"],"photo_ids_order":["1355415115","1355415130","1355415158","1355415185","1355415216","1355415233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e987f45af2adb4ff949546f035d3af66.jpg","text":"TemporaryFile(/tmp/multipartBody4435050131002647708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203803631,"filename":"image_02052025_16_31_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/5/2/9f21ade5e28a3901b41c71d760a58c1d.jpg","text":"TemporaryFile(/tmp/multipartBody22478182150091304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203803631,"filename":"image_02052025_16_31_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/5/2/d76b3f7eda1f418ff96b4076fc08a35f.jpg","text":"TemporaryFile(/tmp/multipartBody9086411044147484381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203803631,"filename":"image_02052025_16_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/5/2/8ce8d3258c385185d93da38df800c52d.jpg","text":"TemporaryFile(/tmp/multipartBody941254951162368476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203803631,"filename":"image_02052025_16_31_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/5/2/19be98c5bb2bc84603476158adacc720.jpg","text":"TemporaryFile(/tmp/multipartBody7274853145738825287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203803631,"filename":"image_02052025_16_30_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/5/2/bb7c2c839e826bf166eb899e0582b8e7.jpg","text":"TemporaryFile(/tmp/multipartBody3993029604707530655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203803631,"filename":"image_02052025_16_29_35_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355415158","file1":"1355415130","file0":"1355415115","file4":"1355415216","file5":"1355415233","file3":"1355415185"},"map_files_photo_id_array":[{"photo_id":"1355415233","filename":"file5"},{"photo_id":"1355415158","filename":"file2"},{"photo_id":"1355415216","filename":"file4"},{"photo_id":"1355415130","filename":"file1"},{"photo_id":"1355415115","filename":"file0"},{"photo_id":"1355415185","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355415216":["hashtag1","hashtag2"]},{"1355415185":["hashtag1","hashtag2"]},{"1355415158":["hashtag1","hashtag2"]},{"1355415233":["hashtag1","hashtag2"]},{"1355415130":["hashtag1","hashtag2"]},{"1355415115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355415216, 1355415185, 1355415158, 1355415233, 1355415130, 1355415115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.281057834625244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:36:32.150805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/32/image_02052025_16_32_15_10364.jpg', '/home/pi/Desktop/images/02052025/16/32/image_02052025_16_32_26_10430.jpg', '/home/pi/Desktop/images/02052025/16/33/image_02052025_16_33_35_10340.jpg', '/home/pi/Desktop/images/02052025/16/34/image_02052025_16_34_56_10447.jpg', '/home/pi/Desktop/images/02052025/16/36/image_02052025_16_36_35_10350.jpg', '/home/pi/Desktop/images/02052025/16/38/image_02052025_16_38_15_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/32/image_02052025_16_32_15_10364.jpg
/home/pi/Desktop/images/02052025/16/32/image_02052025_16_32_26_10430.jpg
/home/pi/Desktop/images/02052025/16/33/image_02052025_16_33_35_10340.jpg
/home/pi/Desktop/images/02052025/16/34/image_02052025_16_34_56_10447.jpg
/home/pi/Desktop/images/02052025/16/36/image_02052025_16_36_35_10350.jpg
/home/pi/Desktop/images/02052025/16/38/image_02052025_16_38_15_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355415276","1355415278","1355415260","1355415280","1355415268","1355415264"],"photo_ids_order":["1355415260","1355415264","1355415268","1355415276","1355415278","1355415280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/066df0200c63ec6f44f0a5287e9b4b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8106751169651120052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203852628,"filename":"image_02052025_16_34_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/5/2/0457b3444afe3a959ccb3d511e35270b.jpg","text":"TemporaryFile(/tmp/multipartBody8731798080289149998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203852628,"filename":"image_02052025_16_36_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/5/2/b4d6f2b82cb7623c608300c22642ec5d.jpg","text":"TemporaryFile(/tmp/multipartBody3135407089032205568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203852628,"filename":"image_02052025_16_32_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/5/2/3ede3457e917a475ce96d6918d1448b4.jpg","text":"TemporaryFile(/tmp/multipartBody446885695202915795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203852628,"filename":"image_02052025_16_38_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/5/2/206273ece08bb0f0309ba25251eb212c.jpg","text":"TemporaryFile(/tmp/multipartBody7857623106736086533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203852628,"filename":"image_02052025_16_33_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/5/2/914a9829dbaf3a61faac5328f3c394eb.jpg","text":"TemporaryFile(/tmp/multipartBody5691285442806398657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203852628,"filename":"image_02052025_16_32_26_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355415268","file1":"1355415264","file0":"1355415260","file4":"1355415278","file5":"1355415280","file3":"1355415276"},"map_files_photo_id_array":[{"photo_id":"1355415280","filename":"file5"},{"photo_id":"1355415268","filename":"file2"},{"photo_id":"1355415278","filename":"file4"},{"photo_id":"1355415264","filename":"file1"},{"photo_id":"1355415260","filename":"file0"},{"photo_id":"1355415276","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355415276":["hashtag1","hashtag2"]},{"1355415278":["hashtag1","hashtag2"]},{"1355415260":["hashtag1","hashtag2"]},{"1355415280":["hashtag1","hashtag2"]},{"1355415268":["hashtag1","hashtag2"]},{"1355415264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355415276, 1355415278, 1355415260, 1355415280, 1355415268, 1355415264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.351295471191406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:37:32.392078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/38/image_02052025_16_38_26_10474.jpg', '/home/pi/Desktop/images/02052025/16/40/image_02052025_16_40_15_9382.jpg', '/home/pi/Desktop/images/02052025/16/40/image_02052025_16_40_25_10369.jpg', '/home/pi/Desktop/images/02052025/16/40/image_02052025_16_40_36_10480.jpg', '/home/pi/Desktop/images/02052025/16/40/image_02052025_16_40_45_9327.jpg', '/home/pi/Desktop/images/02052025/16/40/image_02052025_16_40_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/38/image_02052025_16_38_26_10474.jpg
/home/pi/Desktop/images/02052025/16/40/image_02052025_16_40_15_9382.jpg
/home/pi/Desktop/images/02052025/16/40/image_02052025_16_40_25_10369.jpg
/home/pi/Desktop/images/02052025/16/40/image_02052025_16_40_36_10480.jpg
/home/pi/Desktop/images/02052025/16/40/image_02052025_16_40_45_9327.jpg
/home/pi/Desktop/images/02052025/16/40/image_02052025_16_40_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":["1355415315","1355415318","1355415299","1355415311","1355415319","1355415304"],"photo_ids_order":["1355415299","1355415304","1355415311","1355415315","1355415318","1355415319"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e85a97ddfcc4c8e7fdb78344ac8d374f.jpg","text":"TemporaryFile(/tmp/multipartBody1532160980934468762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203912863,"filename":"image_02052025_16_40_36_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81d919cc16b86f143c4608cf1402d7ca.jpg","text":"TemporaryFile(/tmp/multipartBody2974170090052835146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203912863,"filename":"image_02052025_16_40_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/5/2/c0734aaec9a0654f008f261aee73042a.jpg","text":"TemporaryFile(/tmp/multipartBody6358199128963594953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203912863,"filename":"image_02052025_16_38_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/5/2/28535c774ec3e32fd1976aa2bd5977d3.jpg","text":"TemporaryFile(/tmp/multipartBody6205103539158728052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203912863,"filename":"image_02052025_16_40_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc6df960e097d02927674c2453552cf4.jpg","text":"TemporaryFile(/tmp/multipartBody5961160640744184150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203912863,"filename":"image_02052025_16_40_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/929f57f78934d63fb769bf0d4dcd2eea.jpg","text":"TemporaryFile(/tmp/multipartBody6643835403553910529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203912863,"filename":"image_02052025_16_40_15_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355415311","file1":"1355415304","file0":"1355415299","file4":"1355415318","file5":"1355415319","file3":"1355415315"},"map_files_photo_id_array":[{"photo_id":"1355415319","filename":"file5"},{"photo_id":"1355415311","filename":"file2"},{"photo_id":"1355415318","filename":"file4"},{"photo_id":"1355415304","filename":"file1"},{"photo_id":"1355415299","filename":"file0"},{"photo_id":"1355415315","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355415315":["hashtag1","hashtag2"]},{"1355415318":["hashtag1","hashtag2"]},{"1355415299":["hashtag1","hashtag2"]},{"1355415311":["hashtag1","hashtag2"]},{"1355415319":["hashtag1","hashtag2"]},{"1355415304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355415315, 1355415318, 1355415299, 1355415311, 1355415319, 1355415304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68738889694214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:38:32.451299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/40/image_02052025_16_41_05_9449.jpg', '/home/pi/Desktop/images/02052025/16/41/image_02052025_16_41_15_10337.jpg', '/home/pi/Desktop/images/02052025/16/41/image_02052025_16_41_26_10432.jpg', '/home/pi/Desktop/images/02052025/16/41/image_02052025_16_41_35_9349.jpg', '/home/pi/Desktop/images/02052025/16/41/image_02052025_16_41_56_10352.jpg', '/home/pi/Desktop/images/02052025/16/41/image_02052025_16_42_05_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/40/image_02052025_16_41_05_9449.jpg
/home/pi/Desktop/images/02052025/16/41/image_02052025_16_41_15_10337.jpg
/home/pi/Desktop/images/02052025/16/41/image_02052025_16_41_26_10432.jpg
/home/pi/Desktop/images/02052025/16/41/image_02052025_16_41_35_9349.jpg
/home/pi/Desktop/images/02052025/16/41/image_02052025_16_41_56_10352.jpg
/home/pi/Desktop/images/02052025/16/41/image_02052025_16_42_05_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355415357","1355415350","1355415344","1355415353","1355415347","1355415355"],"photo_ids_order":["1355415344","1355415347","1355415350","1355415353","1355415355","1355415357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0de822f2a72ab70fc843264563c5b64.jpg","text":"TemporaryFile(/tmp/multipartBody6362173560633553592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203972919,"filename":"image_02052025_16_42_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/5/2/287b1d5c7c55125e6624cbeec6cc9060.jpg","text":"TemporaryFile(/tmp/multipartBody4749873725657566522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203972919,"filename":"image_02052025_16_41_26_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d9ad1cd348d0f897e5f0f9dc43a0fae8.jpg","text":"TemporaryFile(/tmp/multipartBody5395944156293308094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203972919,"filename":"image_02052025_16_41_05_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0465208f3940a250ed7bbe68fecbed38.jpg","text":"TemporaryFile(/tmp/multipartBody1478014148237215878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203972919,"filename":"image_02052025_16_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/5/2/bdf941741a36a6d8ae8693986ae1fcb7.jpg","text":"TemporaryFile(/tmp/multipartBody3086841551223104901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203972919,"filename":"image_02052025_16_41_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/5/2/73a970c97538a853189e6fe7a1bf209f.jpg","text":"TemporaryFile(/tmp/multipartBody8230055729341151759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746203972919,"filename":"image_02052025_16_41_56_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355415350","file1":"1355415347","file0":"1355415344","file4":"1355415355","file5":"1355415357","file3":"1355415353"},"map_files_photo_id_array":[{"photo_id":"1355415357","filename":"file5"},{"photo_id":"1355415350","filename":"file2"},{"photo_id":"1355415355","filename":"file4"},{"photo_id":"1355415347","filename":"file1"},{"photo_id":"1355415344","filename":"file0"},{"photo_id":"1355415353","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355415357":["hashtag1","hashtag2"]},{"1355415350":["hashtag1","hashtag2"]},{"1355415344":["hashtag1","hashtag2"]},{"1355415353":["hashtag1","hashtag2"]},{"1355415347":["hashtag1","hashtag2"]},{"1355415355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355415357, 1355415350, 1355415344, 1355415353, 1355415347, 1355415355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54081392288208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:39:32.604965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/42/image_02052025_16_42_15_10354.jpg', '/home/pi/Desktop/images/02052025/16/42/image_02052025_16_42_25_9464.jpg', '/home/pi/Desktop/images/02052025/16/42/image_02052025_16_42_35_10352.jpg', '/home/pi/Desktop/images/02052025/16/42/image_02052025_16_42_46_10501.jpg', '/home/pi/Desktop/images/02052025/16/42/image_02052025_16_42_55_9362.jpg', '/home/pi/Desktop/images/02052025/16/42/image_02052025_16_43_05_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/42/image_02052025_16_42_15_10354.jpg
/home/pi/Desktop/images/02052025/16/42/image_02052025_16_42_25_9464.jpg
/home/pi/Desktop/images/02052025/16/42/image_02052025_16_42_35_10352.jpg
/home/pi/Desktop/images/02052025/16/42/image_02052025_16_42_46_10501.jpg
/home/pi/Desktop/images/02052025/16/42/image_02052025_16_42_55_9362.jpg
/home/pi/Desktop/images/02052025/16/42/image_02052025_16_43_05_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355415414","1355415485","1355415395","1355415391","1355415517","1355415430"],"photo_ids_order":["1355415391","1355415395","1355415414","1355415430","1355415485","1355415517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2bb41746df2606a09b4a1a3f809f95ea.jpg","text":"TemporaryFile(/tmp/multipartBody8213605190054515171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204033076,"filename":"image_02052025_16_42_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/203e59bad72ac067a1eab079ca006d11.jpg","text":"TemporaryFile(/tmp/multipartBody8219390571010640536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204033076,"filename":"image_02052025_16_42_55_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3b2c7d8b25ef4e25c6049455e318c7e.jpg","text":"TemporaryFile(/tmp/multipartBody8569435987781561850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204033076,"filename":"image_02052025_16_42_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/5/2/7aef1604afb4241454cafde7a5dbe906.jpg","text":"TemporaryFile(/tmp/multipartBody8589216809484930228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204033076,"filename":"image_02052025_16_42_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/5/2/5968244f4f7089232a5fc8c8a1403750.jpg","text":"TemporaryFile(/tmp/multipartBody939770888868766936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204033076,"filename":"image_02052025_16_43_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/154825c116c394084012fd2f42c641d3.jpg","text":"TemporaryFile(/tmp/multipartBody26294044157813123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204033076,"filename":"image_02052025_16_42_46_10501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355415414","file1":"1355415395","file0":"1355415391","file4":"1355415485","file5":"1355415517","file3":"1355415430"},"map_files_photo_id_array":[{"photo_id":"1355415517","filename":"file5"},{"photo_id":"1355415414","filename":"file2"},{"photo_id":"1355415485","filename":"file4"},{"photo_id":"1355415395","filename":"file1"},{"photo_id":"1355415391","filename":"file0"},{"photo_id":"1355415430","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355415414":["hashtag1","hashtag2"]},{"1355415485":["hashtag1","hashtag2"]},{"1355415395":["hashtag1","hashtag2"]},{"1355415391":["hashtag1","hashtag2"]},{"1355415517":["hashtag1","hashtag2"]},{"1355415430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355415414, 1355415485, 1355415395, 1355415391, 1355415517, 1355415430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50839924812317 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:40:32.738974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/43/image_02052025_16_43_15_9445.jpg', '/home/pi/Desktop/images/02052025/16/43/image_02052025_16_43_25_10369.jpg', '/home/pi/Desktop/images/02052025/16/43/image_02052025_16_43_36_10356.jpg', '/home/pi/Desktop/images/02052025/16/43/image_02052025_16_43_55_10468.jpg', '/home/pi/Desktop/images/02052025/16/43/image_02052025_16_44_05_9453.jpg', '/home/pi/Desktop/images/02052025/16/44/image_02052025_16_44_15_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/43/image_02052025_16_43_15_9445.jpg
/home/pi/Desktop/images/02052025/16/43/image_02052025_16_43_25_10369.jpg
/home/pi/Desktop/images/02052025/16/43/image_02052025_16_43_36_10356.jpg
/home/pi/Desktop/images/02052025/16/43/image_02052025_16_43_55_10468.jpg
/home/pi/Desktop/images/02052025/16/43/image_02052025_16_44_05_9453.jpg
/home/pi/Desktop/images/02052025/16/44/image_02052025_16_44_15_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355415834","1355415864","1355415892","1355415799","1355415736","1355415768"],"photo_ids_order":["1355415736","1355415768","1355415799","1355415834","1355415864","1355415892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/497a0c241772f7ba4c26122cd63afa33.jpg","text":"TemporaryFile(/tmp/multipartBody6252304322664385432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204093247,"filename":"image_02052025_16_43_55_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/082e5f8ade6b8dc344ca4b3ea8d0e7a1.jpg","text":"TemporaryFile(/tmp/multipartBody3543388004477216233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204093247,"filename":"image_02052025_16_44_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/5/2/6d000785d604857847853e4e1ee61553.jpg","text":"TemporaryFile(/tmp/multipartBody5422366350261989180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204093247,"filename":"image_02052025_16_44_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/5/2/f54676f83c0e3d5c8d6507f1f9646966.jpg","text":"TemporaryFile(/tmp/multipartBody6131918174308451310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204093247,"filename":"image_02052025_16_43_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/5/2/89d162b81f0929cdd5f350cf560a751b.jpg","text":"TemporaryFile(/tmp/multipartBody3161729499477140844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204093247,"filename":"image_02052025_16_43_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81d3835960843f5e2d1419f791198a20.jpg","text":"TemporaryFile(/tmp/multipartBody8936633185875380796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204093247,"filename":"image_02052025_16_43_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355415799","file1":"1355415768","file0":"1355415736","file4":"1355415864","file5":"1355415892","file3":"1355415834"},"map_files_photo_id_array":[{"photo_id":"1355415892","filename":"file5"},{"photo_id":"1355415799","filename":"file2"},{"photo_id":"1355415864","filename":"file4"},{"photo_id":"1355415768","filename":"file1"},{"photo_id":"1355415736","filename":"file0"},{"photo_id":"1355415834","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355415834":["hashtag1","hashtag2"]},{"1355415864":["hashtag1","hashtag2"]},{"1355415892":["hashtag1","hashtag2"]},{"1355415799":["hashtag1","hashtag2"]},{"1355415736":["hashtag1","hashtag2"]},{"1355415768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355415834, 1355415864, 1355415892, 1355415799, 1355415736, 1355415768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.200782775878906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:41:32.945789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/44/image_02052025_16_44_26_10402.jpg', '/home/pi/Desktop/images/02052025/16/44/image_02052025_16_44_35_9409.jpg', '/home/pi/Desktop/images/02052025/16/44/image_02052025_16_44_45_10404.jpg', '/home/pi/Desktop/images/02052025/16/44/image_02052025_16_44_55_9367.jpg', '/home/pi/Desktop/images/02052025/16/45/image_02052025_16_45_16_10409.jpg', '/home/pi/Desktop/images/02052025/16/45/image_02052025_16_45_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/44/image_02052025_16_44_26_10402.jpg
/home/pi/Desktop/images/02052025/16/44/image_02052025_16_44_35_9409.jpg
/home/pi/Desktop/images/02052025/16/44/image_02052025_16_44_45_10404.jpg
/home/pi/Desktop/images/02052025/16/44/image_02052025_16_44_55_9367.jpg
/home/pi/Desktop/images/02052025/16/45/image_02052025_16_45_16_10409.jpg
/home/pi/Desktop/images/02052025/16/45/image_02052025_16_45_25_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355416215","1355416313","1355416282","1355416189","1355416249","1355416161"],"photo_ids_order":["1355416161","1355416189","1355416215","1355416249","1355416282","1355416313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af1c9e7b23cc6d5a0b4fc9f2597be33c.jpg","text":"TemporaryFile(/tmp/multipartBody3322471395933004347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204153432,"filename":"image_02052025_16_44_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f89562c61d6d4c74e379b132bb63ed1c.jpg","text":"TemporaryFile(/tmp/multipartBody5812797069738935601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204153432,"filename":"image_02052025_16_45_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/5/2/6ee34f053b6720430fd58738c083719e.jpg","text":"TemporaryFile(/tmp/multipartBody7427514145112452492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204153432,"filename":"image_02052025_16_45_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/5/2/6c5634d1f1adb9e82d717b1c53e275b6.jpg","text":"TemporaryFile(/tmp/multipartBody1697626109992104988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204153432,"filename":"image_02052025_16_44_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/5/2/7c7c6d9ac7ce1d771f8221c91d602cd1.jpg","text":"TemporaryFile(/tmp/multipartBody8980635867631110526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204153432,"filename":"image_02052025_16_44_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/5/2/1e1c286ada30a651a5a53c7be707a908.jpg","text":"TemporaryFile(/tmp/multipartBody6213406226138193379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204153432,"filename":"image_02052025_16_44_26_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355416215","file1":"1355416189","file0":"1355416161","file4":"1355416282","file5":"1355416313","file3":"1355416249"},"map_files_photo_id_array":[{"photo_id":"1355416313","filename":"file5"},{"photo_id":"1355416215","filename":"file2"},{"photo_id":"1355416282","filename":"file4"},{"photo_id":"1355416189","filename":"file1"},{"photo_id":"1355416161","filename":"file0"},{"photo_id":"1355416249","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355416215":["hashtag1","hashtag2"]},{"1355416313":["hashtag1","hashtag2"]},{"1355416282":["hashtag1","hashtag2"]},{"1355416189":["hashtag1","hashtag2"]},{"1355416249":["hashtag1","hashtag2"]},{"1355416161":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355416215, 1355416313, 1355416282, 1355416189, 1355416249, 1355416161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43001937866211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:42:32.186726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/45/image_02052025_16_45_35_10359.jpg', '/home/pi/Desktop/images/02052025/16/45/image_02052025_16_45_46_10417.jpg', '/home/pi/Desktop/images/02052025/16/45/image_02052025_16_45_55_9470.jpg', '/home/pi/Desktop/images/02052025/16/45/image_02052025_16_46_06_10440.jpg', '/home/pi/Desktop/images/02052025/16/46/image_02052025_16_46_15_9339.jpg', '/home/pi/Desktop/images/02052025/16/46/image_02052025_16_46_25_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/45/image_02052025_16_45_35_10359.jpg
/home/pi/Desktop/images/02052025/16/45/image_02052025_16_45_46_10417.jpg
/home/pi/Desktop/images/02052025/16/45/image_02052025_16_45_55_9470.jpg
/home/pi/Desktop/images/02052025/16/45/image_02052025_16_46_06_10440.jpg
/home/pi/Desktop/images/02052025/16/46/image_02052025_16_46_15_9339.jpg
/home/pi/Desktop/images/02052025/16/46/image_02052025_16_46_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":["1355416682","1355416745","1355416652","1355416709","1355416807","1355416776"],"photo_ids_order":["1355416652","1355416682","1355416709","1355416745","1355416776","1355416807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/461ad2e3b0c98636b188c94b067ecc63.jpg","text":"TemporaryFile(/tmp/multipartBody8386478632416681504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204212653,"filename":"image_02052025_16_45_46_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad73831a1906206dcad13762977dace2.jpg","text":"TemporaryFile(/tmp/multipartBody5703826170099845264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204212653,"filename":"image_02052025_16_46_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/5/2/303dcb92df622669b06dd29f64e16ac3.jpg","text":"TemporaryFile(/tmp/multipartBody3683246405543273462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204212653,"filename":"image_02052025_16_45_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5936188a79f23d134c4273c2f66b24aa.jpg","text":"TemporaryFile(/tmp/multipartBody5648604031351609691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204212653,"filename":"image_02052025_16_45_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/5/2/23deda2d3bfa7533c1177d743c87298a.jpg","text":"TemporaryFile(/tmp/multipartBody4868775056337576261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204212653,"filename":"image_02052025_16_46_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/5/2/551702349f508979461ab277bf3c9181.jpg","text":"TemporaryFile(/tmp/multipartBody4254580886497917975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204212653,"filename":"image_02052025_16_46_15_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355416709","file1":"1355416682","file0":"1355416652","file4":"1355416776","file5":"1355416807","file3":"1355416745"},"map_files_photo_id_array":[{"photo_id":"1355416807","filename":"file5"},{"photo_id":"1355416709","filename":"file2"},{"photo_id":"1355416776","filename":"file4"},{"photo_id":"1355416682","filename":"file1"},{"photo_id":"1355416652","filename":"file0"},{"photo_id":"1355416745","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355416682":["hashtag1","hashtag2"]},{"1355416745":["hashtag1","hashtag2"]},{"1355416652":["hashtag1","hashtag2"]},{"1355416709":["hashtag1","hashtag2"]},{"1355416807":["hashtag1","hashtag2"]},{"1355416776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355416682, 1355416745, 1355416652, 1355416709, 1355416807, 1355416776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18990778923035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:43:32.337367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/46/image_02052025_16_46_35_9453.jpg', '/home/pi/Desktop/images/02052025/16/46/image_02052025_16_46_45_10366.jpg', '/home/pi/Desktop/images/02052025/16/46/image_02052025_16_46_56_10498.jpg', '/home/pi/Desktop/images/02052025/16/46/image_02052025_16_47_05_9340.jpg', '/home/pi/Desktop/images/02052025/16/47/image_02052025_16_47_15_10354.jpg', '/home/pi/Desktop/images/02052025/16/47/image_02052025_16_47_25_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/46/image_02052025_16_46_35_9453.jpg
/home/pi/Desktop/images/02052025/16/46/image_02052025_16_46_45_10366.jpg
/home/pi/Desktop/images/02052025/16/46/image_02052025_16_46_56_10498.jpg
/home/pi/Desktop/images/02052025/16/46/image_02052025_16_47_05_9340.jpg
/home/pi/Desktop/images/02052025/16/47/image_02052025_16_47_15_10354.jpg
/home/pi/Desktop/images/02052025/16/47/image_02052025_16_47_25_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":["1355417174","1355417201","1355417144","1355417235","1355417115","1355417078"],"photo_ids_order":["1355417078","1355417115","1355417144","1355417174","1355417201","1355417235"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/188d91ebe6c655dacdbab9f0e2caca60.jpg","text":"TemporaryFile(/tmp/multipartBody2305619598085662454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204273045,"filename":"image_02052025_16_47_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/5/2/6e155dc7084b7caa61c5ef13f5920a19.jpg","text":"TemporaryFile(/tmp/multipartBody2646644925235430586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204273045,"filename":"image_02052025_16_47_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/5/2/d9895342834a35944ae41f3706ff0279.jpg","text":"TemporaryFile(/tmp/multipartBody3194314573256437920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204273045,"filename":"image_02052025_16_46_56_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/74ce7130b2469596443c604252c2c470.jpg","text":"TemporaryFile(/tmp/multipartBody8572153360726023522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204273045,"filename":"image_02052025_16_47_25_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3305e54046f8b6038f6e9c4b7b930fa.jpg","text":"TemporaryFile(/tmp/multipartBody5407502271455313469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204273045,"filename":"image_02052025_16_46_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/5/2/4ddac041a6b8f39bf0bc9dfeebfa1e11.jpg","text":"TemporaryFile(/tmp/multipartBody4870153653410238651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204273045,"filename":"image_02052025_16_46_35_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355417144","file1":"1355417115","file0":"1355417078","file4":"1355417201","file5":"1355417235","file3":"1355417174"},"map_files_photo_id_array":[{"photo_id":"1355417235","filename":"file5"},{"photo_id":"1355417144","filename":"file2"},{"photo_id":"1355417201","filename":"file4"},{"photo_id":"1355417115","filename":"file1"},{"photo_id":"1355417078","filename":"file0"},{"photo_id":"1355417174","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355417174":["hashtag1","hashtag2"]},{"1355417201":["hashtag1","hashtag2"]},{"1355417144":["hashtag1","hashtag2"]},{"1355417235":["hashtag1","hashtag2"]},{"1355417115":["hashtag1","hashtag2"]},{"1355417078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355417174, 1355417201, 1355417144, 1355417235, 1355417115, 1355417078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69406580924988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:44:32.503411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/47/image_02052025_16_47_35_10362.jpg', '/home/pi/Desktop/images/02052025/16/47/image_02052025_16_47_46_10475.jpg', '/home/pi/Desktop/images/02052025/16/47/image_02052025_16_47_55_9423.jpg', '/home/pi/Desktop/images/02052025/16/47/image_02052025_16_48_06_10439.jpg', '/home/pi/Desktop/images/02052025/16/48/image_02052025_16_48_15_9403.jpg', '/home/pi/Desktop/images/02052025/16/48/image_02052025_16_48_25_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/47/image_02052025_16_47_35_10362.jpg
/home/pi/Desktop/images/02052025/16/47/image_02052025_16_47_46_10475.jpg
/home/pi/Desktop/images/02052025/16/47/image_02052025_16_47_55_9423.jpg
/home/pi/Desktop/images/02052025/16/47/image_02052025_16_48_06_10439.jpg
/home/pi/Desktop/images/02052025/16/48/image_02052025_16_48_15_9403.jpg
/home/pi/Desktop/images/02052025/16/48/image_02052025_16_48_25_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":["1355417411","1355417395","1355417410","1355417404","1355417407","1355417388"],"photo_ids_order":["1355417388","1355417395","1355417404","1355417407","1355417410","1355417411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f399567b535132785c1d5ced1051024e.jpg","text":"TemporaryFile(/tmp/multipartBody3551471040039440475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204332991,"filename":"image_02052025_16_48_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/5/2/5d418db2cb57e1358385984ee8020ecf.jpg","text":"TemporaryFile(/tmp/multipartBody1755623704593253701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204332991,"filename":"image_02052025_16_47_46_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/381bdd7c08a55fae66a1237bc7a67647.jpg","text":"TemporaryFile(/tmp/multipartBody7688684270842775055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204332991,"filename":"image_02052025_16_48_15_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7469fb6b7a588dcbfd03779f7c03d13.jpg","text":"TemporaryFile(/tmp/multipartBody4130856990748293002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204332991,"filename":"image_02052025_16_47_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/5/2/e206d8ca43553febb7bbaab63d01489d.jpg","text":"TemporaryFile(/tmp/multipartBody4624915856641307254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204332991,"filename":"image_02052025_16_48_06_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0744b0ffacb8cf0410fd692d57812f01.jpg","text":"TemporaryFile(/tmp/multipartBody1499168677502292913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204332991,"filename":"image_02052025_16_47_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355417404","file1":"1355417395","file0":"1355417388","file4":"1355417410","file5":"1355417411","file3":"1355417407"},"map_files_photo_id_array":[{"photo_id":"1355417411","filename":"file5"},{"photo_id":"1355417404","filename":"file2"},{"photo_id":"1355417410","filename":"file4"},{"photo_id":"1355417395","filename":"file1"},{"photo_id":"1355417388","filename":"file0"},{"photo_id":"1355417407","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355417411":["hashtag1","hashtag2"]},{"1355417395":["hashtag1","hashtag2"]},{"1355417410":["hashtag1","hashtag2"]},{"1355417404":["hashtag1","hashtag2"]},{"1355417407":["hashtag1","hashtag2"]},{"1355417388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355417411, 1355417395, 1355417410, 1355417404, 1355417407, 1355417388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31943964958191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:45:32.580981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/48/image_02052025_16_48_36_10465.jpg', '/home/pi/Desktop/images/02052025/16/48/image_02052025_16_48_45_9367.jpg', '/home/pi/Desktop/images/02052025/16/48/image_02052025_16_48_55_10365.jpg', '/home/pi/Desktop/images/02052025/16/48/image_02052025_16_49_05_9453.jpg', '/home/pi/Desktop/images/02052025/16/49/image_02052025_16_49_15_10343.jpg', '/home/pi/Desktop/images/02052025/16/49/image_02052025_16_49_26_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/48/image_02052025_16_48_36_10465.jpg
/home/pi/Desktop/images/02052025/16/48/image_02052025_16_48_45_9367.jpg
/home/pi/Desktop/images/02052025/16/48/image_02052025_16_48_55_10365.jpg
/home/pi/Desktop/images/02052025/16/48/image_02052025_16_49_05_9453.jpg
/home/pi/Desktop/images/02052025/16/49/image_02052025_16_49_15_10343.jpg
/home/pi/Desktop/images/02052025/16/49/image_02052025_16_49_26_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":["1355417450","1355417444","1355417453","1355417458","1355417446","1355417439"],"photo_ids_order":["1355417439","1355417444","1355417446","1355417450","1355417453","1355417458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28a5ff17d03a9d886489d1dc9a5a091c.jpg","text":"TemporaryFile(/tmp/multipartBody9183958906340733569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204393061,"filename":"image_02052025_16_49_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/5/2/42a78c30d8d2d5abbd7be3ddd8b4a289.jpg","text":"TemporaryFile(/tmp/multipartBody3199798647557020938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204393061,"filename":"image_02052025_16_48_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/5/2/1ec9869792484ba1db9fe69b6241a846.jpg","text":"TemporaryFile(/tmp/multipartBody8549868751945212112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204393061,"filename":"image_02052025_16_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/5/2/0af2da80684a786870557eb7741ddeba.jpg","text":"TemporaryFile(/tmp/multipartBody822633288087616147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204393061,"filename":"image_02052025_16_49_26_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90a92fa72f2d1be8fc90e16cf35b62ab.jpg","text":"TemporaryFile(/tmp/multipartBody4175952370538560223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204393061,"filename":"image_02052025_16_48_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e27671f69f947d936385ae8aca54e19d.jpg","text":"TemporaryFile(/tmp/multipartBody8513187343674324236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204393061,"filename":"image_02052025_16_48_36_10465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355417446","file1":"1355417444","file0":"1355417439","file4":"1355417453","file5":"1355417458","file3":"1355417450"},"map_files_photo_id_array":[{"photo_id":"1355417458","filename":"file5"},{"photo_id":"1355417446","filename":"file2"},{"photo_id":"1355417453","filename":"file4"},{"photo_id":"1355417444","filename":"file1"},{"photo_id":"1355417439","filename":"file0"},{"photo_id":"1355417450","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355417450":["hashtag1","hashtag2"]},{"1355417444":["hashtag1","hashtag2"]},{"1355417453":["hashtag1","hashtag2"]},{"1355417458":["hashtag1","hashtag2"]},{"1355417446":["hashtag1","hashtag2"]},{"1355417439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355417450, 1355417444, 1355417453, 1355417458, 1355417446, 1355417439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06912398338318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:46:32.873608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/49/image_02052025_16_49_35_9360.jpg', '/home/pi/Desktop/images/02052025/16/49/image_02052025_16_49_45_10261.jpg', '/home/pi/Desktop/images/02052025/16/49/image_02052025_16_49_56_10378.jpg', '/home/pi/Desktop/images/02052025/16/49/image_02052025_16_50_05_9360.jpg', '/home/pi/Desktop/images/02052025/16/50/image_02052025_16_50_15_10360.jpg', '/home/pi/Desktop/images/02052025/16/50/image_02052025_16_50_26_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/49/image_02052025_16_49_35_9360.jpg
/home/pi/Desktop/images/02052025/16/49/image_02052025_16_49_45_10261.jpg
/home/pi/Desktop/images/02052025/16/49/image_02052025_16_49_56_10378.jpg
/home/pi/Desktop/images/02052025/16/49/image_02052025_16_50_05_9360.jpg
/home/pi/Desktop/images/02052025/16/50/image_02052025_16_50_15_10360.jpg
/home/pi/Desktop/images/02052025/16/50/image_02052025_16_50_26_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355417486","1355417497","1355417501","1355417494","1355417490","1355417483"],"photo_ids_order":["1355417483","1355417486","1355417490","1355417494","1355417497","1355417501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fd5d8662ee3cf99d1739b9de42ba9c90.jpg","text":"TemporaryFile(/tmp/multipartBody5444225590918224327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204453350,"filename":"image_02052025_16_49_45_10261.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cc1f670c9d8a233b445037be117e9e53.jpg","text":"TemporaryFile(/tmp/multipartBody6751209275283957126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204453350,"filename":"image_02052025_16_50_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/5/2/b607d1425fa2b4723e0307ff7435c7ba.jpg","text":"TemporaryFile(/tmp/multipartBody2554091593287981416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204453350,"filename":"image_02052025_16_50_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/74c6c11aae7aca7e5e6af71be1fcf218.jpg","text":"TemporaryFile(/tmp/multipartBody4593818964603300227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204453350,"filename":"image_02052025_16_50_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/5/2/d79b0d8455c552aeb437f43a3585efef.jpg","text":"TemporaryFile(/tmp/multipartBody2065704015810159920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204453350,"filename":"image_02052025_16_49_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/648f7c5a6e0ea09a261031ecebd9df86.jpg","text":"TemporaryFile(/tmp/multipartBody3877270844647786986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204453350,"filename":"image_02052025_16_49_35_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355417490","file1":"1355417486","file0":"1355417483","file4":"1355417497","file5":"1355417501","file3":"1355417494"},"map_files_photo_id_array":[{"photo_id":"1355417501","filename":"file5"},{"photo_id":"1355417490","filename":"file2"},{"photo_id":"1355417497","filename":"file4"},{"photo_id":"1355417486","filename":"file1"},{"photo_id":"1355417483","filename":"file0"},{"photo_id":"1355417494","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355417486":["hashtag1","hashtag2"]},{"1355417497":["hashtag1","hashtag2"]},{"1355417501":["hashtag1","hashtag2"]},{"1355417494":["hashtag1","hashtag2"]},{"1355417490":["hashtag1","hashtag2"]},{"1355417483":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355417486, 1355417497, 1355417501, 1355417494, 1355417490, 1355417483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03311729431152 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:47:32.208177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/50/image_02052025_16_50_35_9340.jpg', '/home/pi/Desktop/images/02052025/16/50/image_02052025_16_50_45_10366.jpg', '/home/pi/Desktop/images/02052025/16/50/image_02052025_16_50_55_9442.jpg', '/home/pi/Desktop/images/02052025/16/50/image_02052025_16_51_05_10396.jpg', '/home/pi/Desktop/images/02052025/16/51/image_02052025_16_51_16_10397.jpg', '/home/pi/Desktop/images/02052025/16/51/image_02052025_16_51_25_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/50/image_02052025_16_50_35_9340.jpg
/home/pi/Desktop/images/02052025/16/50/image_02052025_16_50_45_10366.jpg
/home/pi/Desktop/images/02052025/16/50/image_02052025_16_50_55_9442.jpg
/home/pi/Desktop/images/02052025/16/50/image_02052025_16_51_05_10396.jpg
/home/pi/Desktop/images/02052025/16/51/image_02052025_16_51_16_10397.jpg
/home/pi/Desktop/images/02052025/16/51/image_02052025_16_51_25_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":["1355417678","1355417738","1355417708","1355417650","1355417622","1355417780"],"photo_ids_order":["1355417622","1355417650","1355417678","1355417708","1355417738","1355417780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a58732860a5efb1b95e3afc0bade16ec.jpg","text":"TemporaryFile(/tmp/multipartBody515383004118305076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204512733,"filename":"image_02052025_16_50_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/5/2/1a3f7ecbff61925756c495b4980de855.jpg","text":"TemporaryFile(/tmp/multipartBody1791670897444092416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204512733,"filename":"image_02052025_16_51_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bcb197a9d83e3bf5d83dd4a5dc9fbf10.jpg","text":"TemporaryFile(/tmp/multipartBody3965222841022533380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204512733,"filename":"image_02052025_16_51_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/5/2/d59d988fcf25e23331cef5f830b3e5d6.jpg","text":"TemporaryFile(/tmp/multipartBody4384543168233208611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204512733,"filename":"image_02052025_16_50_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/5/2/b226843a644cfd2c2b2782a24ead47b6.jpg","text":"TemporaryFile(/tmp/multipartBody3322889873784140842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204512733,"filename":"image_02052025_16_50_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/5/2/d4243fa8b22000f8ae3239a9d9f1a279.jpg","text":"TemporaryFile(/tmp/multipartBody7442621076745096260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204512733,"filename":"image_02052025_16_51_25_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355417678","file1":"1355417650","file0":"1355417622","file4":"1355417738","file5":"1355417780","file3":"1355417708"},"map_files_photo_id_array":[{"photo_id":"1355417780","filename":"file5"},{"photo_id":"1355417678","filename":"file2"},{"photo_id":"1355417738","filename":"file4"},{"photo_id":"1355417650","filename":"file1"},{"photo_id":"1355417622","filename":"file0"},{"photo_id":"1355417708","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355417678":["hashtag1","hashtag2"]},{"1355417738":["hashtag1","hashtag2"]},{"1355417708":["hashtag1","hashtag2"]},{"1355417650":["hashtag1","hashtag2"]},{"1355417622":["hashtag1","hashtag2"]},{"1355417780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355417678, 1355417738, 1355417708, 1355417650, 1355417622, 1355417780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.172483682632446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:48:32.392769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/51/image_02052025_16_51_35_10338.jpg', '/home/pi/Desktop/images/02052025/16/51/image_02052025_16_51_45_9440.jpg', '/home/pi/Desktop/images/02052025/16/51/image_02052025_16_51_55_10368.jpg', '/home/pi/Desktop/images/02052025/16/52/image_02052025_16_52_15_9320.jpg', '/home/pi/Desktop/images/02052025/16/52/image_02052025_16_52_25_10380.jpg', '/home/pi/Desktop/images/02052025/16/52/image_02052025_16_52_36_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/51/image_02052025_16_51_35_10338.jpg
/home/pi/Desktop/images/02052025/16/51/image_02052025_16_51_45_9440.jpg
/home/pi/Desktop/images/02052025/16/51/image_02052025_16_51_55_10368.jpg
/home/pi/Desktop/images/02052025/16/52/image_02052025_16_52_15_9320.jpg
/home/pi/Desktop/images/02052025/16/52/image_02052025_16_52_25_10380.jpg
/home/pi/Desktop/images/02052025/16/52/image_02052025_16_52_36_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355418184","1355418021","1355418117","1355418051","1355418080","1355418155"],"photo_ids_order":["1355418021","1355418051","1355418080","1355418117","1355418155","1355418184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75174208fd6a6994948d94d17d77e5e8.jpg","text":"TemporaryFile(/tmp/multipartBody7370347301013049349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204573233,"filename":"image_02052025_16_52_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/5/2/108dd1990068f518be11ee81b2404090.jpg","text":"TemporaryFile(/tmp/multipartBody5593381388121975921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204573233,"filename":"image_02052025_16_51_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/5/2/f323e6bbec3415eb48ce6e6ef7c3909a.jpg","text":"TemporaryFile(/tmp/multipartBody2569823721014214793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204573233,"filename":"image_02052025_16_52_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/5/2/7a2d758048103c8714a49e3c5d4d52d4.jpg","text":"TemporaryFile(/tmp/multipartBody5476857764581561744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204573233,"filename":"image_02052025_16_51_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/5/2/63650c7c01cd7f77f045d5d0a134de9a.jpg","text":"TemporaryFile(/tmp/multipartBody2285322019423776646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204573233,"filename":"image_02052025_16_51_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/5/2/20377429a455978acfce7ea765f125b6.jpg","text":"TemporaryFile(/tmp/multipartBody416679095184408815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204573233,"filename":"image_02052025_16_52_25_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355418080","file1":"1355418051","file0":"1355418021","file4":"1355418155","file5":"1355418184","file3":"1355418117"},"map_files_photo_id_array":[{"photo_id":"1355418184","filename":"file5"},{"photo_id":"1355418080","filename":"file2"},{"photo_id":"1355418155","filename":"file4"},{"photo_id":"1355418051","filename":"file1"},{"photo_id":"1355418021","filename":"file0"},{"photo_id":"1355418117","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355418184":["hashtag1","hashtag2"]},{"1355418021":["hashtag1","hashtag2"]},{"1355418117":["hashtag1","hashtag2"]},{"1355418051":["hashtag1","hashtag2"]},{"1355418080":["hashtag1","hashtag2"]},{"1355418155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355418184, 1355418021, 1355418117, 1355418051, 1355418080, 1355418155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02294731140137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:49:32.602380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/52/image_02052025_16_52_45_9349.jpg', '/home/pi/Desktop/images/02052025/16/52/image_02052025_16_52_55_10382.jpg', '/home/pi/Desktop/images/02052025/16/52/image_02052025_16_53_05_9411.jpg', '/home/pi/Desktop/images/02052025/16/53/image_02052025_16_53_15_10339.jpg', '/home/pi/Desktop/images/02052025/16/53/image_02052025_16_53_26_10428.jpg', '/home/pi/Desktop/images/02052025/16/53/image_02052025_16_53_35_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/52/image_02052025_16_52_45_9349.jpg
/home/pi/Desktop/images/02052025/16/52/image_02052025_16_52_55_10382.jpg
/home/pi/Desktop/images/02052025/16/52/image_02052025_16_53_05_9411.jpg
/home/pi/Desktop/images/02052025/16/53/image_02052025_16_53_15_10339.jpg
/home/pi/Desktop/images/02052025/16/53/image_02052025_16_53_26_10428.jpg
/home/pi/Desktop/images/02052025/16/53/image_02052025_16_53_35_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":["1355418295","1355418289","1355418235","1355418279","1355418252","1355418246"],"photo_ids_order":["1355418235","1355418246","1355418252","1355418279","1355418289","1355418295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/343ca98e88b150d43548ed0fb7b873c2.jpg","text":"TemporaryFile(/tmp/multipartBody5155437875704256275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204633066,"filename":"image_02052025_16_53_35_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/257bf44f4ff7d39862d5b0133cc573ca.jpg","text":"TemporaryFile(/tmp/multipartBody8308795522002073035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204633066,"filename":"image_02052025_16_53_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/5/2/ffed20c64d8c6c61ed7705c82a053488.jpg","text":"TemporaryFile(/tmp/multipartBody2030926876286239083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204633066,"filename":"image_02052025_16_52_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/5/2/475b3b394a698319229988edefdceeaa.jpg","text":"TemporaryFile(/tmp/multipartBody4018269105984758567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204633066,"filename":"image_02052025_16_53_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa739dd17109f5b9fe4adf042dc9777e.jpg","text":"TemporaryFile(/tmp/multipartBody1451482061492700721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204633066,"filename":"image_02052025_16_53_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/5/2/1b0ad2be08fbb98bb0b8931fa0d1b37d.jpg","text":"TemporaryFile(/tmp/multipartBody2277751744703429662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204633066,"filename":"image_02052025_16_52_55_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355418252","file1":"1355418246","file0":"1355418235","file4":"1355418289","file5":"1355418295","file3":"1355418279"},"map_files_photo_id_array":[{"photo_id":"1355418295","filename":"file5"},{"photo_id":"1355418252","filename":"file2"},{"photo_id":"1355418289","filename":"file4"},{"photo_id":"1355418246","filename":"file1"},{"photo_id":"1355418235","filename":"file0"},{"photo_id":"1355418279","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355418295":["hashtag1","hashtag2"]},{"1355418289":["hashtag1","hashtag2"]},{"1355418235":["hashtag1","hashtag2"]},{"1355418279":["hashtag1","hashtag2"]},{"1355418252":["hashtag1","hashtag2"]},{"1355418246":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355418295, 1355418289, 1355418235, 1355418279, 1355418252, 1355418246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51800036430359 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:50:32.803327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/53/image_02052025_16_53_45_10425.jpg', '/home/pi/Desktop/images/02052025/16/53/image_02052025_16_53_55_9408.jpg', '/home/pi/Desktop/images/02052025/16/53/image_02052025_16_54_05_10358.jpg', '/home/pi/Desktop/images/02052025/16/54/image_02052025_16_54_16_10459.jpg', '/home/pi/Desktop/images/02052025/16/54/image_02052025_16_54_25_9369.jpg', '/home/pi/Desktop/images/02052025/16/54/image_02052025_16_54_35_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/53/image_02052025_16_53_45_10425.jpg
/home/pi/Desktop/images/02052025/16/53/image_02052025_16_53_55_9408.jpg
/home/pi/Desktop/images/02052025/16/53/image_02052025_16_54_05_10358.jpg
/home/pi/Desktop/images/02052025/16/54/image_02052025_16_54_16_10459.jpg
/home/pi/Desktop/images/02052025/16/54/image_02052025_16_54_25_9369.jpg
/home/pi/Desktop/images/02052025/16/54/image_02052025_16_54_35_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355418499","1355418505","1355418624","1355418708","1355418557","1355418743"],"photo_ids_order":["1355418499","1355418505","1355418557","1355418624","1355418708","1355418743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb6f0d038a02f2c86403787a0a9a836f.jpg","text":"TemporaryFile(/tmp/multipartBody7836583202843772107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204694560,"filename":"image_02052025_16_53_45_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/91c2ca2021e9bc867d1f529eeb316dab.jpg","text":"TemporaryFile(/tmp/multipartBody7299805717111286112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204694560,"filename":"image_02052025_16_53_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/5/2/9e7de3f757e23d097e5bd199a6754d4c.jpg","text":"TemporaryFile(/tmp/multipartBody3872731381938354729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204694560,"filename":"image_02052025_16_54_16_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5dab3bc187f6b8cd62172f27eaff17de.jpg","text":"TemporaryFile(/tmp/multipartBody291015837151322173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204694560,"filename":"image_02052025_16_54_25_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/60866be92300951dc525092a4fd0bbc3.jpg","text":"TemporaryFile(/tmp/multipartBody1888550956345120636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204694560,"filename":"image_02052025_16_54_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/5/2/91e336669740da47fe86f3a4592b71b7.jpg","text":"TemporaryFile(/tmp/multipartBody735828092653183623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204694560,"filename":"image_02052025_16_54_35_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355418557","file1":"1355418505","file0":"1355418499","file4":"1355418708","file5":"1355418743","file3":"1355418624"},"map_files_photo_id_array":[{"photo_id":"1355418743","filename":"file5"},{"photo_id":"1355418557","filename":"file2"},{"photo_id":"1355418708","filename":"file4"},{"photo_id":"1355418505","filename":"file1"},{"photo_id":"1355418499","filename":"file0"},{"photo_id":"1355418624","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355418499":["hashtag1","hashtag2"]},{"1355418505":["hashtag1","hashtag2"]},{"1355418624":["hashtag1","hashtag2"]},{"1355418708":["hashtag1","hashtag2"]},{"1355418557":["hashtag1","hashtag2"]},{"1355418743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355418499, 1355418505, 1355418624, 1355418708, 1355418557, 1355418743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.476816177368164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:51:33.112662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/54/image_02052025_16_54_45_9336.jpg', '/home/pi/Desktop/images/02052025/16/54/image_02052025_16_54_55_10358.jpg', '/home/pi/Desktop/images/02052025/16/54/image_02052025_16_55_05_10349.jpg', '/home/pi/Desktop/images/02052025/16/55/image_02052025_16_55_15_9445.jpg', '/home/pi/Desktop/images/02052025/16/55/image_02052025_16_55_25_10462.jpg', '/home/pi/Desktop/images/02052025/16/55/image_02052025_16_55_35_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/54/image_02052025_16_54_45_9336.jpg
/home/pi/Desktop/images/02052025/16/54/image_02052025_16_54_55_10358.jpg
/home/pi/Desktop/images/02052025/16/54/image_02052025_16_55_05_10349.jpg
/home/pi/Desktop/images/02052025/16/55/image_02052025_16_55_15_9445.jpg
/home/pi/Desktop/images/02052025/16/55/image_02052025_16_55_25_10462.jpg
/home/pi/Desktop/images/02052025/16/55/image_02052025_16_55_35_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":["1355419207","1355419271","1355419166","1355419331","1355419106","1355419066"],"photo_ids_order":["1355419066","1355419106","1355419166","1355419207","1355419271","1355419331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4fb79e480bbfa49cb7c7cc0deecc1e7b.jpg","text":"TemporaryFile(/tmp/multipartBody2457578502260908925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204753626,"filename":"image_02052025_16_55_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/77c978befc100c2ecf97852fb9944959.jpg","text":"TemporaryFile(/tmp/multipartBody1951383052806286303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204753626,"filename":"image_02052025_16_55_25_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4cdd0afa2b1956c08e6ee693b7713b4b.jpg","text":"TemporaryFile(/tmp/multipartBody5364412861596111118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204753626,"filename":"image_02052025_16_55_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/5/2/26d398f1b5ae9bc58fad30decdbf97b6.jpg","text":"TemporaryFile(/tmp/multipartBody4900375527755737581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204753626,"filename":"image_02052025_16_55_35_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/463e1117534abc2501f73be9e9099b7d.jpg","text":"TemporaryFile(/tmp/multipartBody4030278034751606658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204753626,"filename":"image_02052025_16_54_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/5/2/6685b7e55ea2064fbbb14de42408b81c.jpg","text":"TemporaryFile(/tmp/multipartBody8409339506086947517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204753626,"filename":"image_02052025_16_54_45_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355419166","file1":"1355419106","file0":"1355419066","file4":"1355419271","file5":"1355419331","file3":"1355419207"},"map_files_photo_id_array":[{"photo_id":"1355419331","filename":"file5"},{"photo_id":"1355419166","filename":"file2"},{"photo_id":"1355419271","filename":"file4"},{"photo_id":"1355419106","filename":"file1"},{"photo_id":"1355419066","filename":"file0"},{"photo_id":"1355419207","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355419207":["hashtag1","hashtag2"]},{"1355419271":["hashtag1","hashtag2"]},{"1355419166":["hashtag1","hashtag2"]},{"1355419331":["hashtag1","hashtag2"]},{"1355419106":["hashtag1","hashtag2"]},{"1355419066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355419207, 1355419271, 1355419166, 1355419331, 1355419106, 1355419066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69605350494385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:52:32.434954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/55/image_02052025_16_55_45_10349.jpg', '/home/pi/Desktop/images/02052025/16/55/image_02052025_16_55_56_10452.jpg', '/home/pi/Desktop/images/02052025/16/55/image_02052025_16_56_05_9357.jpg', '/home/pi/Desktop/images/02052025/16/56/image_02052025_16_56_15_10367.jpg', '/home/pi/Desktop/images/02052025/16/56/image_02052025_16_56_25_9447.jpg', '/home/pi/Desktop/images/02052025/16/56/image_02052025_16_56_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/55/image_02052025_16_55_45_10349.jpg
/home/pi/Desktop/images/02052025/16/55/image_02052025_16_55_56_10452.jpg
/home/pi/Desktop/images/02052025/16/55/image_02052025_16_56_05_9357.jpg
/home/pi/Desktop/images/02052025/16/56/image_02052025_16_56_15_10367.jpg
/home/pi/Desktop/images/02052025/16/56/image_02052025_16_56_25_9447.jpg
/home/pi/Desktop/images/02052025/16/56/image_02052025_16_56_35_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355419827","1355419961","1355419993","1355419847","1355419897","1355419789"],"photo_ids_order":["1355419789","1355419827","1355419847","1355419897","1355419961","1355419993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/726a9eda712ac259d2c56fd154298535.jpg","text":"TemporaryFile(/tmp/multipartBody4170655408722495030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204813015,"filename":"image_02052025_16_55_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/5/2/2008b5258457806a129c83cb84b4652f.jpg","text":"TemporaryFile(/tmp/multipartBody789248474879936714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204813015,"filename":"image_02052025_16_56_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/5/2/82e3200aeceaf9e24064afe3e1e60b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4177975985421015259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204813015,"filename":"image_02052025_16_56_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/805411bc21d84be4cffa9f7800d6b35e.jpg","text":"TemporaryFile(/tmp/multipartBody6716324737764471383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204813015,"filename":"image_02052025_16_56_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/5/2/163046675837b52512cb6cea4c2bdcbe.jpg","text":"TemporaryFile(/tmp/multipartBody6081215412211984746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204813015,"filename":"image_02052025_16_56_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a2d4fed3c39b1e6cbe1db4292ca72d79.jpg","text":"TemporaryFile(/tmp/multipartBody8705192597204314993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204813015,"filename":"image_02052025_16_55_45_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355419847","file1":"1355419827","file0":"1355419789","file4":"1355419961","file5":"1355419993","file3":"1355419897"},"map_files_photo_id_array":[{"photo_id":"1355419993","filename":"file5"},{"photo_id":"1355419847","filename":"file2"},{"photo_id":"1355419961","filename":"file4"},{"photo_id":"1355419827","filename":"file1"},{"photo_id":"1355419789","filename":"file0"},{"photo_id":"1355419897","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355419827":["hashtag1","hashtag2"]},{"1355419961":["hashtag1","hashtag2"]},{"1355419993":["hashtag1","hashtag2"]},{"1355419847":["hashtag1","hashtag2"]},{"1355419897":["hashtag1","hashtag2"]},{"1355419789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355419827, 1355419961, 1355419993, 1355419847, 1355419897, 1355419789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.626065492630005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:53:32.496328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/56/image_02052025_16_56_46_10407.jpg', '/home/pi/Desktop/images/02052025/16/56/image_02052025_16_56_55_9436.jpg', '/home/pi/Desktop/images/02052025/16/56/image_02052025_16_57_05_10365.jpg', '/home/pi/Desktop/images/02052025/16/57/image_02052025_16_57_16_10344.jpg', '/home/pi/Desktop/images/02052025/16/57/image_02052025_16_57_25_9423.jpg', '/home/pi/Desktop/images/02052025/16/57/image_02052025_16_57_36_10538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/56/image_02052025_16_56_46_10407.jpg
/home/pi/Desktop/images/02052025/16/56/image_02052025_16_56_55_9436.jpg
/home/pi/Desktop/images/02052025/16/56/image_02052025_16_57_05_10365.jpg
/home/pi/Desktop/images/02052025/16/57/image_02052025_16_57_16_10344.jpg
/home/pi/Desktop/images/02052025/16/57/image_02052025_16_57_25_9423.jpg
/home/pi/Desktop/images/02052025/16/57/image_02052025_16_57_36_10538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355420599","1355420518","1355420503","1355420508","1355420468","1355420596"],"photo_ids_order":["1355420468","1355420503","1355420508","1355420518","1355420596","1355420599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49d39c2ce64b4a01675974c9ce27754a.jpg","text":"TemporaryFile(/tmp/multipartBody4758866346689060338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204872977,"filename":"image_02052025_16_57_36_10538.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c77e4c3c1fe2fe25fa67b364ec8e088a.jpg","text":"TemporaryFile(/tmp/multipartBody7346498323935947272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204872977,"filename":"image_02052025_16_57_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/5/2/13adde90e38c1f46b03df8e852e50e63.jpg","text":"TemporaryFile(/tmp/multipartBody7921272839364817009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204872977,"filename":"image_02052025_16_56_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/5/2/3ed25be795dbbc177b7def1dc00e02ba.jpg","text":"TemporaryFile(/tmp/multipartBody2662850068211774163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204872977,"filename":"image_02052025_16_57_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/5/2/e05828d0e9913cff80bab9a10575c111.jpg","text":"TemporaryFile(/tmp/multipartBody678485708736823909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204872977,"filename":"image_02052025_16_56_46_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/27e70c0ffdb3a565b0518cc2e67218bb.jpg","text":"TemporaryFile(/tmp/multipartBody6458468576627949941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204872977,"filename":"image_02052025_16_57_25_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355420508","file1":"1355420503","file0":"1355420468","file4":"1355420596","file5":"1355420599","file3":"1355420518"},"map_files_photo_id_array":[{"photo_id":"1355420599","filename":"file5"},{"photo_id":"1355420508","filename":"file2"},{"photo_id":"1355420596","filename":"file4"},{"photo_id":"1355420503","filename":"file1"},{"photo_id":"1355420468","filename":"file0"},{"photo_id":"1355420518","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355420599":["hashtag1","hashtag2"]},{"1355420518":["hashtag1","hashtag2"]},{"1355420503":["hashtag1","hashtag2"]},{"1355420508":["hashtag1","hashtag2"]},{"1355420468":["hashtag1","hashtag2"]},{"1355420596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355420599, 1355420518, 1355420503, 1355420508, 1355420468, 1355420596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74454593658447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:54:32.736328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/57/image_02052025_16_57_45_9367.jpg', '/home/pi/Desktop/images/02052025/16/57/image_02052025_16_57_55_10369.jpg', '/home/pi/Desktop/images/02052025/16/57/image_02052025_16_58_05_9339.jpg', '/home/pi/Desktop/images/02052025/16/58/image_02052025_16_58_15_10342.jpg', '/home/pi/Desktop/images/02052025/16/58/image_02052025_16_58_25_10366.jpg', '/home/pi/Desktop/images/02052025/16/58/image_02052025_16_58_35_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/57/image_02052025_16_57_45_9367.jpg
/home/pi/Desktop/images/02052025/16/57/image_02052025_16_57_55_10369.jpg
/home/pi/Desktop/images/02052025/16/57/image_02052025_16_58_05_9339.jpg
/home/pi/Desktop/images/02052025/16/58/image_02052025_16_58_15_10342.jpg
/home/pi/Desktop/images/02052025/16/58/image_02052025_16_58_25_10366.jpg
/home/pi/Desktop/images/02052025/16/58/image_02052025_16_58_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":["1355420677","1355420890","1355420770","1355420879","1355420828","1355420711"],"photo_ids_order":["1355420677","1355420711","1355420770","1355420828","1355420879","1355420890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c53b7e905071839bd389e410d70e4d6c.jpg","text":"TemporaryFile(/tmp/multipartBody7923178302537518721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204933218,"filename":"image_02052025_16_57_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/5/2/6d98a46594d21366ed6895ca5a32f40a.jpg","text":"TemporaryFile(/tmp/multipartBody8638774269630948481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204933218,"filename":"image_02052025_16_58_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/5/2/4182c09c8c39a79544fa4b959a1edeb4.jpg","text":"TemporaryFile(/tmp/multipartBody314499802828024059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204933218,"filename":"image_02052025_16_58_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/5/2/e4b966bcda6f6bb625b0f9b2a1627b87.jpg","text":"TemporaryFile(/tmp/multipartBody2460746621382694439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204933218,"filename":"image_02052025_16_58_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/5/2/256fd87ef74d2c0dc60db80beb70c4c8.jpg","text":"TemporaryFile(/tmp/multipartBody4942941619974760672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204933218,"filename":"image_02052025_16_58_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/5/2/002552d10730a1297ce0c653aa928b20.jpg","text":"TemporaryFile(/tmp/multipartBody2439092778774926246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204933218,"filename":"image_02052025_16_57_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355420770","file1":"1355420711","file0":"1355420677","file4":"1355420879","file5":"1355420890","file3":"1355420828"},"map_files_photo_id_array":[{"photo_id":"1355420890","filename":"file5"},{"photo_id":"1355420770","filename":"file2"},{"photo_id":"1355420879","filename":"file4"},{"photo_id":"1355420711","filename":"file1"},{"photo_id":"1355420677","filename":"file0"},{"photo_id":"1355420828","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355420677":["hashtag1","hashtag2"]},{"1355420890":["hashtag1","hashtag2"]},{"1355420770":["hashtag1","hashtag2"]},{"1355420879":["hashtag1","hashtag2"]},{"1355420828":["hashtag1","hashtag2"]},{"1355420711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355420677, 1355420890, 1355420770, 1355420879, 1355420828, 1355420711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.265724897384644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:55:32.852475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/58/image_02052025_16_58_45_10356.jpg', '/home/pi/Desktop/images/02052025/16/58/image_02052025_16_58_56_10441.jpg', '/home/pi/Desktop/images/02052025/16/58/image_02052025_16_59_05_9358.jpg', '/home/pi/Desktop/images/02052025/16/59/image_02052025_16_59_15_10347.jpg', '/home/pi/Desktop/images/02052025/16/59/image_02052025_16_59_26_10348.jpg', '/home/pi/Desktop/images/02052025/16/59/image_02052025_16_59_35_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/58/image_02052025_16_58_45_10356.jpg
/home/pi/Desktop/images/02052025/16/58/image_02052025_16_58_56_10441.jpg
/home/pi/Desktop/images/02052025/16/58/image_02052025_16_59_05_9358.jpg
/home/pi/Desktop/images/02052025/16/59/image_02052025_16_59_15_10347.jpg
/home/pi/Desktop/images/02052025/16/59/image_02052025_16_59_26_10348.jpg
/home/pi/Desktop/images/02052025/16/59/image_02052025_16_59_35_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":["1355421133","1355421240","1355421057","1355421098","1355421173","1355421041"],"photo_ids_order":["1355421041","1355421057","1355421098","1355421133","1355421173","1355421240"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7108feef4bebe793c4e6a36b1b8ab183.jpg","text":"TemporaryFile(/tmp/multipartBody2966633521693625234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204993373,"filename":"image_02052025_16_59_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/5/2/9c9b3fb14818a21fa6dfdbfb36750f91.jpg","text":"TemporaryFile(/tmp/multipartBody6333720925258483687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204993373,"filename":"image_02052025_16_59_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/5/2/eedcb412e9090c63050d018c653eef2c.jpg","text":"TemporaryFile(/tmp/multipartBody8216670236715621325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204993373,"filename":"image_02052025_16_58_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/5/2/72e7d799731f74461f03bdd144512cee.jpg","text":"TemporaryFile(/tmp/multipartBody1041822479144781144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204993373,"filename":"image_02052025_16_59_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af682bba5e195f60ddc94805a5be9196.jpg","text":"TemporaryFile(/tmp/multipartBody5277620458053026405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204993373,"filename":"image_02052025_16_59_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/5/2/78aa0cb38b367bd74acc980a969a8b35.jpg","text":"TemporaryFile(/tmp/multipartBody599025422225381417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746204993373,"filename":"image_02052025_16_58_45_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355421098","file1":"1355421057","file0":"1355421041","file4":"1355421173","file5":"1355421240","file3":"1355421133"},"map_files_photo_id_array":[{"photo_id":"1355421240","filename":"file5"},{"photo_id":"1355421098","filename":"file2"},{"photo_id":"1355421173","filename":"file4"},{"photo_id":"1355421057","filename":"file1"},{"photo_id":"1355421041","filename":"file0"},{"photo_id":"1355421133","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355421133":["hashtag1","hashtag2"]},{"1355421240":["hashtag1","hashtag2"]},{"1355421057":["hashtag1","hashtag2"]},{"1355421098":["hashtag1","hashtag2"]},{"1355421173":["hashtag1","hashtag2"]},{"1355421041":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355421133, 1355421240, 1355421057, 1355421098, 1355421173, 1355421041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.184365034103394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:56:33.218818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/16/59/image_02052025_16_59_45_10433.jpg', '/home/pi/Desktop/images/02052025/16/59/image_02052025_16_59_55_9358.jpg', '/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_14_10078.jpg', '/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_25_10467.jpg', '/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_35_10422.jpg', '/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_44_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/16/59/image_02052025_16_59_45_10433.jpg
/home/pi/Desktop/images/02052025/16/59/image_02052025_16_59_55_9358.jpg
/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_14_10078.jpg
/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_25_10467.jpg
/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_35_10422.jpg
/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_44_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":["1355421667","1355421684","1355421657","1355421694","1355421697","1355421691"],"photo_ids_order":["1355421657","1355421667","1355421684","1355421691","1355421694","1355421697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db426a07eabfdfeaa61be421d2ab7bb1.jpg","text":"TemporaryFile(/tmp/multipartBody2465539461076314541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205053689,"filename":"image_02052025_16_59_55_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de98a7e6617c6edd6ec85d48a70af4ab.jpg","text":"TemporaryFile(/tmp/multipartBody5210131727616666113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205053689,"filename":"image_02052025_17_01_14_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/98df7b876cfd446feaa5e892f2ffaec7.jpg","text":"TemporaryFile(/tmp/multipartBody3710993722419335752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205053689,"filename":"image_02052025_16_59_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb398ee130b8ac18fbfbcae3224d632c.jpg","text":"TemporaryFile(/tmp/multipartBody8614769002943317115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205053689,"filename":"image_02052025_17_01_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/5/2/75f4d95c665181ecc2f42ca213b5bada.jpg","text":"TemporaryFile(/tmp/multipartBody1579009503294803900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205053689,"filename":"image_02052025_17_01_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/5/2/44626884c32619c3fd31f8aac2c01b25.jpg","text":"TemporaryFile(/tmp/multipartBody4796250805049616424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205053689,"filename":"image_02052025_17_01_25_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355421684","file1":"1355421667","file0":"1355421657","file4":"1355421694","file5":"1355421697","file3":"1355421691"},"map_files_photo_id_array":[{"photo_id":"1355421697","filename":"file5"},{"photo_id":"1355421684","filename":"file2"},{"photo_id":"1355421694","filename":"file4"},{"photo_id":"1355421667","filename":"file1"},{"photo_id":"1355421657","filename":"file0"},{"photo_id":"1355421691","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355421667":["hashtag1","hashtag2"]},{"1355421684":["hashtag1","hashtag2"]},{"1355421657":["hashtag1","hashtag2"]},{"1355421694":["hashtag1","hashtag2"]},{"1355421697":["hashtag1","hashtag2"]},{"1355421691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355421667, 1355421684, 1355421657, 1355421694, 1355421697, 1355421691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.009685039520264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:57:32.376097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_55_10378.jpg', '/home/pi/Desktop/images/02052025/17/01/image_02052025_17_02_04_9367.jpg', '/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_14_10356.jpg', '/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_25_10368.jpg', '/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_34_9408.jpg', '/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_45_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_55_10378.jpg
/home/pi/Desktop/images/02052025/17/01/image_02052025_17_02_04_9367.jpg
/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_14_10356.jpg
/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_25_10368.jpg
/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_34_9408.jpg
/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_45_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 18:59:04.546156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_55_10378.jpg', '/home/pi/Desktop/images/02052025/17/01/image_02052025_17_02_04_9367.jpg', '/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_14_10356.jpg', '/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_25_10368.jpg', '/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_34_9408.jpg', '/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_45_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/01/image_02052025_17_01_55_10378.jpg
/home/pi/Desktop/images/02052025/17/01/image_02052025_17_02_04_9367.jpg
/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_14_10356.jpg
/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_25_10368.jpg
/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_34_9408.jpg
/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_45_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355422569","1355422602","1355422608","1355422588","1355422582","1355422576"],"photo_ids_order":["1355422569","1355422576","1355422582","1355422588","1355422602","1355422608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c84e06dd4debf59ed953bdf1cba08139.jpg","text":"TemporaryFile(/tmp/multipartBody1717708833585462749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205205133,"filename":"image_02052025_17_01_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/846ebba8753c20ae4831d3df76ef933e.jpg","text":"TemporaryFile(/tmp/multipartBody1543011921739146667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205205133,"filename":"image_02052025_17_02_34_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84e129d3b848c7ba15e455567482a64c.jpg","text":"TemporaryFile(/tmp/multipartBody9151745111628788944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205205133,"filename":"image_02052025_17_02_45_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ca797b9870c97e0fad65c2f0bbebd739.jpg","text":"TemporaryFile(/tmp/multipartBody6027431574638340365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205205133,"filename":"image_02052025_17_02_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/5/2/7b90e3a60120547aa904efa48729ed18.jpg","text":"TemporaryFile(/tmp/multipartBody2876584073891915023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205205133,"filename":"image_02052025_17_02_14_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d940c159ed34f6080ba0efbdb13c199.jpg","text":"TemporaryFile(/tmp/multipartBody5676339135784945673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205205133,"filename":"image_02052025_17_02_04_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355422582","file1":"1355422576","file0":"1355422569","file4":"1355422602","file5":"1355422608","file3":"1355422588"},"map_files_photo_id_array":[{"photo_id":"1355422608","filename":"file5"},{"photo_id":"1355422582","filename":"file2"},{"photo_id":"1355422602","filename":"file4"},{"photo_id":"1355422576","filename":"file1"},{"photo_id":"1355422569","filename":"file0"},{"photo_id":"1355422588","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355422569":["hashtag1","hashtag2"]},{"1355422602":["hashtag1","hashtag2"]},{"1355422608":["hashtag1","hashtag2"]},{"1355422588":["hashtag1","hashtag2"]},{"1355422582":["hashtag1","hashtag2"]},{"1355422576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355422569, 1355422602, 1355422608, 1355422588, 1355422582, 1355422576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37071514129639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 18:59:53.007382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_55_10353.jpg', '/home/pi/Desktop/images/02052025/17/02/image_02052025_17_03_04_9422.jpg', '/home/pi/Desktop/images/02052025/17/03/image_02052025_17_03_24_9361.jpg', '/home/pi/Desktop/images/02052025/17/03/image_02052025_17_03_35_10486.jpg', '/home/pi/Desktop/images/02052025/17/03/image_02052025_17_03_45_10358.jpg', '/home/pi/Desktop/images/02052025/17/03/image_02052025_17_03_54_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/02/image_02052025_17_02_55_10353.jpg
/home/pi/Desktop/images/02052025/17/02/image_02052025_17_03_04_9422.jpg
/home/pi/Desktop/images/02052025/17/03/image_02052025_17_03_24_9361.jpg
/home/pi/Desktop/images/02052025/17/03/image_02052025_17_03_35_10486.jpg
/home/pi/Desktop/images/02052025/17/03/image_02052025_17_03_45_10358.jpg
/home/pi/Desktop/images/02052025/17/03/image_02052025_17_03_54_9388.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355422875","1355422779","1355422836","1355422880","1355422891","1355422735"],"photo_ids_order":["1355422735","1355422779","1355422836","1355422875","1355422880","1355422891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/659c0a4a502143a208d5299c2d08c403.jpg","text":"TemporaryFile(/tmp/multipartBody536858063439326280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205253494,"filename":"image_02052025_17_03_35_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/713af56de16608c870a196131e83641e.jpg","text":"TemporaryFile(/tmp/multipartBody5790079038052090637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205253494,"filename":"image_02052025_17_03_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/5/2/7d39d8f77de968288409bdcc21ab502a.jpg","text":"TemporaryFile(/tmp/multipartBody770607753314338245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205253494,"filename":"image_02052025_17_03_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9702cd0d33638f84a7e15c4c986620c.jpg","text":"TemporaryFile(/tmp/multipartBody5979565445764166277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205253494,"filename":"image_02052025_17_03_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/5/2/685c74793816c0d886235dbf4d469d5f.jpg","text":"TemporaryFile(/tmp/multipartBody5139711468297933669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205253494,"filename":"image_02052025_17_03_54_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7694dc7f76f76c63e0dfea7baa9875c.jpg","text":"TemporaryFile(/tmp/multipartBody6299010440723835463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205253494,"filename":"image_02052025_17_02_55_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355422836","file1":"1355422779","file0":"1355422735","file4":"1355422880","file5":"1355422891","file3":"1355422875"},"map_files_photo_id_array":[{"photo_id":"1355422891","filename":"file5"},{"photo_id":"1355422836","filename":"file2"},{"photo_id":"1355422880","filename":"file4"},{"photo_id":"1355422779","filename":"file1"},{"photo_id":"1355422735","filename":"file0"},{"photo_id":"1355422875","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355422875":["hashtag1","hashtag2"]},{"1355422779":["hashtag1","hashtag2"]},{"1355422836":["hashtag1","hashtag2"]},{"1355422880":["hashtag1","hashtag2"]},{"1355422891":["hashtag1","hashtag2"]},{"1355422735":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355422875, 1355422779, 1355422836, 1355422880, 1355422891, 1355422735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74182438850403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:00:32.196024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/03/image_02052025_17_04_05_10477.jpg', '/home/pi/Desktop/images/02052025/17/04/image_02052025_17_04_14_9348.jpg', '/home/pi/Desktop/images/02052025/17/04/image_02052025_17_04_25_10424.jpg', '/home/pi/Desktop/images/02052025/17/04/image_02052025_17_04_34_9440.jpg', '/home/pi/Desktop/images/02052025/17/04/image_02052025_17_04_44_10354.jpg', '/home/pi/Desktop/images/02052025/17/04/image_02052025_17_04_55_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/03/image_02052025_17_04_05_10477.jpg
/home/pi/Desktop/images/02052025/17/04/image_02052025_17_04_14_9348.jpg
/home/pi/Desktop/images/02052025/17/04/image_02052025_17_04_25_10424.jpg
/home/pi/Desktop/images/02052025/17/04/image_02052025_17_04_34_9440.jpg
/home/pi/Desktop/images/02052025/17/04/image_02052025_17_04_44_10354.jpg
/home/pi/Desktop/images/02052025/17/04/image_02052025_17_04_55_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355422989","1355422977","1355422958","1355422981","1355422987","1355422951"],"photo_ids_order":["1355422951","1355422958","1355422977","1355422981","1355422987","1355422989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2aa7d28ed5766ae8427f6f25ab1fff7c.jpg","text":"TemporaryFile(/tmp/multipartBody4191537204022181265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205292671,"filename":"image_02052025_17_04_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/5/2/fd5141836d3237dadda987ac3a27674c.jpg","text":"TemporaryFile(/tmp/multipartBody8870496131208790155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205292671,"filename":"image_02052025_17_04_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a282afdcb77ffb100931b1b44bb775c6.jpg","text":"TemporaryFile(/tmp/multipartBody4748272582071960323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205292671,"filename":"image_02052025_17_04_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/5/2/0432278e8c78b5603609ef3fa3657838.jpg","text":"TemporaryFile(/tmp/multipartBody246229617362550473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205292671,"filename":"image_02052025_17_04_34_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d0b58e14281a000b326f90cd29f7692.jpg","text":"TemporaryFile(/tmp/multipartBody3506011336253468425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205292671,"filename":"image_02052025_17_04_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/5/2/06b654ba1ed6cc684b1b9f101d333ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8623201681882468707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205292671,"filename":"image_02052025_17_04_05_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355422977","file1":"1355422958","file0":"1355422951","file4":"1355422987","file5":"1355422989","file3":"1355422981"},"map_files_photo_id_array":[{"photo_id":"1355422989","filename":"file5"},{"photo_id":"1355422977","filename":"file2"},{"photo_id":"1355422987","filename":"file4"},{"photo_id":"1355422958","filename":"file1"},{"photo_id":"1355422951","filename":"file0"},{"photo_id":"1355422981","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355422989":["hashtag1","hashtag2"]},{"1355422977":["hashtag1","hashtag2"]},{"1355422958":["hashtag1","hashtag2"]},{"1355422981":["hashtag1","hashtag2"]},{"1355422987":["hashtag1","hashtag2"]},{"1355422951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355422989, 1355422977, 1355422958, 1355422981, 1355422987, 1355422951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01029634475708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:01:32.428966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/04/image_02052025_17_05_04_9427.jpg', '/home/pi/Desktop/images/02052025/17/05/image_02052025_17_05_15_10398.jpg', '/home/pi/Desktop/images/02052025/17/05/image_02052025_17_05_24_9363.jpg', '/home/pi/Desktop/images/02052025/17/05/image_02052025_17_05_35_10522.jpg', '/home/pi/Desktop/images/02052025/17/05/image_02052025_17_05_45_10416.jpg', '/home/pi/Desktop/images/02052025/17/05/image_02052025_17_05_54_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/04/image_02052025_17_05_04_9427.jpg
/home/pi/Desktop/images/02052025/17/05/image_02052025_17_05_15_10398.jpg
/home/pi/Desktop/images/02052025/17/05/image_02052025_17_05_24_9363.jpg
/home/pi/Desktop/images/02052025/17/05/image_02052025_17_05_35_10522.jpg
/home/pi/Desktop/images/02052025/17/05/image_02052025_17_05_45_10416.jpg
/home/pi/Desktop/images/02052025/17/05/image_02052025_17_05_54_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":["1355423613","1355423555","1355423423","1355423488","1355423437","1355423586"],"photo_ids_order":["1355423423","1355423437","1355423488","1355423555","1355423586","1355423613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/351582da8717199b1ca3b97cbd1fc464.jpg","text":"TemporaryFile(/tmp/multipartBody5612150669554053840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205352907,"filename":"image_02052025_17_05_54_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4c4a1f2e5fe7babbbf837ec2481d1f68.jpg","text":"TemporaryFile(/tmp/multipartBody4629142145311138059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205352907,"filename":"image_02052025_17_05_35_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b160fc0c19d40c52138e8f745e55ec35.jpg","text":"TemporaryFile(/tmp/multipartBody6171164799779161991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205352907,"filename":"image_02052025_17_05_04_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5aaa29e4391192f103af769093ec964c.jpg","text":"TemporaryFile(/tmp/multipartBody8329078172533852402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205352907,"filename":"image_02052025_17_05_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/caa9b929bb15501dabdee9b1bf23b4b4.jpg","text":"TemporaryFile(/tmp/multipartBody7580327884513998359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205352907,"filename":"image_02052025_17_05_15_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4fe7b93b9e09aba0501a0c71d48beec.jpg","text":"TemporaryFile(/tmp/multipartBody4396606022596096962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205352907,"filename":"image_02052025_17_05_45_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355423488","file1":"1355423437","file0":"1355423423","file4":"1355423586","file5":"1355423613","file3":"1355423555"},"map_files_photo_id_array":[{"photo_id":"1355423613","filename":"file5"},{"photo_id":"1355423488","filename":"file2"},{"photo_id":"1355423586","filename":"file4"},{"photo_id":"1355423437","filename":"file1"},{"photo_id":"1355423423","filename":"file0"},{"photo_id":"1355423555","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355423613":["hashtag1","hashtag2"]},{"1355423555":["hashtag1","hashtag2"]},{"1355423423":["hashtag1","hashtag2"]},{"1355423488":["hashtag1","hashtag2"]},{"1355423437":["hashtag1","hashtag2"]},{"1355423586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355423613, 1355423555, 1355423423, 1355423488, 1355423437, 1355423586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.486183166503906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:02:32.485668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/05/image_02052025_17_06_05_10347.jpg', '/home/pi/Desktop/images/02052025/17/06/image_02052025_17_06_15_10347.jpg', '/home/pi/Desktop/images/02052025/17/06/image_02052025_17_06_24_9404.jpg', '/home/pi/Desktop/images/02052025/17/06/image_02052025_17_06_35_10424.jpg', '/home/pi/Desktop/images/02052025/17/06/image_02052025_17_06_44_9338.jpg', '/home/pi/Desktop/images/02052025/17/06/image_02052025_17_06_55_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/05/image_02052025_17_06_05_10347.jpg
/home/pi/Desktop/images/02052025/17/06/image_02052025_17_06_15_10347.jpg
/home/pi/Desktop/images/02052025/17/06/image_02052025_17_06_24_9404.jpg
/home/pi/Desktop/images/02052025/17/06/image_02052025_17_06_35_10424.jpg
/home/pi/Desktop/images/02052025/17/06/image_02052025_17_06_44_9338.jpg
/home/pi/Desktop/images/02052025/17/06/image_02052025_17_06_55_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355424038","1355423997","1355424153","1355424060","1355424057","1355423961"],"photo_ids_order":["1355423961","1355423997","1355424038","1355424057","1355424060","1355424153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0ed5b9e69cc3e1fb5de90f83d61bf093.jpg","text":"TemporaryFile(/tmp/multipartBody1745953520008343251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205412973,"filename":"image_02052025_17_06_24_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/72bda11fa9d9e4bc8d89bdc73ae6ab9b.jpg","text":"TemporaryFile(/tmp/multipartBody8989984785091378963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205412973,"filename":"image_02052025_17_06_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e2b9a1f12fb8e684aff590f73db6948.jpg","text":"TemporaryFile(/tmp/multipartBody6394144833950991360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205412973,"filename":"image_02052025_17_06_55_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4a1b106bf398b35a6e0cf0b716fd812.jpg","text":"TemporaryFile(/tmp/multipartBody5820432525277331183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205412973,"filename":"image_02052025_17_06_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/5/2/2e2767fb9c10a45de146043039a50a32.jpg","text":"TemporaryFile(/tmp/multipartBody4018922583032916021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205412973,"filename":"image_02052025_17_06_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/5/2/b3b61bf2c7969cff4a5dc29160fd9aa6.jpg","text":"TemporaryFile(/tmp/multipartBody160279708290679022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205412973,"filename":"image_02052025_17_06_05_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355424038","file1":"1355423997","file0":"1355423961","file4":"1355424060","file5":"1355424153","file3":"1355424057"},"map_files_photo_id_array":[{"photo_id":"1355424153","filename":"file5"},{"photo_id":"1355424038","filename":"file2"},{"photo_id":"1355424060","filename":"file4"},{"photo_id":"1355423997","filename":"file1"},{"photo_id":"1355423961","filename":"file0"},{"photo_id":"1355424057","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355424038":["hashtag1","hashtag2"]},{"1355423997":["hashtag1","hashtag2"]},{"1355424153":["hashtag1","hashtag2"]},{"1355424060":["hashtag1","hashtag2"]},{"1355424057":["hashtag1","hashtag2"]},{"1355423961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355424038, 1355423997, 1355424153, 1355424060, 1355424057, 1355423961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.198686361312866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:03:32.793714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/06/image_02052025_17_07_05_10369.jpg', '/home/pi/Desktop/images/02052025/17/07/image_02052025_17_07_14_9348.jpg', '/home/pi/Desktop/images/02052025/17/07/image_02052025_17_07_25_10437.jpg', '/home/pi/Desktop/images/02052025/17/07/image_02052025_17_07_45_10455.jpg', '/home/pi/Desktop/images/02052025/17/07/image_02052025_17_07_55_10376.jpg', '/home/pi/Desktop/images/02052025/17/07/image_02052025_17_08_04_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/06/image_02052025_17_07_05_10369.jpg
/home/pi/Desktop/images/02052025/17/07/image_02052025_17_07_14_9348.jpg
/home/pi/Desktop/images/02052025/17/07/image_02052025_17_07_25_10437.jpg
/home/pi/Desktop/images/02052025/17/07/image_02052025_17_07_45_10455.jpg
/home/pi/Desktop/images/02052025/17/07/image_02052025_17_07_55_10376.jpg
/home/pi/Desktop/images/02052025/17/07/image_02052025_17_08_04_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355424272","1355424355","1355424357","1355424270","1355424339","1355424309"],"photo_ids_order":["1355424270","1355424272","1355424309","1355424339","1355424355","1355424357"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ade0cc89d28176a7868a1309e56d204.jpg","text":"TemporaryFile(/tmp/multipartBody5957046300092695187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205473259,"filename":"image_02052025_17_07_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/5/2/4b7e3a0e2df311305f060fbbd7c97175.jpg","text":"TemporaryFile(/tmp/multipartBody7993928719726336825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205473259,"filename":"image_02052025_17_07_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/5/2/474618dfe5f518a5315a761ca7c7b137.jpg","text":"TemporaryFile(/tmp/multipartBody6885487750592084156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205473259,"filename":"image_02052025_17_08_04_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/623336b578f885fd45991b55a1b816df.jpg","text":"TemporaryFile(/tmp/multipartBody5906288741992585562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205473259,"filename":"image_02052025_17_07_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e75e46839ad6f138f951ec5f1b284831.jpg","text":"TemporaryFile(/tmp/multipartBody5291940080084239740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205473259,"filename":"image_02052025_17_07_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/5/2/e60888dee7a0da19cb650a2a82721cd2.jpg","text":"TemporaryFile(/tmp/multipartBody4960438863749769676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205473259,"filename":"image_02052025_17_07_25_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355424309","file1":"1355424272","file0":"1355424270","file4":"1355424355","file5":"1355424357","file3":"1355424339"},"map_files_photo_id_array":[{"photo_id":"1355424357","filename":"file5"},{"photo_id":"1355424309","filename":"file2"},{"photo_id":"1355424355","filename":"file4"},{"photo_id":"1355424272","filename":"file1"},{"photo_id":"1355424270","filename":"file0"},{"photo_id":"1355424339","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355424272":["hashtag1","hashtag2"]},{"1355424355":["hashtag1","hashtag2"]},{"1355424357":["hashtag1","hashtag2"]},{"1355424270":["hashtag1","hashtag2"]},{"1355424339":["hashtag1","hashtag2"]},{"1355424309":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355424272, 1355424355, 1355424357, 1355424270, 1355424339, 1355424309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27923274040222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:04:32.959086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/08/image_02052025_17_08_15_10470.jpg', '/home/pi/Desktop/images/02052025/17/08/image_02052025_17_08_24_9355.jpg', '/home/pi/Desktop/images/02052025/17/08/image_02052025_17_08_35_10415.jpg', '/home/pi/Desktop/images/02052025/17/08/image_02052025_17_08_45_10364.jpg', '/home/pi/Desktop/images/02052025/17/08/image_02052025_17_08_54_9358.jpg', '/home/pi/Desktop/images/02052025/17/08/image_02052025_17_09_05_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/08/image_02052025_17_08_15_10470.jpg
/home/pi/Desktop/images/02052025/17/08/image_02052025_17_08_24_9355.jpg
/home/pi/Desktop/images/02052025/17/08/image_02052025_17_08_35_10415.jpg
/home/pi/Desktop/images/02052025/17/08/image_02052025_17_08_45_10364.jpg
/home/pi/Desktop/images/02052025/17/08/image_02052025_17_08_54_9358.jpg
/home/pi/Desktop/images/02052025/17/08/image_02052025_17_09_05_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":["1355424536","1355424521","1355424515","1355424517","1355424531","1355424519"],"photo_ids_order":["1355424515","1355424517","1355424519","1355424521","1355424531","1355424536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de2328d2c4cbed999f66965057d335b6.jpg","text":"TemporaryFile(/tmp/multipartBody8280958309174854040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205533445,"filename":"image_02052025_17_09_05_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee53faa2125c2ac8c1fb4b034179470a.jpg","text":"TemporaryFile(/tmp/multipartBody8004226428541209263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205533445,"filename":"image_02052025_17_08_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/5/2/2a73151bd20a6809432a31221242b4eb.jpg","text":"TemporaryFile(/tmp/multipartBody6755774058163373335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205533445,"filename":"image_02052025_17_08_15_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f53e16e91182e4fe423c05b75c50cd72.jpg","text":"TemporaryFile(/tmp/multipartBody3804652595201597419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205533445,"filename":"image_02052025_17_08_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/40ec614823420e61b974042d5bd809aa.jpg","text":"TemporaryFile(/tmp/multipartBody6008981273076493426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205533445,"filename":"image_02052025_17_08_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb844048c03246ab2aa64660dcc86400.jpg","text":"TemporaryFile(/tmp/multipartBody1386639511378002184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205533445,"filename":"image_02052025_17_08_35_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355424519","file1":"1355424517","file0":"1355424515","file4":"1355424531","file5":"1355424536","file3":"1355424521"},"map_files_photo_id_array":[{"photo_id":"1355424536","filename":"file5"},{"photo_id":"1355424519","filename":"file2"},{"photo_id":"1355424531","filename":"file4"},{"photo_id":"1355424517","filename":"file1"},{"photo_id":"1355424515","filename":"file0"},{"photo_id":"1355424521","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355424536":["hashtag1","hashtag2"]},{"1355424521":["hashtag1","hashtag2"]},{"1355424515":["hashtag1","hashtag2"]},{"1355424517":["hashtag1","hashtag2"]},{"1355424531":["hashtag1","hashtag2"]},{"1355424519":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355424536, 1355424521, 1355424515, 1355424517, 1355424531, 1355424519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.27664065361023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:05:32.211916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/09/image_02052025_17_09_14_9430.jpg', '/home/pi/Desktop/images/02052025/17/09/image_02052025_17_09_25_10459.jpg', '/home/pi/Desktop/images/02052025/17/09/image_02052025_17_09_35_10364.jpg', '/home/pi/Desktop/images/02052025/17/09/image_02052025_17_09_44_9354.jpg', '/home/pi/Desktop/images/02052025/17/09/image_02052025_17_09_55_10452.jpg', '/home/pi/Desktop/images/02052025/17/09/image_02052025_17_10_04_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/09/image_02052025_17_09_14_9430.jpg
/home/pi/Desktop/images/02052025/17/09/image_02052025_17_09_25_10459.jpg
/home/pi/Desktop/images/02052025/17/09/image_02052025_17_09_35_10364.jpg
/home/pi/Desktop/images/02052025/17/09/image_02052025_17_09_44_9354.jpg
/home/pi/Desktop/images/02052025/17/09/image_02052025_17_09_55_10452.jpg
/home/pi/Desktop/images/02052025/17/09/image_02052025_17_10_04_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":["1355424566","1355424551","1355424569","1355424563","1355424557","1355424568"],"photo_ids_order":["1355424551","1355424557","1355424563","1355424566","1355424568","1355424569"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cac5985e883787578b40cc7599a18d31.jpg","text":"TemporaryFile(/tmp/multipartBody7504010812102739229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205592682,"filename":"image_02052025_17_09_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/5/2/0325bfcad41d81c1752497d7a94425fc.jpg","text":"TemporaryFile(/tmp/multipartBody3033781203049913327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205592682,"filename":"image_02052025_17_09_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/5/2/158e8e72d10da619b19b7f05902fe9b0.jpg","text":"TemporaryFile(/tmp/multipartBody6685148307419863010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205592682,"filename":"image_02052025_17_10_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/5/2/421e8857a2a4a5e4124535d1d8adc2bb.jpg","text":"TemporaryFile(/tmp/multipartBody3249219583204072244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205592682,"filename":"image_02052025_17_09_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bffb5f3809ad66d728098b619db34c39.jpg","text":"TemporaryFile(/tmp/multipartBody4484538946877800880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205592682,"filename":"image_02052025_17_09_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/5/2/26ce84df582963eaa90f1bc08248d418.jpg","text":"TemporaryFile(/tmp/multipartBody6268128950564696220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205592682,"filename":"image_02052025_17_09_55_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355424563","file1":"1355424557","file0":"1355424551","file4":"1355424568","file5":"1355424569","file3":"1355424566"},"map_files_photo_id_array":[{"photo_id":"1355424569","filename":"file5"},{"photo_id":"1355424563","filename":"file2"},{"photo_id":"1355424568","filename":"file4"},{"photo_id":"1355424557","filename":"file1"},{"photo_id":"1355424551","filename":"file0"},{"photo_id":"1355424566","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355424566":["hashtag1","hashtag2"]},{"1355424551":["hashtag1","hashtag2"]},{"1355424569":["hashtag1","hashtag2"]},{"1355424563":["hashtag1","hashtag2"]},{"1355424557":["hashtag1","hashtag2"]},{"1355424568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355424566, 1355424551, 1355424569, 1355424563, 1355424557, 1355424568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6291937828064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:06:32.400572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/10/image_02052025_17_10_15_10469.jpg', '/home/pi/Desktop/images/02052025/17/10/image_02052025_17_10_25_10392.jpg', '/home/pi/Desktop/images/02052025/17/10/image_02052025_17_10_34_9342.jpg', '/home/pi/Desktop/images/02052025/17/10/image_02052025_17_10_45_10368.jpg', '/home/pi/Desktop/images/02052025/17/10/image_02052025_17_10_54_9361.jpg', '/home/pi/Desktop/images/02052025/17/10/image_02052025_17_11_04_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/10/image_02052025_17_10_15_10469.jpg
/home/pi/Desktop/images/02052025/17/10/image_02052025_17_10_25_10392.jpg
/home/pi/Desktop/images/02052025/17/10/image_02052025_17_10_34_9342.jpg
/home/pi/Desktop/images/02052025/17/10/image_02052025_17_10_45_10368.jpg
/home/pi/Desktop/images/02052025/17/10/image_02052025_17_10_54_9361.jpg
/home/pi/Desktop/images/02052025/17/10/image_02052025_17_11_04_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355424806","1355424775","1355424784","1355424757","1355424832","1355424834"],"photo_ids_order":["1355424757","1355424775","1355424784","1355424806","1355424832","1355424834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b1170e3c03f292bb24abede95b508b0.jpg","text":"TemporaryFile(/tmp/multipartBody4100015640193937487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205653004,"filename":"image_02052025_17_10_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/5/2/d4e2a8124188dc7808ee334ac2517550.jpg","text":"TemporaryFile(/tmp/multipartBody8758523878698935046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205653004,"filename":"image_02052025_17_10_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22b63e498db48d0d53b951e785ebedf8.jpg","text":"TemporaryFile(/tmp/multipartBody2696195250911586779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205653004,"filename":"image_02052025_17_10_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/5/2/8fe75262f54693d83172821a0e64959d.jpg","text":"TemporaryFile(/tmp/multipartBody3930410384445273068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205653004,"filename":"image_02052025_17_10_15_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b00bcbf4131f4b3514d5f5d06d51710a.jpg","text":"TemporaryFile(/tmp/multipartBody2019734551602295414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205653004,"filename":"image_02052025_17_10_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bebb72be7b0fe4aba0780f06c5c659a0.jpg","text":"TemporaryFile(/tmp/multipartBody9050189737857282169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205653004,"filename":"image_02052025_17_11_04_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355424784","file1":"1355424775","file0":"1355424757","file4":"1355424832","file5":"1355424834","file3":"1355424806"},"map_files_photo_id_array":[{"photo_id":"1355424834","filename":"file5"},{"photo_id":"1355424784","filename":"file2"},{"photo_id":"1355424832","filename":"file4"},{"photo_id":"1355424775","filename":"file1"},{"photo_id":"1355424757","filename":"file0"},{"photo_id":"1355424806","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355424806":["hashtag1","hashtag2"]},{"1355424775":["hashtag1","hashtag2"]},{"1355424784":["hashtag1","hashtag2"]},{"1355424757":["hashtag1","hashtag2"]},{"1355424832":["hashtag1","hashtag2"]},{"1355424834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355424806, 1355424775, 1355424784, 1355424757, 1355424832, 1355424834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78235483169556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:07:32.539894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/11/image_02052025_17_11_15_10401.jpg', '/home/pi/Desktop/images/02052025/17/11/image_02052025_17_11_24_9361.jpg', '/home/pi/Desktop/images/02052025/17/11/image_02052025_17_11_35_10476.jpg', '/home/pi/Desktop/images/02052025/17/11/image_02052025_17_11_44_9358.jpg', '/home/pi/Desktop/images/02052025/17/11/image_02052025_17_11_54_10367.jpg', '/home/pi/Desktop/images/02052025/17/11/image_02052025_17_12_05_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/11/image_02052025_17_11_15_10401.jpg
/home/pi/Desktop/images/02052025/17/11/image_02052025_17_11_24_9361.jpg
/home/pi/Desktop/images/02052025/17/11/image_02052025_17_11_35_10476.jpg
/home/pi/Desktop/images/02052025/17/11/image_02052025_17_11_44_9358.jpg
/home/pi/Desktop/images/02052025/17/11/image_02052025_17_11_54_10367.jpg
/home/pi/Desktop/images/02052025/17/11/image_02052025_17_12_05_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":["1355425007","1355424944","1355424877","1355424904","1355425038","1355424975"],"photo_ids_order":["1355424877","1355424904","1355424944","1355424975","1355425007","1355425038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5bc79bd5c119b75490a8feef67b35fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8476017773904761469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205713173,"filename":"image_02052025_17_11_54_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6480cb4c3bf40adb329b75368656388a.jpg","text":"TemporaryFile(/tmp/multipartBody8672203738968101135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205713173,"filename":"image_02052025_17_11_35_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e9ed078bb88b16f6780749db61539110.jpg","text":"TemporaryFile(/tmp/multipartBody5638759289458648744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205713173,"filename":"image_02052025_17_11_15_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc650988c939c4bd9ac9a324d7ad30e5.jpg","text":"TemporaryFile(/tmp/multipartBody7083312940206296307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205713173,"filename":"image_02052025_17_11_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1f1c0f658bffef140a7b5624f240c9b6.jpg","text":"TemporaryFile(/tmp/multipartBody8760665193949546628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205713173,"filename":"image_02052025_17_12_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/5/2/d394c094cca435ed9da1cd9fa8c6bb26.jpg","text":"TemporaryFile(/tmp/multipartBody7281114150821474696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205713173,"filename":"image_02052025_17_11_44_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355424944","file1":"1355424904","file0":"1355424877","file4":"1355425007","file5":"1355425038","file3":"1355424975"},"map_files_photo_id_array":[{"photo_id":"1355425038","filename":"file5"},{"photo_id":"1355424944","filename":"file2"},{"photo_id":"1355425007","filename":"file4"},{"photo_id":"1355424904","filename":"file1"},{"photo_id":"1355424877","filename":"file0"},{"photo_id":"1355424975","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355425007":["hashtag1","hashtag2"]},{"1355424944":["hashtag1","hashtag2"]},{"1355424877":["hashtag1","hashtag2"]},{"1355424904":["hashtag1","hashtag2"]},{"1355425038":["hashtag1","hashtag2"]},{"1355424975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355425007, 1355424944, 1355424877, 1355424904, 1355425038, 1355424975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54657697677612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:08:32.652876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/12/image_02052025_17_12_14_9343.jpg', '/home/pi/Desktop/images/02052025/17/12/image_02052025_17_12_25_10456.jpg', '/home/pi/Desktop/images/02052025/17/12/image_02052025_17_12_35_10345.jpg', '/home/pi/Desktop/images/02052025/17/12/image_02052025_17_12_44_9341.jpg', '/home/pi/Desktop/images/02052025/17/12/image_02052025_17_12_55_10465.jpg', '/home/pi/Desktop/images/02052025/17/12/image_02052025_17_13_04_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/12/image_02052025_17_12_14_9343.jpg
/home/pi/Desktop/images/02052025/17/12/image_02052025_17_12_25_10456.jpg
/home/pi/Desktop/images/02052025/17/12/image_02052025_17_12_35_10345.jpg
/home/pi/Desktop/images/02052025/17/12/image_02052025_17_12_44_9341.jpg
/home/pi/Desktop/images/02052025/17/12/image_02052025_17_12_55_10465.jpg
/home/pi/Desktop/images/02052025/17/12/image_02052025_17_13_04_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":["1355425421","1355425342","1355425309","1355425545","1355425500","1355425466"],"photo_ids_order":["1355425309","1355425342","1355425421","1355425466","1355425500","1355425545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/314417191234c726d47d874b65880379.jpg","text":"TemporaryFile(/tmp/multipartBody4764376740613840393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205773451,"filename":"image_02052025_17_12_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/5/2/3cb30c106d7283a3579feadc4b0c4878.jpg","text":"TemporaryFile(/tmp/multipartBody5856356405087713841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205773451,"filename":"image_02052025_17_12_25_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c92bd8ee784d752a6b5f74d7e1aa9491.jpg","text":"TemporaryFile(/tmp/multipartBody5663273410290677593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205773451,"filename":"image_02052025_17_12_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/5/2/d55e2dc0216229d8eab242afdc096858.jpg","text":"TemporaryFile(/tmp/multipartBody8421278747413054339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205773451,"filename":"image_02052025_17_13_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ca038237d5e566cbe9f6199c028a5a8d.jpg","text":"TemporaryFile(/tmp/multipartBody6497815658972713219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205773451,"filename":"image_02052025_17_12_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/5/2/5f75b5de268daf6de3ddbbac97e6b464.jpg","text":"TemporaryFile(/tmp/multipartBody6267497157600371173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205773451,"filename":"image_02052025_17_12_44_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355425421","file1":"1355425342","file0":"1355425309","file4":"1355425500","file5":"1355425545","file3":"1355425466"},"map_files_photo_id_array":[{"photo_id":"1355425545","filename":"file5"},{"photo_id":"1355425421","filename":"file2"},{"photo_id":"1355425500","filename":"file4"},{"photo_id":"1355425342","filename":"file1"},{"photo_id":"1355425309","filename":"file0"},{"photo_id":"1355425466","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355425421":["hashtag1","hashtag2"]},{"1355425342":["hashtag1","hashtag2"]},{"1355425309":["hashtag1","hashtag2"]},{"1355425545":["hashtag1","hashtag2"]},{"1355425500":["hashtag1","hashtag2"]},{"1355425466":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355425421, 1355425342, 1355425309, 1355425545, 1355425500, 1355425466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.797924518585205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:09:32.801041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/13/image_02052025_17_13_15_10444.jpg', '/home/pi/Desktop/images/02052025/17/13/image_02052025_17_13_25_10349.jpg', '/home/pi/Desktop/images/02052025/17/13/image_02052025_17_13_34_9384.jpg', '/home/pi/Desktop/images/02052025/17/13/image_02052025_17_13_45_10390.jpg', '/home/pi/Desktop/images/02052025/17/13/image_02052025_17_13_54_9384.jpg', '/home/pi/Desktop/images/02052025/17/13/image_02052025_17_14_05_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/13/image_02052025_17_13_15_10444.jpg
/home/pi/Desktop/images/02052025/17/13/image_02052025_17_13_25_10349.jpg
/home/pi/Desktop/images/02052025/17/13/image_02052025_17_13_34_9384.jpg
/home/pi/Desktop/images/02052025/17/13/image_02052025_17_13_45_10390.jpg
/home/pi/Desktop/images/02052025/17/13/image_02052025_17_13_54_9384.jpg
/home/pi/Desktop/images/02052025/17/13/image_02052025_17_14_05_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":["1355426131","1355425888","1355425921","1355426013","1355425953","1355426102"],"photo_ids_order":["1355425888","1355425921","1355425953","1355426013","1355426102","1355426131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2830e8de4eea0f86551c67a179edb07b.jpg","text":"TemporaryFile(/tmp/multipartBody8573747115163371021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205833268,"filename":"image_02052025_17_14_05_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6b9062486a449aed87e3447a8ab40aa9.jpg","text":"TemporaryFile(/tmp/multipartBody7475298918191290910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205833268,"filename":"image_02052025_17_13_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/5/2/fda6d26abc31b5f8e98ef5d6701943b2.jpg","text":"TemporaryFile(/tmp/multipartBody6447345727399154656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205833268,"filename":"image_02052025_17_13_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/5/2/d36eaef1fcc28eeb1599479f13853aec.jpg","text":"TemporaryFile(/tmp/multipartBody4184765180398555246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205833268,"filename":"image_02052025_17_13_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/604bd0f7f45e4e882bdff0dd54418b2b.jpg","text":"TemporaryFile(/tmp/multipartBody4242449434949091013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205833268,"filename":"image_02052025_17_13_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/5/2/8b8452aca445b7a8e3df6e8fc5685348.jpg","text":"TemporaryFile(/tmp/multipartBody2837605364227281047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205833268,"filename":"image_02052025_17_13_54_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355425953","file1":"1355425921","file0":"1355425888","file4":"1355426102","file5":"1355426131","file3":"1355426013"},"map_files_photo_id_array":[{"photo_id":"1355426131","filename":"file5"},{"photo_id":"1355425953","filename":"file2"},{"photo_id":"1355426102","filename":"file4"},{"photo_id":"1355425921","filename":"file1"},{"photo_id":"1355425888","filename":"file0"},{"photo_id":"1355426013","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355426131":["hashtag1","hashtag2"]},{"1355425888":["hashtag1","hashtag2"]},{"1355425921":["hashtag1","hashtag2"]},{"1355426013":["hashtag1","hashtag2"]},{"1355425953":["hashtag1","hashtag2"]},{"1355426102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355426131, 1355425888, 1355425921, 1355426013, 1355425953, 1355426102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.617021560668945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:10:33.141759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/14/image_02052025_17_14_15_10375.jpg', '/home/pi/Desktop/images/02052025/17/14/image_02052025_17_14_24_9354.jpg', '/home/pi/Desktop/images/02052025/17/14/image_02052025_17_14_35_10432.jpg', '/home/pi/Desktop/images/02052025/17/14/image_02052025_17_14_44_9351.jpg', '/home/pi/Desktop/images/02052025/17/14/image_02052025_17_14_54_10371.jpg', '/home/pi/Desktop/images/02052025/17/14/image_02052025_17_15_05_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/14/image_02052025_17_14_15_10375.jpg
/home/pi/Desktop/images/02052025/17/14/image_02052025_17_14_24_9354.jpg
/home/pi/Desktop/images/02052025/17/14/image_02052025_17_14_35_10432.jpg
/home/pi/Desktop/images/02052025/17/14/image_02052025_17_14_44_9351.jpg
/home/pi/Desktop/images/02052025/17/14/image_02052025_17_14_54_10371.jpg
/home/pi/Desktop/images/02052025/17/14/image_02052025_17_15_05_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":["1355426389","1355426377","1355426437","1355426367","1355426403","1355426383"],"photo_ids_order":["1355426367","1355426377","1355426383","1355426389","1355426403","1355426437"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2538692c9add22893b36ad4c247f394a.jpg","text":"TemporaryFile(/tmp/multipartBody2626165176114377214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205893661,"filename":"image_02052025_17_14_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/afdafdbad4b73d6aa6bb57dbc237d0af.jpg","text":"TemporaryFile(/tmp/multipartBody8384958466922920176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205893661,"filename":"image_02052025_17_14_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/5/2/8de257a42b22389ebedc45d614866316.jpg","text":"TemporaryFile(/tmp/multipartBody7388926508743955970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205893661,"filename":"image_02052025_17_15_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/5/2/16be3d5e9fa83ae0d3f2e32f0056e920.jpg","text":"TemporaryFile(/tmp/multipartBody1498873891385998808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205893661,"filename":"image_02052025_17_14_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/5/2/caf137b2c9010ea92114062a9c003176.jpg","text":"TemporaryFile(/tmp/multipartBody288705520991669838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205893661,"filename":"image_02052025_17_14_54_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6ffef148d3010998056fcb793e35dd3.jpg","text":"TemporaryFile(/tmp/multipartBody657624178492286907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205893661,"filename":"image_02052025_17_14_35_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355426383","file1":"1355426377","file0":"1355426367","file4":"1355426403","file5":"1355426437","file3":"1355426389"},"map_files_photo_id_array":[{"photo_id":"1355426437","filename":"file5"},{"photo_id":"1355426383","filename":"file2"},{"photo_id":"1355426403","filename":"file4"},{"photo_id":"1355426377","filename":"file1"},{"photo_id":"1355426367","filename":"file0"},{"photo_id":"1355426389","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355426389":["hashtag1","hashtag2"]},{"1355426377":["hashtag1","hashtag2"]},{"1355426437":["hashtag1","hashtag2"]},{"1355426367":["hashtag1","hashtag2"]},{"1355426403":["hashtag1","hashtag2"]},{"1355426383":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355426389, 1355426377, 1355426437, 1355426367, 1355426403, 1355426383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35557746887207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:11:32.581285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/15/image_02052025_17_15_14_9372.jpg', '/home/pi/Desktop/images/02052025/17/15/image_02052025_17_15_25_10449.jpg', '/home/pi/Desktop/images/02052025/17/15/image_02052025_17_15_34_9387.jpg', '/home/pi/Desktop/images/02052025/17/15/image_02052025_17_15_44_10359.jpg', '/home/pi/Desktop/images/02052025/17/15/image_02052025_17_15_55_10366.jpg', '/home/pi/Desktop/images/02052025/17/15/image_02052025_17_16_04_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/15/image_02052025_17_15_14_9372.jpg
/home/pi/Desktop/images/02052025/17/15/image_02052025_17_15_25_10449.jpg
/home/pi/Desktop/images/02052025/17/15/image_02052025_17_15_34_9387.jpg
/home/pi/Desktop/images/02052025/17/15/image_02052025_17_15_44_10359.jpg
/home/pi/Desktop/images/02052025/17/15/image_02052025_17_15_55_10366.jpg
/home/pi/Desktop/images/02052025/17/15/image_02052025_17_16_04_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":["1355426896","1355427007","1355427153","1355427074","1355426814","1355426966"],"photo_ids_order":["1355426814","1355426896","1355426966","1355427007","1355427074","1355427153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f920a9f0f6959a436bc48348a87be00.jpg","text":"TemporaryFile(/tmp/multipartBody756770392766942849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205953073,"filename":"image_02052025_17_15_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/5/2/fbd742548f4dd1001d0feebd38a015d5.jpg","text":"TemporaryFile(/tmp/multipartBody8172061341912444324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205953073,"filename":"image_02052025_17_15_44_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/13fa365db4a713bc7d0a350d4ffb48f6.jpg","text":"TemporaryFile(/tmp/multipartBody4449833114431618316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205953073,"filename":"image_02052025_17_16_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/5/2/708ab54f39d1b118760e1f826db9646d.jpg","text":"TemporaryFile(/tmp/multipartBody7084271879708707952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205953073,"filename":"image_02052025_17_15_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/5/2/7831d704e81d2ead6c8164d8d95409d3.jpg","text":"TemporaryFile(/tmp/multipartBody2295969110762182756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205953073,"filename":"image_02052025_17_15_14_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f68821f3e37d5e786eb666c3fa65e6c3.jpg","text":"TemporaryFile(/tmp/multipartBody7868809285720432631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746205953073,"filename":"image_02052025_17_15_34_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355426966","file1":"1355426896","file0":"1355426814","file4":"1355427074","file5":"1355427153","file3":"1355427007"},"map_files_photo_id_array":[{"photo_id":"1355427153","filename":"file5"},{"photo_id":"1355426966","filename":"file2"},{"photo_id":"1355427074","filename":"file4"},{"photo_id":"1355426896","filename":"file1"},{"photo_id":"1355426814","filename":"file0"},{"photo_id":"1355427007","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355426896":["hashtag1","hashtag2"]},{"1355427007":["hashtag1","hashtag2"]},{"1355427153":["hashtag1","hashtag2"]},{"1355427074":["hashtag1","hashtag2"]},{"1355426814":["hashtag1","hashtag2"]},{"1355426966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355426896, 1355427007, 1355427153, 1355427074, 1355426814, 1355426966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84634971618652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:12:32.578090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/16/image_02052025_17_16_15_10476.jpg', '/home/pi/Desktop/images/02052025/17/16/image_02052025_17_16_25_10385.jpg', '/home/pi/Desktop/images/02052025/17/16/image_02052025_17_16_35_9516.jpg', '/home/pi/Desktop/images/02052025/17/16/image_02052025_17_16_45_10421.jpg', '/home/pi/Desktop/images/02052025/17/16/image_02052025_17_16_54_9363.jpg', '/home/pi/Desktop/images/02052025/17/16/image_02052025_17_17_05_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/16/image_02052025_17_16_15_10476.jpg
/home/pi/Desktop/images/02052025/17/16/image_02052025_17_16_25_10385.jpg
/home/pi/Desktop/images/02052025/17/16/image_02052025_17_16_35_9516.jpg
/home/pi/Desktop/images/02052025/17/16/image_02052025_17_16_45_10421.jpg
/home/pi/Desktop/images/02052025/17/16/image_02052025_17_16_54_9363.jpg
/home/pi/Desktop/images/02052025/17/16/image_02052025_17_17_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":["1355427378","1355427522","1355427519","1355427431","1355427407","1355427478"],"photo_ids_order":["1355427378","1355427407","1355427431","1355427478","1355427519","1355427522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a84546dc1066dd41998b3dd1a98b21f1.jpg","text":"TemporaryFile(/tmp/multipartBody1884377143467757770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206013048,"filename":"image_02052025_17_16_15_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1e4f4357b3262646eafd80ecabf4b9da.jpg","text":"TemporaryFile(/tmp/multipartBody561938964023359904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206013048,"filename":"image_02052025_17_17_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/5/2/de32344fc3a47956c1572ec5fa0deda1.jpg","text":"TemporaryFile(/tmp/multipartBody5155897888919889197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206013048,"filename":"image_02052025_17_16_54_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b482fa373f0ed345f2522b8fa892eba0.jpg","text":"TemporaryFile(/tmp/multipartBody4500589089269181058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206013048,"filename":"image_02052025_17_16_35_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f38fd7e7c5702db502b1d224f201caf3.jpg","text":"TemporaryFile(/tmp/multipartBody4699063403855873969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206013048,"filename":"image_02052025_17_16_25_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/43db79325a8562ddef90f5e8b49cdbc8.jpg","text":"TemporaryFile(/tmp/multipartBody4021213244131143115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206013048,"filename":"image_02052025_17_16_45_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355427431","file1":"1355427407","file0":"1355427378","file4":"1355427519","file5":"1355427522","file3":"1355427478"},"map_files_photo_id_array":[{"photo_id":"1355427522","filename":"file5"},{"photo_id":"1355427431","filename":"file2"},{"photo_id":"1355427519","filename":"file4"},{"photo_id":"1355427407","filename":"file1"},{"photo_id":"1355427378","filename":"file0"},{"photo_id":"1355427478","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355427378":["hashtag1","hashtag2"]},{"1355427522":["hashtag1","hashtag2"]},{"1355427519":["hashtag1","hashtag2"]},{"1355427431":["hashtag1","hashtag2"]},{"1355427407":["hashtag1","hashtag2"]},{"1355427478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355427378, 1355427522, 1355427519, 1355427431, 1355427407, 1355427478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.10200309753418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:13:32.717591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/17/image_02052025_17_17_14_9376.jpg', '/home/pi/Desktop/images/02052025/17/17/image_02052025_17_17_25_10646.jpg', '/home/pi/Desktop/images/02052025/17/17/image_02052025_17_17_34_9415.jpg', '/home/pi/Desktop/images/02052025/17/17/image_02052025_17_17_45_10373.jpg', '/home/pi/Desktop/images/02052025/17/17/image_02052025_17_17_55_10373.jpg', '/home/pi/Desktop/images/02052025/17/17/image_02052025_17_18_04_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/17/image_02052025_17_17_14_9376.jpg
/home/pi/Desktop/images/02052025/17/17/image_02052025_17_17_25_10646.jpg
/home/pi/Desktop/images/02052025/17/17/image_02052025_17_17_34_9415.jpg
/home/pi/Desktop/images/02052025/17/17/image_02052025_17_17_45_10373.jpg
/home/pi/Desktop/images/02052025/17/17/image_02052025_17_17_55_10373.jpg
/home/pi/Desktop/images/02052025/17/17/image_02052025_17_18_04_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355427747","1355427572","1355427533","1355427542","1355427874","1355427637"],"photo_ids_order":["1355427533","1355427542","1355427572","1355427637","1355427747","1355427874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/110e4715bb5dcaa33e4e86793b08db7e.jpg","text":"TemporaryFile(/tmp/multipartBody671446701840761058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206073189,"filename":"image_02052025_17_17_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/5/2/d683ba9fe0513e37297720add91b24b0.jpg","text":"TemporaryFile(/tmp/multipartBody4152808556170758350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206073189,"filename":"image_02052025_17_17_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d0a64a538183f46610a58a7a5ce428bd.jpg","text":"TemporaryFile(/tmp/multipartBody2212755843507354899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206073189,"filename":"image_02052025_17_17_14_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1da13784787c21e3232407d9346e752.jpg","text":"TemporaryFile(/tmp/multipartBody4525570981350591146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206073189,"filename":"image_02052025_17_17_25_10646.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9c6e21d1e643ac4c4a757d5cd1f8544.jpg","text":"TemporaryFile(/tmp/multipartBody6026987079019765715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206073189,"filename":"image_02052025_17_18_04_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/121bddf74be101e27d0653842dfec381.jpg","text":"TemporaryFile(/tmp/multipartBody1582556003157707476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206073189,"filename":"image_02052025_17_17_45_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355427572","file1":"1355427542","file0":"1355427533","file4":"1355427747","file5":"1355427874","file3":"1355427637"},"map_files_photo_id_array":[{"photo_id":"1355427874","filename":"file5"},{"photo_id":"1355427572","filename":"file2"},{"photo_id":"1355427747","filename":"file4"},{"photo_id":"1355427542","filename":"file1"},{"photo_id":"1355427533","filename":"file0"},{"photo_id":"1355427637","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355427747":["hashtag1","hashtag2"]},{"1355427572":["hashtag1","hashtag2"]},{"1355427533":["hashtag1","hashtag2"]},{"1355427542":["hashtag1","hashtag2"]},{"1355427874":["hashtag1","hashtag2"]},{"1355427637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355427747, 1355427572, 1355427533, 1355427542, 1355427874, 1355427637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.46451663970947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 19:14:42.971806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/18/image_02052025_17_18_15_10410.jpg', '/home/pi/Desktop/images/02052025/17/18/image_02052025_17_18_25_10369.jpg', '/home/pi/Desktop/images/02052025/17/18/image_02052025_17_18_34_9374.jpg', '/home/pi/Desktop/images/02052025/17/18/image_02052025_17_18_45_10456.jpg', '/home/pi/Desktop/images/02052025/17/18/image_02052025_17_18_54_9364.jpg', '/home/pi/Desktop/images/02052025/17/18/image_02052025_17_19_05_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/18/image_02052025_17_18_15_10410.jpg
/home/pi/Desktop/images/02052025/17/18/image_02052025_17_18_25_10369.jpg
/home/pi/Desktop/images/02052025/17/18/image_02052025_17_18_34_9374.jpg
/home/pi/Desktop/images/02052025/17/18/image_02052025_17_18_45_10456.jpg
/home/pi/Desktop/images/02052025/17/18/image_02052025_17_18_54_9364.jpg
/home/pi/Desktop/images/02052025/17/18/image_02052025_17_19_05_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":["1355428203","1355428232","1355428301","1355428273","1355428312","1355428315"],"photo_ids_order":["1355428203","1355428232","1355428273","1355428301","1355428312","1355428315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9b40bae2c7961edf5b6115e99b57157.jpg","text":"TemporaryFile(/tmp/multipartBody8652283448741315066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206143451,"filename":"image_02052025_17_18_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/5/2/359a49a52f7795480dd2237be1a1da1d.jpg","text":"TemporaryFile(/tmp/multipartBody6874948896333807500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206143451,"filename":"image_02052025_17_18_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2979cdfb3373b932f3c1a2c3e122a04.jpg","text":"TemporaryFile(/tmp/multipartBody8341399639477966684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206143451,"filename":"image_02052025_17_18_45_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9efd6aa6a6aa971b296dc2122bf38225.jpg","text":"TemporaryFile(/tmp/multipartBody5273478324930240254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206143451,"filename":"image_02052025_17_18_34_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad433c01c8f369a1c5e62473dd3d1013.jpg","text":"TemporaryFile(/tmp/multipartBody2093023642888916998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206143451,"filename":"image_02052025_17_18_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b6e3287f119cddb2c3a3de09cb814ce9.jpg","text":"TemporaryFile(/tmp/multipartBody6427836332835498376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206143451,"filename":"image_02052025_17_19_05_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355428273","file1":"1355428232","file0":"1355428203","file4":"1355428312","file5":"1355428315","file3":"1355428301"},"map_files_photo_id_array":[{"photo_id":"1355428315","filename":"file5"},{"photo_id":"1355428273","filename":"file2"},{"photo_id":"1355428312","filename":"file4"},{"photo_id":"1355428232","filename":"file1"},{"photo_id":"1355428203","filename":"file0"},{"photo_id":"1355428301","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355428203":["hashtag1","hashtag2"]},{"1355428232":["hashtag1","hashtag2"]},{"1355428301":["hashtag1","hashtag2"]},{"1355428273":["hashtag1","hashtag2"]},{"1355428312":["hashtag1","hashtag2"]},{"1355428315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355428203, 1355428232, 1355428301, 1355428273, 1355428312, 1355428315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.741233348846436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:15:32.944862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/19/image_02052025_17_19_15_10357.jpg', '/home/pi/Desktop/images/02052025/17/19/image_02052025_17_19_24_9386.jpg', '/home/pi/Desktop/images/02052025/17/19/image_02052025_17_19_35_10471.jpg', '/home/pi/Desktop/images/02052025/17/19/image_02052025_17_19_44_9360.jpg', '/home/pi/Desktop/images/02052025/17/19/image_02052025_17_19_55_10418.jpg', '/home/pi/Desktop/images/02052025/17/19/image_02052025_17_20_05_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/19/image_02052025_17_19_15_10357.jpg
/home/pi/Desktop/images/02052025/17/19/image_02052025_17_19_24_9386.jpg
/home/pi/Desktop/images/02052025/17/19/image_02052025_17_19_35_10471.jpg
/home/pi/Desktop/images/02052025/17/19/image_02052025_17_19_44_9360.jpg
/home/pi/Desktop/images/02052025/17/19/image_02052025_17_19_55_10418.jpg
/home/pi/Desktop/images/02052025/17/19/image_02052025_17_20_05_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355428685","1355428445","1355428646","1355428460","1355428424","1355428674"],"photo_ids_order":["1355428424","1355428445","1355428460","1355428646","1355428674","1355428685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a42823a4d88049dc08213e3a60f351ac.jpg","text":"TemporaryFile(/tmp/multipartBody1290565880637980844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206193409,"filename":"image_02052025_17_20_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/5/2/a04ff4f3133f745ad4aa7ee9b95c6131.jpg","text":"TemporaryFile(/tmp/multipartBody886596169564499405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206193409,"filename":"image_02052025_17_19_24_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/023a0631d63fee5a909a3dbafe7fe732.jpg","text":"TemporaryFile(/tmp/multipartBody7107535107677319348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206193409,"filename":"image_02052025_17_19_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/5/2/9872e54b28538fa986a49b9eb787e969.jpg","text":"TemporaryFile(/tmp/multipartBody2884915146234029094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206193409,"filename":"image_02052025_17_19_35_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e5cdf4e00a3fbdb5f9ace1fcf8d7ca0.jpg","text":"TemporaryFile(/tmp/multipartBody2692518285412817525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206193409,"filename":"image_02052025_17_19_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/5/2/2e093f9b74307afcc36961e808900d29.jpg","text":"TemporaryFile(/tmp/multipartBody8187938876422719587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206193409,"filename":"image_02052025_17_19_55_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355428460","file1":"1355428445","file0":"1355428424","file4":"1355428674","file5":"1355428685","file3":"1355428646"},"map_files_photo_id_array":[{"photo_id":"1355428685","filename":"file5"},{"photo_id":"1355428460","filename":"file2"},{"photo_id":"1355428674","filename":"file4"},{"photo_id":"1355428445","filename":"file1"},{"photo_id":"1355428424","filename":"file0"},{"photo_id":"1355428646","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355428685":["hashtag1","hashtag2"]},{"1355428445":["hashtag1","hashtag2"]},{"1355428646":["hashtag1","hashtag2"]},{"1355428460":["hashtag1","hashtag2"]},{"1355428424":["hashtag1","hashtag2"]},{"1355428674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355428685, 1355428445, 1355428646, 1355428460, 1355428424, 1355428674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50636601448059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:16:32.174249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/20/image_02052025_17_20_14_9349.jpg', '/home/pi/Desktop/images/02052025/17/20/image_02052025_17_20_25_10484.jpg', '/home/pi/Desktop/images/02052025/17/20/image_02052025_17_20_34_9360.jpg', '/home/pi/Desktop/images/02052025/17/20/image_02052025_17_20_45_10495.jpg', '/home/pi/Desktop/images/02052025/17/20/image_02052025_17_20_54_9423.jpg', '/home/pi/Desktop/images/02052025/17/20/image_02052025_17_21_04_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/20/image_02052025_17_20_14_9349.jpg
/home/pi/Desktop/images/02052025/17/20/image_02052025_17_20_25_10484.jpg
/home/pi/Desktop/images/02052025/17/20/image_02052025_17_20_34_9360.jpg
/home/pi/Desktop/images/02052025/17/20/image_02052025_17_20_45_10495.jpg
/home/pi/Desktop/images/02052025/17/20/image_02052025_17_20_54_9423.jpg
/home/pi/Desktop/images/02052025/17/20/image_02052025_17_21_04_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":["1355429043","1355429072","1355429009","1355429102","1355428949","1355428981"],"photo_ids_order":["1355428949","1355428981","1355429009","1355429043","1355429072","1355429102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/57f45531ada4823307d8e5e39769867f.jpg","text":"TemporaryFile(/tmp/multipartBody4503726499430188019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206252774,"filename":"image_02052025_17_20_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/5/2/f6fbc49ae29fd53c8ad0766c01936aae.jpg","text":"TemporaryFile(/tmp/multipartBody2361686968606011489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206252774,"filename":"image_02052025_17_20_54_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/17143aa0134d09707cbf1ec65a6fdc4d.jpg","text":"TemporaryFile(/tmp/multipartBody5719431742309995646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206252774,"filename":"image_02052025_17_20_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/77686c7ee4832b0bea9abe04cb4b0189.jpg","text":"TemporaryFile(/tmp/multipartBody2400188718775166536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206252774,"filename":"image_02052025_17_21_04_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3fe63731bee1d6093e6ce96701acec10.jpg","text":"TemporaryFile(/tmp/multipartBody2159923212363431246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206252774,"filename":"image_02052025_17_20_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/187bc546935dda20b901f1ec613ab800.jpg","text":"TemporaryFile(/tmp/multipartBody5777768304217669081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206252774,"filename":"image_02052025_17_20_25_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355429009","file1":"1355428981","file0":"1355428949","file4":"1355429072","file5":"1355429102","file3":"1355429043"},"map_files_photo_id_array":[{"photo_id":"1355429102","filename":"file5"},{"photo_id":"1355429009","filename":"file2"},{"photo_id":"1355429072","filename":"file4"},{"photo_id":"1355428981","filename":"file1"},{"photo_id":"1355428949","filename":"file0"},{"photo_id":"1355429043","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355429043":["hashtag1","hashtag2"]},{"1355429072":["hashtag1","hashtag2"]},{"1355429009":["hashtag1","hashtag2"]},{"1355429102":["hashtag1","hashtag2"]},{"1355428949":["hashtag1","hashtag2"]},{"1355428981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355429043, 1355429072, 1355429009, 1355429102, 1355428949, 1355428981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25700759887695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:17:32.447734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/21/image_02052025_17_21_15_10390.jpg', '/home/pi/Desktop/images/02052025/17/21/image_02052025_17_21_24_9363.jpg', '/home/pi/Desktop/images/02052025/17/21/image_02052025_17_21_35_10420.jpg', '/home/pi/Desktop/images/02052025/17/21/image_02052025_17_21_44_9445.jpg', '/home/pi/Desktop/images/02052025/17/21/image_02052025_17_21_54_10372.jpg', '/home/pi/Desktop/images/02052025/17/21/image_02052025_17_22_05_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/21/image_02052025_17_21_15_10390.jpg
/home/pi/Desktop/images/02052025/17/21/image_02052025_17_21_24_9363.jpg
/home/pi/Desktop/images/02052025/17/21/image_02052025_17_21_35_10420.jpg
/home/pi/Desktop/images/02052025/17/21/image_02052025_17_21_44_9445.jpg
/home/pi/Desktop/images/02052025/17/21/image_02052025_17_21_54_10372.jpg
/home/pi/Desktop/images/02052025/17/21/image_02052025_17_22_05_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":["1355429489","1355429543","1355429420","1355429452","1355429391","1355429358"],"photo_ids_order":["1355429358","1355429391","1355429420","1355429452","1355429489","1355429543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6a102937553903756f46073e03089272.jpg","text":"TemporaryFile(/tmp/multipartBody6806422736281468503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206312921,"filename":"image_02052025_17_21_54_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/338c40e1056f264099fffb78bde76313.jpg","text":"TemporaryFile(/tmp/multipartBody4656425594894915867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206312921,"filename":"image_02052025_17_22_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/5/2/b994de37ec028c385e4547f7833e5d2a.jpg","text":"TemporaryFile(/tmp/multipartBody5046541527665431000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206312921,"filename":"image_02052025_17_21_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/5/2/b60bb6034ab01c17d1447d1370abf8d9.jpg","text":"TemporaryFile(/tmp/multipartBody4489930294495391825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206312921,"filename":"image_02052025_17_21_44_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5b819ddedbd9d954835a689920b62d81.jpg","text":"TemporaryFile(/tmp/multipartBody1831807524727234927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206312921,"filename":"image_02052025_17_21_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05814b5332256ef817c157bfda0b4155.jpg","text":"TemporaryFile(/tmp/multipartBody5160610189651231400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206312921,"filename":"image_02052025_17_21_15_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355429420","file1":"1355429391","file0":"1355429358","file4":"1355429489","file5":"1355429543","file3":"1355429452"},"map_files_photo_id_array":[{"photo_id":"1355429543","filename":"file5"},{"photo_id":"1355429420","filename":"file2"},{"photo_id":"1355429489","filename":"file4"},{"photo_id":"1355429391","filename":"file1"},{"photo_id":"1355429358","filename":"file0"},{"photo_id":"1355429452","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355429489":["hashtag1","hashtag2"]},{"1355429543":["hashtag1","hashtag2"]},{"1355429420":["hashtag1","hashtag2"]},{"1355429452":["hashtag1","hashtag2"]},{"1355429391":["hashtag1","hashtag2"]},{"1355429358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355429489, 1355429543, 1355429420, 1355429452, 1355429391, 1355429358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.173668384552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:18:32.561808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/22/image_02052025_17_22_14_9352.jpg', '/home/pi/Desktop/images/02052025/17/22/image_02052025_17_22_25_10419.jpg', '/home/pi/Desktop/images/02052025/17/22/image_02052025_17_22_35_10359.jpg', '/home/pi/Desktop/images/02052025/17/22/image_02052025_17_22_44_9334.jpg', '/home/pi/Desktop/images/02052025/17/22/image_02052025_17_22_55_10428.jpg', '/home/pi/Desktop/images/02052025/17/22/image_02052025_17_23_04_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/22/image_02052025_17_22_14_9352.jpg
/home/pi/Desktop/images/02052025/17/22/image_02052025_17_22_25_10419.jpg
/home/pi/Desktop/images/02052025/17/22/image_02052025_17_22_35_10359.jpg
/home/pi/Desktop/images/02052025/17/22/image_02052025_17_22_44_9334.jpg
/home/pi/Desktop/images/02052025/17/22/image_02052025_17_22_55_10428.jpg
/home/pi/Desktop/images/02052025/17/22/image_02052025_17_23_04_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355429750","1355429743","1355429806","1355429775","1355429754","1355429757"],"photo_ids_order":["1355429743","1355429750","1355429754","1355429757","1355429775","1355429806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/29586c747786b5472fb44277b6e1b994.jpg","text":"TemporaryFile(/tmp/multipartBody8053383693203474319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206373039,"filename":"image_02052025_17_22_25_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc3050fe9e1f71429185275eaa652085.jpg","text":"TemporaryFile(/tmp/multipartBody2280148068993360638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206373039,"filename":"image_02052025_17_22_14_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d77e7d684f0f7bf95b6beb327cd757f.jpg","text":"TemporaryFile(/tmp/multipartBody5870222655061573611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206373039,"filename":"image_02052025_17_23_04_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9454877b97d29eb99dc93482581964e4.jpg","text":"TemporaryFile(/tmp/multipartBody6372458449122016239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206373039,"filename":"image_02052025_17_22_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/5/2/3fb79e6bf6f8837e68f72a0de50b1770.jpg","text":"TemporaryFile(/tmp/multipartBody747821845673658622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206373039,"filename":"image_02052025_17_22_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f998b0f262a6b0e99743cdaaabe6553b.jpg","text":"TemporaryFile(/tmp/multipartBody3513794556314564915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206373039,"filename":"image_02052025_17_22_44_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355429754","file1":"1355429750","file0":"1355429743","file4":"1355429775","file5":"1355429806","file3":"1355429757"},"map_files_photo_id_array":[{"photo_id":"1355429806","filename":"file5"},{"photo_id":"1355429754","filename":"file2"},{"photo_id":"1355429775","filename":"file4"},{"photo_id":"1355429750","filename":"file1"},{"photo_id":"1355429743","filename":"file0"},{"photo_id":"1355429757","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355429750":["hashtag1","hashtag2"]},{"1355429743":["hashtag1","hashtag2"]},{"1355429806":["hashtag1","hashtag2"]},{"1355429775":["hashtag1","hashtag2"]},{"1355429754":["hashtag1","hashtag2"]},{"1355429757":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355429750, 1355429743, 1355429806, 1355429775, 1355429754, 1355429757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69007968902588 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:19:32.724459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/23/image_02052025_17_23_15_10463.jpg', '/home/pi/Desktop/images/02052025/17/23/image_02052025_17_23_24_9420.jpg', '/home/pi/Desktop/images/02052025/17/23/image_02052025_17_23_34_10405.jpg', '/home/pi/Desktop/images/02052025/17/23/image_02052025_17_23_45_10378.jpg', '/home/pi/Desktop/images/02052025/17/23/image_02052025_17_23_54_9368.jpg', '/home/pi/Desktop/images/02052025/17/23/image_02052025_17_24_05_10500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/23/image_02052025_17_23_15_10463.jpg
/home/pi/Desktop/images/02052025/17/23/image_02052025_17_23_24_9420.jpg
/home/pi/Desktop/images/02052025/17/23/image_02052025_17_23_34_10405.jpg
/home/pi/Desktop/images/02052025/17/23/image_02052025_17_23_45_10378.jpg
/home/pi/Desktop/images/02052025/17/23/image_02052025_17_23_54_9368.jpg
/home/pi/Desktop/images/02052025/17/23/image_02052025_17_24_05_10500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355430009","1355430039","1355429951","1355429956","1355429970","1355429961"],"photo_ids_order":["1355429951","1355429956","1355429961","1355429970","1355430009","1355430039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d5e7eb8b8ea39d817b3399469bced5b.jpg","text":"TemporaryFile(/tmp/multipartBody7116828762872364028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206433192,"filename":"image_02052025_17_23_54_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e79d03476a62e603f0606d8f18c2aad.jpg","text":"TemporaryFile(/tmp/multipartBody8431307669763425025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206433192,"filename":"image_02052025_17_24_05_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/135cc08b11fe781b860d5d8e656f9d45.jpg","text":"TemporaryFile(/tmp/multipartBody6739964910910833081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206433192,"filename":"image_02052025_17_23_15_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db751c354ee2c481a201b09292dcb7bd.jpg","text":"TemporaryFile(/tmp/multipartBody6952879493075496499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206433192,"filename":"image_02052025_17_23_24_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad055bbb757ec1fc33d48b716d565f62.jpg","text":"TemporaryFile(/tmp/multipartBody3335450345751678818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206433192,"filename":"image_02052025_17_23_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ea1c4fb97987986f0f7fa77c9b20300.jpg","text":"TemporaryFile(/tmp/multipartBody2256694361544047722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206433192,"filename":"image_02052025_17_23_34_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355429961","file1":"1355429956","file0":"1355429951","file4":"1355430009","file5":"1355430039","file3":"1355429970"},"map_files_photo_id_array":[{"photo_id":"1355430039","filename":"file5"},{"photo_id":"1355429961","filename":"file2"},{"photo_id":"1355430009","filename":"file4"},{"photo_id":"1355429956","filename":"file1"},{"photo_id":"1355429951","filename":"file0"},{"photo_id":"1355429970","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355430009":["hashtag1","hashtag2"]},{"1355430039":["hashtag1","hashtag2"]},{"1355429951":["hashtag1","hashtag2"]},{"1355429956":["hashtag1","hashtag2"]},{"1355429970":["hashtag1","hashtag2"]},{"1355429961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355430009, 1355430039, 1355429951, 1355429956, 1355429970, 1355429961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00595998764038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:20:32.812197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/24/image_02052025_17_24_14_9364.jpg', '/home/pi/Desktop/images/02052025/17/24/image_02052025_17_24_24_10399.jpg', '/home/pi/Desktop/images/02052025/17/24/image_02052025_17_24_35_10418.jpg', '/home/pi/Desktop/images/02052025/17/24/image_02052025_17_24_44_9448.jpg', '/home/pi/Desktop/images/02052025/17/24/image_02052025_17_24_55_10453.jpg', '/home/pi/Desktop/images/02052025/17/24/image_02052025_17_25_04_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/24/image_02052025_17_24_14_9364.jpg
/home/pi/Desktop/images/02052025/17/24/image_02052025_17_24_24_10399.jpg
/home/pi/Desktop/images/02052025/17/24/image_02052025_17_24_35_10418.jpg
/home/pi/Desktop/images/02052025/17/24/image_02052025_17_24_44_9448.jpg
/home/pi/Desktop/images/02052025/17/24/image_02052025_17_24_55_10453.jpg
/home/pi/Desktop/images/02052025/17/24/image_02052025_17_25_04_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":["1355430126","1355430117","1355430137","1355430130","1355430133","1355430112"],"photo_ids_order":["1355430112","1355430117","1355430126","1355430130","1355430133","1355430137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f8cfd12028e5f4706ca0ac6fc680b570.jpg","text":"TemporaryFile(/tmp/multipartBody8980649738544811275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206493812,"filename":"image_02052025_17_24_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/5/2/3df98d7f9f17e0b6fe8645572118b6a4.jpg","text":"TemporaryFile(/tmp/multipartBody7318930578737233535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206493812,"filename":"image_02052025_17_24_24_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a3c421e1265e46c53949a6e3dc32416.jpg","text":"TemporaryFile(/tmp/multipartBody7474104266137004439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206493812,"filename":"image_02052025_17_25_04_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7442c0d89cd5c23d2740ba0d11926f69.jpg","text":"TemporaryFile(/tmp/multipartBody1750196506023455144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206493812,"filename":"image_02052025_17_24_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/5/2/b605db7a204ee8b9cead74c7d922c7c8.jpg","text":"TemporaryFile(/tmp/multipartBody6861047310266513854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206493812,"filename":"image_02052025_17_24_55_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b4c61408613c203a6e8923e5c0b910b.jpg","text":"TemporaryFile(/tmp/multipartBody5713431576405214150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206493812,"filename":"image_02052025_17_24_14_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355430126","file1":"1355430117","file0":"1355430112","file4":"1355430133","file5":"1355430137","file3":"1355430130"},"map_files_photo_id_array":[{"photo_id":"1355430137","filename":"file5"},{"photo_id":"1355430126","filename":"file2"},{"photo_id":"1355430133","filename":"file4"},{"photo_id":"1355430117","filename":"file1"},{"photo_id":"1355430112","filename":"file0"},{"photo_id":"1355430130","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355430126":["hashtag1","hashtag2"]},{"1355430117":["hashtag1","hashtag2"]},{"1355430137":["hashtag1","hashtag2"]},{"1355430130":["hashtag1","hashtag2"]},{"1355430133":["hashtag1","hashtag2"]},{"1355430112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355430126, 1355430117, 1355430137, 1355430130, 1355430133, 1355430112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.941988706588745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:21:32.307994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/25/image_02052025_17_25_15_10379.jpg', '/home/pi/Desktop/images/02052025/17/25/image_02052025_17_25_25_10474.jpg', '/home/pi/Desktop/images/02052025/17/25/image_02052025_17_25_34_9367.jpg', '/home/pi/Desktop/images/02052025/17/25/image_02052025_17_25_45_10433.jpg', '/home/pi/Desktop/images/02052025/17/25/image_02052025_17_25_54_9359.jpg', '/home/pi/Desktop/images/02052025/17/25/image_02052025_17_26_05_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/25/image_02052025_17_25_15_10379.jpg
/home/pi/Desktop/images/02052025/17/25/image_02052025_17_25_25_10474.jpg
/home/pi/Desktop/images/02052025/17/25/image_02052025_17_25_34_9367.jpg
/home/pi/Desktop/images/02052025/17/25/image_02052025_17_25_45_10433.jpg
/home/pi/Desktop/images/02052025/17/25/image_02052025_17_25_54_9359.jpg
/home/pi/Desktop/images/02052025/17/25/image_02052025_17_26_05_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355430165","1355430174","1355430176","1355430172","1355430169","1355430160"],"photo_ids_order":["1355430160","1355430165","1355430169","1355430172","1355430174","1355430176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34b66121c63a2acbb5193d0d4834bc0b.jpg","text":"TemporaryFile(/tmp/multipartBody593704966800413035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206552800,"filename":"image_02052025_17_25_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/5/2/23449f4c8c1f7d75df92ce203a852305.jpg","text":"TemporaryFile(/tmp/multipartBody1142446028896717550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206552800,"filename":"image_02052025_17_25_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0ceeca61bae6186fa5bad80f8cd4b051.jpg","text":"TemporaryFile(/tmp/multipartBody2289695480957101497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206552800,"filename":"image_02052025_17_26_05_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6051ca7926f8ed39ada3cb77c414de46.jpg","text":"TemporaryFile(/tmp/multipartBody4501593711084318268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206552800,"filename":"image_02052025_17_25_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f64789e3ffea62170dbe4462aed9bcd7.jpg","text":"TemporaryFile(/tmp/multipartBody7558516051536161112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206552800,"filename":"image_02052025_17_25_34_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/57ffb4d4bd085d91e24698d5a2813aec.jpg","text":"TemporaryFile(/tmp/multipartBody3241065347704685299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206552800,"filename":"image_02052025_17_25_15_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355430169","file1":"1355430165","file0":"1355430160","file4":"1355430174","file5":"1355430176","file3":"1355430172"},"map_files_photo_id_array":[{"photo_id":"1355430176","filename":"file5"},{"photo_id":"1355430169","filename":"file2"},{"photo_id":"1355430174","filename":"file4"},{"photo_id":"1355430165","filename":"file1"},{"photo_id":"1355430160","filename":"file0"},{"photo_id":"1355430172","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355430165":["hashtag1","hashtag2"]},{"1355430174":["hashtag1","hashtag2"]},{"1355430176":["hashtag1","hashtag2"]},{"1355430172":["hashtag1","hashtag2"]},{"1355430169":["hashtag1","hashtag2"]},{"1355430160":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355430165, 1355430174, 1355430176, 1355430172, 1355430169, 1355430160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52521276473999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:22:32.313512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/26/image_02052025_17_26_14_9470.jpg', '/home/pi/Desktop/images/02052025/17/26/image_02052025_17_26_35_10424.jpg', '/home/pi/Desktop/images/02052025/17/26/image_02052025_17_26_55_10396.jpg', '/home/pi/Desktop/images/02052025/17/26/image_02052025_17_27_05_10344.jpg', '/home/pi/Desktop/images/02052025/17/27/image_02052025_17_27_14_9354.jpg', '/home/pi/Desktop/images/02052025/17/27/image_02052025_17_27_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/26/image_02052025_17_26_14_9470.jpg
/home/pi/Desktop/images/02052025/17/26/image_02052025_17_26_35_10424.jpg
/home/pi/Desktop/images/02052025/17/26/image_02052025_17_26_55_10396.jpg
/home/pi/Desktop/images/02052025/17/26/image_02052025_17_27_05_10344.jpg
/home/pi/Desktop/images/02052025/17/27/image_02052025_17_27_14_9354.jpg
/home/pi/Desktop/images/02052025/17/27/image_02052025_17_27_25_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355430348","1355430321","1355430293","1355430358","1355430313","1355430304"],"photo_ids_order":["1355430293","1355430304","1355430313","1355430321","1355430348","1355430358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1172d637cd9cfb8597e56fe0e4d0999f.jpg","text":"TemporaryFile(/tmp/multipartBody4271602817306269462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206612910,"filename":"image_02052025_17_27_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/809a86c2590a6b53e8ab17df5c06f258.jpg","text":"TemporaryFile(/tmp/multipartBody1015697220107332266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206612910,"filename":"image_02052025_17_27_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/5/2/9a96c444e9d04e1987e075f5dfe4184e.jpg","text":"TemporaryFile(/tmp/multipartBody8792121594177676794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206612910,"filename":"image_02052025_17_26_14_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8fae677c548ff7532968361bb92068e.jpg","text":"TemporaryFile(/tmp/multipartBody5946346293056005820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206612910,"filename":"image_02052025_17_27_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/5/2/52b7e795d22bed569068591e51f0c854.jpg","text":"TemporaryFile(/tmp/multipartBody6045957411550087061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206612910,"filename":"image_02052025_17_26_55_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3af7c8e13ecd670d10f289125ad308f3.jpg","text":"TemporaryFile(/tmp/multipartBody453565133471628694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206612910,"filename":"image_02052025_17_26_35_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355430313","file1":"1355430304","file0":"1355430293","file4":"1355430348","file5":"1355430358","file3":"1355430321"},"map_files_photo_id_array":[{"photo_id":"1355430358","filename":"file5"},{"photo_id":"1355430313","filename":"file2"},{"photo_id":"1355430348","filename":"file4"},{"photo_id":"1355430304","filename":"file1"},{"photo_id":"1355430293","filename":"file0"},{"photo_id":"1355430321","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355430348":["hashtag1","hashtag2"]},{"1355430321":["hashtag1","hashtag2"]},{"1355430293":["hashtag1","hashtag2"]},{"1355430358":["hashtag1","hashtag2"]},{"1355430313":["hashtag1","hashtag2"]},{"1355430304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355430348, 1355430321, 1355430293, 1355430358, 1355430313, 1355430304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72984576225281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:23:32.550505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/27/image_02052025_17_27_34_9448.jpg', '/home/pi/Desktop/images/02052025/17/27/image_02052025_17_27_45_10406.jpg', '/home/pi/Desktop/images/02052025/17/27/image_02052025_17_27_55_10363.jpg', '/home/pi/Desktop/images/02052025/17/27/image_02052025_17_28_04_9364.jpg', '/home/pi/Desktop/images/02052025/17/28/image_02052025_17_28_15_10445.jpg', '/home/pi/Desktop/images/02052025/17/28/image_02052025_17_28_24_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/27/image_02052025_17_27_34_9448.jpg
/home/pi/Desktop/images/02052025/17/27/image_02052025_17_27_45_10406.jpg
/home/pi/Desktop/images/02052025/17/27/image_02052025_17_27_55_10363.jpg
/home/pi/Desktop/images/02052025/17/27/image_02052025_17_28_04_9364.jpg
/home/pi/Desktop/images/02052025/17/28/image_02052025_17_28_15_10445.jpg
/home/pi/Desktop/images/02052025/17/28/image_02052025_17_28_24_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355430459","1355430444","1355430453","1355430449","1355430440","1355430466"],"photo_ids_order":["1355430440","1355430444","1355430449","1355430453","1355430459","1355430466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86627e05ad10bd5b7fe667b6df439261.jpg","text":"TemporaryFile(/tmp/multipartBody7224014490251160631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206673033,"filename":"image_02052025_17_28_15_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09f003b8bb6db76e96ba8967ccb77312.jpg","text":"TemporaryFile(/tmp/multipartBody5487846403467959179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206673033,"filename":"image_02052025_17_27_45_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/287c435e21e6dd56485a67a551a19061.jpg","text":"TemporaryFile(/tmp/multipartBody4508672004841589480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206673033,"filename":"image_02052025_17_28_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd1eea262141081f9766bbf1a4bf7ead.jpg","text":"TemporaryFile(/tmp/multipartBody663139784250824409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206673033,"filename":"image_02052025_17_27_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/5/2/85224e4cf2f682c706f44611a36d688e.jpg","text":"TemporaryFile(/tmp/multipartBody7033797391908027948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206673033,"filename":"image_02052025_17_27_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/5/2/cd4d681437fbd2f7580144283506dba6.jpg","text":"TemporaryFile(/tmp/multipartBody5305052135186523990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206673033,"filename":"image_02052025_17_28_24_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355430449","file1":"1355430444","file0":"1355430440","file4":"1355430459","file5":"1355430466","file3":"1355430453"},"map_files_photo_id_array":[{"photo_id":"1355430466","filename":"file5"},{"photo_id":"1355430449","filename":"file2"},{"photo_id":"1355430459","filename":"file4"},{"photo_id":"1355430444","filename":"file1"},{"photo_id":"1355430440","filename":"file0"},{"photo_id":"1355430453","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355430459":["hashtag1","hashtag2"]},{"1355430444":["hashtag1","hashtag2"]},{"1355430453":["hashtag1","hashtag2"]},{"1355430449":["hashtag1","hashtag2"]},{"1355430440":["hashtag1","hashtag2"]},{"1355430466":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355430459, 1355430444, 1355430453, 1355430449, 1355430440, 1355430466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.804635524749756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:24:32.740626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/29/image_02052025_17_29_15_10335.jpg', '/home/pi/Desktop/images/02052025/17/29/image_02052025_17_29_44_9354.jpg', '/home/pi/Desktop/images/02052025/17/29/image_02052025_17_29_55_10453.jpg', '/home/pi/Desktop/images/02052025/17/29/image_02052025_17_30_04_9422.jpg', '/home/pi/Desktop/images/02052025/17/30/image_02052025_17_30_14_10387.jpg', '/home/pi/Desktop/images/02052025/17/30/image_02052025_17_30_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/29/image_02052025_17_29_15_10335.jpg
/home/pi/Desktop/images/02052025/17/29/image_02052025_17_29_44_9354.jpg
/home/pi/Desktop/images/02052025/17/29/image_02052025_17_29_55_10453.jpg
/home/pi/Desktop/images/02052025/17/29/image_02052025_17_30_04_9422.jpg
/home/pi/Desktop/images/02052025/17/30/image_02052025_17_30_14_10387.jpg
/home/pi/Desktop/images/02052025/17/30/image_02052025_17_30_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":["1355430519","1355430515","1355430518","1355430511","1355430508","1355430502"],"photo_ids_order":["1355430502","1355430508","1355430511","1355430515","1355430518","1355430519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e38eed0e4b60675f51b0055eb7890b51.jpg","text":"TemporaryFile(/tmp/multipartBody6532185187973414964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206733206,"filename":"image_02052025_17_30_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/5/2/21e14eb517c3aea9a04ff3aca82034d0.jpg","text":"TemporaryFile(/tmp/multipartBody2376966244499304621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206733206,"filename":"image_02052025_17_30_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/5/2/bd1de948248d66da4608a4155690e726.jpg","text":"TemporaryFile(/tmp/multipartBody2907900266548207931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206733206,"filename":"image_02052025_17_30_14_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/767922dd75cb9482bb78191515135541.jpg","text":"TemporaryFile(/tmp/multipartBody332546798536087404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206733206,"filename":"image_02052025_17_29_55_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d43660eff8a1b397dba38ed56de4871.jpg","text":"TemporaryFile(/tmp/multipartBody6321384513542698714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206733206,"filename":"image_02052025_17_29_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/5/2/0c1dd0f5eb2b6ae155de959e5a5be3cc.jpg","text":"TemporaryFile(/tmp/multipartBody3730580559339354472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206733206,"filename":"image_02052025_17_29_15_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355430511","file1":"1355430508","file0":"1355430502","file4":"1355430518","file5":"1355430519","file3":"1355430515"},"map_files_photo_id_array":[{"photo_id":"1355430519","filename":"file5"},{"photo_id":"1355430511","filename":"file2"},{"photo_id":"1355430518","filename":"file4"},{"photo_id":"1355430508","filename":"file1"},{"photo_id":"1355430502","filename":"file0"},{"photo_id":"1355430515","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355430519":["hashtag1","hashtag2"]},{"1355430515":["hashtag1","hashtag2"]},{"1355430518":["hashtag1","hashtag2"]},{"1355430511":["hashtag1","hashtag2"]},{"1355430508":["hashtag1","hashtag2"]},{"1355430502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355430519, 1355430515, 1355430518, 1355430511, 1355430508, 1355430502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.817439079284668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:25:32.976497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/30/image_02052025_17_30_34_9359.jpg', '/home/pi/Desktop/images/02052025/17/30/image_02052025_17_30_45_10433.jpg', '/home/pi/Desktop/images/02052025/17/30/image_02052025_17_30_55_10384.jpg', '/home/pi/Desktop/images/02052025/17/30/image_02052025_17_31_04_9438.jpg', '/home/pi/Desktop/images/02052025/17/31/image_02052025_17_31_15_10421.jpg', '/home/pi/Desktop/images/02052025/17/31/image_02052025_17_31_24_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/30/image_02052025_17_30_34_9359.jpg
/home/pi/Desktop/images/02052025/17/30/image_02052025_17_30_45_10433.jpg
/home/pi/Desktop/images/02052025/17/30/image_02052025_17_30_55_10384.jpg
/home/pi/Desktop/images/02052025/17/30/image_02052025_17_31_04_9438.jpg
/home/pi/Desktop/images/02052025/17/31/image_02052025_17_31_15_10421.jpg
/home/pi/Desktop/images/02052025/17/31/image_02052025_17_31_24_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355430567","1355430561","1355430564","1355430558","1355430554","1355430568"],"photo_ids_order":["1355430554","1355430558","1355430561","1355430564","1355430567","1355430568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e1fa732db9105e388030b00b4c8625e7.jpg","text":"TemporaryFile(/tmp/multipartBody6788909502061704210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206793463,"filename":"image_02052025_17_31_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cbefba9de8a75c4ce6480c6ddaf2f327.jpg","text":"TemporaryFile(/tmp/multipartBody8999268574791347983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206793463,"filename":"image_02052025_17_30_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db0f6dcf697f03c26121c54f0b0e75b3.jpg","text":"TemporaryFile(/tmp/multipartBody5572144147166274419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206793463,"filename":"image_02052025_17_31_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/5/2/1a66d8c4f9c22adee7a058a113146884.jpg","text":"TemporaryFile(/tmp/multipartBody4364956934934499211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206793463,"filename":"image_02052025_17_30_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0ee6a7fc907ccf595b6ce7803d7057c0.jpg","text":"TemporaryFile(/tmp/multipartBody5711109130872634351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206793463,"filename":"image_02052025_17_30_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ceda4370bc63a286c626fb878b2b2d80.jpg","text":"TemporaryFile(/tmp/multipartBody882197071159061193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206793463,"filename":"image_02052025_17_31_24_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355430561","file1":"1355430558","file0":"1355430554","file4":"1355430567","file5":"1355430568","file3":"1355430564"},"map_files_photo_id_array":[{"photo_id":"1355430568","filename":"file5"},{"photo_id":"1355430561","filename":"file2"},{"photo_id":"1355430567","filename":"file4"},{"photo_id":"1355430558","filename":"file1"},{"photo_id":"1355430554","filename":"file0"},{"photo_id":"1355430564","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355430567":["hashtag1","hashtag2"]},{"1355430561":["hashtag1","hashtag2"]},{"1355430564":["hashtag1","hashtag2"]},{"1355430558":["hashtag1","hashtag2"]},{"1355430554":["hashtag1","hashtag2"]},{"1355430568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355430567, 1355430561, 1355430564, 1355430558, 1355430554, 1355430568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4173858165741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:26:33.073226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/31/image_02052025_17_31_35_10490.jpg', '/home/pi/Desktop/images/02052025/17/31/image_02052025_17_31_44_9336.jpg', '/home/pi/Desktop/images/02052025/17/31/image_02052025_17_32_05_10363.jpg', '/home/pi/Desktop/images/02052025/17/32/image_02052025_17_32_14_9343.jpg', '/home/pi/Desktop/images/02052025/17/32/image_02052025_17_32_25_10477.jpg', '/home/pi/Desktop/images/02052025/17/32/image_02052025_17_32_35_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/31/image_02052025_17_31_35_10490.jpg
/home/pi/Desktop/images/02052025/17/31/image_02052025_17_31_44_9336.jpg
/home/pi/Desktop/images/02052025/17/31/image_02052025_17_32_05_10363.jpg
/home/pi/Desktop/images/02052025/17/32/image_02052025_17_32_14_9343.jpg
/home/pi/Desktop/images/02052025/17/32/image_02052025_17_32_25_10477.jpg
/home/pi/Desktop/images/02052025/17/32/image_02052025_17_32_35_10422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355430604","1355430615","1355430606","1355430608","1355430597","1355430601"],"photo_ids_order":["1355430597","1355430601","1355430604","1355430606","1355430608","1355430615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6413e8b96d245f0b93dbf455648666f2.jpg","text":"TemporaryFile(/tmp/multipartBody9041722344096577088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206853634,"filename":"image_02052025_17_32_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/5/2/28eeaa873c7d09cfc2e0b78464f46d14.jpg","text":"TemporaryFile(/tmp/multipartBody4407786902157110616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206853634,"filename":"image_02052025_17_32_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/5/2/ea16c10e0c10a552ebb99ce42591cfd4.jpg","text":"TemporaryFile(/tmp/multipartBody5794612129267567525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206853634,"filename":"image_02052025_17_32_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/5/2/da628307150e3301c5e3433270b47c98.jpg","text":"TemporaryFile(/tmp/multipartBody5624908683310892333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206853634,"filename":"image_02052025_17_32_25_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e7c7d047d775f281287ab7d5506d9f13.jpg","text":"TemporaryFile(/tmp/multipartBody4032282420218397448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206853634,"filename":"image_02052025_17_31_35_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/531fdf7f54a5fb8bd664bb8e0b0c2657.jpg","text":"TemporaryFile(/tmp/multipartBody6000363819678529364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206853634,"filename":"image_02052025_17_31_44_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355430604","file1":"1355430601","file0":"1355430597","file4":"1355430608","file5":"1355430615","file3":"1355430606"},"map_files_photo_id_array":[{"photo_id":"1355430615","filename":"file5"},{"photo_id":"1355430604","filename":"file2"},{"photo_id":"1355430608","filename":"file4"},{"photo_id":"1355430601","filename":"file1"},{"photo_id":"1355430597","filename":"file0"},{"photo_id":"1355430606","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355430604":["hashtag1","hashtag2"]},{"1355430615":["hashtag1","hashtag2"]},{"1355430606":["hashtag1","hashtag2"]},{"1355430608":["hashtag1","hashtag2"]},{"1355430597":["hashtag1","hashtag2"]},{"1355430601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355430604, 1355430615, 1355430606, 1355430608, 1355430597, 1355430601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.981621742248535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:27:32.311935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/32/image_02052025_17_32_44_9351.jpg', '/home/pi/Desktop/images/02052025/17/32/image_02052025_17_32_55_10369.jpg', '/home/pi/Desktop/images/02052025/17/32/image_02052025_17_33_04_9351.jpg', '/home/pi/Desktop/images/02052025/17/33/image_02052025_17_33_45_10405.jpg', '/home/pi/Desktop/images/02052025/17/33/image_02052025_17_33_54_9368.jpg', '/home/pi/Desktop/images/02052025/17/33/image_02052025_17_34_04_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/32/image_02052025_17_32_44_9351.jpg
/home/pi/Desktop/images/02052025/17/32/image_02052025_17_32_55_10369.jpg
/home/pi/Desktop/images/02052025/17/32/image_02052025_17_33_04_9351.jpg
/home/pi/Desktop/images/02052025/17/33/image_02052025_17_33_45_10405.jpg
/home/pi/Desktop/images/02052025/17/33/image_02052025_17_33_54_9368.jpg
/home/pi/Desktop/images/02052025/17/33/image_02052025_17_34_04_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":["1355430888","1355430801","1355430764","1355430917","1355430830","1355430859"],"photo_ids_order":["1355430764","1355430801","1355430830","1355430859","1355430888","1355430917"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cf56940f21f765f09020069425fc2ea4.jpg","text":"TemporaryFile(/tmp/multipartBody7246924901924524505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206912783,"filename":"image_02052025_17_33_54_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3823da08439f4e706ffd3c535e66affc.jpg","text":"TemporaryFile(/tmp/multipartBody2533110502123403899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206912783,"filename":"image_02052025_17_32_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ff84dbe168a1d77474651abbfc58def.jpg","text":"TemporaryFile(/tmp/multipartBody7699309521958031818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206912783,"filename":"image_02052025_17_32_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/01443dde07b88d4e612fb69250962aae.jpg","text":"TemporaryFile(/tmp/multipartBody2970898540477371045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206912783,"filename":"image_02052025_17_34_04_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/62ebf05a8b2188111da24490c84e400c.jpg","text":"TemporaryFile(/tmp/multipartBody2393625906506337426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206912783,"filename":"image_02052025_17_33_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/5/2/17006a595e37d5b3dd38fb76a4dbe403.jpg","text":"TemporaryFile(/tmp/multipartBody3833462434338477402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206912783,"filename":"image_02052025_17_33_45_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355430830","file1":"1355430801","file0":"1355430764","file4":"1355430888","file5":"1355430917","file3":"1355430859"},"map_files_photo_id_array":[{"photo_id":"1355430917","filename":"file5"},{"photo_id":"1355430830","filename":"file2"},{"photo_id":"1355430888","filename":"file4"},{"photo_id":"1355430801","filename":"file1"},{"photo_id":"1355430764","filename":"file0"},{"photo_id":"1355430859","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355430888":["hashtag1","hashtag2"]},{"1355430801":["hashtag1","hashtag2"]},{"1355430764":["hashtag1","hashtag2"]},{"1355430917":["hashtag1","hashtag2"]},{"1355430830":["hashtag1","hashtag2"]},{"1355430859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355430888, 1355430801, 1355430764, 1355430917, 1355430830, 1355430859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35013937950134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:28:33.149450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/34/image_02052025_17_34_15_10481.jpg', '/home/pi/Desktop/images/02052025/17/34/image_02052025_17_34_24_9363.jpg', '/home/pi/Desktop/images/02052025/17/34/image_02052025_17_34_35_10398.jpg', '/home/pi/Desktop/images/02052025/17/34/image_02052025_17_34_45_10352.jpg', '/home/pi/Desktop/images/02052025/17/34/image_02052025_17_34_54_9369.jpg', '/home/pi/Desktop/images/02052025/17/34/image_02052025_17_35_05_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/34/image_02052025_17_34_15_10481.jpg
/home/pi/Desktop/images/02052025/17/34/image_02052025_17_34_24_9363.jpg
/home/pi/Desktop/images/02052025/17/34/image_02052025_17_34_35_10398.jpg
/home/pi/Desktop/images/02052025/17/34/image_02052025_17_34_45_10352.jpg
/home/pi/Desktop/images/02052025/17/34/image_02052025_17_34_54_9369.jpg
/home/pi/Desktop/images/02052025/17/34/image_02052025_17_35_05_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":["1355431289","1355431186","1355431324","1355431219","1355431353","1355431257"],"photo_ids_order":["1355431186","1355431219","1355431257","1355431289","1355431324","1355431353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a8e3747f69e64324530c5aaa0561221.jpg","text":"TemporaryFile(/tmp/multipartBody6015042618612503546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206973670,"filename":"image_02052025_17_34_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/5/2/af59c739837ba19698058d58d5fc1244.jpg","text":"TemporaryFile(/tmp/multipartBody4423474520050390876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206973670,"filename":"image_02052025_17_34_15_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c442818a324278e277d1e44e67f738ee.jpg","text":"TemporaryFile(/tmp/multipartBody4100350117038871418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206973670,"filename":"image_02052025_17_34_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/752504e35b39a1f12f242622eff04ea5.jpg","text":"TemporaryFile(/tmp/multipartBody7759786662216495782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206973670,"filename":"image_02052025_17_34_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2531827199dd819f2524101cffdb27f5.jpg","text":"TemporaryFile(/tmp/multipartBody8489174726171704281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206973670,"filename":"image_02052025_17_35_05_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8718fd597e6ad3d5fb3699f8ff268067.jpg","text":"TemporaryFile(/tmp/multipartBody3120964894874365967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746206973670,"filename":"image_02052025_17_34_35_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355431257","file1":"1355431219","file0":"1355431186","file4":"1355431324","file5":"1355431353","file3":"1355431289"},"map_files_photo_id_array":[{"photo_id":"1355431353","filename":"file5"},{"photo_id":"1355431257","filename":"file2"},{"photo_id":"1355431324","filename":"file4"},{"photo_id":"1355431219","filename":"file1"},{"photo_id":"1355431186","filename":"file0"},{"photo_id":"1355431289","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355431289":["hashtag1","hashtag2"]},{"1355431186":["hashtag1","hashtag2"]},{"1355431324":["hashtag1","hashtag2"]},{"1355431219":["hashtag1","hashtag2"]},{"1355431353":["hashtag1","hashtag2"]},{"1355431257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355431289, 1355431186, 1355431324, 1355431219, 1355431353, 1355431257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49538254737854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:29:32.474052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/35/image_02052025_17_35_14_9347.jpg', '/home/pi/Desktop/images/02052025/17/35/image_02052025_17_35_25_10428.jpg', '/home/pi/Desktop/images/02052025/17/35/image_02052025_17_35_35_10368.jpg', '/home/pi/Desktop/images/02052025/17/35/image_02052025_17_35_44_9337.jpg', '/home/pi/Desktop/images/02052025/17/35/image_02052025_17_35_55_10458.jpg', '/home/pi/Desktop/images/02052025/17/35/image_02052025_17_36_04_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/35/image_02052025_17_35_14_9347.jpg
/home/pi/Desktop/images/02052025/17/35/image_02052025_17_35_25_10428.jpg
/home/pi/Desktop/images/02052025/17/35/image_02052025_17_35_35_10368.jpg
/home/pi/Desktop/images/02052025/17/35/image_02052025_17_35_44_9337.jpg
/home/pi/Desktop/images/02052025/17/35/image_02052025_17_35_55_10458.jpg
/home/pi/Desktop/images/02052025/17/35/image_02052025_17_36_04_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":["1355431775","1355431712","1355431613","1355431684","1355431648","1355431746"],"photo_ids_order":["1355431613","1355431648","1355431684","1355431712","1355431746","1355431775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6bc237cac7b19da1be09862eef8b021.jpg","text":"TemporaryFile(/tmp/multipartBody2058364090347668616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207033219,"filename":"image_02052025_17_36_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/acf26ba7c0f2007427a369a97ec1e1c7.jpg","text":"TemporaryFile(/tmp/multipartBody811381175916317135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207033219,"filename":"image_02052025_17_35_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/5/2/b37cc9088e6873b710ed08e9b8f6e944.jpg","text":"TemporaryFile(/tmp/multipartBody1211539261792490231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207033219,"filename":"image_02052025_17_35_14_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e7645ec2baae0a4d5f82db058d0dce20.jpg","text":"TemporaryFile(/tmp/multipartBody4923269309388489597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207033219,"filename":"image_02052025_17_35_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f356c99a7368bdc92f7fce7ba5769e49.jpg","text":"TemporaryFile(/tmp/multipartBody7446398509380054985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207033219,"filename":"image_02052025_17_35_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/5/2/e9f95d478ac12771a64c0d8aff9b8cc3.jpg","text":"TemporaryFile(/tmp/multipartBody4742220526588707425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207033219,"filename":"image_02052025_17_35_55_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355431684","file1":"1355431648","file0":"1355431613","file4":"1355431746","file5":"1355431775","file3":"1355431712"},"map_files_photo_id_array":[{"photo_id":"1355431775","filename":"file5"},{"photo_id":"1355431684","filename":"file2"},{"photo_id":"1355431746","filename":"file4"},{"photo_id":"1355431648","filename":"file1"},{"photo_id":"1355431613","filename":"file0"},{"photo_id":"1355431712","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355431775":["hashtag1","hashtag2"]},{"1355431712":["hashtag1","hashtag2"]},{"1355431613":["hashtag1","hashtag2"]},{"1355431684":["hashtag1","hashtag2"]},{"1355431648":["hashtag1","hashtag2"]},{"1355431746":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355431775, 1355431712, 1355431613, 1355431684, 1355431648, 1355431746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14653468132019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:30:32.729502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/36/image_02052025_17_36_15_10462.jpg', '/home/pi/Desktop/images/02052025/17/36/image_02052025_17_36_25_10381.jpg', '/home/pi/Desktop/images/02052025/17/36/image_02052025_17_36_34_9351.jpg', '/home/pi/Desktop/images/02052025/17/36/image_02052025_17_36_45_10370.jpg', '/home/pi/Desktop/images/02052025/17/36/image_02052025_17_36_54_9461.jpg', '/home/pi/Desktop/images/02052025/17/36/image_02052025_17_37_05_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/36/image_02052025_17_36_15_10462.jpg
/home/pi/Desktop/images/02052025/17/36/image_02052025_17_36_25_10381.jpg
/home/pi/Desktop/images/02052025/17/36/image_02052025_17_36_34_9351.jpg
/home/pi/Desktop/images/02052025/17/36/image_02052025_17_36_45_10370.jpg
/home/pi/Desktop/images/02052025/17/36/image_02052025_17_36_54_9461.jpg
/home/pi/Desktop/images/02052025/17/36/image_02052025_17_37_05_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355432063","1355432165","1355432132","1355432194","1355432095","1355432230"],"photo_ids_order":["1355432063","1355432095","1355432132","1355432165","1355432194","1355432230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/92ff27bfc846922eba2ba1629329661e.jpg","text":"TemporaryFile(/tmp/multipartBody2904523427506154548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207093223,"filename":"image_02052025_17_36_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/5/2/17ea7f63bf9208385664532f65fc44c7.jpg","text":"TemporaryFile(/tmp/multipartBody9164462427615813757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207093223,"filename":"image_02052025_17_36_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09bcd2465d177136d4c71c57db28270a.jpg","text":"TemporaryFile(/tmp/multipartBody451597874048060299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207093223,"filename":"image_02052025_17_36_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/5/2/9ca0e968e65e0ffacd7efb7e272a5434.jpg","text":"TemporaryFile(/tmp/multipartBody5719925425207650473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207093223,"filename":"image_02052025_17_36_54_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f053765a97d7d6bc89cc0c4b2b50c030.jpg","text":"TemporaryFile(/tmp/multipartBody8668880953662660882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207093223,"filename":"image_02052025_17_36_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/5/2/d2e5f18e46f58dfe1d1868327e8cb092.jpg","text":"TemporaryFile(/tmp/multipartBody8494431659379339319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207093223,"filename":"image_02052025_17_37_05_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355432132","file1":"1355432095","file0":"1355432063","file4":"1355432194","file5":"1355432230","file3":"1355432165"},"map_files_photo_id_array":[{"photo_id":"1355432230","filename":"file5"},{"photo_id":"1355432132","filename":"file2"},{"photo_id":"1355432194","filename":"file4"},{"photo_id":"1355432095","filename":"file1"},{"photo_id":"1355432063","filename":"file0"},{"photo_id":"1355432165","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355432063":["hashtag1","hashtag2"]},{"1355432165":["hashtag1","hashtag2"]},{"1355432132":["hashtag1","hashtag2"]},{"1355432194":["hashtag1","hashtag2"]},{"1355432095":["hashtag1","hashtag2"]},{"1355432230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355432063, 1355432165, 1355432132, 1355432194, 1355432095, 1355432230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32583928108215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:31:32.804478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/37/image_02052025_17_37_15_10427.jpg', '/home/pi/Desktop/images/02052025/17/37/image_02052025_17_37_24_9367.jpg', '/home/pi/Desktop/images/02052025/17/37/image_02052025_17_37_35_10421.jpg', '/home/pi/Desktop/images/02052025/17/37/image_02052025_17_37_44_9461.jpg', '/home/pi/Desktop/images/02052025/17/37/image_02052025_17_37_55_10480.jpg', '/home/pi/Desktop/images/02052025/17/37/image_02052025_17_38_04_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/37/image_02052025_17_37_15_10427.jpg
/home/pi/Desktop/images/02052025/17/37/image_02052025_17_37_24_9367.jpg
/home/pi/Desktop/images/02052025/17/37/image_02052025_17_37_35_10421.jpg
/home/pi/Desktop/images/02052025/17/37/image_02052025_17_37_44_9461.jpg
/home/pi/Desktop/images/02052025/17/37/image_02052025_17_37_55_10480.jpg
/home/pi/Desktop/images/02052025/17/37/image_02052025_17_38_04_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355432966","1355432681","1355432729","1355432776","1355432685","1355432676"],"photo_ids_order":["1355432676","1355432681","1355432685","1355432729","1355432776","1355432966"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b213e88b799ca5620824761e065b3fd.jpg","text":"TemporaryFile(/tmp/multipartBody1445115328928683944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207153281,"filename":"image_02052025_17_38_04_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dfb1bcd3877beedecac7c0e29d285a66.jpg","text":"TemporaryFile(/tmp/multipartBody243477387710028984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207153281,"filename":"image_02052025_17_37_24_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/294dd40fa5f8941f0cd49c9c9333f948.jpg","text":"TemporaryFile(/tmp/multipartBody7767214654755775977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207153281,"filename":"image_02052025_17_37_44_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/34e2a47f0dd1ae86b05b245b79f1ebcd.jpg","text":"TemporaryFile(/tmp/multipartBody6309094701701428593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207153281,"filename":"image_02052025_17_37_55_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/31ecbedef84246826eed57facec8fa8c.jpg","text":"TemporaryFile(/tmp/multipartBody4379711169196235743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207153281,"filename":"image_02052025_17_37_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2fc76854d3010c80830a8fee12b63a6c.jpg","text":"TemporaryFile(/tmp/multipartBody1631445657134589317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207153281,"filename":"image_02052025_17_37_15_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355432685","file1":"1355432681","file0":"1355432676","file4":"1355432776","file5":"1355432966","file3":"1355432729"},"map_files_photo_id_array":[{"photo_id":"1355432966","filename":"file5"},{"photo_id":"1355432685","filename":"file2"},{"photo_id":"1355432776","filename":"file4"},{"photo_id":"1355432681","filename":"file1"},{"photo_id":"1355432676","filename":"file0"},{"photo_id":"1355432729","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355432966":["hashtag1","hashtag2"]},{"1355432681":["hashtag1","hashtag2"]},{"1355432729":["hashtag1","hashtag2"]},{"1355432776":["hashtag1","hashtag2"]},{"1355432685":["hashtag1","hashtag2"]},{"1355432676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355432966, 1355432681, 1355432729, 1355432776, 1355432685, 1355432676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.335251569747925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:32:32.886851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/38/image_02052025_17_38_15_10369.jpg', '/home/pi/Desktop/images/02052025/17/38/image_02052025_17_38_25_10366.jpg', '/home/pi/Desktop/images/02052025/17/38/image_02052025_17_38_34_9355.jpg', '/home/pi/Desktop/images/02052025/17/38/image_02052025_17_38_45_10476.jpg', '/home/pi/Desktop/images/02052025/17/38/image_02052025_17_38_54_9353.jpg', '/home/pi/Desktop/images/02052025/17/39/image_02052025_17_39_15_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/38/image_02052025_17_38_15_10369.jpg
/home/pi/Desktop/images/02052025/17/38/image_02052025_17_38_25_10366.jpg
/home/pi/Desktop/images/02052025/17/38/image_02052025_17_38_34_9355.jpg
/home/pi/Desktop/images/02052025/17/38/image_02052025_17_38_45_10476.jpg
/home/pi/Desktop/images/02052025/17/38/image_02052025_17_38_54_9353.jpg
/home/pi/Desktop/images/02052025/17/39/image_02052025_17_39_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":["1355433101","1355433091","1355433094","1355433103","1355433098","1355433083"],"photo_ids_order":["1355433083","1355433091","1355433094","1355433098","1355433101","1355433103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6c8b834684c4e708e84176501d88be74.jpg","text":"TemporaryFile(/tmp/multipartBody6689545863101382215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207213502,"filename":"image_02052025_17_38_54_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ca8cca52148e1e52b859466439bd82e.jpg","text":"TemporaryFile(/tmp/multipartBody782975296535268580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207213502,"filename":"image_02052025_17_38_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/5/2/0b952593cfc8cc0c92137edcabfe041d.jpg","text":"TemporaryFile(/tmp/multipartBody337033437442345273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207213502,"filename":"image_02052025_17_38_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/5/2/608add46b96aa44d8f7cfc1d751bb8f1.jpg","text":"TemporaryFile(/tmp/multipartBody5229635839475789457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207213502,"filename":"image_02052025_17_39_15_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dcdd72fe91835226abd7718c5281e1e8.jpg","text":"TemporaryFile(/tmp/multipartBody7178427340872903390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207213502,"filename":"image_02052025_17_38_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/5/2/2176957489272aff292f0b0760c549ac.jpg","text":"TemporaryFile(/tmp/multipartBody5876323930781038844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207213502,"filename":"image_02052025_17_38_15_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355433094","file1":"1355433091","file0":"1355433083","file4":"1355433101","file5":"1355433103","file3":"1355433098"},"map_files_photo_id_array":[{"photo_id":"1355433103","filename":"file5"},{"photo_id":"1355433094","filename":"file2"},{"photo_id":"1355433101","filename":"file4"},{"photo_id":"1355433091","filename":"file1"},{"photo_id":"1355433083","filename":"file0"},{"photo_id":"1355433098","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355433101":["hashtag1","hashtag2"]},{"1355433091":["hashtag1","hashtag2"]},{"1355433094":["hashtag1","hashtag2"]},{"1355433103":["hashtag1","hashtag2"]},{"1355433098":["hashtag1","hashtag2"]},{"1355433083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355433101, 1355433091, 1355433094, 1355433103, 1355433098, 1355433083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36615514755249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:33:33.179572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/39/image_02052025_17_39_24_9359.jpg', '/home/pi/Desktop/images/02052025/17/39/image_02052025_17_39_35_10368.jpg', '/home/pi/Desktop/images/02052025/17/39/image_02052025_17_39_45_10430.jpg', '/home/pi/Desktop/images/02052025/17/39/image_02052025_17_39_54_9386.jpg', '/home/pi/Desktop/images/02052025/17/39/image_02052025_17_40_05_10397.jpg', '/home/pi/Desktop/images/02052025/17/40/image_02052025_17_40_14_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/39/image_02052025_17_39_24_9359.jpg
/home/pi/Desktop/images/02052025/17/39/image_02052025_17_39_35_10368.jpg
/home/pi/Desktop/images/02052025/17/39/image_02052025_17_39_45_10430.jpg
/home/pi/Desktop/images/02052025/17/39/image_02052025_17_39_54_9386.jpg
/home/pi/Desktop/images/02052025/17/39/image_02052025_17_40_05_10397.jpg
/home/pi/Desktop/images/02052025/17/40/image_02052025_17_40_14_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":["1355433289","1355433217","1355433288","1355433211","1355433255","1355433225"],"photo_ids_order":["1355433211","1355433217","1355433225","1355433255","1355433288","1355433289"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d69cb37eb033d467996c98485dd2efb.jpg","text":"TemporaryFile(/tmp/multipartBody2691438738481459254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207273667,"filename":"image_02052025_17_40_14_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf88db9ab64d71b84124bee3c2ddb833.jpg","text":"TemporaryFile(/tmp/multipartBody6684956025636828793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207273667,"filename":"image_02052025_17_39_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3bf43f4486fd739273fe7f280d3a3e59.jpg","text":"TemporaryFile(/tmp/multipartBody225131765699779296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207273667,"filename":"image_02052025_17_40_05_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a4c9c7efb332471d9bbcc65eb66d04b.jpg","text":"TemporaryFile(/tmp/multipartBody6318402931322334416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207273667,"filename":"image_02052025_17_39_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0092c96952221ad303d86f58089d11f3.jpg","text":"TemporaryFile(/tmp/multipartBody8855365124063738904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207273667,"filename":"image_02052025_17_39_54_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6426bb8920343b5660019dff68b8f9d1.jpg","text":"TemporaryFile(/tmp/multipartBody1477637589603583736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207273667,"filename":"image_02052025_17_39_45_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355433225","file1":"1355433217","file0":"1355433211","file4":"1355433288","file5":"1355433289","file3":"1355433255"},"map_files_photo_id_array":[{"photo_id":"1355433289","filename":"file5"},{"photo_id":"1355433225","filename":"file2"},{"photo_id":"1355433288","filename":"file4"},{"photo_id":"1355433217","filename":"file1"},{"photo_id":"1355433211","filename":"file0"},{"photo_id":"1355433255","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355433289":["hashtag1","hashtag2"]},{"1355433217":["hashtag1","hashtag2"]},{"1355433288":["hashtag1","hashtag2"]},{"1355433211":["hashtag1","hashtag2"]},{"1355433255":["hashtag1","hashtag2"]},{"1355433225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355433289, 1355433217, 1355433288, 1355433211, 1355433255, 1355433225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18087029457092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:34:32.321007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/40/image_02052025_17_40_24_10367.jpg', '/home/pi/Desktop/images/02052025/17/40/image_02052025_17_40_35_10362.jpg', '/home/pi/Desktop/images/02052025/17/40/image_02052025_17_40_44_9452.jpg', '/home/pi/Desktop/images/02052025/17/40/image_02052025_17_40_55_10483.jpg', '/home/pi/Desktop/images/02052025/17/40/image_02052025_17_41_04_9352.jpg', '/home/pi/Desktop/images/02052025/17/41/image_02052025_17_41_14_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/40/image_02052025_17_40_24_10367.jpg
/home/pi/Desktop/images/02052025/17/40/image_02052025_17_40_35_10362.jpg
/home/pi/Desktop/images/02052025/17/40/image_02052025_17_40_44_9452.jpg
/home/pi/Desktop/images/02052025/17/40/image_02052025_17_40_55_10483.jpg
/home/pi/Desktop/images/02052025/17/40/image_02052025_17_41_04_9352.jpg
/home/pi/Desktop/images/02052025/17/41/image_02052025_17_41_14_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355433542","1355433391","1355433514","1355433400","1355433585","1355433482"],"photo_ids_order":["1355433391","1355433400","1355433482","1355433514","1355433542","1355433585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/736bf26e9e31303920dfa38860ec0d44.jpg","text":"TemporaryFile(/tmp/multipartBody76207558874696274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207332796,"filename":"image_02052025_17_41_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58bdcbcb23fe48361448d021e91d85ba.jpg","text":"TemporaryFile(/tmp/multipartBody1049032777565731616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207332796,"filename":"image_02052025_17_40_24_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1e4ca00e46e131de81fa958e9a726c51.jpg","text":"TemporaryFile(/tmp/multipartBody2504777702384370917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207332796,"filename":"image_02052025_17_40_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/5/2/dea0eec185901fb1dca2c6b40e3e907b.jpg","text":"TemporaryFile(/tmp/multipartBody460917930036161642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207332796,"filename":"image_02052025_17_40_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/5/2/4bf90baba86b00a882322145bd65ee57.jpg","text":"TemporaryFile(/tmp/multipartBody5998070122993605001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207332796,"filename":"image_02052025_17_41_14_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e12e5211702b2acc1187d9e8dbfba422.jpg","text":"TemporaryFile(/tmp/multipartBody1494635672380266372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207332796,"filename":"image_02052025_17_40_44_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355433482","file1":"1355433400","file0":"1355433391","file4":"1355433542","file5":"1355433585","file3":"1355433514"},"map_files_photo_id_array":[{"photo_id":"1355433585","filename":"file5"},{"photo_id":"1355433482","filename":"file2"},{"photo_id":"1355433542","filename":"file4"},{"photo_id":"1355433400","filename":"file1"},{"photo_id":"1355433391","filename":"file0"},{"photo_id":"1355433514","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355433542":["hashtag1","hashtag2"]},{"1355433391":["hashtag1","hashtag2"]},{"1355433514":["hashtag1","hashtag2"]},{"1355433400":["hashtag1","hashtag2"]},{"1355433585":["hashtag1","hashtag2"]},{"1355433482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355433542, 1355433391, 1355433514, 1355433400, 1355433585, 1355433482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.04736280441284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:35:32.444616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/41/image_02052025_17_41_25_10408.jpg', '/home/pi/Desktop/images/02052025/17/41/image_02052025_17_41_34_9342.jpg', '/home/pi/Desktop/images/02052025/17/41/image_02052025_17_41_45_10428.jpg', '/home/pi/Desktop/images/02052025/17/41/image_02052025_17_41_54_9411.jpg', '/home/pi/Desktop/images/02052025/17/41/image_02052025_17_42_04_10379.jpg', '/home/pi/Desktop/images/02052025/17/42/image_02052025_17_42_15_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/41/image_02052025_17_41_25_10408.jpg
/home/pi/Desktop/images/02052025/17/41/image_02052025_17_41_34_9342.jpg
/home/pi/Desktop/images/02052025/17/41/image_02052025_17_41_45_10428.jpg
/home/pi/Desktop/images/02052025/17/41/image_02052025_17_41_54_9411.jpg
/home/pi/Desktop/images/02052025/17/41/image_02052025_17_42_04_10379.jpg
/home/pi/Desktop/images/02052025/17/42/image_02052025_17_42_15_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355433985","1355434044","1355433879","1355433948","1355433921","1355433851"],"photo_ids_order":["1355433851","1355433879","1355433921","1355433948","1355433985","1355434044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16a05f7df6ef1e9a5b8f2f080a859270.jpg","text":"TemporaryFile(/tmp/multipartBody6079966662303046630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207392930,"filename":"image_02052025_17_42_04_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8697d9e6e21d25ca701a1c38c9e4076d.jpg","text":"TemporaryFile(/tmp/multipartBody4174698289329925465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207392930,"filename":"image_02052025_17_42_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/5/2/154a1c92ff5d947dfaf50bfaa35e60ce.jpg","text":"TemporaryFile(/tmp/multipartBody403596075127008842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207392930,"filename":"image_02052025_17_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/5/2/cf1a836868c31b28d43f6d4e33fdbffd.jpg","text":"TemporaryFile(/tmp/multipartBody7892321399409965913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207392930,"filename":"image_02052025_17_41_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/5/2/0537a475d98a7597e2944a4a2e838f1b.jpg","text":"TemporaryFile(/tmp/multipartBody8962738663237435331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207392930,"filename":"image_02052025_17_41_45_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e41a96d07dd4d7766b5914ae1f5e9efe.jpg","text":"TemporaryFile(/tmp/multipartBody3352516423397702504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207392930,"filename":"image_02052025_17_41_25_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355433921","file1":"1355433879","file0":"1355433851","file4":"1355433985","file5":"1355434044","file3":"1355433948"},"map_files_photo_id_array":[{"photo_id":"1355434044","filename":"file5"},{"photo_id":"1355433921","filename":"file2"},{"photo_id":"1355433985","filename":"file4"},{"photo_id":"1355433879","filename":"file1"},{"photo_id":"1355433851","filename":"file0"},{"photo_id":"1355433948","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355433985":["hashtag1","hashtag2"]},{"1355434044":["hashtag1","hashtag2"]},{"1355433879":["hashtag1","hashtag2"]},{"1355433948":["hashtag1","hashtag2"]},{"1355433921":["hashtag1","hashtag2"]},{"1355433851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355433985, 1355434044, 1355433879, 1355433948, 1355433921, 1355433851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0924437046051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:36:32.785963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/42/image_02052025_17_42_24_9368.jpg', '/home/pi/Desktop/images/02052025/17/42/image_02052025_17_42_35_10428.jpg', '/home/pi/Desktop/images/02052025/17/42/image_02052025_17_42_45_10358.jpg', '/home/pi/Desktop/images/02052025/17/42/image_02052025_17_42_54_9373.jpg', '/home/pi/Desktop/images/02052025/17/42/image_02052025_17_43_05_10430.jpg', '/home/pi/Desktop/images/02052025/17/43/image_02052025_17_43_14_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/42/image_02052025_17_42_24_9368.jpg
/home/pi/Desktop/images/02052025/17/42/image_02052025_17_42_35_10428.jpg
/home/pi/Desktop/images/02052025/17/42/image_02052025_17_42_45_10358.jpg
/home/pi/Desktop/images/02052025/17/42/image_02052025_17_42_54_9373.jpg
/home/pi/Desktop/images/02052025/17/42/image_02052025_17_43_05_10430.jpg
/home/pi/Desktop/images/02052025/17/43/image_02052025_17_43_14_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":["1355434537","1355434447","1355434545","1355434512","1355434570","1355434418"],"photo_ids_order":["1355434418","1355434447","1355434512","1355434537","1355434545","1355434570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a69e57df7a316ae2e80a39ef5f3a09ab.jpg","text":"TemporaryFile(/tmp/multipartBody823323872929055436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207453268,"filename":"image_02052025_17_42_54_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db6abd569eb717d2134ce8b54cef3d1b.jpg","text":"TemporaryFile(/tmp/multipartBody5146861090488599251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207453268,"filename":"image_02052025_17_42_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/5/2/4dcd81b016e3892a999a978115b38f19.jpg","text":"TemporaryFile(/tmp/multipartBody8931124652527265069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207453268,"filename":"image_02052025_17_43_05_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad91b9b0798a64423e96cbafaa29e6f2.jpg","text":"TemporaryFile(/tmp/multipartBody8038087690866399762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207453268,"filename":"image_02052025_17_42_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/5/2/249810248a7c10cf18d03d6ada2e3351.jpg","text":"TemporaryFile(/tmp/multipartBody5856824776447453094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207453268,"filename":"image_02052025_17_43_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fa0fe05a8004a7b97ebefdc2fefdbdca.jpg","text":"TemporaryFile(/tmp/multipartBody4115372164323420802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207453268,"filename":"image_02052025_17_42_24_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355434512","file1":"1355434447","file0":"1355434418","file4":"1355434545","file5":"1355434570","file3":"1355434537"},"map_files_photo_id_array":[{"photo_id":"1355434570","filename":"file5"},{"photo_id":"1355434512","filename":"file2"},{"photo_id":"1355434545","filename":"file4"},{"photo_id":"1355434447","filename":"file1"},{"photo_id":"1355434418","filename":"file0"},{"photo_id":"1355434537","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355434537":["hashtag1","hashtag2"]},{"1355434447":["hashtag1","hashtag2"]},{"1355434545":["hashtag1","hashtag2"]},{"1355434512":["hashtag1","hashtag2"]},{"1355434570":["hashtag1","hashtag2"]},{"1355434418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355434537, 1355434447, 1355434545, 1355434512, 1355434570, 1355434418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9784791469574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:37:32.799975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/43/image_02052025_17_43_24_9938.jpg', '/home/pi/Desktop/images/02052025/17/43/image_02052025_17_43_35_10559.jpg', '/home/pi/Desktop/images/02052025/17/43/image_02052025_17_43_45_10349.jpg', '/home/pi/Desktop/images/02052025/17/43/image_02052025_17_43_54_9364.jpg', '/home/pi/Desktop/images/02052025/17/43/image_02052025_17_44_05_10361.jpg', '/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_24_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/43/image_02052025_17_43_24_9938.jpg
/home/pi/Desktop/images/02052025/17/43/image_02052025_17_43_35_10559.jpg
/home/pi/Desktop/images/02052025/17/43/image_02052025_17_43_45_10349.jpg
/home/pi/Desktop/images/02052025/17/43/image_02052025_17_43_54_9364.jpg
/home/pi/Desktop/images/02052025/17/43/image_02052025_17_44_05_10361.jpg
/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_24_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":["1355434759","1355434687","1355434732","1355434627","1355434657","1355434597"],"photo_ids_order":["1355434597","1355434627","1355434657","1355434687","1355434732","1355434759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c01a9a0805c5b47d1d0357ee2a14b2c8.jpg","text":"TemporaryFile(/tmp/multipartBody8201583502604184076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207513265,"filename":"image_02052025_17_44_24_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f166ae7b3e4860f0e342d9bb70407b6.jpg","text":"TemporaryFile(/tmp/multipartBody6975614208779164592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207513265,"filename":"image_02052025_17_43_54_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c0e70e016e6aa4055f33006183e703f9.jpg","text":"TemporaryFile(/tmp/multipartBody4110984430779437377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207513265,"filename":"image_02052025_17_44_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e0374fe7bd8f7338e981eb390e7213b.jpg","text":"TemporaryFile(/tmp/multipartBody6465071268737667653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207513265,"filename":"image_02052025_17_43_35_10559.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8508e27df74b92cee98f7669dcc3cbe2.jpg","text":"TemporaryFile(/tmp/multipartBody2374490264893951263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207513265,"filename":"image_02052025_17_43_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/5/2/cf585b2a7748049602e82449e1a955af.jpg","text":"TemporaryFile(/tmp/multipartBody8714065193350250066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207513265,"filename":"image_02052025_17_43_24_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355434657","file1":"1355434627","file0":"1355434597","file4":"1355434732","file5":"1355434759","file3":"1355434687"},"map_files_photo_id_array":[{"photo_id":"1355434759","filename":"file5"},{"photo_id":"1355434657","filename":"file2"},{"photo_id":"1355434732","filename":"file4"},{"photo_id":"1355434627","filename":"file1"},{"photo_id":"1355434597","filename":"file0"},{"photo_id":"1355434687","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355434759":["hashtag1","hashtag2"]},{"1355434687":["hashtag1","hashtag2"]},{"1355434732":["hashtag1","hashtag2"]},{"1355434627":["hashtag1","hashtag2"]},{"1355434657":["hashtag1","hashtag2"]},{"1355434597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355434759, 1355434687, 1355434732, 1355434627, 1355434657, 1355434597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51811909675598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:38:33.061111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_35_10409.jpg', '/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_44_9342.jpg', '/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_55_10427.jpg', '/home/pi/Desktop/images/02052025/17/44/image_02052025_17_45_04_9407.jpg', '/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_25_10433.jpg', '/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_34_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_35_10409.jpg
/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_44_9342.jpg
/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_55_10427.jpg
/home/pi/Desktop/images/02052025/17/44/image_02052025_17_45_04_9407.jpg
/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_25_10433.jpg
/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_34_9415.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38846611976623535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 19:38:43.077238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_35_10409.jpg', '/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_44_9342.jpg', '/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_55_10427.jpg', '/home/pi/Desktop/images/02052025/17/44/image_02052025_17_45_04_9407.jpg', '/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_25_10433.jpg', '/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_34_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_35_10409.jpg
/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_44_9342.jpg
/home/pi/Desktop/images/02052025/17/44/image_02052025_17_44_55_10427.jpg
/home/pi/Desktop/images/02052025/17/44/image_02052025_17_45_04_9407.jpg
/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_25_10433.jpg
/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_34_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355434822","1355434816","1355434815","1355434800","1355434803","1355434817"],"photo_ids_order":["1355434800","1355434803","1355434815","1355434816","1355434817","1355434822"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e52b6bf0ce70258fd8cce73e442a9de4.jpg","text":"TemporaryFile(/tmp/multipartBody4610717229399027834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207583558,"filename":"image_02052025_17_45_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d7fff7b9624f5b75e2183f5c3a2f829.jpg","text":"TemporaryFile(/tmp/multipartBody2611356797566792864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207583558,"filename":"image_02052025_17_45_04_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ca4a255224a1ea2dd30a5d908832b37.jpg","text":"TemporaryFile(/tmp/multipartBody4545545441726278763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207583558,"filename":"image_02052025_17_44_55_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53b602fae08fef528b33847862f7108b.jpg","text":"TemporaryFile(/tmp/multipartBody4160984778484030502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207583558,"filename":"image_02052025_17_44_35_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b13200e260d369c165f260807dfb6fba.jpg","text":"TemporaryFile(/tmp/multipartBody2412518888345479653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207583558,"filename":"image_02052025_17_44_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/5/2/a90f99a39bda78e9b9b9f01c53aa6e20.jpg","text":"TemporaryFile(/tmp/multipartBody1463823438351062997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207583558,"filename":"image_02052025_17_45_25_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355434815","file1":"1355434803","file0":"1355434800","file4":"1355434817","file5":"1355434822","file3":"1355434816"},"map_files_photo_id_array":[{"photo_id":"1355434822","filename":"file5"},{"photo_id":"1355434815","filename":"file2"},{"photo_id":"1355434817","filename":"file4"},{"photo_id":"1355434803","filename":"file1"},{"photo_id":"1355434800","filename":"file0"},{"photo_id":"1355434816","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355434822":["hashtag1","hashtag2"]},{"1355434816":["hashtag1","hashtag2"]},{"1355434815":["hashtag1","hashtag2"]},{"1355434800":["hashtag1","hashtag2"]},{"1355434803":["hashtag1","hashtag2"]},{"1355434817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355434822, 1355434816, 1355434815, 1355434800, 1355434803, 1355434817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.671499729156494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:39:32.199692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_45_10364.jpg', '/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_54_9362.jpg', '/home/pi/Desktop/images/02052025/17/45/image_02052025_17_46_04_10380.jpg', '/home/pi/Desktop/images/02052025/17/46/image_02052025_17_46_15_10455.jpg', '/home/pi/Desktop/images/02052025/17/46/image_02052025_17_46_24_9380.jpg', '/home/pi/Desktop/images/02052025/17/46/image_02052025_17_46_35_10518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_45_10364.jpg
/home/pi/Desktop/images/02052025/17/45/image_02052025_17_45_54_9362.jpg
/home/pi/Desktop/images/02052025/17/45/image_02052025_17_46_04_10380.jpg
/home/pi/Desktop/images/02052025/17/46/image_02052025_17_46_15_10455.jpg
/home/pi/Desktop/images/02052025/17/46/image_02052025_17_46_24_9380.jpg
/home/pi/Desktop/images/02052025/17/46/image_02052025_17_46_35_10518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355434890","1355434918","1355435022","1355434959","1355434859","1355434996"],"photo_ids_order":["1355434859","1355434890","1355434918","1355434959","1355434996","1355435022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fe03af8ef22ce2a3d160ace2a2134992.jpg","text":"TemporaryFile(/tmp/multipartBody6819352915368986833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207633293,"filename":"image_02052025_17_45_54_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b9a3a86c9cec3ebee23d09e464bc4d5.jpg","text":"TemporaryFile(/tmp/multipartBody4205394954438333818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207633293,"filename":"image_02052025_17_46_04_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bbf9d24ee5b65cf630e5546124981deb.jpg","text":"TemporaryFile(/tmp/multipartBody6352978826626729898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207633293,"filename":"image_02052025_17_46_35_10518.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e20e89e94cd139032bf2712cea41703e.jpg","text":"TemporaryFile(/tmp/multipartBody216787239105076016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207633293,"filename":"image_02052025_17_46_15_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/000688092c449abeb71db4027509283b.jpg","text":"TemporaryFile(/tmp/multipartBody8379255407324448549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207633293,"filename":"image_02052025_17_45_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/5/2/0cd268fc0072d29e9dbb3f036b199313.jpg","text":"TemporaryFile(/tmp/multipartBody3813468463807185793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207633293,"filename":"image_02052025_17_46_24_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355434918","file1":"1355434890","file0":"1355434859","file4":"1355434996","file5":"1355435022","file3":"1355434959"},"map_files_photo_id_array":[{"photo_id":"1355435022","filename":"file5"},{"photo_id":"1355434918","filename":"file2"},{"photo_id":"1355434996","filename":"file4"},{"photo_id":"1355434890","filename":"file1"},{"photo_id":"1355434859","filename":"file0"},{"photo_id":"1355434959","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355434890":["hashtag1","hashtag2"]},{"1355434918":["hashtag1","hashtag2"]},{"1355435022":["hashtag1","hashtag2"]},{"1355434959":["hashtag1","hashtag2"]},{"1355434859":["hashtag1","hashtag2"]},{"1355434996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355434890, 1355434918, 1355435022, 1355434959, 1355434859, 1355434996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.38048052787781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:40:32.434783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/46/image_02052025_17_46_44_9348.jpg', '/home/pi/Desktop/images/02052025/17/46/image_02052025_17_46_55_10454.jpg', '/home/pi/Desktop/images/02052025/17/46/image_02052025_17_47_05_10385.jpg', '/home/pi/Desktop/images/02052025/17/47/image_02052025_17_47_14_9356.jpg', '/home/pi/Desktop/images/02052025/17/47/image_02052025_17_47_25_10366.jpg', '/home/pi/Desktop/images/02052025/17/47/image_02052025_17_47_34_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/46/image_02052025_17_46_44_9348.jpg
/home/pi/Desktop/images/02052025/17/46/image_02052025_17_46_55_10454.jpg
/home/pi/Desktop/images/02052025/17/46/image_02052025_17_47_05_10385.jpg
/home/pi/Desktop/images/02052025/17/47/image_02052025_17_47_14_9356.jpg
/home/pi/Desktop/images/02052025/17/47/image_02052025_17_47_25_10366.jpg
/home/pi/Desktop/images/02052025/17/47/image_02052025_17_47_34_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355435268","1355435261","1355435285","1355435270","1355435272","1355435233"],"photo_ids_order":["1355435233","1355435261","1355435268","1355435270","1355435272","1355435285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/12013423b29a4d6bcb7c58cdcacf325a.jpg","text":"TemporaryFile(/tmp/multipartBody5636994774884169545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207693002,"filename":"image_02052025_17_47_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/68b29edd8a63a07dc3d11d06e8c4f7b7.jpg","text":"TemporaryFile(/tmp/multipartBody3098526266121058309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207693002,"filename":"image_02052025_17_46_55_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3340b13e87eb51d8e4c57444b61a7c50.jpg","text":"TemporaryFile(/tmp/multipartBody4053126705978161207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207693002,"filename":"image_02052025_17_47_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a26e8c5d79a20a02c80c38c7b8330be2.jpg","text":"TemporaryFile(/tmp/multipartBody5590432734899316815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207693002,"filename":"image_02052025_17_47_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fda5566f80c7be0e14a46c6bb9b7eb98.jpg","text":"TemporaryFile(/tmp/multipartBody5804603388235664603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207693002,"filename":"image_02052025_17_47_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/5/2/8ce85c3beab284dd4759a435c7c6b40a.jpg","text":"TemporaryFile(/tmp/multipartBody1257348325016648212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207693002,"filename":"image_02052025_17_46_44_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355435268","file1":"1355435261","file0":"1355435233","file4":"1355435272","file5":"1355435285","file3":"1355435270"},"map_files_photo_id_array":[{"photo_id":"1355435285","filename":"file5"},{"photo_id":"1355435268","filename":"file2"},{"photo_id":"1355435272","filename":"file4"},{"photo_id":"1355435261","filename":"file1"},{"photo_id":"1355435233","filename":"file0"},{"photo_id":"1355435270","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355435268":["hashtag1","hashtag2"]},{"1355435261":["hashtag1","hashtag2"]},{"1355435285":["hashtag1","hashtag2"]},{"1355435270":["hashtag1","hashtag2"]},{"1355435272":["hashtag1","hashtag2"]},{"1355435233":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355435268, 1355435261, 1355435285, 1355435270, 1355435272, 1355435233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42452836036682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:41:32.699488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/47/image_02052025_17_47_44_10364.jpg', '/home/pi/Desktop/images/02052025/17/47/image_02052025_17_47_55_10443.jpg', '/home/pi/Desktop/images/02052025/17/47/image_02052025_17_48_04_9354.jpg', '/home/pi/Desktop/images/02052025/17/48/image_02052025_17_48_15_10405.jpg', '/home/pi/Desktop/images/02052025/17/48/image_02052025_17_48_25_10371.jpg', '/home/pi/Desktop/images/02052025/17/48/image_02052025_17_48_34_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/47/image_02052025_17_47_44_10364.jpg
/home/pi/Desktop/images/02052025/17/47/image_02052025_17_47_55_10443.jpg
/home/pi/Desktop/images/02052025/17/47/image_02052025_17_48_04_9354.jpg
/home/pi/Desktop/images/02052025/17/48/image_02052025_17_48_15_10405.jpg
/home/pi/Desktop/images/02052025/17/48/image_02052025_17_48_25_10371.jpg
/home/pi/Desktop/images/02052025/17/48/image_02052025_17_48_34_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":["1355435463","1355435451","1355435399","1355435453","1355435464","1355435431"],"photo_ids_order":["1355435399","1355435431","1355435451","1355435453","1355435463","1355435464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5c60b6d23155e7ffcbcb78f3c4093a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6939865685396132197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207753167,"filename":"image_02052025_17_48_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/5/2/f74ce7111a44f26affc9a3bcb45a3484.jpg","text":"TemporaryFile(/tmp/multipartBody1389289576507285879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207753167,"filename":"image_02052025_17_48_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae16bd0e3cf770948816eef6dc2a208f.jpg","text":"TemporaryFile(/tmp/multipartBody4944333445761436035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207753167,"filename":"image_02052025_17_47_44_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0846221df4314d874a0348c92d3bb2d4.jpg","text":"TemporaryFile(/tmp/multipartBody230896899113381249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207753167,"filename":"image_02052025_17_48_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d36cded1d8f90f00dfcd5c32591b987d.jpg","text":"TemporaryFile(/tmp/multipartBody6098359688521638001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207753167,"filename":"image_02052025_17_48_34_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b82e043fcac20f6885abe642998c9c1.jpg","text":"TemporaryFile(/tmp/multipartBody2568859094785863332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207753167,"filename":"image_02052025_17_47_55_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355435451","file1":"1355435431","file0":"1355435399","file4":"1355435463","file5":"1355435464","file3":"1355435453"},"map_files_photo_id_array":[{"photo_id":"1355435464","filename":"file5"},{"photo_id":"1355435451","filename":"file2"},{"photo_id":"1355435463","filename":"file4"},{"photo_id":"1355435431","filename":"file1"},{"photo_id":"1355435399","filename":"file0"},{"photo_id":"1355435453","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355435463":["hashtag1","hashtag2"]},{"1355435451":["hashtag1","hashtag2"]},{"1355435399":["hashtag1","hashtag2"]},{"1355435453":["hashtag1","hashtag2"]},{"1355435464":["hashtag1","hashtag2"]},{"1355435431":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355435463, 1355435451, 1355435399, 1355435453, 1355435464, 1355435431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.732263803482056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:42:32.815073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/48/image_02052025_17_48_45_10435.jpg', '/home/pi/Desktop/images/02052025/17/48/image_02052025_17_48_54_9388.jpg', '/home/pi/Desktop/images/02052025/17/48/image_02052025_17_49_05_10378.jpg', '/home/pi/Desktop/images/02052025/17/49/image_02052025_17_49_15_10355.jpg', '/home/pi/Desktop/images/02052025/17/49/image_02052025_17_49_24_9383.jpg', '/home/pi/Desktop/images/02052025/17/49/image_02052025_17_49_35_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/48/image_02052025_17_48_45_10435.jpg
/home/pi/Desktop/images/02052025/17/48/image_02052025_17_48_54_9388.jpg
/home/pi/Desktop/images/02052025/17/48/image_02052025_17_49_05_10378.jpg
/home/pi/Desktop/images/02052025/17/49/image_02052025_17_49_15_10355.jpg
/home/pi/Desktop/images/02052025/17/49/image_02052025_17_49_24_9383.jpg
/home/pi/Desktop/images/02052025/17/49/image_02052025_17_49_35_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355435629","1355435688","1355435658","1355435711","1355435578","1355435533"],"photo_ids_order":["1355435533","1355435578","1355435629","1355435658","1355435688","1355435711"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e22bca3cce1cc478dea6860dadf1546.jpg","text":"TemporaryFile(/tmp/multipartBody5999654197008506145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207813400,"filename":"image_02052025_17_49_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/842b604c6e62c89cbf4356c217ede3c7.jpg","text":"TemporaryFile(/tmp/multipartBody8222613773524609623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207813400,"filename":"image_02052025_17_49_24_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aace007e388bc220c1774f7658bb9a73.jpg","text":"TemporaryFile(/tmp/multipartBody2034643311623312604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207813400,"filename":"image_02052025_17_49_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/5/2/f7e21f373b9544934f50c1665597b224.jpg","text":"TemporaryFile(/tmp/multipartBody2159060140306204095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207813400,"filename":"image_02052025_17_49_35_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a065bc1d32cff3e8f2cc633a32e55846.jpg","text":"TemporaryFile(/tmp/multipartBody1944883738880366177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207813400,"filename":"image_02052025_17_48_54_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ea912a6179ee2e372955eab9fce55df.jpg","text":"TemporaryFile(/tmp/multipartBody927367481398556060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207813400,"filename":"image_02052025_17_48_45_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355435629","file1":"1355435578","file0":"1355435533","file4":"1355435688","file5":"1355435711","file3":"1355435658"},"map_files_photo_id_array":[{"photo_id":"1355435711","filename":"file5"},{"photo_id":"1355435629","filename":"file2"},{"photo_id":"1355435688","filename":"file4"},{"photo_id":"1355435578","filename":"file1"},{"photo_id":"1355435533","filename":"file0"},{"photo_id":"1355435658","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355435629":["hashtag1","hashtag2"]},{"1355435688":["hashtag1","hashtag2"]},{"1355435658":["hashtag1","hashtag2"]},{"1355435711":["hashtag1","hashtag2"]},{"1355435578":["hashtag1","hashtag2"]},{"1355435533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355435629, 1355435688, 1355435658, 1355435711, 1355435578, 1355435533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.514670610427856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:43:33.028644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/49/image_02052025_17_49_45_10355.jpg', '/home/pi/Desktop/images/02052025/17/49/image_02052025_17_49_54_9366.jpg', '/home/pi/Desktop/images/02052025/17/49/image_02052025_17_50_05_10371.jpg', '/home/pi/Desktop/images/02052025/17/50/image_02052025_17_50_14_9393.jpg', '/home/pi/Desktop/images/02052025/17/50/image_02052025_17_50_25_10371.jpg', '/home/pi/Desktop/images/02052025/17/50/image_02052025_17_50_35_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/49/image_02052025_17_49_45_10355.jpg
/home/pi/Desktop/images/02052025/17/49/image_02052025_17_49_54_9366.jpg
/home/pi/Desktop/images/02052025/17/49/image_02052025_17_50_05_10371.jpg
/home/pi/Desktop/images/02052025/17/50/image_02052025_17_50_14_9393.jpg
/home/pi/Desktop/images/02052025/17/50/image_02052025_17_50_25_10371.jpg
/home/pi/Desktop/images/02052025/17/50/image_02052025_17_50_35_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":["1355435806","1355435849","1355435840","1355435848","1355435851","1355435845"],"photo_ids_order":["1355435806","1355435840","1355435845","1355435848","1355435849","1355435851"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d980e7f823f5f27295e10edb00e1c48.jpg","text":"TemporaryFile(/tmp/multipartBody5015679709505684907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207873500,"filename":"image_02052025_17_49_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/5/2/9d1d11b87cd72143289582135b72c9e2.jpg","text":"TemporaryFile(/tmp/multipartBody6276667855100526040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207873500,"filename":"image_02052025_17_50_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/5/2/9322c75086aaf418948741c0e989b920.jpg","text":"TemporaryFile(/tmp/multipartBody3348835497112628659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207873500,"filename":"image_02052025_17_49_54_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad44f292226be248df91f946c8ad4bcb.jpg","text":"TemporaryFile(/tmp/multipartBody3099895762814593464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207873500,"filename":"image_02052025_17_50_14_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f1e7443ec8b34cc20fb0df6909c21449.jpg","text":"TemporaryFile(/tmp/multipartBody8321752850161766068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207873500,"filename":"image_02052025_17_50_35_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a21a15b1fe56de18398922f8f097e032.jpg","text":"TemporaryFile(/tmp/multipartBody2719239436703669517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207873500,"filename":"image_02052025_17_50_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355435845","file1":"1355435840","file0":"1355435806","file4":"1355435849","file5":"1355435851","file3":"1355435848"},"map_files_photo_id_array":[{"photo_id":"1355435851","filename":"file5"},{"photo_id":"1355435845","filename":"file2"},{"photo_id":"1355435849","filename":"file4"},{"photo_id":"1355435840","filename":"file1"},{"photo_id":"1355435806","filename":"file0"},{"photo_id":"1355435848","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355435806":["hashtag1","hashtag2"]},{"1355435849":["hashtag1","hashtag2"]},{"1355435840":["hashtag1","hashtag2"]},{"1355435848":["hashtag1","hashtag2"]},{"1355435851":["hashtag1","hashtag2"]},{"1355435845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355435806, 1355435849, 1355435840, 1355435848, 1355435851, 1355435845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46576189994812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:44:33.162374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/50/image_02052025_17_50_44_9342.jpg', '/home/pi/Desktop/images/02052025/17/50/image_02052025_17_50_55_10485.jpg', '/home/pi/Desktop/images/02052025/17/50/image_02052025_17_51_04_9353.jpg', '/home/pi/Desktop/images/02052025/17/51/image_02052025_17_51_14_10349.jpg', '/home/pi/Desktop/images/02052025/17/51/image_02052025_17_51_25_10434.jpg', '/home/pi/Desktop/images/02052025/17/51/image_02052025_17_51_45_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/50/image_02052025_17_50_44_9342.jpg
/home/pi/Desktop/images/02052025/17/50/image_02052025_17_50_55_10485.jpg
/home/pi/Desktop/images/02052025/17/50/image_02052025_17_51_04_9353.jpg
/home/pi/Desktop/images/02052025/17/51/image_02052025_17_51_14_10349.jpg
/home/pi/Desktop/images/02052025/17/51/image_02052025_17_51_25_10434.jpg
/home/pi/Desktop/images/02052025/17/51/image_02052025_17_51_45_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355436102","1355436173","1355436209","1355436256","1355436139","1355436310"],"photo_ids_order":["1355436102","1355436139","1355436173","1355436209","1355436256","1355436310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/280a46e4fea3f0dd842e74e75d250902.jpg","text":"TemporaryFile(/tmp/multipartBody4695734573757424329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207933653,"filename":"image_02052025_17_50_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/5/2/943a4861196c6d280b9cb1c0dcd3e5ab.jpg","text":"TemporaryFile(/tmp/multipartBody1389427684621802329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207933653,"filename":"image_02052025_17_51_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0645a7d254a279f2c43f4a43d8988c91.jpg","text":"TemporaryFile(/tmp/multipartBody1844250480452373405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207933653,"filename":"image_02052025_17_51_14_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c61b6564b74c0bd62f84907737fad3d.jpg","text":"TemporaryFile(/tmp/multipartBody4977063014374254536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207933653,"filename":"image_02052025_17_51_25_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3cd4784ddb633ce50fe5ab24edfc581d.jpg","text":"TemporaryFile(/tmp/multipartBody416721105717661473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207933653,"filename":"image_02052025_17_50_55_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94e64630aa736c5dd0c4ea47720cfbda.jpg","text":"TemporaryFile(/tmp/multipartBody9188524622041518267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207933653,"filename":"image_02052025_17_51_45_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355436173","file1":"1355436139","file0":"1355436102","file4":"1355436256","file5":"1355436310","file3":"1355436209"},"map_files_photo_id_array":[{"photo_id":"1355436310","filename":"file5"},{"photo_id":"1355436173","filename":"file2"},{"photo_id":"1355436256","filename":"file4"},{"photo_id":"1355436139","filename":"file1"},{"photo_id":"1355436102","filename":"file0"},{"photo_id":"1355436209","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355436102":["hashtag1","hashtag2"]},{"1355436173":["hashtag1","hashtag2"]},{"1355436209":["hashtag1","hashtag2"]},{"1355436256":["hashtag1","hashtag2"]},{"1355436139":["hashtag1","hashtag2"]},{"1355436310":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355436102, 1355436173, 1355436209, 1355436256, 1355436139, 1355436310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30820608139038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:45:32.438341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/51/image_02052025_17_51_54_9404.jpg', '/home/pi/Desktop/images/02052025/17/51/image_02052025_17_52_04_10380.jpg', '/home/pi/Desktop/images/02052025/17/52/image_02052025_17_52_15_10360.jpg', '/home/pi/Desktop/images/02052025/17/52/image_02052025_17_52_24_9376.jpg', '/home/pi/Desktop/images/02052025/17/52/image_02052025_17_52_35_10485.jpg', '/home/pi/Desktop/images/02052025/17/52/image_02052025_17_52_44_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/51/image_02052025_17_51_54_9404.jpg
/home/pi/Desktop/images/02052025/17/51/image_02052025_17_52_04_10380.jpg
/home/pi/Desktop/images/02052025/17/52/image_02052025_17_52_15_10360.jpg
/home/pi/Desktop/images/02052025/17/52/image_02052025_17_52_24_9376.jpg
/home/pi/Desktop/images/02052025/17/52/image_02052025_17_52_35_10485.jpg
/home/pi/Desktop/images/02052025/17/52/image_02052025_17_52_44_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":["1355436476","1355436479","1355436461","1355436454","1355436471","1355436465"],"photo_ids_order":["1355436454","1355436461","1355436465","1355436471","1355436476","1355436479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65d768413f5310ab91e7af65b59a1022.jpg","text":"TemporaryFile(/tmp/multipartBody5930105978979951167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207992930,"filename":"image_02052025_17_52_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/5/2/620c58e6dbb556aa0609b0aed056e8cc.jpg","text":"TemporaryFile(/tmp/multipartBody470688854730520785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207992930,"filename":"image_02052025_17_52_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fd7856609ee4782b8d818f6c571bb6c5.jpg","text":"TemporaryFile(/tmp/multipartBody4138355506898539098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207992930,"filename":"image_02052025_17_52_04_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f07bf33132554a9ed0b74b6a4f667ef9.jpg","text":"TemporaryFile(/tmp/multipartBody588272087936831471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207992930,"filename":"image_02052025_17_51_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/5/2/df2ad1e1781a8f82d8b2815671a13b13.jpg","text":"TemporaryFile(/tmp/multipartBody4548248492011375701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207992930,"filename":"image_02052025_17_52_24_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9880b4ad4338e7adc0bd4914f867c8fa.jpg","text":"TemporaryFile(/tmp/multipartBody7782643915969350686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746207992930,"filename":"image_02052025_17_52_15_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355436465","file1":"1355436461","file0":"1355436454","file4":"1355436476","file5":"1355436479","file3":"1355436471"},"map_files_photo_id_array":[{"photo_id":"1355436479","filename":"file5"},{"photo_id":"1355436465","filename":"file2"},{"photo_id":"1355436476","filename":"file4"},{"photo_id":"1355436461","filename":"file1"},{"photo_id":"1355436454","filename":"file0"},{"photo_id":"1355436471","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355436476":["hashtag1","hashtag2"]},{"1355436479":["hashtag1","hashtag2"]},{"1355436461":["hashtag1","hashtag2"]},{"1355436454":["hashtag1","hashtag2"]},{"1355436471":["hashtag1","hashtag2"]},{"1355436465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355436476, 1355436479, 1355436461, 1355436454, 1355436471, 1355436465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78959131240845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:46:32.580700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/52/image_02052025_17_52_54_10401.jpg', '/home/pi/Desktop/images/02052025/17/52/image_02052025_17_53_05_10442.jpg', '/home/pi/Desktop/images/02052025/17/53/image_02052025_17_53_14_9357.jpg', '/home/pi/Desktop/images/02052025/17/53/image_02052025_17_53_25_10549.jpg', '/home/pi/Desktop/images/02052025/17/53/image_02052025_17_53_45_10367.jpg', '/home/pi/Desktop/images/02052025/17/53/image_02052025_17_54_04_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/52/image_02052025_17_52_54_10401.jpg
/home/pi/Desktop/images/02052025/17/52/image_02052025_17_53_05_10442.jpg
/home/pi/Desktop/images/02052025/17/53/image_02052025_17_53_14_9357.jpg
/home/pi/Desktop/images/02052025/17/53/image_02052025_17_53_25_10549.jpg
/home/pi/Desktop/images/02052025/17/53/image_02052025_17_53_45_10367.jpg
/home/pi/Desktop/images/02052025/17/53/image_02052025_17_54_04_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":["1355436522","1355436519","1355436515","1355436523","1355436517","1355436520"],"photo_ids_order":["1355436515","1355436517","1355436519","1355436520","1355436522","1355436523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ded9085232bcc8078ec2f0cba3db269e.jpg","text":"TemporaryFile(/tmp/multipartBody8166269312265690113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208053099,"filename":"image_02052025_17_53_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/5/2/f3f58099e6ef66312d6e077bc090f132.jpg","text":"TemporaryFile(/tmp/multipartBody6078070023679526310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208053099,"filename":"image_02052025_17_53_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fb20ea8a84fd7e94983cb9f0f21949b6.jpg","text":"TemporaryFile(/tmp/multipartBody8454801105962802021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208053099,"filename":"image_02052025_17_52_54_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6a24248a2087318f2786901abb3b5b8a.jpg","text":"TemporaryFile(/tmp/multipartBody9089557950169313024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208053099,"filename":"image_02052025_17_54_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/5/2/96956f2a8af5910fbd24f242286aa31f.jpg","text":"TemporaryFile(/tmp/multipartBody4831802183589152031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208053099,"filename":"image_02052025_17_53_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/5/2/6917baf7a24d45dfba6495480044c975.jpg","text":"TemporaryFile(/tmp/multipartBody8968341234045948958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208053099,"filename":"image_02052025_17_53_25_10549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355436519","file1":"1355436517","file0":"1355436515","file4":"1355436522","file5":"1355436523","file3":"1355436520"},"map_files_photo_id_array":[{"photo_id":"1355436523","filename":"file5"},{"photo_id":"1355436519","filename":"file2"},{"photo_id":"1355436522","filename":"file4"},{"photo_id":"1355436517","filename":"file1"},{"photo_id":"1355436515","filename":"file0"},{"photo_id":"1355436520","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355436522":["hashtag1","hashtag2"]},{"1355436519":["hashtag1","hashtag2"]},{"1355436515":["hashtag1","hashtag2"]},{"1355436523":["hashtag1","hashtag2"]},{"1355436517":["hashtag1","hashtag2"]},{"1355436520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355436522, 1355436519, 1355436515, 1355436523, 1355436517, 1355436520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.84997367858887 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:47:32.706690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/54/image_02052025_17_54_15_10354.jpg', '/home/pi/Desktop/images/02052025/17/54/image_02052025_17_54_24_9370.jpg', '/home/pi/Desktop/images/02052025/17/54/image_02052025_17_54_34_10428.jpg', '/home/pi/Desktop/images/02052025/17/54/image_02052025_17_54_45_10366.jpg', '/home/pi/Desktop/images/02052025/17/54/image_02052025_17_54_54_9354.jpg', '/home/pi/Desktop/images/02052025/17/54/image_02052025_17_55_05_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/54/image_02052025_17_54_15_10354.jpg
/home/pi/Desktop/images/02052025/17/54/image_02052025_17_54_24_9370.jpg
/home/pi/Desktop/images/02052025/17/54/image_02052025_17_54_34_10428.jpg
/home/pi/Desktop/images/02052025/17/54/image_02052025_17_54_45_10366.jpg
/home/pi/Desktop/images/02052025/17/54/image_02052025_17_54_54_9354.jpg
/home/pi/Desktop/images/02052025/17/54/image_02052025_17_55_05_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355436651","1355436648","1355436642","1355436650","1355436638","1355436646"],"photo_ids_order":["1355436638","1355436642","1355436646","1355436648","1355436650","1355436651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28895744857f6202070738c086d9810e.jpg","text":"TemporaryFile(/tmp/multipartBody2591440681897780832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208113208,"filename":"image_02052025_17_55_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/5/2/864c1e511ff8fda05d455da59c11b6c2.jpg","text":"TemporaryFile(/tmp/multipartBody1036068560827271283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208113208,"filename":"image_02052025_17_54_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e927bd09f1f9df001ea378d86e61970.jpg","text":"TemporaryFile(/tmp/multipartBody8507612116324944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208113208,"filename":"image_02052025_17_54_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/5/2/6ff25a245d0a116f95a3a87f30e56118.jpg","text":"TemporaryFile(/tmp/multipartBody7105171467174728769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208113208,"filename":"image_02052025_17_54_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d49f1643ae2ad86dd17ca4cc2968649.jpg","text":"TemporaryFile(/tmp/multipartBody6441013294096127418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208113208,"filename":"image_02052025_17_54_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/5/2/3a03ece99c286a365ebd68470d8ced8a.jpg","text":"TemporaryFile(/tmp/multipartBody8849368911984539951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208113208,"filename":"image_02052025_17_54_34_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355436646","file1":"1355436642","file0":"1355436638","file4":"1355436650","file5":"1355436651","file3":"1355436648"},"map_files_photo_id_array":[{"photo_id":"1355436651","filename":"file5"},{"photo_id":"1355436646","filename":"file2"},{"photo_id":"1355436650","filename":"file4"},{"photo_id":"1355436642","filename":"file1"},{"photo_id":"1355436638","filename":"file0"},{"photo_id":"1355436648","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355436651":["hashtag1","hashtag2"]},{"1355436648":["hashtag1","hashtag2"]},{"1355436642":["hashtag1","hashtag2"]},{"1355436650":["hashtag1","hashtag2"]},{"1355436638":["hashtag1","hashtag2"]},{"1355436646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355436651, 1355436648, 1355436642, 1355436650, 1355436638, 1355436646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.374003171920776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:48:32.912231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/55/image_02052025_17_55_14_9448.jpg', '/home/pi/Desktop/images/02052025/17/55/image_02052025_17_55_24_10276.jpg', '/home/pi/Desktop/images/02052025/17/55/image_02052025_17_55_35_10424.jpg', '/home/pi/Desktop/images/02052025/17/55/image_02052025_17_55_44_9320.jpg', '/home/pi/Desktop/images/02052025/17/55/image_02052025_17_55_55_10381.jpg', '/home/pi/Desktop/images/02052025/17/55/image_02052025_17_56_05_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/55/image_02052025_17_55_14_9448.jpg
/home/pi/Desktop/images/02052025/17/55/image_02052025_17_55_24_10276.jpg
/home/pi/Desktop/images/02052025/17/55/image_02052025_17_55_35_10424.jpg
/home/pi/Desktop/images/02052025/17/55/image_02052025_17_55_44_9320.jpg
/home/pi/Desktop/images/02052025/17/55/image_02052025_17_55_55_10381.jpg
/home/pi/Desktop/images/02052025/17/55/image_02052025_17_56_05_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355436698","1355436691","1355436685","1355436679","1355436673","1355436676"],"photo_ids_order":["1355436673","1355436676","1355436679","1355436685","1355436691","1355436698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28e4fe9565d5507fc33b47035d96e7b0.jpg","text":"TemporaryFile(/tmp/multipartBody3586707065534584966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208173408,"filename":"image_02052025_17_56_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d29a9e448c79365a72b9185e8e0e663.jpg","text":"TemporaryFile(/tmp/multipartBody4751482703342433734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208173408,"filename":"image_02052025_17_55_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec0d6ee957f405ea30db807195af7de6.jpg","text":"TemporaryFile(/tmp/multipartBody2930124935525001557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208173408,"filename":"image_02052025_17_55_44_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee0493994080fd962d198731fa86b3a8.jpg","text":"TemporaryFile(/tmp/multipartBody5548468975091295898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208173408,"filename":"image_02052025_17_55_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/5/2/5700773a4b8a5f6633bd7124f1f0b74e.jpg","text":"TemporaryFile(/tmp/multipartBody8015486716651097394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208173408,"filename":"image_02052025_17_55_14_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/823466f0a954fc955f53bbfa52c5a04b.jpg","text":"TemporaryFile(/tmp/multipartBody2450485104586781579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208173408,"filename":"image_02052025_17_55_24_10276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355436679","file1":"1355436676","file0":"1355436673","file4":"1355436691","file5":"1355436698","file3":"1355436685"},"map_files_photo_id_array":[{"photo_id":"1355436698","filename":"file5"},{"photo_id":"1355436679","filename":"file2"},{"photo_id":"1355436691","filename":"file4"},{"photo_id":"1355436676","filename":"file1"},{"photo_id":"1355436673","filename":"file0"},{"photo_id":"1355436685","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355436698":["hashtag1","hashtag2"]},{"1355436691":["hashtag1","hashtag2"]},{"1355436685":["hashtag1","hashtag2"]},{"1355436679":["hashtag1","hashtag2"]},{"1355436673":["hashtag1","hashtag2"]},{"1355436676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355436698, 1355436691, 1355436685, 1355436679, 1355436673, 1355436676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.348474979400635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:49:33.033428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/56/image_02052025_17_56_14_9387.jpg', '/home/pi/Desktop/images/02052025/17/56/image_02052025_17_56_25_10429.jpg', '/home/pi/Desktop/images/02052025/17/56/image_02052025_17_56_34_9355.jpg', '/home/pi/Desktop/images/02052025/17/56/image_02052025_17_56_44_10363.jpg', '/home/pi/Desktop/images/02052025/17/56/image_02052025_17_56_55_10438.jpg', '/home/pi/Desktop/images/02052025/17/56/image_02052025_17_57_04_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/56/image_02052025_17_56_14_9387.jpg
/home/pi/Desktop/images/02052025/17/56/image_02052025_17_56_25_10429.jpg
/home/pi/Desktop/images/02052025/17/56/image_02052025_17_56_34_9355.jpg
/home/pi/Desktop/images/02052025/17/56/image_02052025_17_56_44_10363.jpg
/home/pi/Desktop/images/02052025/17/56/image_02052025_17_56_55_10438.jpg
/home/pi/Desktop/images/02052025/17/56/image_02052025_17_57_04_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":["1355436791","1355436776","1355436779","1355436772","1355436781","1355436783"],"photo_ids_order":["1355436772","1355436776","1355436779","1355436781","1355436783","1355436791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a93864186d3844bf39d6d8281d043d1.jpg","text":"TemporaryFile(/tmp/multipartBody1069389772722025219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208233572,"filename":"image_02052025_17_57_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3ee24de78401e58ac8749cfcd415ea17.jpg","text":"TemporaryFile(/tmp/multipartBody7572789258286820898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208233572,"filename":"image_02052025_17_56_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/5/2/784f06aff5b85420f46b368d369fa1c9.jpg","text":"TemporaryFile(/tmp/multipartBody8852348080082890183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208233572,"filename":"image_02052025_17_56_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/5/2/87d68214dc1151cf9f3523db71341897.jpg","text":"TemporaryFile(/tmp/multipartBody3221738622033228852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208233572,"filename":"image_02052025_17_56_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/5/2/8977d5f2ae580cbf6b72b6e8a97a01f8.jpg","text":"TemporaryFile(/tmp/multipartBody3148344287770392567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208233572,"filename":"image_02052025_17_56_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/5/2/8b1277b8dcb65f0ecc3a3db830d7657f.jpg","text":"TemporaryFile(/tmp/multipartBody5213971642953307621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208233572,"filename":"image_02052025_17_56_55_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355436779","file1":"1355436776","file0":"1355436772","file4":"1355436783","file5":"1355436791","file3":"1355436781"},"map_files_photo_id_array":[{"photo_id":"1355436791","filename":"file5"},{"photo_id":"1355436779","filename":"file2"},{"photo_id":"1355436783","filename":"file4"},{"photo_id":"1355436776","filename":"file1"},{"photo_id":"1355436772","filename":"file0"},{"photo_id":"1355436781","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355436791":["hashtag1","hashtag2"]},{"1355436776":["hashtag1","hashtag2"]},{"1355436779":["hashtag1","hashtag2"]},{"1355436772":["hashtag1","hashtag2"]},{"1355436781":["hashtag1","hashtag2"]},{"1355436783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355436791, 1355436776, 1355436779, 1355436772, 1355436781, 1355436783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.273268699645996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:50:32.235924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/57/image_02052025_17_57_34_9379.jpg', '/home/pi/Desktop/images/02052025/17/57/image_02052025_17_57_45_10441.jpg', '/home/pi/Desktop/images/02052025/17/57/image_02052025_17_57_54_9370.jpg', '/home/pi/Desktop/images/02052025/17/57/image_02052025_17_58_05_10489.jpg', '/home/pi/Desktop/images/02052025/17/58/image_02052025_17_58_14_9364.jpg', '/home/pi/Desktop/images/02052025/17/58/image_02052025_17_58_24_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/57/image_02052025_17_57_34_9379.jpg
/home/pi/Desktop/images/02052025/17/57/image_02052025_17_57_45_10441.jpg
/home/pi/Desktop/images/02052025/17/57/image_02052025_17_57_54_9370.jpg
/home/pi/Desktop/images/02052025/17/57/image_02052025_17_58_05_10489.jpg
/home/pi/Desktop/images/02052025/17/58/image_02052025_17_58_14_9364.jpg
/home/pi/Desktop/images/02052025/17/58/image_02052025_17_58_24_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":["1355437052","1355437133","1355436953","1355436991","1355437021","1355437083"],"photo_ids_order":["1355436953","1355436991","1355437021","1355437052","1355437083","1355437133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1b81d1382578ba594d54bf25e496118.jpg","text":"TemporaryFile(/tmp/multipartBody3429518622084375289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208292702,"filename":"image_02052025_17_58_05_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e7876640a186f126d0f0d1202f1e44a.jpg","text":"TemporaryFile(/tmp/multipartBody7742434621696173442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208292702,"filename":"image_02052025_17_58_24_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d446efbce4c6c2d0fbdccbcab30b3e7.jpg","text":"TemporaryFile(/tmp/multipartBody1976273778280015422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208292702,"filename":"image_02052025_17_57_34_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fcc16a569ac498aabf2038f12b2801ea.jpg","text":"TemporaryFile(/tmp/multipartBody5447544893370461560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208292702,"filename":"image_02052025_17_57_45_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed7da658d81f217f68073aacd4d3a4d2.jpg","text":"TemporaryFile(/tmp/multipartBody288041350146022244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208292702,"filename":"image_02052025_17_57_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/5/2/050b71aaa92202935c7350e4905f023c.jpg","text":"TemporaryFile(/tmp/multipartBody754401092602584049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208292702,"filename":"image_02052025_17_58_14_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355437021","file1":"1355436991","file0":"1355436953","file4":"1355437083","file5":"1355437133","file3":"1355437052"},"map_files_photo_id_array":[{"photo_id":"1355437133","filename":"file5"},{"photo_id":"1355437021","filename":"file2"},{"photo_id":"1355437083","filename":"file4"},{"photo_id":"1355436991","filename":"file1"},{"photo_id":"1355436953","filename":"file0"},{"photo_id":"1355437052","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355437052":["hashtag1","hashtag2"]},{"1355437133":["hashtag1","hashtag2"]},{"1355436953":["hashtag1","hashtag2"]},{"1355436991":["hashtag1","hashtag2"]},{"1355437021":["hashtag1","hashtag2"]},{"1355437083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355437052, 1355437133, 1355436953, 1355436991, 1355437021, 1355437083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.462385416030884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:51:32.366843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/58/image_02052025_17_58_35_10445.jpg', '/home/pi/Desktop/images/02052025/17/58/image_02052025_17_58_44_9377.jpg', '/home/pi/Desktop/images/02052025/17/58/image_02052025_17_58_55_10554.jpg', '/home/pi/Desktop/images/02052025/17/58/image_02052025_17_59_04_9374.jpg', '/home/pi/Desktop/images/02052025/17/59/image_02052025_17_59_15_10433.jpg', '/home/pi/Desktop/images/02052025/17/59/image_02052025_17_59_24_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/58/image_02052025_17_58_35_10445.jpg
/home/pi/Desktop/images/02052025/17/58/image_02052025_17_58_44_9377.jpg
/home/pi/Desktop/images/02052025/17/58/image_02052025_17_58_55_10554.jpg
/home/pi/Desktop/images/02052025/17/58/image_02052025_17_59_04_9374.jpg
/home/pi/Desktop/images/02052025/17/59/image_02052025_17_59_15_10433.jpg
/home/pi/Desktop/images/02052025/17/59/image_02052025_17_59_24_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":["1355437224","1355437193","1355437220","1355437214","1355437210","1355437215"],"photo_ids_order":["1355437193","1355437210","1355437214","1355437215","1355437220","1355437224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0144fa702ff98756d4e8cc82890c2a00.jpg","text":"TemporaryFile(/tmp/multipartBody628412056207390843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208353173,"filename":"image_02052025_17_59_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/5/2/0de28296b2d94ba6eab798aadd98ca6c.jpg","text":"TemporaryFile(/tmp/multipartBody8765590080191263928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208353173,"filename":"image_02052025_17_58_35_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/667e72dfe0bcb203a68834c6475a5d34.jpg","text":"TemporaryFile(/tmp/multipartBody324956539137998013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208353173,"filename":"image_02052025_17_59_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/5/2/6f4d1598b76c2217c7b38b8493221f9f.jpg","text":"TemporaryFile(/tmp/multipartBody6699001824808703110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208353173,"filename":"image_02052025_17_58_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/5/2/ed9cc23b1d1d87b749a16bac81f906b9.jpg","text":"TemporaryFile(/tmp/multipartBody7444263551419440217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208353173,"filename":"image_02052025_17_58_44_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a472c60ff3da02d7a23aceadcfea4bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3640288582858455066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208353173,"filename":"image_02052025_17_59_04_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355437214","file1":"1355437210","file0":"1355437193","file4":"1355437220","file5":"1355437224","file3":"1355437215"},"map_files_photo_id_array":[{"photo_id":"1355437224","filename":"file5"},{"photo_id":"1355437214","filename":"file2"},{"photo_id":"1355437220","filename":"file4"},{"photo_id":"1355437210","filename":"file1"},{"photo_id":"1355437193","filename":"file0"},{"photo_id":"1355437215","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355437224":["hashtag1","hashtag2"]},{"1355437193":["hashtag1","hashtag2"]},{"1355437220":["hashtag1","hashtag2"]},{"1355437214":["hashtag1","hashtag2"]},{"1355437210":["hashtag1","hashtag2"]},{"1355437215":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355437224, 1355437193, 1355437220, 1355437214, 1355437210, 1355437215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.01807928085327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:52:32.554943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/17/59/image_02052025_17_59_34_10385.jpg', '/home/pi/Desktop/images/02052025/17/59/image_02052025_17_59_45_10464.jpg', '/home/pi/Desktop/images/02052025/17/59/image_02052025_17_59_54_9384.jpg', '/home/pi/Desktop/images/02052025/18/01/image_02052025_18_01_15_10077.jpg', '/home/pi/Desktop/images/02052025/18/01/image_02052025_18_01_35_10446.jpg', '/home/pi/Desktop/images/02052025/18/01/image_02052025_18_01_45_9201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/17/59/image_02052025_17_59_34_10385.jpg
/home/pi/Desktop/images/02052025/17/59/image_02052025_17_59_45_10464.jpg
/home/pi/Desktop/images/02052025/17/59/image_02052025_17_59_54_9384.jpg
/home/pi/Desktop/images/02052025/18/01/image_02052025_18_01_15_10077.jpg
/home/pi/Desktop/images/02052025/18/01/image_02052025_18_01_35_10446.jpg
/home/pi/Desktop/images/02052025/18/01/image_02052025_18_01_45_9201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355437256","1355437259","1355437238","1355437261","1355437252","1355437246"],"photo_ids_order":["1355437238","1355437246","1355437252","1355437256","1355437259","1355437261"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c5514378f7ca00c16075c4c8ab75a48.jpg","text":"TemporaryFile(/tmp/multipartBody3951984216986580812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208413053,"filename":"image_02052025_18_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/5/2/867302a120f5a290e9963c6473a96fc7.jpg","text":"TemporaryFile(/tmp/multipartBody7208011033346145818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208413053,"filename":"image_02052025_18_01_35_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7b192f873385d043db469e1f18791bad.jpg","text":"TemporaryFile(/tmp/multipartBody5086400696338129457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208413053,"filename":"image_02052025_17_59_34_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/892015bca5dbf90ef95b1e2214719d73.jpg","text":"TemporaryFile(/tmp/multipartBody8339025039120405550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208413053,"filename":"image_02052025_18_01_45_9201.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/68a9d2b5046fb15d77d5d9e4219cd3c0.jpg","text":"TemporaryFile(/tmp/multipartBody9047619590715977675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208413053,"filename":"image_02052025_17_59_54_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6a64008b98fbd589c433dd6f0aef419c.jpg","text":"TemporaryFile(/tmp/multipartBody2590902557711606742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208413053,"filename":"image_02052025_17_59_45_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355437252","file1":"1355437246","file0":"1355437238","file4":"1355437259","file5":"1355437261","file3":"1355437256"},"map_files_photo_id_array":[{"photo_id":"1355437261","filename":"file5"},{"photo_id":"1355437252","filename":"file2"},{"photo_id":"1355437259","filename":"file4"},{"photo_id":"1355437246","filename":"file1"},{"photo_id":"1355437238","filename":"file0"},{"photo_id":"1355437256","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355437256":["hashtag1","hashtag2"]},{"1355437259":["hashtag1","hashtag2"]},{"1355437238":["hashtag1","hashtag2"]},{"1355437261":["hashtag1","hashtag2"]},{"1355437252":["hashtag1","hashtag2"]},{"1355437246":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355437256, 1355437259, 1355437238, 1355437261, 1355437252, 1355437246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47805953025818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:53:32.767928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/01/image_02052025_18_02_04_9379.jpg', '/home/pi/Desktop/images/02052025/18/02/image_02052025_18_02_15_10533.jpg', '/home/pi/Desktop/images/02052025/18/02/image_02052025_18_02_25_10437.jpg', '/home/pi/Desktop/images/02052025/18/02/image_02052025_18_02_35_9465.jpg', '/home/pi/Desktop/images/02052025/18/05/image_02052025_18_05_35_10361.jpg', '/home/pi/Desktop/images/02052025/18/07/image_02052025_18_08_05_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/01/image_02052025_18_02_04_9379.jpg
/home/pi/Desktop/images/02052025/18/02/image_02052025_18_02_15_10533.jpg
/home/pi/Desktop/images/02052025/18/02/image_02052025_18_02_25_10437.jpg
/home/pi/Desktop/images/02052025/18/02/image_02052025_18_02_35_9465.jpg
/home/pi/Desktop/images/02052025/18/05/image_02052025_18_05_35_10361.jpg
/home/pi/Desktop/images/02052025/18/07/image_02052025_18_08_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":["1355437286","1355437307","1355437291","1355437310","1355437282","1355437299"],"photo_ids_order":["1355437282","1355437286","1355437291","1355437299","1355437307","1355437310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0eee83a6c06b5c5d94b4f8ee7c6b0946.jpg","text":"TemporaryFile(/tmp/multipartBody1864960560375018884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208473264,"filename":"image_02052025_18_02_15_10533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/79c4d651b9b78920906a23ab20c246a8.jpg","text":"TemporaryFile(/tmp/multipartBody3732436795063707789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208473264,"filename":"image_02052025_18_05_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/5/2/1e7cfa4d168d2a0f0ae468b7190c0ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7023629674089250475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208473264,"filename":"image_02052025_18_02_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/44bca4b00a4a73037c74049820cc919b.jpg","text":"TemporaryFile(/tmp/multipartBody4763664088154074681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208473264,"filename":"image_02052025_18_08_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/5/2/6a0bb9811df5b1a0c0b72c5b6bdbc050.jpg","text":"TemporaryFile(/tmp/multipartBody4155167814481277275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208473264,"filename":"image_02052025_18_02_04_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/725ff208209fa76a3f5a203c6bc8f5b1.jpg","text":"TemporaryFile(/tmp/multipartBody5032499357727809353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208473264,"filename":"image_02052025_18_02_35_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355437291","file1":"1355437286","file0":"1355437282","file4":"1355437307","file5":"1355437310","file3":"1355437299"},"map_files_photo_id_array":[{"photo_id":"1355437310","filename":"file5"},{"photo_id":"1355437291","filename":"file2"},{"photo_id":"1355437307","filename":"file4"},{"photo_id":"1355437286","filename":"file1"},{"photo_id":"1355437282","filename":"file0"},{"photo_id":"1355437299","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355437286":["hashtag1","hashtag2"]},{"1355437307":["hashtag1","hashtag2"]},{"1355437291":["hashtag1","hashtag2"]},{"1355437310":["hashtag1","hashtag2"]},{"1355437282":["hashtag1","hashtag2"]},{"1355437299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355437286, 1355437307, 1355437291, 1355437310, 1355437282, 1355437299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10192656517029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:54:32.856407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/08/image_02052025_18_09_05_10342.jpg', '/home/pi/Desktop/images/02052025/18/09/image_02052025_18_09_15_9472.jpg', '/home/pi/Desktop/images/02052025/18/10/image_02052025_18_10_35_9414.jpg', '/home/pi/Desktop/images/02052025/18/11/image_02052025_18_11_25_9405.jpg', '/home/pi/Desktop/images/02052025/18/11/image_02052025_18_11_35_10357.jpg', '/home/pi/Desktop/images/02052025/18/11/image_02052025_18_11_44_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/08/image_02052025_18_09_05_10342.jpg
/home/pi/Desktop/images/02052025/18/09/image_02052025_18_09_15_9472.jpg
/home/pi/Desktop/images/02052025/18/10/image_02052025_18_10_35_9414.jpg
/home/pi/Desktop/images/02052025/18/11/image_02052025_18_11_25_9405.jpg
/home/pi/Desktop/images/02052025/18/11/image_02052025_18_11_35_10357.jpg
/home/pi/Desktop/images/02052025/18/11/image_02052025_18_11_44_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":["1355437355","1355437334","1355437345","1355437339","1355437350","1355437353"],"photo_ids_order":["1355437334","1355437339","1355437345","1355437350","1355437353","1355437355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/362efdd86226b251c42811eb8f4d91ba.jpg","text":"TemporaryFile(/tmp/multipartBody6887299346242897702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208533333,"filename":"image_02052025_18_11_44_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a04062c0c8467897af7357fd8380a1b.jpg","text":"TemporaryFile(/tmp/multipartBody4264352522780002355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208533333,"filename":"image_02052025_18_09_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/5/2/b4ea7033a451e7a51d667ce2c31bfd3d.jpg","text":"TemporaryFile(/tmp/multipartBody4226789415356962286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208533333,"filename":"image_02052025_18_10_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fbed7e049d7049d6a0b6555b2ea76c73.jpg","text":"TemporaryFile(/tmp/multipartBody3032146448868059438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208533333,"filename":"image_02052025_18_09_15_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad878ef2895c2211fb7b6d5194cf3e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7898313571888605182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208533333,"filename":"image_02052025_18_11_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/5/2/b90cdff369d4a03ee3174d5152859a61.jpg","text":"TemporaryFile(/tmp/multipartBody6570872053122337413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208533333,"filename":"image_02052025_18_11_35_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355437345","file1":"1355437339","file0":"1355437334","file4":"1355437353","file5":"1355437355","file3":"1355437350"},"map_files_photo_id_array":[{"photo_id":"1355437355","filename":"file5"},{"photo_id":"1355437345","filename":"file2"},{"photo_id":"1355437353","filename":"file4"},{"photo_id":"1355437339","filename":"file1"},{"photo_id":"1355437334","filename":"file0"},{"photo_id":"1355437350","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355437355":["hashtag1","hashtag2"]},{"1355437334":["hashtag1","hashtag2"]},{"1355437345":["hashtag1","hashtag2"]},{"1355437339":["hashtag1","hashtag2"]},{"1355437350":["hashtag1","hashtag2"]},{"1355437353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355437355, 1355437334, 1355437345, 1355437339, 1355437350, 1355437353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29103398323059 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:55:33.252444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/11/image_02052025_18_11_55_10456.jpg', '/home/pi/Desktop/images/02052025/18/11/image_02052025_18_12_05_10400.jpg', '/home/pi/Desktop/images/02052025/18/12/image_02052025_18_12_15_9423.jpg', '/home/pi/Desktop/images/02052025/18/12/image_02052025_18_12_25_10349.jpg', '/home/pi/Desktop/images/02052025/18/12/image_02052025_18_12_35_10353.jpg', '/home/pi/Desktop/images/02052025/18/12/image_02052025_18_12_45_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/11/image_02052025_18_11_55_10456.jpg
/home/pi/Desktop/images/02052025/18/11/image_02052025_18_12_05_10400.jpg
/home/pi/Desktop/images/02052025/18/12/image_02052025_18_12_15_9423.jpg
/home/pi/Desktop/images/02052025/18/12/image_02052025_18_12_25_10349.jpg
/home/pi/Desktop/images/02052025/18/12/image_02052025_18_12_35_10353.jpg
/home/pi/Desktop/images/02052025/18/12/image_02052025_18_12_45_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":["1355437388","1355437384","1355437402","1355437405","1355437398","1355437380"],"photo_ids_order":["1355437380","1355437384","1355437388","1355437398","1355437402","1355437405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81621f4ef54b85ccd5202efa7b387cbb.jpg","text":"TemporaryFile(/tmp/multipartBody7615640461481909633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208593721,"filename":"image_02052025_18_12_15_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1692c46f51c28748c98ec7d9cd9dcbc.jpg","text":"TemporaryFile(/tmp/multipartBody1347753694341712170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208593721,"filename":"image_02052025_18_12_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/5/2/2f7d0c485db525f1e7a562c369a66398.jpg","text":"TemporaryFile(/tmp/multipartBody1057009485629565845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208593721,"filename":"image_02052025_18_12_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/5/2/9ed87c8eb6396fb9592222b59687494d.jpg","text":"TemporaryFile(/tmp/multipartBody30183924767069288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208593721,"filename":"image_02052025_18_12_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/5/2/5608ab185510f604a0435808b57d9816.jpg","text":"TemporaryFile(/tmp/multipartBody258521236777716153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208593721,"filename":"image_02052025_18_12_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/5/2/15993ce61a809abc22b64dca0afc2838.jpg","text":"TemporaryFile(/tmp/multipartBody1090914340381968606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208593721,"filename":"image_02052025_18_11_55_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355437388","file1":"1355437384","file0":"1355437380","file4":"1355437402","file5":"1355437405","file3":"1355437398"},"map_files_photo_id_array":[{"photo_id":"1355437405","filename":"file5"},{"photo_id":"1355437388","filename":"file2"},{"photo_id":"1355437402","filename":"file4"},{"photo_id":"1355437384","filename":"file1"},{"photo_id":"1355437380","filename":"file0"},{"photo_id":"1355437398","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355437388":["hashtag1","hashtag2"]},{"1355437384":["hashtag1","hashtag2"]},{"1355437402":["hashtag1","hashtag2"]},{"1355437405":["hashtag1","hashtag2"]},{"1355437398":["hashtag1","hashtag2"]},{"1355437380":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355437388, 1355437384, 1355437402, 1355437405, 1355437398, 1355437380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89922332763672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:56:32.519955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/12/image_02052025_18_12_55_10413.jpg', '/home/pi/Desktop/images/02052025/18/12/image_02052025_18_13_05_9347.jpg', '/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_15_10327.jpg', '/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_25_10430.jpg', '/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_35_9490.jpg', '/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/12/image_02052025_18_12_55_10413.jpg
/home/pi/Desktop/images/02052025/18/12/image_02052025_18_13_05_9347.jpg
/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_15_10327.jpg
/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_25_10430.jpg
/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_35_9490.jpg
/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_45_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355437481","1355437573","1355437447","1355437633","1355437537","1355437683"],"photo_ids_order":["1355437447","1355437481","1355437537","1355437573","1355437633","1355437683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1684657ea4cf5aa799425e1dcdfae20e.jpg","text":"TemporaryFile(/tmp/multipartBody9041909158504117981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208652998,"filename":"image_02052025_18_13_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/5/2/5ae6b7d05cda04a0a8fa71c5276b5098.jpg","text":"TemporaryFile(/tmp/multipartBody1275233903277789148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208652998,"filename":"image_02052025_18_13_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3ca38084a62d9f420b5e81b0ff558bec.jpg","text":"TemporaryFile(/tmp/multipartBody4276185206449462966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208652998,"filename":"image_02052025_18_12_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/5/2/957227a5f8641a36150ebbab8a44b52d.jpg","text":"TemporaryFile(/tmp/multipartBody3941576459053596753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208652998,"filename":"image_02052025_18_13_35_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da494eb9674986a4bd3a4d58ae770fce.jpg","text":"TemporaryFile(/tmp/multipartBody3515097511212017312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208652998,"filename":"image_02052025_18_13_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/5/2/7237101369a9c3266ba0393c6e100713.jpg","text":"TemporaryFile(/tmp/multipartBody8752926171249367175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208652998,"filename":"image_02052025_18_13_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355437537","file1":"1355437481","file0":"1355437447","file4":"1355437633","file5":"1355437683","file3":"1355437573"},"map_files_photo_id_array":[{"photo_id":"1355437683","filename":"file5"},{"photo_id":"1355437537","filename":"file2"},{"photo_id":"1355437633","filename":"file4"},{"photo_id":"1355437481","filename":"file1"},{"photo_id":"1355437447","filename":"file0"},{"photo_id":"1355437573","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355437481":["hashtag1","hashtag2"]},{"1355437573":["hashtag1","hashtag2"]},{"1355437447":["hashtag1","hashtag2"]},{"1355437633":["hashtag1","hashtag2"]},{"1355437537":["hashtag1","hashtag2"]},{"1355437683":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355437481, 1355437573, 1355437447, 1355437633, 1355437537, 1355437683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63920736312866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 19:57:32.727686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_55_9360.jpg', '/home/pi/Desktop/images/02052025/18/13/image_02052025_18_14_05_10454.jpg', '/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_15_10365.jpg', '/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_25_9412.jpg', '/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_35_10363.jpg', '/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_44_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_55_9360.jpg
/home/pi/Desktop/images/02052025/18/13/image_02052025_18_14_05_10454.jpg
/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_15_10365.jpg
/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_25_9412.jpg
/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_35_10363.jpg
/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_44_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 19:59:03.494396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_55_9360.jpg', '/home/pi/Desktop/images/02052025/18/13/image_02052025_18_14_05_10454.jpg', '/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_15_10365.jpg', '/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_25_9412.jpg', '/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_35_10363.jpg', '/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_44_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/13/image_02052025_18_13_55_9360.jpg
/home/pi/Desktop/images/02052025/18/13/image_02052025_18_14_05_10454.jpg
/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_15_10365.jpg
/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_25_9412.jpg
/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_35_10363.jpg
/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_44_9347.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355438429","1355438443","1355438455","1355438422","1355438436","1355438451"],"photo_ids_order":["1355438422","1355438429","1355438436","1355438443","1355438451","1355438455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f785578b7a50197651e7c1004a5b880f.jpg","text":"TemporaryFile(/tmp/multipartBody3369260240429804694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208804069,"filename":"image_02052025_18_14_05_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1897295eb0c61cd650ecc0b0f4c4e1b.jpg","text":"TemporaryFile(/tmp/multipartBody7192321505023501310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208804069,"filename":"image_02052025_18_14_25_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3192f2db166c483299f11eddf0d2d042.jpg","text":"TemporaryFile(/tmp/multipartBody4479440942470247238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208804069,"filename":"image_02052025_18_14_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b1ebca93682d3b044cd3e34abe59baf.jpg","text":"TemporaryFile(/tmp/multipartBody2917060656441041865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208804069,"filename":"image_02052025_18_13_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/5/2/a892471820a191dda2f6ce682bcb26d6.jpg","text":"TemporaryFile(/tmp/multipartBody4022220046896466937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208804069,"filename":"image_02052025_18_14_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fcf63ee649b360e32c297110df108683.jpg","text":"TemporaryFile(/tmp/multipartBody7966610119584371716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208804069,"filename":"image_02052025_18_14_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355438436","file1":"1355438429","file0":"1355438422","file4":"1355438451","file5":"1355438455","file3":"1355438443"},"map_files_photo_id_array":[{"photo_id":"1355438455","filename":"file5"},{"photo_id":"1355438436","filename":"file2"},{"photo_id":"1355438451","filename":"file4"},{"photo_id":"1355438429","filename":"file1"},{"photo_id":"1355438422","filename":"file0"},{"photo_id":"1355438443","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355438429":["hashtag1","hashtag2"]},{"1355438443":["hashtag1","hashtag2"]},{"1355438455":["hashtag1","hashtag2"]},{"1355438422":["hashtag1","hashtag2"]},{"1355438436":["hashtag1","hashtag2"]},{"1355438451":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355438429, 1355438443, 1355438455, 1355438422, 1355438436, 1355438451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73431181907654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 19:59:42.561770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_55_10465.jpg', '/home/pi/Desktop/images/02052025/18/14/image_02052025_18_15_05_10354.jpg', '/home/pi/Desktop/images/02052025/18/15/image_02052025_18_15_15_9389.jpg', '/home/pi/Desktop/images/02052025/18/15/image_02052025_18_15_25_10449.jpg', '/home/pi/Desktop/images/02052025/18/15/image_02052025_18_15_34_9342.jpg', '/home/pi/Desktop/images/02052025/18/15/image_02052025_18_15_55_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/14/image_02052025_18_14_55_10465.jpg
/home/pi/Desktop/images/02052025/18/14/image_02052025_18_15_05_10354.jpg
/home/pi/Desktop/images/02052025/18/15/image_02052025_18_15_15_9389.jpg
/home/pi/Desktop/images/02052025/18/15/image_02052025_18_15_25_10449.jpg
/home/pi/Desktop/images/02052025/18/15/image_02052025_18_15_34_9342.jpg
/home/pi/Desktop/images/02052025/18/15/image_02052025_18_15_55_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355438464","1355438475","1355438469","1355438483","1355438492","1355438465"],"photo_ids_order":["1355438464","1355438465","1355438469","1355438475","1355438483","1355438492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3b0330c714205f3c4074ac97540164e.jpg","text":"TemporaryFile(/tmp/multipartBody8336963228396218562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208843052,"filename":"image_02052025_18_14_55_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f497f5646dded0de1a433975e670f459.jpg","text":"TemporaryFile(/tmp/multipartBody6544111137025323700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208843052,"filename":"image_02052025_18_15_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/5/2/fb0e988def149608da8218141244b3f7.jpg","text":"TemporaryFile(/tmp/multipartBody1628944647377493424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208843052,"filename":"image_02052025_18_15_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/5/2/6b5f0d021e55a3c6d64775fe6928ab2c.jpg","text":"TemporaryFile(/tmp/multipartBody3006548324396324794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208843052,"filename":"image_02052025_18_15_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/5/2/17184f0ddb036dd9ef98388d8aeef2b9.jpg","text":"TemporaryFile(/tmp/multipartBody1744181790990200302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208843052,"filename":"image_02052025_18_15_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e88419bc579a1e39ceb765b8dc19d7c5.jpg","text":"TemporaryFile(/tmp/multipartBody7333638568866055772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208843052,"filename":"image_02052025_18_15_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355438469","file1":"1355438465","file0":"1355438464","file4":"1355438483","file5":"1355438492","file3":"1355438475"},"map_files_photo_id_array":[{"photo_id":"1355438492","filename":"file5"},{"photo_id":"1355438469","filename":"file2"},{"photo_id":"1355438483","filename":"file4"},{"photo_id":"1355438465","filename":"file1"},{"photo_id":"1355438464","filename":"file0"},{"photo_id":"1355438475","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355438464":["hashtag1","hashtag2"]},{"1355438475":["hashtag1","hashtag2"]},{"1355438469":["hashtag1","hashtag2"]},{"1355438483":["hashtag1","hashtag2"]},{"1355438492":["hashtag1","hashtag2"]},{"1355438465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355438464, 1355438475, 1355438469, 1355438483, 1355438492, 1355438465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.461522340774536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:00:32.668468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/15/image_02052025_18_16_05_9412.jpg', '/home/pi/Desktop/images/02052025/18/16/image_02052025_18_16_15_10345.jpg', '/home/pi/Desktop/images/02052025/18/16/image_02052025_18_16_25_10373.jpg', '/home/pi/Desktop/images/02052025/18/16/image_02052025_18_16_35_9331.jpg', '/home/pi/Desktop/images/02052025/18/16/image_02052025_18_16_45_10455.jpg', '/home/pi/Desktop/images/02052025/18/16/image_02052025_18_16_55_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/15/image_02052025_18_16_05_9412.jpg
/home/pi/Desktop/images/02052025/18/16/image_02052025_18_16_15_10345.jpg
/home/pi/Desktop/images/02052025/18/16/image_02052025_18_16_25_10373.jpg
/home/pi/Desktop/images/02052025/18/16/image_02052025_18_16_35_9331.jpg
/home/pi/Desktop/images/02052025/18/16/image_02052025_18_16_45_10455.jpg
/home/pi/Desktop/images/02052025/18/16/image_02052025_18_16_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":["1355438513","1355438527","1355438521","1355438509","1355438517","1355438511"],"photo_ids_order":["1355438509","1355438511","1355438513","1355438517","1355438521","1355438527"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1454f70602c58a595d1e5f97f3e31f38.jpg","text":"TemporaryFile(/tmp/multipartBody3721729918535360488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208893149,"filename":"image_02052025_18_16_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/45762f7284758557e6daa2dd3c4c8374.jpg","text":"TemporaryFile(/tmp/multipartBody9141415387186015877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208893149,"filename":"image_02052025_18_16_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/5/2/7af69595e179028459fcd09151c5dd5b.jpg","text":"TemporaryFile(/tmp/multipartBody719418712425430861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208893149,"filename":"image_02052025_18_16_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/5/2/63bf4b008a6d8fbd51e7ba0ec7a13761.jpg","text":"TemporaryFile(/tmp/multipartBody7440694059328641745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208893149,"filename":"image_02052025_18_16_05_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ad1924878b7116eb9916d55872c332a7.jpg","text":"TemporaryFile(/tmp/multipartBody7805233776564645692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208893149,"filename":"image_02052025_18_16_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/5/2/22712849d0a4305656a5f0dcf687a23f.jpg","text":"TemporaryFile(/tmp/multipartBody8226265831271412521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208893149,"filename":"image_02052025_18_16_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355438513","file1":"1355438511","file0":"1355438509","file4":"1355438521","file5":"1355438527","file3":"1355438517"},"map_files_photo_id_array":[{"photo_id":"1355438527","filename":"file5"},{"photo_id":"1355438513","filename":"file2"},{"photo_id":"1355438521","filename":"file4"},{"photo_id":"1355438511","filename":"file1"},{"photo_id":"1355438509","filename":"file0"},{"photo_id":"1355438517","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355438513":["hashtag1","hashtag2"]},{"1355438527":["hashtag1","hashtag2"]},{"1355438521":["hashtag1","hashtag2"]},{"1355438509":["hashtag1","hashtag2"]},{"1355438517":["hashtag1","hashtag2"]},{"1355438511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355438513, 1355438527, 1355438521, 1355438509, 1355438517, 1355438511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52708315849304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:01:32.852830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/16/image_02052025_18_17_05_10351.jpg', '/home/pi/Desktop/images/02052025/18/17/image_02052025_18_17_15_10341.jpg', '/home/pi/Desktop/images/02052025/18/17/image_02052025_18_17_25_9447.jpg', '/home/pi/Desktop/images/02052025/18/17/image_02052025_18_17_35_10454.jpg', '/home/pi/Desktop/images/02052025/18/17/image_02052025_18_17_44_9358.jpg', '/home/pi/Desktop/images/02052025/18/17/image_02052025_18_17_55_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/16/image_02052025_18_17_05_10351.jpg
/home/pi/Desktop/images/02052025/18/17/image_02052025_18_17_15_10341.jpg
/home/pi/Desktop/images/02052025/18/17/image_02052025_18_17_25_9447.jpg
/home/pi/Desktop/images/02052025/18/17/image_02052025_18_17_35_10454.jpg
/home/pi/Desktop/images/02052025/18/17/image_02052025_18_17_44_9358.jpg
/home/pi/Desktop/images/02052025/18/17/image_02052025_18_17_55_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355438627","1355438624","1355438641","1355438638","1355438610","1355438579"],"photo_ids_order":["1355438579","1355438610","1355438624","1355438627","1355438638","1355438641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/66a76a0740b3c79103adb4ebc2870c20.jpg","text":"TemporaryFile(/tmp/multipartBody792247913292878704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208953714,"filename":"image_02052025_18_17_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/5/2/9a5fb96818f00e8c7fe04b302fbb66da.jpg","text":"TemporaryFile(/tmp/multipartBody3794883088739881198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208953714,"filename":"image_02052025_18_17_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/5/2/758264b3089edbb92acccc36e92bbd2d.jpg","text":"TemporaryFile(/tmp/multipartBody595189371992595401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208953714,"filename":"image_02052025_18_17_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/70141efb611f83aefb76f2a664a4277b.jpg","text":"TemporaryFile(/tmp/multipartBody1012344028181233966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208953714,"filename":"image_02052025_18_17_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b4d6601f84587cc7a2f3f8f08302d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7343108744370772636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208953714,"filename":"image_02052025_18_17_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/5/2/37c716c9309c715f21383828bf2f4a87.jpg","text":"TemporaryFile(/tmp/multipartBody1247030544060000980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746208953714,"filename":"image_02052025_18_17_05_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355438624","file1":"1355438610","file0":"1355438579","file4":"1355438638","file5":"1355438641","file3":"1355438627"},"map_files_photo_id_array":[{"photo_id":"1355438641","filename":"file5"},{"photo_id":"1355438624","filename":"file2"},{"photo_id":"1355438638","filename":"file4"},{"photo_id":"1355438610","filename":"file1"},{"photo_id":"1355438579","filename":"file0"},{"photo_id":"1355438627","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355438627":["hashtag1","hashtag2"]},{"1355438624":["hashtag1","hashtag2"]},{"1355438641":["hashtag1","hashtag2"]},{"1355438638":["hashtag1","hashtag2"]},{"1355438610":["hashtag1","hashtag2"]},{"1355438579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355438627, 1355438624, 1355438641, 1355438638, 1355438610, 1355438579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.31690263748169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 20:02:43.015723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/17/image_02052025_18_18_05_10428.jpg', '/home/pi/Desktop/images/02052025/18/18/image_02052025_18_18_15_9487.jpg', '/home/pi/Desktop/images/02052025/18/18/image_02052025_18_18_25_10383.jpg', '/home/pi/Desktop/images/02052025/18/18/image_02052025_18_18_35_9348.jpg', '/home/pi/Desktop/images/02052025/18/18/image_02052025_18_18_45_10457.jpg', '/home/pi/Desktop/images/02052025/18/18/image_02052025_18_18_55_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/17/image_02052025_18_18_05_10428.jpg
/home/pi/Desktop/images/02052025/18/18/image_02052025_18_18_15_9487.jpg
/home/pi/Desktop/images/02052025/18/18/image_02052025_18_18_25_10383.jpg
/home/pi/Desktop/images/02052025/18/18/image_02052025_18_18_35_9348.jpg
/home/pi/Desktop/images/02052025/18/18/image_02052025_18_18_45_10457.jpg
/home/pi/Desktop/images/02052025/18/18/image_02052025_18_18_55_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355438687","1355438654","1355438668","1355438683","1355438662","1355438681"],"photo_ids_order":["1355438654","1355438662","1355438668","1355438681","1355438683","1355438687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6787ecd047cc58a2a69014782b91cdbf.jpg","text":"TemporaryFile(/tmp/multipartBody6947634106212918795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209023568,"filename":"image_02052025_18_18_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/5/2/c152a858cff0c25f193304892c745d91.jpg","text":"TemporaryFile(/tmp/multipartBody1546765072825842626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209023568,"filename":"image_02052025_18_18_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d171b0cb248e5e2179ac212b1ec5f358.jpg","text":"TemporaryFile(/tmp/multipartBody818402197026796784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209023568,"filename":"image_02052025_18_18_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/5/2/994e9d7764cfac97ede67254676bd9d9.jpg","text":"TemporaryFile(/tmp/multipartBody6644034684258576265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209023568,"filename":"image_02052025_18_18_45_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c7c16004f5a88c091d272493477fcff.jpg","text":"TemporaryFile(/tmp/multipartBody2119670205635024891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209023568,"filename":"image_02052025_18_18_15_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d21a3582a3b1dfa46434c71ba3d4c04.jpg","text":"TemporaryFile(/tmp/multipartBody1097026931759555013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209023568,"filename":"image_02052025_18_18_35_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355438668","file1":"1355438662","file0":"1355438654","file4":"1355438683","file5":"1355438687","file3":"1355438681"},"map_files_photo_id_array":[{"photo_id":"1355438687","filename":"file5"},{"photo_id":"1355438668","filename":"file2"},{"photo_id":"1355438683","filename":"file4"},{"photo_id":"1355438662","filename":"file1"},{"photo_id":"1355438654","filename":"file0"},{"photo_id":"1355438681","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355438687":["hashtag1","hashtag2"]},{"1355438654":["hashtag1","hashtag2"]},{"1355438668":["hashtag1","hashtag2"]},{"1355438683":["hashtag1","hashtag2"]},{"1355438662":["hashtag1","hashtag2"]},{"1355438681":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355438687, 1355438654, 1355438668, 1355438683, 1355438662, 1355438681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.80132484436035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 20:03:42.272652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/19/image_02052025_18_19_15_10357.jpg', '/home/pi/Desktop/images/02052025/18/19/image_02052025_18_19_24_9369.jpg', '/home/pi/Desktop/images/02052025/18/19/image_02052025_18_19_35_10360.jpg', '/home/pi/Desktop/images/02052025/18/19/image_02052025_18_19_45_10384.jpg', '/home/pi/Desktop/images/02052025/18/19/image_02052025_18_20_05_10359.jpg', '/home/pi/Desktop/images/02052025/18/20/image_02052025_18_20_25_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/19/image_02052025_18_19_15_10357.jpg
/home/pi/Desktop/images/02052025/18/19/image_02052025_18_19_24_9369.jpg
/home/pi/Desktop/images/02052025/18/19/image_02052025_18_19_35_10360.jpg
/home/pi/Desktop/images/02052025/18/19/image_02052025_18_19_45_10384.jpg
/home/pi/Desktop/images/02052025/18/19/image_02052025_18_20_05_10359.jpg
/home/pi/Desktop/images/02052025/18/20/image_02052025_18_20_25_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":["1355438711","1355438714","1355438722","1355438707","1355438701","1355438718"],"photo_ids_order":["1355438701","1355438707","1355438711","1355438714","1355438718","1355438722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a253a806b2d457b1b42240de363cc4c3.jpg","text":"TemporaryFile(/tmp/multipartBody5135016348774938081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209082745,"filename":"image_02052025_18_19_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/5/2/d78ac8e5482b6ddd843bef4375719702.jpg","text":"TemporaryFile(/tmp/multipartBody8983703899184928697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209082745,"filename":"image_02052025_18_19_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/5/2/b1c6afc49438606019e3cb19bed27ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8535482600074468310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209082745,"filename":"image_02052025_18_20_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/5/2/824bd416545e1a3bbdca19cf915a0bf5.jpg","text":"TemporaryFile(/tmp/multipartBody2991054139760927790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209082745,"filename":"image_02052025_18_19_24_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b301aa83b5d2bfca2a66de5d3fd013fb.jpg","text":"TemporaryFile(/tmp/multipartBody5327565234647795456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209082745,"filename":"image_02052025_18_19_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/5/2/cda2023972c6940a600e49d23cf4b9d7.jpg","text":"TemporaryFile(/tmp/multipartBody4937694565410335765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209082745,"filename":"image_02052025_18_20_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355438711","file1":"1355438707","file0":"1355438701","file4":"1355438718","file5":"1355438722","file3":"1355438714"},"map_files_photo_id_array":[{"photo_id":"1355438722","filename":"file5"},{"photo_id":"1355438711","filename":"file2"},{"photo_id":"1355438718","filename":"file4"},{"photo_id":"1355438707","filename":"file1"},{"photo_id":"1355438701","filename":"file0"},{"photo_id":"1355438714","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355438711":["hashtag1","hashtag2"]},{"1355438714":["hashtag1","hashtag2"]},{"1355438722":["hashtag1","hashtag2"]},{"1355438707":["hashtag1","hashtag2"]},{"1355438701":["hashtag1","hashtag2"]},{"1355438718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355438711, 1355438714, 1355438722, 1355438707, 1355438701, 1355438718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48361563682556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:04:32.371935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/20/image_02052025_18_20_35_10348.jpg', '/home/pi/Desktop/images/02052025/18/20/image_02052025_18_20_45_10350.jpg', '/home/pi/Desktop/images/02052025/18/20/image_02052025_18_20_55_9478.jpg', '/home/pi/Desktop/images/02052025/18/20/image_02052025_18_21_05_10364.jpg', '/home/pi/Desktop/images/02052025/18/21/image_02052025_18_21_15_9424.jpg', '/home/pi/Desktop/images/02052025/18/21/image_02052025_18_21_35_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/20/image_02052025_18_20_35_10348.jpg
/home/pi/Desktop/images/02052025/18/20/image_02052025_18_20_45_10350.jpg
/home/pi/Desktop/images/02052025/18/20/image_02052025_18_20_55_9478.jpg
/home/pi/Desktop/images/02052025/18/20/image_02052025_18_21_05_10364.jpg
/home/pi/Desktop/images/02052025/18/21/image_02052025_18_21_15_9424.jpg
/home/pi/Desktop/images/02052025/18/21/image_02052025_18_21_35_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355438759","1355438779","1355438740","1355438746","1355438742","1355438777"],"photo_ids_order":["1355438740","1355438742","1355438746","1355438759","1355438777","1355438779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/13c2d1b3e367b472dce0820e81bb0448.jpg","text":"TemporaryFile(/tmp/multipartBody7223267468900685758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209132845,"filename":"image_02052025_18_21_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/5/2/8faecf54a40b52d3c61f074dad6369a9.jpg","text":"TemporaryFile(/tmp/multipartBody7288922848540759809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209132845,"filename":"image_02052025_18_21_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/5/2/7d76a9ac564f09b22793b27ef120d2c8.jpg","text":"TemporaryFile(/tmp/multipartBody6377827060406494479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209132845,"filename":"image_02052025_18_20_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/5/2/422a3030130250177379ed5fb4e9171e.jpg","text":"TemporaryFile(/tmp/multipartBody3507735578989584683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209132845,"filename":"image_02052025_18_20_55_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ccdc7da646fa762503e6c05553f6ed1.jpg","text":"TemporaryFile(/tmp/multipartBody6165409621671924853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209132845,"filename":"image_02052025_18_20_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/5/2/1e44c528a2b5915bf032dfd31d8bd403.jpg","text":"TemporaryFile(/tmp/multipartBody5388901050642472892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209132845,"filename":"image_02052025_18_21_15_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355438746","file1":"1355438742","file0":"1355438740","file4":"1355438777","file5":"1355438779","file3":"1355438759"},"map_files_photo_id_array":[{"photo_id":"1355438779","filename":"file5"},{"photo_id":"1355438746","filename":"file2"},{"photo_id":"1355438777","filename":"file4"},{"photo_id":"1355438742","filename":"file1"},{"photo_id":"1355438740","filename":"file0"},{"photo_id":"1355438759","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355438759":["hashtag1","hashtag2"]},{"1355438779":["hashtag1","hashtag2"]},{"1355438740":["hashtag1","hashtag2"]},{"1355438746":["hashtag1","hashtag2"]},{"1355438742":["hashtag1","hashtag2"]},{"1355438777":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355438759, 1355438779, 1355438740, 1355438746, 1355438742, 1355438777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.76109170913696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:05:32.546430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/21/image_02052025_18_21_45_9339.jpg', '/home/pi/Desktop/images/02052025/18/21/image_02052025_18_21_55_10368.jpg', '/home/pi/Desktop/images/02052025/18/22/image_02052025_18_22_15_10413.jpg', '/home/pi/Desktop/images/02052025/18/22/image_02052025_18_22_25_10373.jpg', '/home/pi/Desktop/images/02052025/18/22/image_02052025_18_23_05_10454.jpg', '/home/pi/Desktop/images/02052025/18/23/image_02052025_18_23_15_10316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/21/image_02052025_18_21_45_9339.jpg
/home/pi/Desktop/images/02052025/18/21/image_02052025_18_21_55_10368.jpg
/home/pi/Desktop/images/02052025/18/22/image_02052025_18_22_15_10413.jpg
/home/pi/Desktop/images/02052025/18/22/image_02052025_18_22_25_10373.jpg
/home/pi/Desktop/images/02052025/18/22/image_02052025_18_23_05_10454.jpg
/home/pi/Desktop/images/02052025/18/23/image_02052025_18_23_15_10316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355438810","1355438806","1355438796","1355438814","1355438817","1355438802"],"photo_ids_order":["1355438796","1355438802","1355438806","1355438810","1355438814","1355438817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4dee12db3dd7ad12df8346ec8c9a978.jpg","text":"TemporaryFile(/tmp/multipartBody7511260861561784236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209193033,"filename":"image_02052025_18_22_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fe1b5889c007a1b401761629ea0db336.jpg","text":"TemporaryFile(/tmp/multipartBody3105279413729317432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209193033,"filename":"image_02052025_18_22_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/5/2/734a1b160548fa30ca3746f0013048e9.jpg","text":"TemporaryFile(/tmp/multipartBody5759887331767960883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209193033,"filename":"image_02052025_18_21_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9751cc2858cac062c86bd4f409543885.jpg","text":"TemporaryFile(/tmp/multipartBody8335715455916695562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209193033,"filename":"image_02052025_18_23_05_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6a2d642d316f9a11cec62634f331176.jpg","text":"TemporaryFile(/tmp/multipartBody7083355620215055402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209193033,"filename":"image_02052025_18_23_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/5/2/6062afc028b776c28b65ddad884da614.jpg","text":"TemporaryFile(/tmp/multipartBody1345107999342581305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209193033,"filename":"image_02052025_18_21_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355438806","file1":"1355438802","file0":"1355438796","file4":"1355438814","file5":"1355438817","file3":"1355438810"},"map_files_photo_id_array":[{"photo_id":"1355438817","filename":"file5"},{"photo_id":"1355438806","filename":"file2"},{"photo_id":"1355438814","filename":"file4"},{"photo_id":"1355438802","filename":"file1"},{"photo_id":"1355438796","filename":"file0"},{"photo_id":"1355438810","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355438810":["hashtag1","hashtag2"]},{"1355438806":["hashtag1","hashtag2"]},{"1355438796":["hashtag1","hashtag2"]},{"1355438814":["hashtag1","hashtag2"]},{"1355438817":["hashtag1","hashtag2"]},{"1355438802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355438810, 1355438806, 1355438796, 1355438814, 1355438817, 1355438802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90191173553467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:06:32.738672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/23/image_02052025_18_23_25_9429.jpg', '/home/pi/Desktop/images/02052025/18/23/image_02052025_18_23_45_10347.jpg', '/home/pi/Desktop/images/02052025/18/23/image_02052025_18_23_55_9444.jpg', '/home/pi/Desktop/images/02052025/18/23/image_02052025_18_24_05_10428.jpg', '/home/pi/Desktop/images/02052025/18/24/image_02052025_18_24_34_9350.jpg', '/home/pi/Desktop/images/02052025/18/24/image_02052025_18_25_05_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/23/image_02052025_18_23_25_9429.jpg
/home/pi/Desktop/images/02052025/18/23/image_02052025_18_23_45_10347.jpg
/home/pi/Desktop/images/02052025/18/23/image_02052025_18_23_55_9444.jpg
/home/pi/Desktop/images/02052025/18/23/image_02052025_18_24_05_10428.jpg
/home/pi/Desktop/images/02052025/18/24/image_02052025_18_24_34_9350.jpg
/home/pi/Desktop/images/02052025/18/24/image_02052025_18_25_05_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355438866","1355438845","1355438871","1355438859","1355438850","1355438873"],"photo_ids_order":["1355438845","1355438850","1355438859","1355438866","1355438871","1355438873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63bd341ede95b2ca51b453ee5782d31f.jpg","text":"TemporaryFile(/tmp/multipartBody8837704155718080306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209253211,"filename":"image_02052025_18_24_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11ad108f1222d9097c9fd2b822429f96.jpg","text":"TemporaryFile(/tmp/multipartBody523967668621562843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209253211,"filename":"image_02052025_18_23_25_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e5eed526ebda3e413089e3046f581326.jpg","text":"TemporaryFile(/tmp/multipartBody6378620953630512512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209253211,"filename":"image_02052025_18_24_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/5/2/4bd1b3ad19124445d0cadb52c7dcd00a.jpg","text":"TemporaryFile(/tmp/multipartBody7542135951941046886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209253211,"filename":"image_02052025_18_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/5/2/77e729c7ac21549dbd2ca92ba5ec9607.jpg","text":"TemporaryFile(/tmp/multipartBody7349393150808807257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209253211,"filename":"image_02052025_18_23_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/5/2/758f0df176b9fb3f0cf6a3d29d5adac7.jpg","text":"TemporaryFile(/tmp/multipartBody6598712727196368551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209253211,"filename":"image_02052025_18_25_05_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355438859","file1":"1355438850","file0":"1355438845","file4":"1355438871","file5":"1355438873","file3":"1355438866"},"map_files_photo_id_array":[{"photo_id":"1355438873","filename":"file5"},{"photo_id":"1355438859","filename":"file2"},{"photo_id":"1355438871","filename":"file4"},{"photo_id":"1355438850","filename":"file1"},{"photo_id":"1355438845","filename":"file0"},{"photo_id":"1355438866","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355438866":["hashtag1","hashtag2"]},{"1355438845":["hashtag1","hashtag2"]},{"1355438871":["hashtag1","hashtag2"]},{"1355438859":["hashtag1","hashtag2"]},{"1355438850":["hashtag1","hashtag2"]},{"1355438873":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355438866, 1355438845, 1355438871, 1355438859, 1355438850, 1355438873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.223012924194336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:07:32.964500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/25/image_02052025_18_25_15_10374.jpg', '/home/pi/Desktop/images/02052025/18/25/image_02052025_18_25_25_10370.jpg', '/home/pi/Desktop/images/02052025/18/25/image_02052025_18_25_35_9466.jpg', '/home/pi/Desktop/images/02052025/18/25/image_02052025_18_25_45_10375.jpg', '/home/pi/Desktop/images/02052025/18/25/image_02052025_18_25_55_9467.jpg', '/home/pi/Desktop/images/02052025/18/25/image_02052025_18_26_05_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/25/image_02052025_18_25_15_10374.jpg
/home/pi/Desktop/images/02052025/18/25/image_02052025_18_25_25_10370.jpg
/home/pi/Desktop/images/02052025/18/25/image_02052025_18_25_35_9466.jpg
/home/pi/Desktop/images/02052025/18/25/image_02052025_18_25_45_10375.jpg
/home/pi/Desktop/images/02052025/18/25/image_02052025_18_25_55_9467.jpg
/home/pi/Desktop/images/02052025/18/25/image_02052025_18_26_05_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355438911","1355438895","1355438898","1355438907","1355438901","1355438904"],"photo_ids_order":["1355438895","1355438898","1355438901","1355438904","1355438907","1355438911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f14aa0072dc3efb86af084611eb03055.jpg","text":"TemporaryFile(/tmp/multipartBody7588660642697212592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209313428,"filename":"image_02052025_18_26_05_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e61c9e2da01fe563f44187c5793b03a.jpg","text":"TemporaryFile(/tmp/multipartBody3242832827982653755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209313428,"filename":"image_02052025_18_25_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/5/2/f018dcbac3ca41246242fd2d71231593.jpg","text":"TemporaryFile(/tmp/multipartBody8748788645943648785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209313428,"filename":"image_02052025_18_25_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/5/2/88d6a71b3bfa8fd5f7668e3a5d3c917e.jpg","text":"TemporaryFile(/tmp/multipartBody4877673577958327620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209313428,"filename":"image_02052025_18_25_55_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e2dddb7a2948ecd18af33e7d04fe836e.jpg","text":"TemporaryFile(/tmp/multipartBody8656091373316129966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209313428,"filename":"image_02052025_18_25_35_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58b00c7febf67bde5ea725dabbdd4ff0.jpg","text":"TemporaryFile(/tmp/multipartBody3767272642814227130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209313428,"filename":"image_02052025_18_25_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355438901","file1":"1355438898","file0":"1355438895","file4":"1355438907","file5":"1355438911","file3":"1355438904"},"map_files_photo_id_array":[{"photo_id":"1355438911","filename":"file5"},{"photo_id":"1355438901","filename":"file2"},{"photo_id":"1355438907","filename":"file4"},{"photo_id":"1355438898","filename":"file1"},{"photo_id":"1355438895","filename":"file0"},{"photo_id":"1355438904","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355438911":["hashtag1","hashtag2"]},{"1355438895":["hashtag1","hashtag2"]},{"1355438898":["hashtag1","hashtag2"]},{"1355438907":["hashtag1","hashtag2"]},{"1355438901":["hashtag1","hashtag2"]},{"1355438904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355438911, 1355438895, 1355438898, 1355438907, 1355438901, 1355438904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.543073892593384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:08:32.249226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/26/image_02052025_18_26_15_9462.jpg', '/home/pi/Desktop/images/02052025/18/26/image_02052025_18_26_25_10364.jpg', '/home/pi/Desktop/images/02052025/18/26/image_02052025_18_26_35_10341.jpg', '/home/pi/Desktop/images/02052025/18/26/image_02052025_18_26_45_9360.jpg', '/home/pi/Desktop/images/02052025/18/26/image_02052025_18_26_55_10368.jpg', '/home/pi/Desktop/images/02052025/18/27/image_02052025_18_27_15_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/26/image_02052025_18_26_15_9462.jpg
/home/pi/Desktop/images/02052025/18/26/image_02052025_18_26_25_10364.jpg
/home/pi/Desktop/images/02052025/18/26/image_02052025_18_26_35_10341.jpg
/home/pi/Desktop/images/02052025/18/26/image_02052025_18_26_45_9360.jpg
/home/pi/Desktop/images/02052025/18/26/image_02052025_18_26_55_10368.jpg
/home/pi/Desktop/images/02052025/18/27/image_02052025_18_27_15_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":["1355438936","1355438951","1355438948","1355438956","1355438969","1355438960"],"photo_ids_order":["1355438936","1355438948","1355438951","1355438956","1355438960","1355438969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/928cc78ef4257c8d60479b32f2cd513d.jpg","text":"TemporaryFile(/tmp/multipartBody7284140642334432894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209372733,"filename":"image_02052025_18_26_15_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ded26d2b96e84f9729840b800af1cd32.jpg","text":"TemporaryFile(/tmp/multipartBody6977242969523850409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209372733,"filename":"image_02052025_18_26_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/5/2/5ba9e5d510325639bb9959049030d5b5.jpg","text":"TemporaryFile(/tmp/multipartBody2328796933263837748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209372733,"filename":"image_02052025_18_26_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/5/2/3c4632829a2b2417a6cdb00496586d7e.jpg","text":"TemporaryFile(/tmp/multipartBody7753821922077832182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209372733,"filename":"image_02052025_18_26_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/5/2/ace45a810d24411794dfc8ce70f90c58.jpg","text":"TemporaryFile(/tmp/multipartBody8171687003784216380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209372733,"filename":"image_02052025_18_27_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/5/2/6f7d74ad949f8aa101d7e707b0244d5f.jpg","text":"TemporaryFile(/tmp/multipartBody1437440195440047429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209372733,"filename":"image_02052025_18_26_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355438951","file1":"1355438948","file0":"1355438936","file4":"1355438960","file5":"1355438969","file3":"1355438956"},"map_files_photo_id_array":[{"photo_id":"1355438969","filename":"file5"},{"photo_id":"1355438951","filename":"file2"},{"photo_id":"1355438960","filename":"file4"},{"photo_id":"1355438948","filename":"file1"},{"photo_id":"1355438936","filename":"file0"},{"photo_id":"1355438956","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355438936":["hashtag1","hashtag2"]},{"1355438951":["hashtag1","hashtag2"]},{"1355438948":["hashtag1","hashtag2"]},{"1355438956":["hashtag1","hashtag2"]},{"1355438969":["hashtag1","hashtag2"]},{"1355438960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355438936, 1355438951, 1355438948, 1355438956, 1355438969, 1355438960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65894365310669 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:09:32.416177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/27/image_02052025_18_27_25_10383.jpg', '/home/pi/Desktop/images/02052025/18/27/image_02052025_18_27_35_9426.jpg', '/home/pi/Desktop/images/02052025/18/27/image_02052025_18_27_45_10353.jpg', '/home/pi/Desktop/images/02052025/18/27/image_02052025_18_27_55_10360.jpg', '/home/pi/Desktop/images/02052025/18/27/image_02052025_18_28_05_9360.jpg', '/home/pi/Desktop/images/02052025/18/28/image_02052025_18_28_15_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/27/image_02052025_18_27_25_10383.jpg
/home/pi/Desktop/images/02052025/18/27/image_02052025_18_27_35_9426.jpg
/home/pi/Desktop/images/02052025/18/27/image_02052025_18_27_45_10353.jpg
/home/pi/Desktop/images/02052025/18/27/image_02052025_18_27_55_10360.jpg
/home/pi/Desktop/images/02052025/18/27/image_02052025_18_28_05_9360.jpg
/home/pi/Desktop/images/02052025/18/28/image_02052025_18_28_15_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355439005","1355439029","1355439022","1355439099","1355439042","1355438996"],"photo_ids_order":["1355438996","1355439005","1355439022","1355439029","1355439042","1355439099"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba4684c9b0db4f68ca9aee960314b95b.jpg","text":"TemporaryFile(/tmp/multipartBody7483788266100342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209432891,"filename":"image_02052025_18_27_35_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a3343fe143deab5dd6a03c4212cc278.jpg","text":"TemporaryFile(/tmp/multipartBody7009810231819063185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209432891,"filename":"image_02052025_18_27_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/5/2/1ca3a5be572a322b5bbb53463b4e78cc.jpg","text":"TemporaryFile(/tmp/multipartBody6013184971837902403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209432891,"filename":"image_02052025_18_27_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/5/2/19580653205d9793469dcc5fffc82bf5.jpg","text":"TemporaryFile(/tmp/multipartBody4659180380217766910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209432891,"filename":"image_02052025_18_28_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/5/2/3b456412df3c72fdba0ab36295929548.jpg","text":"TemporaryFile(/tmp/multipartBody8382529432394563840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209432891,"filename":"image_02052025_18_28_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/5/2/e90de1ea7a7d2e40a558634619555a77.jpg","text":"TemporaryFile(/tmp/multipartBody5896035908272065065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209432891,"filename":"image_02052025_18_27_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355439022","file1":"1355439005","file0":"1355438996","file4":"1355439042","file5":"1355439099","file3":"1355439029"},"map_files_photo_id_array":[{"photo_id":"1355439099","filename":"file5"},{"photo_id":"1355439022","filename":"file2"},{"photo_id":"1355439042","filename":"file4"},{"photo_id":"1355439005","filename":"file1"},{"photo_id":"1355438996","filename":"file0"},{"photo_id":"1355439029","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355439005":["hashtag1","hashtag2"]},{"1355439029":["hashtag1","hashtag2"]},{"1355439022":["hashtag1","hashtag2"]},{"1355439099":["hashtag1","hashtag2"]},{"1355439042":["hashtag1","hashtag2"]},{"1355438996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355439005, 1355439029, 1355439022, 1355439099, 1355439042, 1355438996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.49432706832886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:10:32.573846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/28/image_02052025_18_28_25_9364.jpg', '/home/pi/Desktop/images/02052025/18/28/image_02052025_18_28_35_10408.jpg', '/home/pi/Desktop/images/02052025/18/28/image_02052025_18_28_45_10344.jpg', '/home/pi/Desktop/images/02052025/18/28/image_02052025_18_28_55_9397.jpg', '/home/pi/Desktop/images/02052025/18/28/image_02052025_18_29_05_10361.jpg', '/home/pi/Desktop/images/02052025/18/29/image_02052025_18_29_15_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/28/image_02052025_18_28_25_9364.jpg
/home/pi/Desktop/images/02052025/18/28/image_02052025_18_28_35_10408.jpg
/home/pi/Desktop/images/02052025/18/28/image_02052025_18_28_45_10344.jpg
/home/pi/Desktop/images/02052025/18/28/image_02052025_18_28_55_9397.jpg
/home/pi/Desktop/images/02052025/18/28/image_02052025_18_29_05_10361.jpg
/home/pi/Desktop/images/02052025/18/29/image_02052025_18_29_15_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355439130","1355439160","1355439133","1355439152","1355439140","1355439164"],"photo_ids_order":["1355439130","1355439133","1355439140","1355439152","1355439160","1355439164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3b81e1c45bf0c004ca823818e51a14b7.jpg","text":"TemporaryFile(/tmp/multipartBody630910996331368115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209493314,"filename":"image_02052025_18_28_25_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e5690dec1f337e30a0148eccd33dec47.jpg","text":"TemporaryFile(/tmp/multipartBody3872824495001335805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209493314,"filename":"image_02052025_18_29_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/5/2/565489f7b2d6345bc851a7743b4d2f27.jpg","text":"TemporaryFile(/tmp/multipartBody7462159638443681255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209493314,"filename":"image_02052025_18_28_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/5/2/425e0e3ad986c168097c50adf636d253.jpg","text":"TemporaryFile(/tmp/multipartBody5600135406400220917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209493314,"filename":"image_02052025_18_28_55_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/067f57466562be0a8bdc52f420c48df6.jpg","text":"TemporaryFile(/tmp/multipartBody7525835849980732089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209493314,"filename":"image_02052025_18_28_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/5/2/f876f2abeb657217260c33e5b3b7b087.jpg","text":"TemporaryFile(/tmp/multipartBody3768334109194528761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209493314,"filename":"image_02052025_18_29_15_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355439140","file1":"1355439133","file0":"1355439130","file4":"1355439160","file5":"1355439164","file3":"1355439152"},"map_files_photo_id_array":[{"photo_id":"1355439164","filename":"file5"},{"photo_id":"1355439140","filename":"file2"},{"photo_id":"1355439160","filename":"file4"},{"photo_id":"1355439133","filename":"file1"},{"photo_id":"1355439130","filename":"file0"},{"photo_id":"1355439152","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355439130":["hashtag1","hashtag2"]},{"1355439160":["hashtag1","hashtag2"]},{"1355439133":["hashtag1","hashtag2"]},{"1355439152":["hashtag1","hashtag2"]},{"1355439140":["hashtag1","hashtag2"]},{"1355439164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355439130, 1355439160, 1355439133, 1355439152, 1355439140, 1355439164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.67379546165466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:11:32.848151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/29/image_02052025_18_29_25_9440.jpg', '/home/pi/Desktop/images/02052025/18/29/image_02052025_18_29_35_10373.jpg', '/home/pi/Desktop/images/02052025/18/29/image_02052025_18_29_45_9342.jpg', '/home/pi/Desktop/images/02052025/18/29/image_02052025_18_29_55_10453.jpg', '/home/pi/Desktop/images/02052025/18/29/image_02052025_18_30_05_10354.jpg', '/home/pi/Desktop/images/02052025/18/30/image_02052025_18_30_15_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/29/image_02052025_18_29_25_9440.jpg
/home/pi/Desktop/images/02052025/18/29/image_02052025_18_29_35_10373.jpg
/home/pi/Desktop/images/02052025/18/29/image_02052025_18_29_45_9342.jpg
/home/pi/Desktop/images/02052025/18/29/image_02052025_18_29_55_10453.jpg
/home/pi/Desktop/images/02052025/18/29/image_02052025_18_30_05_10354.jpg
/home/pi/Desktop/images/02052025/18/30/image_02052025_18_30_15_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":["1355439199","1355439187","1355439195","1355439191","1355439185","1355439182"],"photo_ids_order":["1355439182","1355439185","1355439187","1355439191","1355439195","1355439199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/77cee86644cb7d6af60ce4a4fb097215.jpg","text":"TemporaryFile(/tmp/multipartBody1911032936508886417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209553328,"filename":"image_02052025_18_30_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90ca42aee340303860ee051245a30136.jpg","text":"TemporaryFile(/tmp/multipartBody8535632091556870589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209553328,"filename":"image_02052025_18_29_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/5/2/f482689cef4437a94c5892388bf40a5a.jpg","text":"TemporaryFile(/tmp/multipartBody1831658632971054936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209553328,"filename":"image_02052025_18_30_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/5/2/712243608652485caa07a197d5cdee10.jpg","text":"TemporaryFile(/tmp/multipartBody1434009665154600696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209553328,"filename":"image_02052025_18_29_55_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/420b94ab62f0ffc8f2b4e5f989e78a66.jpg","text":"TemporaryFile(/tmp/multipartBody754940564708423462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209553328,"filename":"image_02052025_18_29_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cc5f7b3a44f74ccabfb4ea9ae45b186f.jpg","text":"TemporaryFile(/tmp/multipartBody4695682667306031007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209553328,"filename":"image_02052025_18_29_25_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355439187","file1":"1355439185","file0":"1355439182","file4":"1355439195","file5":"1355439199","file3":"1355439191"},"map_files_photo_id_array":[{"photo_id":"1355439199","filename":"file5"},{"photo_id":"1355439187","filename":"file2"},{"photo_id":"1355439195","filename":"file4"},{"photo_id":"1355439185","filename":"file1"},{"photo_id":"1355439182","filename":"file0"},{"photo_id":"1355439191","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355439199":["hashtag1","hashtag2"]},{"1355439187":["hashtag1","hashtag2"]},{"1355439195":["hashtag1","hashtag2"]},{"1355439191":["hashtag1","hashtag2"]},{"1355439185":["hashtag1","hashtag2"]},{"1355439182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355439199, 1355439187, 1355439195, 1355439191, 1355439185, 1355439182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48234701156616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:12:33.110691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/30/image_02052025_18_30_25_10356.jpg', '/home/pi/Desktop/images/02052025/18/30/image_02052025_18_30_35_10353.jpg', '/home/pi/Desktop/images/02052025/18/30/image_02052025_18_30_55_10443.jpg', '/home/pi/Desktop/images/02052025/18/30/image_02052025_18_31_05_9401.jpg', '/home/pi/Desktop/images/02052025/18/31/image_02052025_18_31_15_10369.jpg', '/home/pi/Desktop/images/02052025/18/31/image_02052025_18_31_25_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/30/image_02052025_18_30_25_10356.jpg
/home/pi/Desktop/images/02052025/18/30/image_02052025_18_30_35_10353.jpg
/home/pi/Desktop/images/02052025/18/30/image_02052025_18_30_55_10443.jpg
/home/pi/Desktop/images/02052025/18/30/image_02052025_18_31_05_9401.jpg
/home/pi/Desktop/images/02052025/18/31/image_02052025_18_31_15_10369.jpg
/home/pi/Desktop/images/02052025/18/31/image_02052025_18_31_25_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":["1355439262","1355439325","1355439291","1355439342","1355439243","1355439345"],"photo_ids_order":["1355439243","1355439262","1355439291","1355439325","1355439342","1355439345"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/795d6866066e721ba32a8b9df2ab0cc1.jpg","text":"TemporaryFile(/tmp/multipartBody5398831519722866026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209613576,"filename":"image_02052025_18_30_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/5/2/62377b6091d3fd90e173cb4dbbd61d38.jpg","text":"TemporaryFile(/tmp/multipartBody8358945473380677704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209613576,"filename":"image_02052025_18_31_05_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/219e9fe0329244674be64758244876e3.jpg","text":"TemporaryFile(/tmp/multipartBody2996683848722822552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209613576,"filename":"image_02052025_18_30_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/5/2/ac25d6c0dad327295149d8cbaedf29d7.jpg","text":"TemporaryFile(/tmp/multipartBody5122852000636186628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209613576,"filename":"image_02052025_18_31_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc0349ff0edff520e8450e2781facb23.jpg","text":"TemporaryFile(/tmp/multipartBody7355228943548745413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209613576,"filename":"image_02052025_18_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/5/2/3d4106bcd09255e91651da2fbfb5fb24.jpg","text":"TemporaryFile(/tmp/multipartBody1068890967682562554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209613576,"filename":"image_02052025_18_31_25_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355439291","file1":"1355439262","file0":"1355439243","file4":"1355439342","file5":"1355439345","file3":"1355439325"},"map_files_photo_id_array":[{"photo_id":"1355439345","filename":"file5"},{"photo_id":"1355439291","filename":"file2"},{"photo_id":"1355439342","filename":"file4"},{"photo_id":"1355439262","filename":"file1"},{"photo_id":"1355439243","filename":"file0"},{"photo_id":"1355439325","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355439262":["hashtag1","hashtag2"]},{"1355439325":["hashtag1","hashtag2"]},{"1355439291":["hashtag1","hashtag2"]},{"1355439342":["hashtag1","hashtag2"]},{"1355439243":["hashtag1","hashtag2"]},{"1355439345":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355439262, 1355439325, 1355439291, 1355439342, 1355439243, 1355439345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.756343364715576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:13:32.197615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/31/image_02052025_18_31_35_9351.jpg', '/home/pi/Desktop/images/02052025/18/31/image_02052025_18_31_45_10361.jpg', '/home/pi/Desktop/images/02052025/18/31/image_02052025_18_31_54_9353.jpg', '/home/pi/Desktop/images/02052025/18/31/image_02052025_18_32_05_10336.jpg', '/home/pi/Desktop/images/02052025/18/32/image_02052025_18_32_15_10425.jpg', '/home/pi/Desktop/images/02052025/18/32/image_02052025_18_32_25_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/31/image_02052025_18_31_35_9351.jpg
/home/pi/Desktop/images/02052025/18/31/image_02052025_18_31_45_10361.jpg
/home/pi/Desktop/images/02052025/18/31/image_02052025_18_31_54_9353.jpg
/home/pi/Desktop/images/02052025/18/31/image_02052025_18_32_05_10336.jpg
/home/pi/Desktop/images/02052025/18/32/image_02052025_18_32_15_10425.jpg
/home/pi/Desktop/images/02052025/18/32/image_02052025_18_32_25_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":["1355439437","1355439469","1355439508","1355439400","1355439411","1355439380"],"photo_ids_order":["1355439380","1355439400","1355439411","1355439437","1355439469","1355439508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8eec78222d00786e2296669b3c162ddf.jpg","text":"TemporaryFile(/tmp/multipartBody2795590929409220718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209672683,"filename":"image_02052025_18_32_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/5/2/8edaf5726512d753d821ce67bfbd8890.jpg","text":"TemporaryFile(/tmp/multipartBody1915387051433247123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209672683,"filename":"image_02052025_18_32_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e7d0a34de15c3dd8bba2b83a91a90b28.jpg","text":"TemporaryFile(/tmp/multipartBody7195843211923706326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209672683,"filename":"image_02052025_18_32_25_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ed427c4d68e3d2cabd14315c1fceed00.jpg","text":"TemporaryFile(/tmp/multipartBody3310697775009158950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209672683,"filename":"image_02052025_18_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/5/2/9a9a3f5a8c84e682946d668a4b3fed1e.jpg","text":"TemporaryFile(/tmp/multipartBody2597617982011591196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209672683,"filename":"image_02052025_18_31_54_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/83df89f9723864ac1d42842467c7e026.jpg","text":"TemporaryFile(/tmp/multipartBody7807078329638778925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209672683,"filename":"image_02052025_18_31_35_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355439411","file1":"1355439400","file0":"1355439380","file4":"1355439469","file5":"1355439508","file3":"1355439437"},"map_files_photo_id_array":[{"photo_id":"1355439508","filename":"file5"},{"photo_id":"1355439411","filename":"file2"},{"photo_id":"1355439469","filename":"file4"},{"photo_id":"1355439400","filename":"file1"},{"photo_id":"1355439380","filename":"file0"},{"photo_id":"1355439437","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355439437":["hashtag1","hashtag2"]},{"1355439469":["hashtag1","hashtag2"]},{"1355439508":["hashtag1","hashtag2"]},{"1355439400":["hashtag1","hashtag2"]},{"1355439411":["hashtag1","hashtag2"]},{"1355439380":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355439437, 1355439469, 1355439508, 1355439400, 1355439411, 1355439380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59965538978577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:14:32.373184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/32/image_02052025_18_32_35_10369.jpg', '/home/pi/Desktop/images/02052025/18/33/image_02052025_18_33_14_9358.jpg', '/home/pi/Desktop/images/02052025/18/33/image_02052025_18_33_45_9434.jpg', '/home/pi/Desktop/images/02052025/18/33/image_02052025_18_33_55_10379.jpg', '/home/pi/Desktop/images/02052025/18/33/image_02052025_18_34_04_9342.jpg', '/home/pi/Desktop/images/02052025/18/34/image_02052025_18_34_15_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/32/image_02052025_18_32_35_10369.jpg
/home/pi/Desktop/images/02052025/18/33/image_02052025_18_33_14_9358.jpg
/home/pi/Desktop/images/02052025/18/33/image_02052025_18_33_45_9434.jpg
/home/pi/Desktop/images/02052025/18/33/image_02052025_18_33_55_10379.jpg
/home/pi/Desktop/images/02052025/18/33/image_02052025_18_34_04_9342.jpg
/home/pi/Desktop/images/02052025/18/34/image_02052025_18_34_15_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355439850","1355439787","1355439750","1355439819","1355439912","1355439881"],"photo_ids_order":["1355439750","1355439787","1355439819","1355439850","1355439881","1355439912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/57dc73861d561a4675f2c2771fa212d4.jpg","text":"TemporaryFile(/tmp/multipartBody8953577187185769447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209732848,"filename":"image_02052025_18_33_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/5/2/21f7eaff9e361647acfed1c11b6509fd.jpg","text":"TemporaryFile(/tmp/multipartBody7851863011789791032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209732848,"filename":"image_02052025_18_33_14_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f3212d3e407ef08522ddff1cca0cd83d.jpg","text":"TemporaryFile(/tmp/multipartBody5119167352037084460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209732848,"filename":"image_02052025_18_32_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/5/2/992ebf62b94c699e68714b454dfb6298.jpg","text":"TemporaryFile(/tmp/multipartBody2569511198350411764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209732848,"filename":"image_02052025_18_33_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/5/2/f98cf54d2f3513fa4ba3e206b2d4bf83.jpg","text":"TemporaryFile(/tmp/multipartBody1861509134084478078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209732848,"filename":"image_02052025_18_34_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/5/2/13df1db55c211b36ff463902c9050a06.jpg","text":"TemporaryFile(/tmp/multipartBody253129215428725522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209732848,"filename":"image_02052025_18_34_04_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355439819","file1":"1355439787","file0":"1355439750","file4":"1355439881","file5":"1355439912","file3":"1355439850"},"map_files_photo_id_array":[{"photo_id":"1355439912","filename":"file5"},{"photo_id":"1355439819","filename":"file2"},{"photo_id":"1355439881","filename":"file4"},{"photo_id":"1355439787","filename":"file1"},{"photo_id":"1355439750","filename":"file0"},{"photo_id":"1355439850","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355439850":["hashtag1","hashtag2"]},{"1355439787":["hashtag1","hashtag2"]},{"1355439750":["hashtag1","hashtag2"]},{"1355439819":["hashtag1","hashtag2"]},{"1355439912":["hashtag1","hashtag2"]},{"1355439881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355439850, 1355439787, 1355439750, 1355439819, 1355439912, 1355439881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77593517303467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:15:32.464570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/34/image_02052025_18_34_25_10369.jpg', '/home/pi/Desktop/images/02052025/18/34/image_02052025_18_34_35_9353.jpg', '/home/pi/Desktop/images/02052025/18/34/image_02052025_18_34_45_10444.jpg', '/home/pi/Desktop/images/02052025/18/34/image_02052025_18_34_55_10389.jpg', '/home/pi/Desktop/images/02052025/18/34/image_02052025_18_35_05_9366.jpg', '/home/pi/Desktop/images/02052025/18/35/image_02052025_18_35_15_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/34/image_02052025_18_34_25_10369.jpg
/home/pi/Desktop/images/02052025/18/34/image_02052025_18_34_35_9353.jpg
/home/pi/Desktop/images/02052025/18/34/image_02052025_18_34_45_10444.jpg
/home/pi/Desktop/images/02052025/18/34/image_02052025_18_34_55_10389.jpg
/home/pi/Desktop/images/02052025/18/34/image_02052025_18_35_05_9366.jpg
/home/pi/Desktop/images/02052025/18/35/image_02052025_18_35_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":["1355440271","1355440514","1355440470","1355440542","1355440437","1355440302"],"photo_ids_order":["1355440271","1355440302","1355440437","1355440470","1355440514","1355440542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/924ee9bcd50035ca42850f338fabdde8.jpg","text":"TemporaryFile(/tmp/multipartBody2921366642753773932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209792938,"filename":"image_02052025_18_34_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d2cccc0f825a004bc5b304beca3a82a9.jpg","text":"TemporaryFile(/tmp/multipartBody4450007669114208904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209792938,"filename":"image_02052025_18_35_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/5/2/0c6cec34f04a7458bf85fe61eaa3ef2a.jpg","text":"TemporaryFile(/tmp/multipartBody2341433809825895056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209792938,"filename":"image_02052025_18_34_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/5/2/94239ffe40d8c546304c4cec1bb9f0cd.jpg","text":"TemporaryFile(/tmp/multipartBody664655767182592764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209792938,"filename":"image_02052025_18_35_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/5/2/0c7dce17185444f3e57058fab62f9c21.jpg","text":"TemporaryFile(/tmp/multipartBody2093464270931018413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209792938,"filename":"image_02052025_18_34_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/5/2/418aeac71afbe8d6529115f83e54c300.jpg","text":"TemporaryFile(/tmp/multipartBody6557929763498481389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209792938,"filename":"image_02052025_18_34_35_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355440437","file1":"1355440302","file0":"1355440271","file4":"1355440514","file5":"1355440542","file3":"1355440470"},"map_files_photo_id_array":[{"photo_id":"1355440542","filename":"file5"},{"photo_id":"1355440437","filename":"file2"},{"photo_id":"1355440514","filename":"file4"},{"photo_id":"1355440302","filename":"file1"},{"photo_id":"1355440271","filename":"file0"},{"photo_id":"1355440470","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355440271":["hashtag1","hashtag2"]},{"1355440514":["hashtag1","hashtag2"]},{"1355440470":["hashtag1","hashtag2"]},{"1355440542":["hashtag1","hashtag2"]},{"1355440437":["hashtag1","hashtag2"]},{"1355440302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355440271, 1355440514, 1355440470, 1355440542, 1355440437, 1355440302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.79055213928223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:16:32.603650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/35/image_02052025_18_35_24_9343.jpg', '/home/pi/Desktop/images/02052025/18/35/image_02052025_18_35_35_10474.jpg', '/home/pi/Desktop/images/02052025/18/35/image_02052025_18_35_45_10441.jpg', '/home/pi/Desktop/images/02052025/18/35/image_02052025_18_35_55_9449.jpg', '/home/pi/Desktop/images/02052025/18/35/image_02052025_18_36_05_10349.jpg', '/home/pi/Desktop/images/02052025/18/36/image_02052025_18_36_14_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/35/image_02052025_18_35_24_9343.jpg
/home/pi/Desktop/images/02052025/18/35/image_02052025_18_35_35_10474.jpg
/home/pi/Desktop/images/02052025/18/35/image_02052025_18_35_45_10441.jpg
/home/pi/Desktop/images/02052025/18/35/image_02052025_18_35_55_9449.jpg
/home/pi/Desktop/images/02052025/18/35/image_02052025_18_36_05_10349.jpg
/home/pi/Desktop/images/02052025/18/36/image_02052025_18_36_14_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":["1355440720","1355440624","1355440656","1355440752","1355440685","1355440787"],"photo_ids_order":["1355440624","1355440656","1355440685","1355440720","1355440752","1355440787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7eeb291a3c0888035bad078a566bf889.jpg","text":"TemporaryFile(/tmp/multipartBody2604227776469540413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209853073,"filename":"image_02052025_18_35_55_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c695f18d942d6fb52539de12d790684.jpg","text":"TemporaryFile(/tmp/multipartBody4151634839582572283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209853073,"filename":"image_02052025_18_35_24_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ef75ee8aaad31fa11098ade1cf0792ed.jpg","text":"TemporaryFile(/tmp/multipartBody4577406478140180782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209853073,"filename":"image_02052025_18_35_35_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6bb2cef3da2147854fae62e3f41af476.jpg","text":"TemporaryFile(/tmp/multipartBody7515247208424748579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209853073,"filename":"image_02052025_18_36_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f4b5061bd962251c7f7cf62da1b752ad.jpg","text":"TemporaryFile(/tmp/multipartBody4701170252105996594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209853073,"filename":"image_02052025_18_35_45_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e19e061eadd80140925d09bf947d812b.jpg","text":"TemporaryFile(/tmp/multipartBody8497755260164232646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209853073,"filename":"image_02052025_18_36_14_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355440685","file1":"1355440656","file0":"1355440624","file4":"1355440752","file5":"1355440787","file3":"1355440720"},"map_files_photo_id_array":[{"photo_id":"1355440787","filename":"file5"},{"photo_id":"1355440685","filename":"file2"},{"photo_id":"1355440752","filename":"file4"},{"photo_id":"1355440656","filename":"file1"},{"photo_id":"1355440624","filename":"file0"},{"photo_id":"1355440720","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355440720":["hashtag1","hashtag2"]},{"1355440624":["hashtag1","hashtag2"]},{"1355440656":["hashtag1","hashtag2"]},{"1355440752":["hashtag1","hashtag2"]},{"1355440685":["hashtag1","hashtag2"]},{"1355440787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355440720, 1355440624, 1355440656, 1355440752, 1355440685, 1355440787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17882013320923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:17:32.831383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/36/image_02052025_18_36_25_10446.jpg', '/home/pi/Desktop/images/02052025/18/36/image_02052025_18_36_35_10351.jpg', '/home/pi/Desktop/images/02052025/18/36/image_02052025_18_36_45_9398.jpg', '/home/pi/Desktop/images/02052025/18/36/image_02052025_18_37_05_10146.jpg', '/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_15_9348.jpg', '/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_25_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/36/image_02052025_18_36_25_10446.jpg
/home/pi/Desktop/images/02052025/18/36/image_02052025_18_36_35_10351.jpg
/home/pi/Desktop/images/02052025/18/36/image_02052025_18_36_45_9398.jpg
/home/pi/Desktop/images/02052025/18/36/image_02052025_18_37_05_10146.jpg
/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_15_9348.jpg
/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_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":["1355441234","1355441117","1355441199","1355441253","1355441075","1355441162"],"photo_ids_order":["1355441075","1355441117","1355441162","1355441199","1355441234","1355441253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af019a99c2b5d8c572016d33e70d4008.jpg","text":"TemporaryFile(/tmp/multipartBody5395935712472552780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209913300,"filename":"image_02052025_18_37_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/5/2/07e3946a6d16dff7f642262b751270a0.jpg","text":"TemporaryFile(/tmp/multipartBody4016854500741427032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209913300,"filename":"image_02052025_18_36_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/5/2/abdf47649c091f6759885e69dca475c5.jpg","text":"TemporaryFile(/tmp/multipartBody2859516559410118924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209913300,"filename":"image_02052025_18_37_05_10146.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97975d60d0801aeb42391350093fc94d.jpg","text":"TemporaryFile(/tmp/multipartBody1997073931897900047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209913300,"filename":"image_02052025_18_37_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/5/2/e043196725aea47222c5c8a53fcc9b57.jpg","text":"TemporaryFile(/tmp/multipartBody6551883409604597646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209913300,"filename":"image_02052025_18_36_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/5/2/50bd11dfe00aa8d6c8051029863ebc63.jpg","text":"TemporaryFile(/tmp/multipartBody81289900140734065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209913300,"filename":"image_02052025_18_36_45_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355441162","file1":"1355441117","file0":"1355441075","file4":"1355441234","file5":"1355441253","file3":"1355441199"},"map_files_photo_id_array":[{"photo_id":"1355441253","filename":"file5"},{"photo_id":"1355441162","filename":"file2"},{"photo_id":"1355441234","filename":"file4"},{"photo_id":"1355441117","filename":"file1"},{"photo_id":"1355441075","filename":"file0"},{"photo_id":"1355441199","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355441234":["hashtag1","hashtag2"]},{"1355441117":["hashtag1","hashtag2"]},{"1355441199":["hashtag1","hashtag2"]},{"1355441253":["hashtag1","hashtag2"]},{"1355441075":["hashtag1","hashtag2"]},{"1355441162":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355441234, 1355441117, 1355441199, 1355441253, 1355441075, 1355441162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05302906036377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:18:33.081887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_35_10371.jpg', '/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_45_9410.jpg', '/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_55_10363.jpg', '/home/pi/Desktop/images/02052025/18/37/image_02052025_18_38_05_10358.jpg', '/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_15_9370.jpg', '/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_25_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_35_10371.jpg
/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_45_9410.jpg
/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_55_10363.jpg
/home/pi/Desktop/images/02052025/18/37/image_02052025_18_38_05_10358.jpg
/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_15_9370.jpg
/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_25_10381.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38066530227661133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 20:18:43.157298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_35_10371.jpg', '/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_45_9410.jpg', '/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_55_10363.jpg', '/home/pi/Desktop/images/02052025/18/37/image_02052025_18_38_05_10358.jpg', '/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_15_9370.jpg', '/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_25_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_35_10371.jpg
/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_45_9410.jpg
/home/pi/Desktop/images/02052025/18/37/image_02052025_18_37_55_10363.jpg
/home/pi/Desktop/images/02052025/18/37/image_02052025_18_38_05_10358.jpg
/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_15_9370.jpg
/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_25_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355441395","1355441391","1355441460","1355441382","1355441418","1355441399"],"photo_ids_order":["1355441382","1355441391","1355441395","1355441399","1355441418","1355441460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de1b4accb9f55210feff67b84933e911.jpg","text":"TemporaryFile(/tmp/multipartBody294183335322423824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209983648,"filename":"image_02052025_18_37_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/5/2/db7cc9bec6c9b556a1fa3125a1163889.jpg","text":"TemporaryFile(/tmp/multipartBody5397222014951820055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209983648,"filename":"image_02052025_18_37_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/5/2/38581f8e282ba4a9999e45cc302646d7.jpg","text":"TemporaryFile(/tmp/multipartBody1370215146277444569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209983648,"filename":"image_02052025_18_38_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/5/2/e3c79daaba0645feec40954dc472f00f.jpg","text":"TemporaryFile(/tmp/multipartBody2208308099137647155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209983648,"filename":"image_02052025_18_37_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/5/2/c521d95130d0b1f0548f6758581a4f90.jpg","text":"TemporaryFile(/tmp/multipartBody7142493395038995937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209983648,"filename":"image_02052025_18_38_15_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e631f7ab2c478f91273bb258869a45b3.jpg","text":"TemporaryFile(/tmp/multipartBody7131848085033404149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746209983648,"filename":"image_02052025_18_38_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355441395","file1":"1355441391","file0":"1355441382","file4":"1355441418","file5":"1355441460","file3":"1355441399"},"map_files_photo_id_array":[{"photo_id":"1355441460","filename":"file5"},{"photo_id":"1355441395","filename":"file2"},{"photo_id":"1355441418","filename":"file4"},{"photo_id":"1355441391","filename":"file1"},{"photo_id":"1355441382","filename":"file0"},{"photo_id":"1355441399","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355441395":["hashtag1","hashtag2"]},{"1355441391":["hashtag1","hashtag2"]},{"1355441460":["hashtag1","hashtag2"]},{"1355441382":["hashtag1","hashtag2"]},{"1355441418":["hashtag1","hashtag2"]},{"1355441399":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355441395, 1355441391, 1355441460, 1355441382, 1355441418, 1355441399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97125172615051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:19:32.342676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_35_9365.jpg', '/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_45_10422.jpg', '/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_55_10366.jpg', '/home/pi/Desktop/images/02052025/18/38/image_02052025_18_39_05_9378.jpg', '/home/pi/Desktop/images/02052025/18/39/image_02052025_18_39_15_10354.jpg', '/home/pi/Desktop/images/02052025/18/39/image_02052025_18_39_24_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_35_9365.jpg
/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_45_10422.jpg
/home/pi/Desktop/images/02052025/18/38/image_02052025_18_38_55_10366.jpg
/home/pi/Desktop/images/02052025/18/38/image_02052025_18_39_05_9378.jpg
/home/pi/Desktop/images/02052025/18/39/image_02052025_18_39_15_10354.jpg
/home/pi/Desktop/images/02052025/18/39/image_02052025_18_39_24_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":["1355441794","1355441875","1355441701","1355441748","1355441907","1355441841"],"photo_ids_order":["1355441701","1355441748","1355441794","1355441841","1355441875","1355441907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e6d1565babcb726835b000c307476580.jpg","text":"TemporaryFile(/tmp/multipartBody5876501387510911595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210032814,"filename":"image_02052025_18_38_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ddb5027b791256f49be621bec7d7153d.jpg","text":"TemporaryFile(/tmp/multipartBody7928456837117971241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210032814,"filename":"image_02052025_18_39_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/5/2/cabc1f562a1c2e9da835962a1e16aa71.jpg","text":"TemporaryFile(/tmp/multipartBody1150224902907551909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210032814,"filename":"image_02052025_18_38_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/5/2/ebe1a84151ea2a24f0dce6d289c42775.jpg","text":"TemporaryFile(/tmp/multipartBody6960252530784227949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210032814,"filename":"image_02052025_18_38_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/5/2/9d5f9d10642187a9e13c77886fcc6db1.jpg","text":"TemporaryFile(/tmp/multipartBody1003982225022172218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210032814,"filename":"image_02052025_18_39_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/5/2/f9b0cb37019b633d6e0d293fe56abbe8.jpg","text":"TemporaryFile(/tmp/multipartBody821788364511546352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210032814,"filename":"image_02052025_18_39_05_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355441794","file1":"1355441748","file0":"1355441701","file4":"1355441875","file5":"1355441907","file3":"1355441841"},"map_files_photo_id_array":[{"photo_id":"1355441907","filename":"file5"},{"photo_id":"1355441794","filename":"file2"},{"photo_id":"1355441875","filename":"file4"},{"photo_id":"1355441748","filename":"file1"},{"photo_id":"1355441701","filename":"file0"},{"photo_id":"1355441841","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355441794":["hashtag1","hashtag2"]},{"1355441875":["hashtag1","hashtag2"]},{"1355441701":["hashtag1","hashtag2"]},{"1355441748":["hashtag1","hashtag2"]},{"1355441907":["hashtag1","hashtag2"]},{"1355441841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355441794, 1355441875, 1355441701, 1355441748, 1355441907, 1355441841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35870289802551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:20:32.486628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/39/image_02052025_18_39_35_10427.jpg', '/home/pi/Desktop/images/02052025/18/39/image_02052025_18_39_45_10349.jpg', '/home/pi/Desktop/images/02052025/18/39/image_02052025_18_39_55_9346.jpg', '/home/pi/Desktop/images/02052025/18/39/image_02052025_18_40_05_10400.jpg', '/home/pi/Desktop/images/02052025/18/40/image_02052025_18_40_15_10428.jpg', '/home/pi/Desktop/images/02052025/18/40/image_02052025_18_40_25_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/39/image_02052025_18_39_35_10427.jpg
/home/pi/Desktop/images/02052025/18/39/image_02052025_18_39_45_10349.jpg
/home/pi/Desktop/images/02052025/18/39/image_02052025_18_39_55_9346.jpg
/home/pi/Desktop/images/02052025/18/39/image_02052025_18_40_05_10400.jpg
/home/pi/Desktop/images/02052025/18/40/image_02052025_18_40_15_10428.jpg
/home/pi/Desktop/images/02052025/18/40/image_02052025_18_40_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":["1355442252","1355442284","1355442452","1355442320","1355442206","1355442382"],"photo_ids_order":["1355442206","1355442252","1355442284","1355442320","1355442382","1355442452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e81532c19af7515a9f33634d1aebc58c.jpg","text":"TemporaryFile(/tmp/multipartBody9111521604900004652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210093116,"filename":"image_02052025_18_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/5/2/b0ad87b8231b7000493641ce0b985fff.jpg","text":"TemporaryFile(/tmp/multipartBody7702227952374776045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210093116,"filename":"image_02052025_18_39_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/5/2/ff224b04f84985262bb4887000f46c0c.jpg","text":"TemporaryFile(/tmp/multipartBody9039521623999940720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210093116,"filename":"image_02052025_18_40_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/5/2/5ad7bea6d9e4d72cbae6322691b1cf84.jpg","text":"TemporaryFile(/tmp/multipartBody4041322958457391980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210093116,"filename":"image_02052025_18_40_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/5/2/368d02de6f8e4edcd34a4b06d6490503.jpg","text":"TemporaryFile(/tmp/multipartBody2287326405383825793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210093116,"filename":"image_02052025_18_39_35_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8fd6d35b0af970b7edd409818b60b023.jpg","text":"TemporaryFile(/tmp/multipartBody3350752184047912131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210093116,"filename":"image_02052025_18_40_15_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355442284","file1":"1355442252","file0":"1355442206","file4":"1355442382","file5":"1355442452","file3":"1355442320"},"map_files_photo_id_array":[{"photo_id":"1355442452","filename":"file5"},{"photo_id":"1355442284","filename":"file2"},{"photo_id":"1355442382","filename":"file4"},{"photo_id":"1355442252","filename":"file1"},{"photo_id":"1355442206","filename":"file0"},{"photo_id":"1355442320","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355442252":["hashtag1","hashtag2"]},{"1355442284":["hashtag1","hashtag2"]},{"1355442452":["hashtag1","hashtag2"]},{"1355442320":["hashtag1","hashtag2"]},{"1355442206":["hashtag1","hashtag2"]},{"1355442382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355442252, 1355442284, 1355442452, 1355442320, 1355442206, 1355442382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55113101005554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:21:32.675003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/40/image_02052025_18_40_35_10384.jpg', '/home/pi/Desktop/images/02052025/18/40/image_02052025_18_40_45_9372.jpg', '/home/pi/Desktop/images/02052025/18/40/image_02052025_18_40_55_10375.jpg', '/home/pi/Desktop/images/02052025/18/40/image_02052025_18_41_05_10346.jpg', '/home/pi/Desktop/images/02052025/18/41/image_02052025_18_41_15_9409.jpg', '/home/pi/Desktop/images/02052025/18/41/image_02052025_18_41_25_10388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/40/image_02052025_18_40_35_10384.jpg
/home/pi/Desktop/images/02052025/18/40/image_02052025_18_40_45_9372.jpg
/home/pi/Desktop/images/02052025/18/40/image_02052025_18_40_55_10375.jpg
/home/pi/Desktop/images/02052025/18/40/image_02052025_18_41_05_10346.jpg
/home/pi/Desktop/images/02052025/18/41/image_02052025_18_41_15_9409.jpg
/home/pi/Desktop/images/02052025/18/41/image_02052025_18_41_25_10388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355443207","1355443233","1355443178","1355443091","1355443127","1355443051"],"photo_ids_order":["1355443051","1355443091","1355443127","1355443178","1355443207","1355443233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/19f12c50ddcf9d4e81d540ed01f8f314.jpg","text":"TemporaryFile(/tmp/multipartBody804257502887035390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210153172,"filename":"image_02052025_18_41_15_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc09d4e40c3b7aa20e5e52292b502605.jpg","text":"TemporaryFile(/tmp/multipartBody6347468118197475077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210153172,"filename":"image_02052025_18_41_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/5/2/86c33d070dc09e49a337331d775aa9c9.jpg","text":"TemporaryFile(/tmp/multipartBody6386863114992890946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210153172,"filename":"image_02052025_18_41_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/5/2/412d1a6990c639b7530041b3f6f7c103.jpg","text":"TemporaryFile(/tmp/multipartBody2653340435707648565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210153172,"filename":"image_02052025_18_40_45_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b82e9b996971095a4ecee7756c9e825e.jpg","text":"TemporaryFile(/tmp/multipartBody5028206501292269152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210153172,"filename":"image_02052025_18_40_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3d059771d89a4d3a13e30f4905ffdd75.jpg","text":"TemporaryFile(/tmp/multipartBody34440716351918721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210153172,"filename":"image_02052025_18_40_35_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355443127","file1":"1355443091","file0":"1355443051","file4":"1355443207","file5":"1355443233","file3":"1355443178"},"map_files_photo_id_array":[{"photo_id":"1355443233","filename":"file5"},{"photo_id":"1355443127","filename":"file2"},{"photo_id":"1355443207","filename":"file4"},{"photo_id":"1355443091","filename":"file1"},{"photo_id":"1355443051","filename":"file0"},{"photo_id":"1355443178","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355443207":["hashtag1","hashtag2"]},{"1355443233":["hashtag1","hashtag2"]},{"1355443178":["hashtag1","hashtag2"]},{"1355443091":["hashtag1","hashtag2"]},{"1355443127":["hashtag1","hashtag2"]},{"1355443051":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355443207, 1355443233, 1355443178, 1355443091, 1355443127, 1355443051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8282949924469 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:22:32.891884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/41/image_02052025_18_41_35_10358.jpg', '/home/pi/Desktop/images/02052025/18/41/image_02052025_18_41_45_9440.jpg', '/home/pi/Desktop/images/02052025/18/41/image_02052025_18_41_55_10363.jpg', '/home/pi/Desktop/images/02052025/18/41/image_02052025_18_42_05_9364.jpg', '/home/pi/Desktop/images/02052025/18/42/image_02052025_18_42_25_10389.jpg', '/home/pi/Desktop/images/02052025/18/42/image_02052025_18_42_35_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/41/image_02052025_18_41_35_10358.jpg
/home/pi/Desktop/images/02052025/18/41/image_02052025_18_41_45_9440.jpg
/home/pi/Desktop/images/02052025/18/41/image_02052025_18_41_55_10363.jpg
/home/pi/Desktop/images/02052025/18/41/image_02052025_18_42_05_9364.jpg
/home/pi/Desktop/images/02052025/18/42/image_02052025_18_42_25_10389.jpg
/home/pi/Desktop/images/02052025/18/42/image_02052025_18_42_35_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":["1355443584","1355443542","1355443524","1355443490","1355443582","1355443552"],"photo_ids_order":["1355443490","1355443524","1355443542","1355443552","1355443582","1355443584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81725329de1bbabca4919d18146e328f.jpg","text":"TemporaryFile(/tmp/multipartBody7087407119393129185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210213379,"filename":"image_02052025_18_42_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/5/2/bdb020be0ef734474224259c9d55e866.jpg","text":"TemporaryFile(/tmp/multipartBody9046697472314547024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210213379,"filename":"image_02052025_18_41_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/5/2/e6024b952a732fc213ca1d864a91e57d.jpg","text":"TemporaryFile(/tmp/multipartBody385361050995075918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210213379,"filename":"image_02052025_18_41_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/5/2/be7769a7e54ca96bd1dff8b431ae1915.jpg","text":"TemporaryFile(/tmp/multipartBody6654206607813428261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210213379,"filename":"image_02052025_18_41_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/5/2/1f8cc3ad876ab9354b4a547ba5899dc3.jpg","text":"TemporaryFile(/tmp/multipartBody90067347982626484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210213379,"filename":"image_02052025_18_42_25_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c79ab8f5529c2bed7aadb16439bf4e3.jpg","text":"TemporaryFile(/tmp/multipartBody6766175815394950703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210213379,"filename":"image_02052025_18_42_05_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355443542","file1":"1355443524","file0":"1355443490","file4":"1355443582","file5":"1355443584","file3":"1355443552"},"map_files_photo_id_array":[{"photo_id":"1355443584","filename":"file5"},{"photo_id":"1355443542","filename":"file2"},{"photo_id":"1355443582","filename":"file4"},{"photo_id":"1355443524","filename":"file1"},{"photo_id":"1355443490","filename":"file0"},{"photo_id":"1355443552","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355443584":["hashtag1","hashtag2"]},{"1355443542":["hashtag1","hashtag2"]},{"1355443524":["hashtag1","hashtag2"]},{"1355443490":["hashtag1","hashtag2"]},{"1355443582":["hashtag1","hashtag2"]},{"1355443552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355443584, 1355443542, 1355443524, 1355443490, 1355443582, 1355443552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90032196044922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:23:33.183496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/42/image_02052025_18_42_45_10338.jpg', '/home/pi/Desktop/images/02052025/18/42/image_02052025_18_43_05_10350.jpg', '/home/pi/Desktop/images/02052025/18/43/image_02052025_18_43_15_10362.jpg', '/home/pi/Desktop/images/02052025/18/43/image_02052025_18_43_25_9352.jpg', '/home/pi/Desktop/images/02052025/18/43/image_02052025_18_43_35_10355.jpg', '/home/pi/Desktop/images/02052025/18/43/image_02052025_18_43_45_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/42/image_02052025_18_42_45_10338.jpg
/home/pi/Desktop/images/02052025/18/42/image_02052025_18_43_05_10350.jpg
/home/pi/Desktop/images/02052025/18/43/image_02052025_18_43_15_10362.jpg
/home/pi/Desktop/images/02052025/18/43/image_02052025_18_43_25_9352.jpg
/home/pi/Desktop/images/02052025/18/43/image_02052025_18_43_35_10355.jpg
/home/pi/Desktop/images/02052025/18/43/image_02052025_18_43_45_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355443707","1355443832","1355443739","1355443798","1355443678","1355443648"],"photo_ids_order":["1355443648","1355443678","1355443707","1355443739","1355443798","1355443832"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a27eedc54a0a477801ddf1ed1bae38bc.jpg","text":"TemporaryFile(/tmp/multipartBody7977392705307602442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210273645,"filename":"image_02052025_18_43_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/5/2/9dd87741110501b7e3cee71376dc3b51.jpg","text":"TemporaryFile(/tmp/multipartBody7372054305744528789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210273645,"filename":"image_02052025_18_43_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/5/2/990ab83fb7c9c1ecbdea46cf45f9a6fd.jpg","text":"TemporaryFile(/tmp/multipartBody8386044206104544615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210273645,"filename":"image_02052025_18_43_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/5/2/27ed454039522c83ae39b2462f37a95b.jpg","text":"TemporaryFile(/tmp/multipartBody684278493638423369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210273645,"filename":"image_02052025_18_43_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/5/2/29b86ad68a47ca4a80e80346a789d261.jpg","text":"TemporaryFile(/tmp/multipartBody4764908282363745755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210273645,"filename":"image_02052025_18_43_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/5/2/4afee3debf5793ca6b8a8e03d9a6fe8d.jpg","text":"TemporaryFile(/tmp/multipartBody1724710572927263849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210273645,"filename":"image_02052025_18_42_45_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355443707","file1":"1355443678","file0":"1355443648","file4":"1355443798","file5":"1355443832","file3":"1355443739"},"map_files_photo_id_array":[{"photo_id":"1355443832","filename":"file5"},{"photo_id":"1355443707","filename":"file2"},{"photo_id":"1355443798","filename":"file4"},{"photo_id":"1355443678","filename":"file1"},{"photo_id":"1355443648","filename":"file0"},{"photo_id":"1355443739","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355443707":["hashtag1","hashtag2"]},{"1355443832":["hashtag1","hashtag2"]},{"1355443739":["hashtag1","hashtag2"]},{"1355443798":["hashtag1","hashtag2"]},{"1355443678":["hashtag1","hashtag2"]},{"1355443648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355443707, 1355443832, 1355443739, 1355443798, 1355443678, 1355443648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36138105392456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:24:32.344139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/43/image_02052025_18_43_55_9431.jpg', '/home/pi/Desktop/images/02052025/18/43/image_02052025_18_44_05_10378.jpg', '/home/pi/Desktop/images/02052025/18/44/image_02052025_18_44_15_10366.jpg', '/home/pi/Desktop/images/02052025/18/44/image_02052025_18_44_25_9359.jpg', '/home/pi/Desktop/images/02052025/18/44/image_02052025_18_44_35_10359.jpg', '/home/pi/Desktop/images/02052025/18/44/image_02052025_18_44_44_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/43/image_02052025_18_43_55_9431.jpg
/home/pi/Desktop/images/02052025/18/43/image_02052025_18_44_05_10378.jpg
/home/pi/Desktop/images/02052025/18/44/image_02052025_18_44_15_10366.jpg
/home/pi/Desktop/images/02052025/18/44/image_02052025_18_44_25_9359.jpg
/home/pi/Desktop/images/02052025/18/44/image_02052025_18_44_35_10359.jpg
/home/pi/Desktop/images/02052025/18/44/image_02052025_18_44_44_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":["1355443986","1355443997","1355443979","1355443952","1355443960","1355443942"],"photo_ids_order":["1355443942","1355443952","1355443960","1355443979","1355443986","1355443997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d7cb961371a4f7adbd4c10e7eccd3d56.jpg","text":"TemporaryFile(/tmp/multipartBody1720169627566992439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210332948,"filename":"image_02052025_18_44_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a879f7d026ca76039fe2d31ab759e72.jpg","text":"TemporaryFile(/tmp/multipartBody206066392364861664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210332948,"filename":"image_02052025_18_44_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/5/2/e603072403d03f38663aa3e2f15107ac.jpg","text":"TemporaryFile(/tmp/multipartBody295592530657754966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210332948,"filename":"image_02052025_18_44_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/5/2/8ec299c6906aea4e2bf13fb6ce6fd18a.jpg","text":"TemporaryFile(/tmp/multipartBody7330927909319994383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210332948,"filename":"image_02052025_18_44_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85cbc86342021d95f0bbb3966968a4b4.jpg","text":"TemporaryFile(/tmp/multipartBody5024487987063129700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210332948,"filename":"image_02052025_18_44_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/5/2/a90cb917cdeda11f8117bc8a3999db40.jpg","text":"TemporaryFile(/tmp/multipartBody4309998385440918043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210332948,"filename":"image_02052025_18_43_55_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355443960","file1":"1355443952","file0":"1355443942","file4":"1355443986","file5":"1355443997","file3":"1355443979"},"map_files_photo_id_array":[{"photo_id":"1355443997","filename":"file5"},{"photo_id":"1355443960","filename":"file2"},{"photo_id":"1355443986","filename":"file4"},{"photo_id":"1355443952","filename":"file1"},{"photo_id":"1355443942","filename":"file0"},{"photo_id":"1355443979","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355443986":["hashtag1","hashtag2"]},{"1355443997":["hashtag1","hashtag2"]},{"1355443979":["hashtag1","hashtag2"]},{"1355443952":["hashtag1","hashtag2"]},{"1355443960":["hashtag1","hashtag2"]},{"1355443942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355443986, 1355443997, 1355443979, 1355443952, 1355443960, 1355443942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.483792304992676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:25:32.686126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/44/image_02052025_18_44_55_10376.jpg', '/home/pi/Desktop/images/02052025/18/44/image_02052025_18_45_05_10360.jpg', '/home/pi/Desktop/images/02052025/18/45/image_02052025_18_45_15_9464.jpg', '/home/pi/Desktop/images/02052025/18/45/image_02052025_18_45_25_10353.jpg', '/home/pi/Desktop/images/02052025/18/45/image_02052025_18_45_35_10344.jpg', '/home/pi/Desktop/images/02052025/18/45/image_02052025_18_45_45_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/44/image_02052025_18_44_55_10376.jpg
/home/pi/Desktop/images/02052025/18/44/image_02052025_18_45_05_10360.jpg
/home/pi/Desktop/images/02052025/18/45/image_02052025_18_45_15_9464.jpg
/home/pi/Desktop/images/02052025/18/45/image_02052025_18_45_25_10353.jpg
/home/pi/Desktop/images/02052025/18/45/image_02052025_18_45_35_10344.jpg
/home/pi/Desktop/images/02052025/18/45/image_02052025_18_45_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":["1355444535","1355444424","1355444346","1355444318","1355444383","1355444479"],"photo_ids_order":["1355444318","1355444346","1355444383","1355444424","1355444479","1355444535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eaa026075b991450b2c6a2e0aa674f87.jpg","text":"TemporaryFile(/tmp/multipartBody8453049254159144007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210393215,"filename":"image_02052025_18_45_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/5/2/f029b2814e3ade733882e778a4e71383.jpg","text":"TemporaryFile(/tmp/multipartBody6630428093233245256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210393215,"filename":"image_02052025_18_45_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/5/2/2a224848b60615592ae9e653ee4312ce.jpg","text":"TemporaryFile(/tmp/multipartBody4797541073560402674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210393215,"filename":"image_02052025_18_45_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/5/2/35b1689e53715baa7f2ebd1b0bda422c.jpg","text":"TemporaryFile(/tmp/multipartBody6737788851321321731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210393215,"filename":"image_02052025_18_44_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/5/2/68f089e0f3cbc31617e9f9c186416272.jpg","text":"TemporaryFile(/tmp/multipartBody3938052379809175392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210393215,"filename":"image_02052025_18_45_15_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85e4fc9b68f2ea4047d4dc32c9ace4a8.jpg","text":"TemporaryFile(/tmp/multipartBody8130527600336511349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210393215,"filename":"image_02052025_18_45_35_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355444383","file1":"1355444346","file0":"1355444318","file4":"1355444479","file5":"1355444535","file3":"1355444424"},"map_files_photo_id_array":[{"photo_id":"1355444535","filename":"file5"},{"photo_id":"1355444383","filename":"file2"},{"photo_id":"1355444479","filename":"file4"},{"photo_id":"1355444346","filename":"file1"},{"photo_id":"1355444318","filename":"file0"},{"photo_id":"1355444424","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355444535":["hashtag1","hashtag2"]},{"1355444424":["hashtag1","hashtag2"]},{"1355444346":["hashtag1","hashtag2"]},{"1355444318":["hashtag1","hashtag2"]},{"1355444383":["hashtag1","hashtag2"]},{"1355444479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355444535, 1355444424, 1355444346, 1355444318, 1355444383, 1355444479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60297608375549 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:26:32.882211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/45/image_02052025_18_45_55_10375.jpg', '/home/pi/Desktop/images/02052025/18/45/image_02052025_18_46_04_9364.jpg', '/home/pi/Desktop/images/02052025/18/46/image_02052025_18_46_15_10348.jpg', '/home/pi/Desktop/images/02052025/18/46/image_02052025_18_46_25_10367.jpg', '/home/pi/Desktop/images/02052025/18/46/image_02052025_18_46_35_9333.jpg', '/home/pi/Desktop/images/02052025/18/46/image_02052025_18_46_45_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/45/image_02052025_18_45_55_10375.jpg
/home/pi/Desktop/images/02052025/18/45/image_02052025_18_46_04_9364.jpg
/home/pi/Desktop/images/02052025/18/46/image_02052025_18_46_15_10348.jpg
/home/pi/Desktop/images/02052025/18/46/image_02052025_18_46_25_10367.jpg
/home/pi/Desktop/images/02052025/18/46/image_02052025_18_46_35_9333.jpg
/home/pi/Desktop/images/02052025/18/46/image_02052025_18_46_45_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355444687","1355444689","1355444674","1355444683","1355444679","1355444670"],"photo_ids_order":["1355444670","1355444674","1355444679","1355444683","1355444687","1355444689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8cb35e7a9e12206e297b5c1728265bf1.jpg","text":"TemporaryFile(/tmp/multipartBody1620642613193374027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210453351,"filename":"image_02052025_18_46_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/5/2/41e868eba1310c03c5742051fb7b2bbc.jpg","text":"TemporaryFile(/tmp/multipartBody3441035061464679769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210453351,"filename":"image_02052025_18_46_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/20716bd550d3707213a9c929cb8db728.jpg","text":"TemporaryFile(/tmp/multipartBody104987518302246777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210453351,"filename":"image_02052025_18_46_04_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4dcdbb91fc9ad207871569a91e5b5c79.jpg","text":"TemporaryFile(/tmp/multipartBody8518645135473562665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210453351,"filename":"image_02052025_18_46_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/5/2/4938a5a962dc1e222ad038a8c28fe828.jpg","text":"TemporaryFile(/tmp/multipartBody2793961621947734124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210453351,"filename":"image_02052025_18_46_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/5/2/fe4474b62ffc7b34ad1d1a91220b098e.jpg","text":"TemporaryFile(/tmp/multipartBody4157758082775933545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210453351,"filename":"image_02052025_18_45_55_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355444679","file1":"1355444674","file0":"1355444670","file4":"1355444687","file5":"1355444689","file3":"1355444683"},"map_files_photo_id_array":[{"photo_id":"1355444689","filename":"file5"},{"photo_id":"1355444679","filename":"file2"},{"photo_id":"1355444687","filename":"file4"},{"photo_id":"1355444674","filename":"file1"},{"photo_id":"1355444670","filename":"file0"},{"photo_id":"1355444683","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355444687":["hashtag1","hashtag2"]},{"1355444689":["hashtag1","hashtag2"]},{"1355444674":["hashtag1","hashtag2"]},{"1355444683":["hashtag1","hashtag2"]},{"1355444679":["hashtag1","hashtag2"]},{"1355444670":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355444687, 1355444689, 1355444674, 1355444683, 1355444679, 1355444670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.008362770080566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:27:32.877469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/46/image_02052025_18_46_55_10356.jpg', '/home/pi/Desktop/images/02052025/18/46/image_02052025_18_47_05_9392.jpg', '/home/pi/Desktop/images/02052025/18/47/image_02052025_18_47_15_10390.jpg', '/home/pi/Desktop/images/02052025/18/47/image_02052025_18_47_25_10371.jpg', '/home/pi/Desktop/images/02052025/18/47/image_02052025_18_47_35_9419.jpg', '/home/pi/Desktop/images/02052025/18/47/image_02052025_18_47_45_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/46/image_02052025_18_46_55_10356.jpg
/home/pi/Desktop/images/02052025/18/46/image_02052025_18_47_05_9392.jpg
/home/pi/Desktop/images/02052025/18/47/image_02052025_18_47_15_10390.jpg
/home/pi/Desktop/images/02052025/18/47/image_02052025_18_47_25_10371.jpg
/home/pi/Desktop/images/02052025/18/47/image_02052025_18_47_35_9419.jpg
/home/pi/Desktop/images/02052025/18/47/image_02052025_18_47_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":["1355444733","1355444727","1355444730","1355444718","1355444708","1355444731"],"photo_ids_order":["1355444708","1355444718","1355444727","1355444730","1355444731","1355444733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/45cad824c3a82e145ccd14a1de801ecd.jpg","text":"TemporaryFile(/tmp/multipartBody4548890605342202939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210513339,"filename":"image_02052025_18_47_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/5/2/44dff36b8c237b3d3f2fdcb2b154f1c1.jpg","text":"TemporaryFile(/tmp/multipartBody721351425649848292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210513339,"filename":"image_02052025_18_47_15_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a7265eda019ac16e9309cf0b153f6a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3394664923852444534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210513339,"filename":"image_02052025_18_47_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/5/2/ba76738b6da2a0fa818de056a7d4c160.jpg","text":"TemporaryFile(/tmp/multipartBody7213601087091337150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210513339,"filename":"image_02052025_18_47_05_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d5fe9124414a9abd3e912faa5e435bdf.jpg","text":"TemporaryFile(/tmp/multipartBody1939720674627109281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210513339,"filename":"image_02052025_18_46_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/5/2/7bb5f843a4cbc1c09a9e48dcc64e28d8.jpg","text":"TemporaryFile(/tmp/multipartBody4860170832819672527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210513339,"filename":"image_02052025_18_47_35_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355444727","file1":"1355444718","file0":"1355444708","file4":"1355444731","file5":"1355444733","file3":"1355444730"},"map_files_photo_id_array":[{"photo_id":"1355444733","filename":"file5"},{"photo_id":"1355444727","filename":"file2"},{"photo_id":"1355444731","filename":"file4"},{"photo_id":"1355444718","filename":"file1"},{"photo_id":"1355444708","filename":"file0"},{"photo_id":"1355444730","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355444733":["hashtag1","hashtag2"]},{"1355444727":["hashtag1","hashtag2"]},{"1355444730":["hashtag1","hashtag2"]},{"1355444718":["hashtag1","hashtag2"]},{"1355444708":["hashtag1","hashtag2"]},{"1355444731":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355444733, 1355444727, 1355444730, 1355444718, 1355444708, 1355444731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.281097173690796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:28:33.036780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/47/image_02052025_18_47_55_9364.jpg', '/home/pi/Desktop/images/02052025/18/47/image_02052025_18_48_05_10346.jpg', '/home/pi/Desktop/images/02052025/18/48/image_02052025_18_48_15_10334.jpg', '/home/pi/Desktop/images/02052025/18/48/image_02052025_18_48_25_9358.jpg', '/home/pi/Desktop/images/02052025/18/48/image_02052025_18_48_35_10341.jpg', '/home/pi/Desktop/images/02052025/18/48/image_02052025_18_48_45_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/47/image_02052025_18_47_55_9364.jpg
/home/pi/Desktop/images/02052025/18/47/image_02052025_18_48_05_10346.jpg
/home/pi/Desktop/images/02052025/18/48/image_02052025_18_48_15_10334.jpg
/home/pi/Desktop/images/02052025/18/48/image_02052025_18_48_25_9358.jpg
/home/pi/Desktop/images/02052025/18/48/image_02052025_18_48_35_10341.jpg
/home/pi/Desktop/images/02052025/18/48/image_02052025_18_48_45_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355444769","1355444765","1355444759","1355444773","1355444776","1355444755"],"photo_ids_order":["1355444755","1355444759","1355444765","1355444769","1355444773","1355444776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/20c7f9fb235f5fa64fc4e7407d790d88.jpg","text":"TemporaryFile(/tmp/multipartBody6673726786423662109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210573722,"filename":"image_02052025_18_48_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/5/2/ba18b18b57ddd52310e412e5de42e8c3.jpg","text":"TemporaryFile(/tmp/multipartBody4025925059240731266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210573722,"filename":"image_02052025_18_48_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/5/2/75b6a2f3ffb35e97ac52c560484feb98.jpg","text":"TemporaryFile(/tmp/multipartBody2499158805716172659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210573722,"filename":"image_02052025_18_48_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/5/2/75d7b0423b64ef52ca88f0be57bafa32.jpg","text":"TemporaryFile(/tmp/multipartBody3529632716203595314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210573722,"filename":"image_02052025_18_48_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/5/2/fd7c28fc52ac05727f4bd3b155217429.jpg","text":"TemporaryFile(/tmp/multipartBody2474787425845217316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210573722,"filename":"image_02052025_18_48_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/5/2/8660d45eddbeb092ce42b6db2495ffe0.jpg","text":"TemporaryFile(/tmp/multipartBody4953975628071430854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210573722,"filename":"image_02052025_18_47_55_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355444765","file1":"1355444759","file0":"1355444755","file4":"1355444773","file5":"1355444776","file3":"1355444769"},"map_files_photo_id_array":[{"photo_id":"1355444776","filename":"file5"},{"photo_id":"1355444765","filename":"file2"},{"photo_id":"1355444773","filename":"file4"},{"photo_id":"1355444759","filename":"file1"},{"photo_id":"1355444755","filename":"file0"},{"photo_id":"1355444769","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355444769":["hashtag1","hashtag2"]},{"1355444765":["hashtag1","hashtag2"]},{"1355444759":["hashtag1","hashtag2"]},{"1355444773":["hashtag1","hashtag2"]},{"1355444776":["hashtag1","hashtag2"]},{"1355444755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355444769, 1355444765, 1355444759, 1355444773, 1355444776, 1355444755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.024595737457275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:29:32.170179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/48/image_02052025_18_48_55_9439.jpg', '/home/pi/Desktop/images/02052025/18/48/image_02052025_18_49_05_10472.jpg', '/home/pi/Desktop/images/02052025/18/49/image_02052025_18_49_15_9444.jpg', '/home/pi/Desktop/images/02052025/18/49/image_02052025_18_49_25_10365.jpg', '/home/pi/Desktop/images/02052025/18/49/image_02052025_18_49_35_10429.jpg', '/home/pi/Desktop/images/02052025/18/49/image_02052025_18_49_45_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/48/image_02052025_18_48_55_9439.jpg
/home/pi/Desktop/images/02052025/18/48/image_02052025_18_49_05_10472.jpg
/home/pi/Desktop/images/02052025/18/49/image_02052025_18_49_15_9444.jpg
/home/pi/Desktop/images/02052025/18/49/image_02052025_18_49_25_10365.jpg
/home/pi/Desktop/images/02052025/18/49/image_02052025_18_49_35_10429.jpg
/home/pi/Desktop/images/02052025/18/49/image_02052025_18_49_45_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":["1355444814","1355444802","1355444807","1355444818","1355444812","1355444796"],"photo_ids_order":["1355444796","1355444802","1355444807","1355444812","1355444814","1355444818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0c0d9d57d6c60d204dee32078930ea6f.jpg","text":"TemporaryFile(/tmp/multipartBody6946787790198335938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210632628,"filename":"image_02052025_18_49_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/5/2/873c2605c3988da525e05b0b3d942890.jpg","text":"TemporaryFile(/tmp/multipartBody7091220132712459757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210632628,"filename":"image_02052025_18_49_05_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ba813b77ff6f0cae7e35c829ec6f3e3a.jpg","text":"TemporaryFile(/tmp/multipartBody1581782251166973704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210632628,"filename":"image_02052025_18_49_15_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/904e95f0482a6723b1ea423f15f923ba.jpg","text":"TemporaryFile(/tmp/multipartBody8724148859077630460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210632628,"filename":"image_02052025_18_49_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/5/2/3b4736bf6e17bb6e69fdb4c8a7fe48e3.jpg","text":"TemporaryFile(/tmp/multipartBody7611027009026504074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210632628,"filename":"image_02052025_18_49_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/5/2/e5cff09cc449e91612d851ef7dc403af.jpg","text":"TemporaryFile(/tmp/multipartBody4125155206418093485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210632628,"filename":"image_02052025_18_48_55_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355444807","file1":"1355444802","file0":"1355444796","file4":"1355444814","file5":"1355444818","file3":"1355444812"},"map_files_photo_id_array":[{"photo_id":"1355444818","filename":"file5"},{"photo_id":"1355444807","filename":"file2"},{"photo_id":"1355444814","filename":"file4"},{"photo_id":"1355444802","filename":"file1"},{"photo_id":"1355444796","filename":"file0"},{"photo_id":"1355444812","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355444814":["hashtag1","hashtag2"]},{"1355444802":["hashtag1","hashtag2"]},{"1355444807":["hashtag1","hashtag2"]},{"1355444818":["hashtag1","hashtag2"]},{"1355444812":["hashtag1","hashtag2"]},{"1355444796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355444814, 1355444802, 1355444807, 1355444818, 1355444812, 1355444796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.441678762435913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:30:32.370886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/49/image_02052025_18_49_55_10429.jpg', '/home/pi/Desktop/images/02052025/18/49/image_02052025_18_50_05_9352.jpg', '/home/pi/Desktop/images/02052025/18/50/image_02052025_18_50_15_10459.jpg', '/home/pi/Desktop/images/02052025/18/50/image_02052025_18_50_25_10367.jpg', '/home/pi/Desktop/images/02052025/18/50/image_02052025_18_50_35_9451.jpg', '/home/pi/Desktop/images/02052025/18/50/image_02052025_18_50_45_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/49/image_02052025_18_49_55_10429.jpg
/home/pi/Desktop/images/02052025/18/49/image_02052025_18_50_05_9352.jpg
/home/pi/Desktop/images/02052025/18/50/image_02052025_18_50_15_10459.jpg
/home/pi/Desktop/images/02052025/18/50/image_02052025_18_50_25_10367.jpg
/home/pi/Desktop/images/02052025/18/50/image_02052025_18_50_35_9451.jpg
/home/pi/Desktop/images/02052025/18/50/image_02052025_18_50_45_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":["1355444874","1355444882","1355444878","1355444871","1355444865","1355444859"],"photo_ids_order":["1355444859","1355444865","1355444871","1355444874","1355444878","1355444882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7f6b67defda649778002190e1a4af89b.jpg","text":"TemporaryFile(/tmp/multipartBody4410143460446432817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210692925,"filename":"image_02052025_18_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/5/2/2a3b3fb280bce050f03b74592b2fa63d.jpg","text":"TemporaryFile(/tmp/multipartBody4200748366087926449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210692925,"filename":"image_02052025_18_50_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/5/2/44cb710a8ab60a95713f0cb6fa1dbdfd.jpg","text":"TemporaryFile(/tmp/multipartBody481899776969937649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210692925,"filename":"image_02052025_18_50_35_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4652d4cf49d9f1f7bdd0649812161c90.jpg","text":"TemporaryFile(/tmp/multipartBody1869681117470531424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210692925,"filename":"image_02052025_18_50_15_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f22bd78b3d05ac24601c4313e9ae609.jpg","text":"TemporaryFile(/tmp/multipartBody7414837829411291146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210692925,"filename":"image_02052025_18_50_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/5/2/06fb0977140e3cc24499ba05e50ebea9.jpg","text":"TemporaryFile(/tmp/multipartBody4418339689858122190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210692925,"filename":"image_02052025_18_49_55_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355444871","file1":"1355444865","file0":"1355444859","file4":"1355444878","file5":"1355444882","file3":"1355444874"},"map_files_photo_id_array":[{"photo_id":"1355444882","filename":"file5"},{"photo_id":"1355444871","filename":"file2"},{"photo_id":"1355444878","filename":"file4"},{"photo_id":"1355444865","filename":"file1"},{"photo_id":"1355444859","filename":"file0"},{"photo_id":"1355444874","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355444874":["hashtag1","hashtag2"]},{"1355444882":["hashtag1","hashtag2"]},{"1355444878":["hashtag1","hashtag2"]},{"1355444871":["hashtag1","hashtag2"]},{"1355444865":["hashtag1","hashtag2"]},{"1355444859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355444874, 1355444882, 1355444878, 1355444871, 1355444865, 1355444859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.530423402786255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:31:32.453080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/50/image_02052025_18_50_55_9476.jpg', '/home/pi/Desktop/images/02052025/18/50/image_02052025_18_51_05_10346.jpg', '/home/pi/Desktop/images/02052025/18/51/image_02052025_18_51_15_10330.jpg', '/home/pi/Desktop/images/02052025/18/51/image_02052025_18_51_25_9443.jpg', '/home/pi/Desktop/images/02052025/18/51/image_02052025_18_51_35_10363.jpg', '/home/pi/Desktop/images/02052025/18/51/image_02052025_18_51_44_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/50/image_02052025_18_50_55_9476.jpg
/home/pi/Desktop/images/02052025/18/50/image_02052025_18_51_05_10346.jpg
/home/pi/Desktop/images/02052025/18/51/image_02052025_18_51_15_10330.jpg
/home/pi/Desktop/images/02052025/18/51/image_02052025_18_51_25_9443.jpg
/home/pi/Desktop/images/02052025/18/51/image_02052025_18_51_35_10363.jpg
/home/pi/Desktop/images/02052025/18/51/image_02052025_18_51_44_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355444946","1355444949","1355444921","1355444933","1355444929","1355444917"],"photo_ids_order":["1355444917","1355444921","1355444929","1355444933","1355444946","1355444949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b25291209cc9b5cb77395f4443ed48cb.jpg","text":"TemporaryFile(/tmp/multipartBody7770317884749287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210752914,"filename":"image_02052025_18_51_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dacdd6ce0af3f6ecfa60cb00461a53ec.jpg","text":"TemporaryFile(/tmp/multipartBody2627905667310266544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210752914,"filename":"image_02052025_18_51_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/900bae2f5fed12992bb9d450787224a1.jpg","text":"TemporaryFile(/tmp/multipartBody4562876551353882227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210752914,"filename":"image_02052025_18_51_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/5/2/7aa5e270aaff578255d17da6a6058dd4.jpg","text":"TemporaryFile(/tmp/multipartBody6114329505052130231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210752914,"filename":"image_02052025_18_51_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/5/2/a11f077f615e26b578b3c46c5ce45882.jpg","text":"TemporaryFile(/tmp/multipartBody2782111187062181896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210752914,"filename":"image_02052025_18_51_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/5/2/07907ec0044aebecbecd943e9c86104c.jpg","text":"TemporaryFile(/tmp/multipartBody2774830208299179029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210752914,"filename":"image_02052025_18_50_55_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355444929","file1":"1355444921","file0":"1355444917","file4":"1355444946","file5":"1355444949","file3":"1355444933"},"map_files_photo_id_array":[{"photo_id":"1355444949","filename":"file5"},{"photo_id":"1355444929","filename":"file2"},{"photo_id":"1355444946","filename":"file4"},{"photo_id":"1355444921","filename":"file1"},{"photo_id":"1355444917","filename":"file0"},{"photo_id":"1355444933","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355444946":["hashtag1","hashtag2"]},{"1355444949":["hashtag1","hashtag2"]},{"1355444921":["hashtag1","hashtag2"]},{"1355444933":["hashtag1","hashtag2"]},{"1355444929":["hashtag1","hashtag2"]},{"1355444917":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355444946, 1355444949, 1355444921, 1355444933, 1355444929, 1355444917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98958659172058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:32:32.817594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/51/image_02052025_18_51_55_10463.jpg', '/home/pi/Desktop/images/02052025/18/51/image_02052025_18_52_04_9539.jpg', '/home/pi/Desktop/images/02052025/18/52/image_02052025_18_52_15_10402.jpg', '/home/pi/Desktop/images/02052025/18/52/image_02052025_18_52_25_10373.jpg', '/home/pi/Desktop/images/02052025/18/52/image_02052025_18_52_55_10354.jpg', '/home/pi/Desktop/images/02052025/18/53/image_02052025_18_53_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/51/image_02052025_18_51_55_10463.jpg
/home/pi/Desktop/images/02052025/18/51/image_02052025_18_52_04_9539.jpg
/home/pi/Desktop/images/02052025/18/52/image_02052025_18_52_15_10402.jpg
/home/pi/Desktop/images/02052025/18/52/image_02052025_18_52_25_10373.jpg
/home/pi/Desktop/images/02052025/18/52/image_02052025_18_52_55_10354.jpg
/home/pi/Desktop/images/02052025/18/53/image_02052025_18_53_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":["1355445120","1355444969","1355445115","1355445109","1355445118","1355445123"],"photo_ids_order":["1355444969","1355445109","1355445115","1355445118","1355445120","1355445123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e052d65945d288179c068eddef2a317.jpg","text":"TemporaryFile(/tmp/multipartBody6242153497476261724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210813284,"filename":"image_02052025_18_52_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/5/2/719eb87f5997c1835a501c9b1e683640.jpg","text":"TemporaryFile(/tmp/multipartBody8870755068699723549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210813284,"filename":"image_02052025_18_51_55_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a05037b16043c504bd097ac2265899f7.jpg","text":"TemporaryFile(/tmp/multipartBody1207384606124067342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210813284,"filename":"image_02052025_18_52_15_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8db13b987d6267ab1409a284fcfae55c.jpg","text":"TemporaryFile(/tmp/multipartBody7407630118584596097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210813284,"filename":"image_02052025_18_52_04_9539.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86bb974ea96ee64d0d9fc59c28da6391.jpg","text":"TemporaryFile(/tmp/multipartBody4345190326068741723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210813284,"filename":"image_02052025_18_52_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1ad76d3e601437a0b9e8e073bcd99fec.jpg","text":"TemporaryFile(/tmp/multipartBody1646369165417632139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210813284,"filename":"image_02052025_18_53_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445115","file1":"1355445109","file0":"1355444969","file4":"1355445120","file5":"1355445123","file3":"1355445118"},"map_files_photo_id_array":[{"photo_id":"1355445123","filename":"file5"},{"photo_id":"1355445115","filename":"file2"},{"photo_id":"1355445120","filename":"file4"},{"photo_id":"1355445109","filename":"file1"},{"photo_id":"1355444969","filename":"file0"},{"photo_id":"1355445118","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445120":["hashtag1","hashtag2"]},{"1355444969":["hashtag1","hashtag2"]},{"1355445115":["hashtag1","hashtag2"]},{"1355445109":["hashtag1","hashtag2"]},{"1355445118":["hashtag1","hashtag2"]},{"1355445123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445120, 1355444969, 1355445115, 1355445109, 1355445118, 1355445123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59306287765503 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:33:32.880272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/53/image_02052025_18_53_24_9439.jpg', '/home/pi/Desktop/images/02052025/18/53/image_02052025_18_53_35_10360.jpg', '/home/pi/Desktop/images/02052025/18/53/image_02052025_18_53_55_9360.jpg', '/home/pi/Desktop/images/02052025/18/54/image_02052025_18_54_15_10347.jpg', '/home/pi/Desktop/images/02052025/18/54/image_02052025_18_54_25_9409.jpg', '/home/pi/Desktop/images/02052025/18/54/image_02052025_18_54_35_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/53/image_02052025_18_53_24_9439.jpg
/home/pi/Desktop/images/02052025/18/53/image_02052025_18_53_35_10360.jpg
/home/pi/Desktop/images/02052025/18/53/image_02052025_18_53_55_9360.jpg
/home/pi/Desktop/images/02052025/18/54/image_02052025_18_54_15_10347.jpg
/home/pi/Desktop/images/02052025/18/54/image_02052025_18_54_25_9409.jpg
/home/pi/Desktop/images/02052025/18/54/image_02052025_18_54_35_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355445173","1355445163","1355445168","1355445234","1355445183","1355445177"],"photo_ids_order":["1355445163","1355445168","1355445173","1355445177","1355445183","1355445234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d9174b8d50ee249f614b608d0ccf6cf.jpg","text":"TemporaryFile(/tmp/multipartBody6078898066862951806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210873342,"filename":"image_02052025_18_53_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/5/2/5a78ac765661729fa118ad64c3d1a822.jpg","text":"TemporaryFile(/tmp/multipartBody774239246507132741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210873342,"filename":"image_02052025_18_53_24_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f2bccb50cb5e7e31cba672c049e27ae.jpg","text":"TemporaryFile(/tmp/multipartBody2006657491220821058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210873342,"filename":"image_02052025_18_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/5/2/e515dbe0ce8cf01b607ec99159cc337c.jpg","text":"TemporaryFile(/tmp/multipartBody1806508295345125065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210873342,"filename":"image_02052025_18_54_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/197afc5bbbc0c6c4a62da8f552674ab3.jpg","text":"TemporaryFile(/tmp/multipartBody4493468058250417189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210873342,"filename":"image_02052025_18_54_25_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94128e74c3ef3bf7404cbeadc16c5656.jpg","text":"TemporaryFile(/tmp/multipartBody1941467895220164914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210873342,"filename":"image_02052025_18_54_15_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445173","file1":"1355445168","file0":"1355445163","file4":"1355445183","file5":"1355445234","file3":"1355445177"},"map_files_photo_id_array":[{"photo_id":"1355445234","filename":"file5"},{"photo_id":"1355445173","filename":"file2"},{"photo_id":"1355445183","filename":"file4"},{"photo_id":"1355445168","filename":"file1"},{"photo_id":"1355445163","filename":"file0"},{"photo_id":"1355445177","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445173":["hashtag1","hashtag2"]},{"1355445163":["hashtag1","hashtag2"]},{"1355445168":["hashtag1","hashtag2"]},{"1355445234":["hashtag1","hashtag2"]},{"1355445183":["hashtag1","hashtag2"]},{"1355445177":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445173, 1355445163, 1355445168, 1355445234, 1355445183, 1355445177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45783257484436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:34:33.088354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/54/image_02052025_18_54_45_10345.jpg', '/home/pi/Desktop/images/02052025/18/54/image_02052025_18_54_55_9359.jpg', '/home/pi/Desktop/images/02052025/18/54/image_02052025_18_55_05_10368.jpg', '/home/pi/Desktop/images/02052025/18/55/image_02052025_18_55_15_9445.jpg', '/home/pi/Desktop/images/02052025/18/55/image_02052025_18_55_25_10358.jpg', '/home/pi/Desktop/images/02052025/18/55/image_02052025_18_55_35_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/54/image_02052025_18_54_45_10345.jpg
/home/pi/Desktop/images/02052025/18/54/image_02052025_18_54_55_9359.jpg
/home/pi/Desktop/images/02052025/18/54/image_02052025_18_55_05_10368.jpg
/home/pi/Desktop/images/02052025/18/55/image_02052025_18_55_15_9445.jpg
/home/pi/Desktop/images/02052025/18/55/image_02052025_18_55_25_10358.jpg
/home/pi/Desktop/images/02052025/18/55/image_02052025_18_55_35_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355445306","1355445295","1355445307","1355445270","1355445276","1355445330"],"photo_ids_order":["1355445270","1355445276","1355445295","1355445306","1355445307","1355445330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05acc3a3c6854cfef61885e482f127e4.jpg","text":"TemporaryFile(/tmp/multipartBody738314113425822891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210933563,"filename":"image_02052025_18_55_15_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b90461fe071db4176663dbc4305d87f2.jpg","text":"TemporaryFile(/tmp/multipartBody865757080440284740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210933563,"filename":"image_02052025_18_55_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/5/2/41d542875e88b46f7dffd36bd261a7c1.jpg","text":"TemporaryFile(/tmp/multipartBody727959220933673846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210933563,"filename":"image_02052025_18_55_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/5/2/6eeb0a1ced0429f4ca562441c5782e52.jpg","text":"TemporaryFile(/tmp/multipartBody5026541377745701542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210933563,"filename":"image_02052025_18_54_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/5/2/44333e7f3b6faea55e17c818c139062f.jpg","text":"TemporaryFile(/tmp/multipartBody2493028964650928204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210933563,"filename":"image_02052025_18_54_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/5/2/f5e0ef06c95b3a115311e2c2ce2f065d.jpg","text":"TemporaryFile(/tmp/multipartBody8729797098743706482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210933563,"filename":"image_02052025_18_55_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445295","file1":"1355445276","file0":"1355445270","file4":"1355445307","file5":"1355445330","file3":"1355445306"},"map_files_photo_id_array":[{"photo_id":"1355445330","filename":"file5"},{"photo_id":"1355445295","filename":"file2"},{"photo_id":"1355445307","filename":"file4"},{"photo_id":"1355445276","filename":"file1"},{"photo_id":"1355445270","filename":"file0"},{"photo_id":"1355445306","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445306":["hashtag1","hashtag2"]},{"1355445295":["hashtag1","hashtag2"]},{"1355445307":["hashtag1","hashtag2"]},{"1355445270":["hashtag1","hashtag2"]},{"1355445276":["hashtag1","hashtag2"]},{"1355445330":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445306, 1355445295, 1355445307, 1355445270, 1355445276, 1355445330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34604215621948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:35:32.546364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/55/image_02052025_18_55_45_9422.jpg', '/home/pi/Desktop/images/02052025/18/55/image_02052025_18_55_55_10378.jpg', '/home/pi/Desktop/images/02052025/18/55/image_02052025_18_56_04_9356.jpg', '/home/pi/Desktop/images/02052025/18/56/image_02052025_18_56_15_10438.jpg', '/home/pi/Desktop/images/02052025/18/56/image_02052025_18_56_25_10419.jpg', '/home/pi/Desktop/images/02052025/18/56/image_02052025_18_56_35_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/55/image_02052025_18_55_45_9422.jpg
/home/pi/Desktop/images/02052025/18/55/image_02052025_18_55_55_10378.jpg
/home/pi/Desktop/images/02052025/18/55/image_02052025_18_56_04_9356.jpg
/home/pi/Desktop/images/02052025/18/56/image_02052025_18_56_15_10438.jpg
/home/pi/Desktop/images/02052025/18/56/image_02052025_18_56_25_10419.jpg
/home/pi/Desktop/images/02052025/18/56/image_02052025_18_56_35_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355445455","1355445437","1355445431","1355445434","1355445428","1355445441"],"photo_ids_order":["1355445428","1355445431","1355445434","1355445437","1355445441","1355445455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/250083373ff1768db73d748624fde9e3.jpg","text":"TemporaryFile(/tmp/multipartBody8955291865117720373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210993290,"filename":"image_02052025_18_56_35_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a02fa7341b83cd485abcbc8679011cae.jpg","text":"TemporaryFile(/tmp/multipartBody2028739833184021583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210993290,"filename":"image_02052025_18_56_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/5/2/ada7d83befc0d4966367150981fd7c93.jpg","text":"TemporaryFile(/tmp/multipartBody7619589640114808233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210993290,"filename":"image_02052025_18_55_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e21a402382cf9ac1c18d3a5afdee3961.jpg","text":"TemporaryFile(/tmp/multipartBody4494785469898375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210993290,"filename":"image_02052025_18_56_04_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d5497c0a0246cada9c297d41622b7703.jpg","text":"TemporaryFile(/tmp/multipartBody7688321864717670133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210993290,"filename":"image_02052025_18_55_45_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/55f7eeab31011b74299693ba3e3e1b55.jpg","text":"TemporaryFile(/tmp/multipartBody8067036719032810167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746210993290,"filename":"image_02052025_18_56_25_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445434","file1":"1355445431","file0":"1355445428","file4":"1355445441","file5":"1355445455","file3":"1355445437"},"map_files_photo_id_array":[{"photo_id":"1355445455","filename":"file5"},{"photo_id":"1355445434","filename":"file2"},{"photo_id":"1355445441","filename":"file4"},{"photo_id":"1355445431","filename":"file1"},{"photo_id":"1355445428","filename":"file0"},{"photo_id":"1355445437","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445455":["hashtag1","hashtag2"]},{"1355445437":["hashtag1","hashtag2"]},{"1355445431":["hashtag1","hashtag2"]},{"1355445434":["hashtag1","hashtag2"]},{"1355445428":["hashtag1","hashtag2"]},{"1355445441":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445455, 1355445437, 1355445431, 1355445434, 1355445428, 1355445441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.28115916252136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:36:32.698978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/56/image_02052025_18_56_45_10344.jpg', '/home/pi/Desktop/images/02052025/18/56/image_02052025_18_56_54_9362.jpg', '/home/pi/Desktop/images/02052025/18/56/image_02052025_18_57_05_10442.jpg', '/home/pi/Desktop/images/02052025/18/57/image_02052025_18_57_15_10350.jpg', '/home/pi/Desktop/images/02052025/18/57/image_02052025_18_57_25_9341.jpg', '/home/pi/Desktop/images/02052025/18/57/image_02052025_18_57_35_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/56/image_02052025_18_56_45_10344.jpg
/home/pi/Desktop/images/02052025/18/56/image_02052025_18_56_54_9362.jpg
/home/pi/Desktop/images/02052025/18/56/image_02052025_18_57_05_10442.jpg
/home/pi/Desktop/images/02052025/18/57/image_02052025_18_57_15_10350.jpg
/home/pi/Desktop/images/02052025/18/57/image_02052025_18_57_25_9341.jpg
/home/pi/Desktop/images/02052025/18/57/image_02052025_18_57_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":["1355445488","1355445473","1355445466","1355445478","1355445483","1355445468"],"photo_ids_order":["1355445466","1355445468","1355445473","1355445478","1355445483","1355445488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/796af628e4f1d75ef3e060aec7cd6722.jpg","text":"TemporaryFile(/tmp/multipartBody2762827282041662004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211053421,"filename":"image_02052025_18_57_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/5/2/9128f06d3c0cd35bde55a98f10cf1303.jpg","text":"TemporaryFile(/tmp/multipartBody7776049323729638289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211053421,"filename":"image_02052025_18_57_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/5/2/0a37a0d1077426bd6877b159fdca328c.jpg","text":"TemporaryFile(/tmp/multipartBody1410238110192896006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211053421,"filename":"image_02052025_18_56_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/5/2/cdbd72d10fa8d7599f5cbe9fe14897e7.jpg","text":"TemporaryFile(/tmp/multipartBody4243053074717490034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211053421,"filename":"image_02052025_18_57_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/5/2/3e46b78e9e2646031a3543f8b8bb5845.jpg","text":"TemporaryFile(/tmp/multipartBody1578952768580085053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211053421,"filename":"image_02052025_18_57_25_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9bbbdc42162003028ac39172f2e6796c.jpg","text":"TemporaryFile(/tmp/multipartBody5492167605127926516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211053421,"filename":"image_02052025_18_56_54_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445473","file1":"1355445468","file0":"1355445466","file4":"1355445483","file5":"1355445488","file3":"1355445478"},"map_files_photo_id_array":[{"photo_id":"1355445488","filename":"file5"},{"photo_id":"1355445473","filename":"file2"},{"photo_id":"1355445483","filename":"file4"},{"photo_id":"1355445468","filename":"file1"},{"photo_id":"1355445466","filename":"file0"},{"photo_id":"1355445478","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445488":["hashtag1","hashtag2"]},{"1355445473":["hashtag1","hashtag2"]},{"1355445466":["hashtag1","hashtag2"]},{"1355445478":["hashtag1","hashtag2"]},{"1355445483":["hashtag1","hashtag2"]},{"1355445468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445488, 1355445473, 1355445466, 1355445478, 1355445483, 1355445468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45940136909485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:37:32.831094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/57/image_02052025_18_57_45_10371.jpg', '/home/pi/Desktop/images/02052025/18/57/image_02052025_18_57_55_9420.jpg', '/home/pi/Desktop/images/02052025/18/57/image_02052025_18_58_05_10358.jpg', '/home/pi/Desktop/images/02052025/18/58/image_02052025_18_58_15_10337.jpg', '/home/pi/Desktop/images/02052025/18/58/image_02052025_18_58_25_9392.jpg', '/home/pi/Desktop/images/02052025/18/58/image_02052025_18_58_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/57/image_02052025_18_57_45_10371.jpg
/home/pi/Desktop/images/02052025/18/57/image_02052025_18_57_55_9420.jpg
/home/pi/Desktop/images/02052025/18/57/image_02052025_18_58_05_10358.jpg
/home/pi/Desktop/images/02052025/18/58/image_02052025_18_58_15_10337.jpg
/home/pi/Desktop/images/02052025/18/58/image_02052025_18_58_25_9392.jpg
/home/pi/Desktop/images/02052025/18/58/image_02052025_18_58_35_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355445507","1355445503","1355445520","1355445523","1355445511","1355445516"],"photo_ids_order":["1355445503","1355445507","1355445511","1355445516","1355445520","1355445523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc32ca5460d3b59a86f99458fac6ca75.jpg","text":"TemporaryFile(/tmp/multipartBody3914380157248326273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211113511,"filename":"image_02052025_18_57_55_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5377013371388759f2cf0612e235efa0.jpg","text":"TemporaryFile(/tmp/multipartBody2065819307647479271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211113511,"filename":"image_02052025_18_57_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/5/2/112cc2db279ebad4e083ddc48fe71aa4.jpg","text":"TemporaryFile(/tmp/multipartBody213983819910199704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211113511,"filename":"image_02052025_18_58_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/5/2/1f590e1479d4a96dca190758cfb462a6.jpg","text":"TemporaryFile(/tmp/multipartBody1910770505020415344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211113511,"filename":"image_02052025_18_58_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/5/2/c48438126b39fb1628101b9e2be73e62.jpg","text":"TemporaryFile(/tmp/multipartBody1355379216349565075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211113511,"filename":"image_02052025_18_58_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db70e7a01f945669d27e9ea9d27dbc20.jpg","text":"TemporaryFile(/tmp/multipartBody7385219301922085458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211113511,"filename":"image_02052025_18_58_15_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445511","file1":"1355445507","file0":"1355445503","file4":"1355445520","file5":"1355445523","file3":"1355445516"},"map_files_photo_id_array":[{"photo_id":"1355445523","filename":"file5"},{"photo_id":"1355445511","filename":"file2"},{"photo_id":"1355445520","filename":"file4"},{"photo_id":"1355445507","filename":"file1"},{"photo_id":"1355445503","filename":"file0"},{"photo_id":"1355445516","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445507":["hashtag1","hashtag2"]},{"1355445503":["hashtag1","hashtag2"]},{"1355445520":["hashtag1","hashtag2"]},{"1355445523":["hashtag1","hashtag2"]},{"1355445511":["hashtag1","hashtag2"]},{"1355445516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445507, 1355445503, 1355445520, 1355445523, 1355445511, 1355445516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99800658226013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:38:32.988482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/58/image_02052025_18_58_45_9404.jpg', '/home/pi/Desktop/images/02052025/18/58/image_02052025_18_58_55_10370.jpg', '/home/pi/Desktop/images/02052025/18/58/image_02052025_18_59_05_9647.jpg', '/home/pi/Desktop/images/02052025/18/59/image_02052025_18_59_15_10342.jpg', '/home/pi/Desktop/images/02052025/18/59/image_02052025_18_59_25_10361.jpg', '/home/pi/Desktop/images/02052025/18/59/image_02052025_18_59_35_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/58/image_02052025_18_58_45_9404.jpg
/home/pi/Desktop/images/02052025/18/58/image_02052025_18_58_55_10370.jpg
/home/pi/Desktop/images/02052025/18/58/image_02052025_18_59_05_9647.jpg
/home/pi/Desktop/images/02052025/18/59/image_02052025_18_59_15_10342.jpg
/home/pi/Desktop/images/02052025/18/59/image_02052025_18_59_25_10361.jpg
/home/pi/Desktop/images/02052025/18/59/image_02052025_18_59_35_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355445554","1355445559","1355445550","1355445564","1355445567","1355445546"],"photo_ids_order":["1355445546","1355445550","1355445554","1355445559","1355445564","1355445567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c69752c1ac5f9c949c118581b167ad12.jpg","text":"TemporaryFile(/tmp/multipartBody214773237701137286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211173536,"filename":"image_02052025_18_59_05_9647.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aae346b96706713bb2cc029c96bd5883.jpg","text":"TemporaryFile(/tmp/multipartBody3116061359358431511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211173536,"filename":"image_02052025_18_59_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/5/2/f5c651ba83a8f8299b0c0e5b1eaa3e33.jpg","text":"TemporaryFile(/tmp/multipartBody3550917519033395214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211173536,"filename":"image_02052025_18_58_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/5/2/a4df0e0b0ec413c8b1fd39f542c5ade3.jpg","text":"TemporaryFile(/tmp/multipartBody4947278994605509812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211173536,"filename":"image_02052025_18_59_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/836fb99b8dd7208f588d27ffc0155325.jpg","text":"TemporaryFile(/tmp/multipartBody4271631982616885455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211173536,"filename":"image_02052025_18_59_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc7aed72b2687df824c998f8de6acace.jpg","text":"TemporaryFile(/tmp/multipartBody8090025412537588669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211173536,"filename":"image_02052025_18_58_45_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445554","file1":"1355445550","file0":"1355445546","file4":"1355445564","file5":"1355445567","file3":"1355445559"},"map_files_photo_id_array":[{"photo_id":"1355445567","filename":"file5"},{"photo_id":"1355445554","filename":"file2"},{"photo_id":"1355445564","filename":"file4"},{"photo_id":"1355445550","filename":"file1"},{"photo_id":"1355445546","filename":"file0"},{"photo_id":"1355445559","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445554":["hashtag1","hashtag2"]},{"1355445559":["hashtag1","hashtag2"]},{"1355445550":["hashtag1","hashtag2"]},{"1355445564":["hashtag1","hashtag2"]},{"1355445567":["hashtag1","hashtag2"]},{"1355445546":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445554, 1355445559, 1355445550, 1355445564, 1355445567, 1355445546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04179239273071 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:39:32.243985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/18/59/image_02052025_18_59_45_10360.jpg', '/home/pi/Desktop/images/02052025/18/59/image_02052025_18_59_54_9430.jpg', '/home/pi/Desktop/images/02052025/19/00/image_02052025_19_00_16_10074.jpg', '/home/pi/Desktop/images/02052025/19/00/image_02052025_19_00_27_10375.jpg', '/home/pi/Desktop/images/02052025/19/00/image_02052025_19_00_37_10352.jpg', '/home/pi/Desktop/images/02052025/19/00/image_02052025_19_00_46_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/18/59/image_02052025_18_59_45_10360.jpg
/home/pi/Desktop/images/02052025/18/59/image_02052025_18_59_54_9430.jpg
/home/pi/Desktop/images/02052025/19/00/image_02052025_19_00_16_10074.jpg
/home/pi/Desktop/images/02052025/19/00/image_02052025_19_00_27_10375.jpg
/home/pi/Desktop/images/02052025/19/00/image_02052025_19_00_37_10352.jpg
/home/pi/Desktop/images/02052025/19/00/image_02052025_19_00_46_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355445608","1355445595","1355445604","1355445585","1355445600","1355445590"],"photo_ids_order":["1355445585","1355445590","1355445595","1355445600","1355445604","1355445608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1af0c9e0867c4f0563eaf1b0e7ae151.jpg","text":"TemporaryFile(/tmp/multipartBody6124437366278804913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211232714,"filename":"image_02052025_19_00_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22e9c7fb11e75d3adf3f4777d3c30b0d.jpg","text":"TemporaryFile(/tmp/multipartBody2209913906795947296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211232714,"filename":"image_02052025_19_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/5/2/bf327555362b64112d305e1c97306f10.jpg","text":"TemporaryFile(/tmp/multipartBody2748343527519979682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211232714,"filename":"image_02052025_19_00_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/5/2/e7ecee283e91071fae1d79319a5fdb22.jpg","text":"TemporaryFile(/tmp/multipartBody7205433031600467028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211232714,"filename":"image_02052025_18_59_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/5/2/0ad781b6e591fa0ffc7da18ac006e8dc.jpg","text":"TemporaryFile(/tmp/multipartBody332451397131735250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211232714,"filename":"image_02052025_19_00_27_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6ce86cd4fad0c5630f7cdc23606e4704.jpg","text":"TemporaryFile(/tmp/multipartBody7222577935998273379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211232714,"filename":"image_02052025_18_59_54_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445595","file1":"1355445590","file0":"1355445585","file4":"1355445604","file5":"1355445608","file3":"1355445600"},"map_files_photo_id_array":[{"photo_id":"1355445608","filename":"file5"},{"photo_id":"1355445595","filename":"file2"},{"photo_id":"1355445604","filename":"file4"},{"photo_id":"1355445590","filename":"file1"},{"photo_id":"1355445585","filename":"file0"},{"photo_id":"1355445600","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445608":["hashtag1","hashtag2"]},{"1355445595":["hashtag1","hashtag2"]},{"1355445604":["hashtag1","hashtag2"]},{"1355445585":["hashtag1","hashtag2"]},{"1355445600":["hashtag1","hashtag2"]},{"1355445590":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445608, 1355445595, 1355445604, 1355445585, 1355445600, 1355445590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.795289754867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:40:32.445012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/00/image_02052025_19_00_57_10460.jpg', '/home/pi/Desktop/images/02052025/19/00/image_02052025_19_01_07_10363.jpg', '/home/pi/Desktop/images/02052025/19/01/image_02052025_19_01_16_9362.jpg', '/home/pi/Desktop/images/02052025/19/01/image_02052025_19_01_27_10445.jpg', '/home/pi/Desktop/images/02052025/19/01/image_02052025_19_01_36_9341.jpg', '/home/pi/Desktop/images/02052025/19/01/image_02052025_19_01_47_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/00/image_02052025_19_00_57_10460.jpg
/home/pi/Desktop/images/02052025/19/00/image_02052025_19_01_07_10363.jpg
/home/pi/Desktop/images/02052025/19/01/image_02052025_19_01_16_9362.jpg
/home/pi/Desktop/images/02052025/19/01/image_02052025_19_01_27_10445.jpg
/home/pi/Desktop/images/02052025/19/01/image_02052025_19_01_36_9341.jpg
/home/pi/Desktop/images/02052025/19/01/image_02052025_19_01_47_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":["1355445662","1355445682","1355445667","1355445643","1355445699","1355445648"],"photo_ids_order":["1355445643","1355445648","1355445662","1355445667","1355445682","1355445699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e6c4f8985170e829bc1fe98656e51fe.jpg","text":"TemporaryFile(/tmp/multipartBody1638867655200206288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211292921,"filename":"image_02052025_19_01_16_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9c4adb32dcad62fd17526de9255afbf5.jpg","text":"TemporaryFile(/tmp/multipartBody3829753842045566039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211292921,"filename":"image_02052025_19_01_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/5/2/d454f10dbfe08c9c665d62cad639eee2.jpg","text":"TemporaryFile(/tmp/multipartBody5599064961334506097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211292921,"filename":"image_02052025_19_01_27_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87ec613d63f6634252b63b1484d07714.jpg","text":"TemporaryFile(/tmp/multipartBody5775608912869827294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211292921,"filename":"image_02052025_19_00_57_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/241187618bb1b120913561a002654c89.jpg","text":"TemporaryFile(/tmp/multipartBody2994692354133045986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211292921,"filename":"image_02052025_19_01_47_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4918baaeff9790234a50ba8bb32e4098.jpg","text":"TemporaryFile(/tmp/multipartBody7040998064464049337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211292921,"filename":"image_02052025_19_01_07_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445662","file1":"1355445648","file0":"1355445643","file4":"1355445682","file5":"1355445699","file3":"1355445667"},"map_files_photo_id_array":[{"photo_id":"1355445699","filename":"file5"},{"photo_id":"1355445662","filename":"file2"},{"photo_id":"1355445682","filename":"file4"},{"photo_id":"1355445648","filename":"file1"},{"photo_id":"1355445643","filename":"file0"},{"photo_id":"1355445667","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445662":["hashtag1","hashtag2"]},{"1355445682":["hashtag1","hashtag2"]},{"1355445667":["hashtag1","hashtag2"]},{"1355445643":["hashtag1","hashtag2"]},{"1355445699":["hashtag1","hashtag2"]},{"1355445648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445662, 1355445682, 1355445667, 1355445643, 1355445699, 1355445648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.867538452148438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:41:32.587131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/01/image_02052025_19_01_57_10453.jpg', '/home/pi/Desktop/images/02052025/19/01/image_02052025_19_02_06_9415.jpg', '/home/pi/Desktop/images/02052025/19/02/image_02052025_19_02_17_10363.jpg', '/home/pi/Desktop/images/02052025/19/02/image_02052025_19_02_26_9343.jpg', '/home/pi/Desktop/images/02052025/19/02/image_02052025_19_02_37_10334.jpg', '/home/pi/Desktop/images/02052025/19/02/image_02052025_19_02_47_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/01/image_02052025_19_01_57_10453.jpg
/home/pi/Desktop/images/02052025/19/01/image_02052025_19_02_06_9415.jpg
/home/pi/Desktop/images/02052025/19/02/image_02052025_19_02_17_10363.jpg
/home/pi/Desktop/images/02052025/19/02/image_02052025_19_02_26_9343.jpg
/home/pi/Desktop/images/02052025/19/02/image_02052025_19_02_37_10334.jpg
/home/pi/Desktop/images/02052025/19/02/image_02052025_19_02_47_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":["1355445746","1355445731","1355445727","1355445744","1355445738","1355445735"],"photo_ids_order":["1355445727","1355445731","1355445735","1355445738","1355445744","1355445746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb6baff59178041cf6561e27fd2916b5.jpg","text":"TemporaryFile(/tmp/multipartBody3383545015928589692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211353066,"filename":"image_02052025_19_02_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3579598a0ad78233bc3e285b76766da2.jpg","text":"TemporaryFile(/tmp/multipartBody1226876494840785654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211353066,"filename":"image_02052025_19_02_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/5/2/28aab897f37f55d816f996a062945569.jpg","text":"TemporaryFile(/tmp/multipartBody6705390928144342403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211353066,"filename":"image_02052025_19_01_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/5/2/0aa7c580d01462d9bc1ebbb09520694f.jpg","text":"TemporaryFile(/tmp/multipartBody5501256707423299012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211353066,"filename":"image_02052025_19_02_37_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a80778135cb70bf97b6916a6ea5cf38c.jpg","text":"TemporaryFile(/tmp/multipartBody6783544008546393465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211353066,"filename":"image_02052025_19_02_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8faa05868fbe76140e0c1418c7bab637.jpg","text":"TemporaryFile(/tmp/multipartBody958475582551983673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211353066,"filename":"image_02052025_19_02_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445735","file1":"1355445731","file0":"1355445727","file4":"1355445744","file5":"1355445746","file3":"1355445738"},"map_files_photo_id_array":[{"photo_id":"1355445746","filename":"file5"},{"photo_id":"1355445735","filename":"file2"},{"photo_id":"1355445744","filename":"file4"},{"photo_id":"1355445731","filename":"file1"},{"photo_id":"1355445727","filename":"file0"},{"photo_id":"1355445738","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445746":["hashtag1","hashtag2"]},{"1355445731":["hashtag1","hashtag2"]},{"1355445727":["hashtag1","hashtag2"]},{"1355445744":["hashtag1","hashtag2"]},{"1355445738":["hashtag1","hashtag2"]},{"1355445735":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445746, 1355445731, 1355445727, 1355445744, 1355445738, 1355445735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95760774612427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:42:32.717299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/02/image_02052025_19_02_56_9389.jpg', '/home/pi/Desktop/images/02052025/19/02/image_02052025_19_03_07_10392.jpg', '/home/pi/Desktop/images/02052025/19/03/image_02052025_19_03_17_10365.jpg', '/home/pi/Desktop/images/02052025/19/03/image_02052025_19_03_26_9366.jpg', '/home/pi/Desktop/images/02052025/19/03/image_02052025_19_03_37_10384.jpg', '/home/pi/Desktop/images/02052025/19/03/image_02052025_19_03_46_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/02/image_02052025_19_02_56_9389.jpg
/home/pi/Desktop/images/02052025/19/02/image_02052025_19_03_07_10392.jpg
/home/pi/Desktop/images/02052025/19/03/image_02052025_19_03_17_10365.jpg
/home/pi/Desktop/images/02052025/19/03/image_02052025_19_03_26_9366.jpg
/home/pi/Desktop/images/02052025/19/03/image_02052025_19_03_37_10384.jpg
/home/pi/Desktop/images/02052025/19/03/image_02052025_19_03_46_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355445767","1355445776","1355445781","1355445774","1355445783","1355445771"],"photo_ids_order":["1355445767","1355445771","1355445774","1355445776","1355445781","1355445783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/071e2d0235f7fb39733fff63c4ed164f.jpg","text":"TemporaryFile(/tmp/multipartBody4798397808264326633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211413188,"filename":"image_02052025_19_02_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/5/2/dc5a6ba74a6afffe47d5e2a86d75ef9a.jpg","text":"TemporaryFile(/tmp/multipartBody4448537194655949767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211413188,"filename":"image_02052025_19_03_26_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0a24a013584275d8d774849e7c9ecdf1.jpg","text":"TemporaryFile(/tmp/multipartBody1990208799004522140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211413188,"filename":"image_02052025_19_03_37_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b5d9af1c5e9c21434734177ca430ec10.jpg","text":"TemporaryFile(/tmp/multipartBody340133676181256704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211413188,"filename":"image_02052025_19_03_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/5/2/21a9c705e8f137c21df3e3d5225ef5dc.jpg","text":"TemporaryFile(/tmp/multipartBody2533600640545415622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211413188,"filename":"image_02052025_19_03_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/5/2/94a70a2366c5592941f8976d77b9d109.jpg","text":"TemporaryFile(/tmp/multipartBody7689201185860855190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211413188,"filename":"image_02052025_19_03_07_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445774","file1":"1355445771","file0":"1355445767","file4":"1355445781","file5":"1355445783","file3":"1355445776"},"map_files_photo_id_array":[{"photo_id":"1355445783","filename":"file5"},{"photo_id":"1355445774","filename":"file2"},{"photo_id":"1355445781","filename":"file4"},{"photo_id":"1355445771","filename":"file1"},{"photo_id":"1355445767","filename":"file0"},{"photo_id":"1355445776","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445767":["hashtag1","hashtag2"]},{"1355445776":["hashtag1","hashtag2"]},{"1355445781":["hashtag1","hashtag2"]},{"1355445774":["hashtag1","hashtag2"]},{"1355445783":["hashtag1","hashtag2"]},{"1355445771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445767, 1355445776, 1355445781, 1355445774, 1355445783, 1355445771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35049319267273 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:43:33.009095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/03/image_02052025_19_03_56_10361.jpg', '/home/pi/Desktop/images/02052025/19/03/image_02052025_19_04_07_10440.jpg', '/home/pi/Desktop/images/02052025/19/04/image_02052025_19_04_16_9358.jpg', '/home/pi/Desktop/images/02052025/19/04/image_02052025_19_04_27_10416.jpg', '/home/pi/Desktop/images/02052025/19/04/image_02052025_19_04_37_10338.jpg', '/home/pi/Desktop/images/02052025/19/04/image_02052025_19_04_46_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/03/image_02052025_19_03_56_10361.jpg
/home/pi/Desktop/images/02052025/19/03/image_02052025_19_04_07_10440.jpg
/home/pi/Desktop/images/02052025/19/04/image_02052025_19_04_16_9358.jpg
/home/pi/Desktop/images/02052025/19/04/image_02052025_19_04_27_10416.jpg
/home/pi/Desktop/images/02052025/19/04/image_02052025_19_04_37_10338.jpg
/home/pi/Desktop/images/02052025/19/04/image_02052025_19_04_46_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355445801","1355445809","1355445799","1355445811","1355445805","1355445807"],"photo_ids_order":["1355445799","1355445801","1355445805","1355445807","1355445809","1355445811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94c8903bd90ceb77e1d9da8fe7bf7a17.jpg","text":"TemporaryFile(/tmp/multipartBody1376321061146011143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211473473,"filename":"image_02052025_19_04_07_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d743275ee7d176958a167f5e110289f5.jpg","text":"TemporaryFile(/tmp/multipartBody3179611462487057749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211473473,"filename":"image_02052025_19_04_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/5/2/7a37f9a6f73b67975e7c71a90efc6deb.jpg","text":"TemporaryFile(/tmp/multipartBody4963982396341374236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211473473,"filename":"image_02052025_19_03_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/5/2/1a88b561c5435357fbacc4227b30b65b.jpg","text":"TemporaryFile(/tmp/multipartBody5647578711049043574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211473473,"filename":"image_02052025_19_04_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96512d4a8ff2d462c5ab6ccc7a04c8d3.jpg","text":"TemporaryFile(/tmp/multipartBody8603808730714563729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211473473,"filename":"image_02052025_19_04_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/5/2/19872f4961216c6ad1a88bb94b4064e0.jpg","text":"TemporaryFile(/tmp/multipartBody2341111457185727311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211473473,"filename":"image_02052025_19_04_27_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445805","file1":"1355445801","file0":"1355445799","file4":"1355445809","file5":"1355445811","file3":"1355445807"},"map_files_photo_id_array":[{"photo_id":"1355445811","filename":"file5"},{"photo_id":"1355445805","filename":"file2"},{"photo_id":"1355445809","filename":"file4"},{"photo_id":"1355445801","filename":"file1"},{"photo_id":"1355445799","filename":"file0"},{"photo_id":"1355445807","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445801":["hashtag1","hashtag2"]},{"1355445809":["hashtag1","hashtag2"]},{"1355445799":["hashtag1","hashtag2"]},{"1355445811":["hashtag1","hashtag2"]},{"1355445805":["hashtag1","hashtag2"]},{"1355445807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445801, 1355445809, 1355445799, 1355445811, 1355445805, 1355445807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32151556015015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:44:33.111922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/04/image_02052025_19_04_57_10369.jpg', '/home/pi/Desktop/images/02052025/19/04/image_02052025_19_05_06_9352.jpg', '/home/pi/Desktop/images/02052025/19/05/image_02052025_19_05_16_10359.jpg', '/home/pi/Desktop/images/02052025/19/05/image_02052025_19_05_27_10451.jpg', '/home/pi/Desktop/images/02052025/19/05/image_02052025_19_05_36_9345.jpg', '/home/pi/Desktop/images/02052025/19/05/image_02052025_19_05_47_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/04/image_02052025_19_04_57_10369.jpg
/home/pi/Desktop/images/02052025/19/04/image_02052025_19_05_06_9352.jpg
/home/pi/Desktop/images/02052025/19/05/image_02052025_19_05_16_10359.jpg
/home/pi/Desktop/images/02052025/19/05/image_02052025_19_05_27_10451.jpg
/home/pi/Desktop/images/02052025/19/05/image_02052025_19_05_36_9345.jpg
/home/pi/Desktop/images/02052025/19/05/image_02052025_19_05_47_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":["1355445833","1355445844","1355445853","1355445840","1355445858","1355445837"],"photo_ids_order":["1355445833","1355445837","1355445840","1355445844","1355445853","1355445858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4a54390324c0a7d7d639ff3597dfe55.jpg","text":"TemporaryFile(/tmp/multipartBody3900987310764165445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211533691,"filename":"image_02052025_19_04_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/5/2/903864101cf7cd1b4a96c1eea40104c9.jpg","text":"TemporaryFile(/tmp/multipartBody6002948085844380789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211533691,"filename":"image_02052025_19_05_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/5/2/d4bf230b63533449abd0db0678a07097.jpg","text":"TemporaryFile(/tmp/multipartBody3744022167845161532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211533691,"filename":"image_02052025_19_05_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/5/2/5f2689c1f1f98303c46bc1bc3a5e1d0e.jpg","text":"TemporaryFile(/tmp/multipartBody739513658081247262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211533691,"filename":"image_02052025_19_05_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/acb99d73bfd3b61e64f0032a57bb7d25.jpg","text":"TemporaryFile(/tmp/multipartBody6096764808799158533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211533691,"filename":"image_02052025_19_05_47_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9b066b6a92b065f005d04c9b9aa59006.jpg","text":"TemporaryFile(/tmp/multipartBody9183834961106953123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211533691,"filename":"image_02052025_19_05_06_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445840","file1":"1355445837","file0":"1355445833","file4":"1355445853","file5":"1355445858","file3":"1355445844"},"map_files_photo_id_array":[{"photo_id":"1355445858","filename":"file5"},{"photo_id":"1355445840","filename":"file2"},{"photo_id":"1355445853","filename":"file4"},{"photo_id":"1355445837","filename":"file1"},{"photo_id":"1355445833","filename":"file0"},{"photo_id":"1355445844","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445833":["hashtag1","hashtag2"]},{"1355445844":["hashtag1","hashtag2"]},{"1355445853":["hashtag1","hashtag2"]},{"1355445840":["hashtag1","hashtag2"]},{"1355445858":["hashtag1","hashtag2"]},{"1355445837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445833, 1355445844, 1355445853, 1355445840, 1355445858, 1355445837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55426549911499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:45:32.405823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/05/image_02052025_19_05_57_10364.jpg', '/home/pi/Desktop/images/02052025/19/05/image_02052025_19_06_06_9337.jpg', '/home/pi/Desktop/images/02052025/19/06/image_02052025_19_06_17_10380.jpg', '/home/pi/Desktop/images/02052025/19/06/image_02052025_19_06_26_9354.jpg', '/home/pi/Desktop/images/02052025/19/06/image_02052025_19_06_36_10353.jpg', '/home/pi/Desktop/images/02052025/19/06/image_02052025_19_06_47_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/05/image_02052025_19_05_57_10364.jpg
/home/pi/Desktop/images/02052025/19/05/image_02052025_19_06_06_9337.jpg
/home/pi/Desktop/images/02052025/19/06/image_02052025_19_06_17_10380.jpg
/home/pi/Desktop/images/02052025/19/06/image_02052025_19_06_26_9354.jpg
/home/pi/Desktop/images/02052025/19/06/image_02052025_19_06_36_10353.jpg
/home/pi/Desktop/images/02052025/19/06/image_02052025_19_06_47_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355445881","1355445889","1355445877","1355445885","1355445888","1355445873"],"photo_ids_order":["1355445873","1355445877","1355445881","1355445885","1355445888","1355445889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/73afc3e4a0cbcb89f8ddbb45c71f6f8d.jpg","text":"TemporaryFile(/tmp/multipartBody4467696592866972320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211592881,"filename":"image_02052025_19_06_17_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/271ac0ba35dccb472b8653f7e3a1b2f5.jpg","text":"TemporaryFile(/tmp/multipartBody488364021729162709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211592881,"filename":"image_02052025_19_06_47_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e9245c128c92275e14e61bce12549ac.jpg","text":"TemporaryFile(/tmp/multipartBody3147433448596401939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211592881,"filename":"image_02052025_19_06_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/5/2/b922d9eb8ccfd7360b44f8ecb2dc38ff.jpg","text":"TemporaryFile(/tmp/multipartBody1724594520780766011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211592881,"filename":"image_02052025_19_06_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/5/2/e25c9ac1b2a8274f31dcb4889557622b.jpg","text":"TemporaryFile(/tmp/multipartBody5022470672122433061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211592881,"filename":"image_02052025_19_06_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/5/2/3c0034dc783ea1c8477324f699cbf022.jpg","text":"TemporaryFile(/tmp/multipartBody6701257444223080641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211592881,"filename":"image_02052025_19_05_57_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445881","file1":"1355445877","file0":"1355445873","file4":"1355445888","file5":"1355445889","file3":"1355445885"},"map_files_photo_id_array":[{"photo_id":"1355445889","filename":"file5"},{"photo_id":"1355445881","filename":"file2"},{"photo_id":"1355445888","filename":"file4"},{"photo_id":"1355445877","filename":"file1"},{"photo_id":"1355445873","filename":"file0"},{"photo_id":"1355445885","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445881":["hashtag1","hashtag2"]},{"1355445889":["hashtag1","hashtag2"]},{"1355445877":["hashtag1","hashtag2"]},{"1355445885":["hashtag1","hashtag2"]},{"1355445888":["hashtag1","hashtag2"]},{"1355445873":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445881, 1355445889, 1355445877, 1355445885, 1355445888, 1355445873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15534853935242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:46:32.748260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/06/image_02052025_19_06_56_9459.jpg', '/home/pi/Desktop/images/02052025/19/06/image_02052025_19_07_07_10357.jpg', '/home/pi/Desktop/images/02052025/19/07/image_02052025_19_07_17_10339.jpg', '/home/pi/Desktop/images/02052025/19/07/image_02052025_19_07_26_9366.jpg', '/home/pi/Desktop/images/02052025/19/07/image_02052025_19_07_37_10375.jpg', '/home/pi/Desktop/images/02052025/19/07/image_02052025_19_07_46_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/06/image_02052025_19_06_56_9459.jpg
/home/pi/Desktop/images/02052025/19/06/image_02052025_19_07_07_10357.jpg
/home/pi/Desktop/images/02052025/19/07/image_02052025_19_07_17_10339.jpg
/home/pi/Desktop/images/02052025/19/07/image_02052025_19_07_26_9366.jpg
/home/pi/Desktop/images/02052025/19/07/image_02052025_19_07_37_10375.jpg
/home/pi/Desktop/images/02052025/19/07/image_02052025_19_07_46_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355445914","1355445911","1355445925","1355445907","1355445922","1355445916"],"photo_ids_order":["1355445907","1355445911","1355445914","1355445916","1355445922","1355445925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/258e5826895a095ddddc6f7ae7e0fd27.jpg","text":"TemporaryFile(/tmp/multipartBody4043456165890032919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211653273,"filename":"image_02052025_19_07_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/5/2/73d4a283ff00a14f638dd0c967c852d5.jpg","text":"TemporaryFile(/tmp/multipartBody4926727619755518913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211653273,"filename":"image_02052025_19_07_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/5/2/1381ca54b3028825455ccd2ab889f1e6.jpg","text":"TemporaryFile(/tmp/multipartBody1847186267427462849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211653273,"filename":"image_02052025_19_07_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/5/2/24271ad679a8895a5e3611f3c04aef65.jpg","text":"TemporaryFile(/tmp/multipartBody7967206775200423469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211653273,"filename":"image_02052025_19_06_56_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3794944e9e537ff98ec300184f967f75.jpg","text":"TemporaryFile(/tmp/multipartBody7073690945547641094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211653273,"filename":"image_02052025_19_07_37_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4e16e1d87e40dd1a3ad16a9e54ccd061.jpg","text":"TemporaryFile(/tmp/multipartBody2590012717958170031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211653273,"filename":"image_02052025_19_07_26_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445914","file1":"1355445911","file0":"1355445907","file4":"1355445922","file5":"1355445925","file3":"1355445916"},"map_files_photo_id_array":[{"photo_id":"1355445925","filename":"file5"},{"photo_id":"1355445914","filename":"file2"},{"photo_id":"1355445922","filename":"file4"},{"photo_id":"1355445911","filename":"file1"},{"photo_id":"1355445907","filename":"file0"},{"photo_id":"1355445916","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445914":["hashtag1","hashtag2"]},{"1355445911":["hashtag1","hashtag2"]},{"1355445925":["hashtag1","hashtag2"]},{"1355445907":["hashtag1","hashtag2"]},{"1355445922":["hashtag1","hashtag2"]},{"1355445916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445914, 1355445911, 1355445925, 1355445907, 1355445922, 1355445916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.324684619903564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:47:32.993611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/07/image_02052025_19_07_57_10362.jpg', '/home/pi/Desktop/images/02052025/19/07/image_02052025_19_08_07_10456.jpg', '/home/pi/Desktop/images/02052025/19/08/image_02052025_19_08_16_9356.jpg', '/home/pi/Desktop/images/02052025/19/08/image_02052025_19_08_27_10491.jpg', '/home/pi/Desktop/images/02052025/19/08/image_02052025_19_08_36_9358.jpg', '/home/pi/Desktop/images/02052025/19/08/image_02052025_19_08_47_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/07/image_02052025_19_07_57_10362.jpg
/home/pi/Desktop/images/02052025/19/07/image_02052025_19_08_07_10456.jpg
/home/pi/Desktop/images/02052025/19/08/image_02052025_19_08_16_9356.jpg
/home/pi/Desktop/images/02052025/19/08/image_02052025_19_08_27_10491.jpg
/home/pi/Desktop/images/02052025/19/08/image_02052025_19_08_36_9358.jpg
/home/pi/Desktop/images/02052025/19/08/image_02052025_19_08_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":["1355445991","1355446000","1355446003","1355445987","1355446005","1355445995"],"photo_ids_order":["1355445987","1355445991","1355445995","1355446000","1355446003","1355446005"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c83551465cb1746661cbdd3adc28b981.jpg","text":"TemporaryFile(/tmp/multipartBody7256946530382840689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211713505,"filename":"image_02052025_19_08_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/5/2/a0961eccd2f0e8732250aee7288aa00e.jpg","text":"TemporaryFile(/tmp/multipartBody5851876263790018305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211713505,"filename":"image_02052025_19_08_27_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2ffcd97c4a89c85cb89d9c955f73341.jpg","text":"TemporaryFile(/tmp/multipartBody8480004469246712246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211713505,"filename":"image_02052025_19_08_36_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/287901432f2ef8985365f58acbaad0ea.jpg","text":"TemporaryFile(/tmp/multipartBody2283384143411621754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211713505,"filename":"image_02052025_19_07_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/5/2/445211ae05a9fb450949913b1225d7f4.jpg","text":"TemporaryFile(/tmp/multipartBody3088534003117315959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211713505,"filename":"image_02052025_19_08_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/5/2/3aa66f4f9d75276cd80ded12194d6a2d.jpg","text":"TemporaryFile(/tmp/multipartBody5685762954437495361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211713505,"filename":"image_02052025_19_08_16_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355445995","file1":"1355445991","file0":"1355445987","file4":"1355446003","file5":"1355446005","file3":"1355446000"},"map_files_photo_id_array":[{"photo_id":"1355446005","filename":"file5"},{"photo_id":"1355445995","filename":"file2"},{"photo_id":"1355446003","filename":"file4"},{"photo_id":"1355445991","filename":"file1"},{"photo_id":"1355445987","filename":"file0"},{"photo_id":"1355446000","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355445991":["hashtag1","hashtag2"]},{"1355446000":["hashtag1","hashtag2"]},{"1355446003":["hashtag1","hashtag2"]},{"1355445987":["hashtag1","hashtag2"]},{"1355446005":["hashtag1","hashtag2"]},{"1355445995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355445991, 1355446000, 1355446003, 1355445987, 1355446005, 1355445995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20050024986267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:48:33.148362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/08/image_02052025_19_08_57_10370.jpg', '/home/pi/Desktop/images/02052025/19/08/image_02052025_19_09_06_9342.jpg', '/home/pi/Desktop/images/02052025/19/09/image_02052025_19_09_17_10416.jpg', '/home/pi/Desktop/images/02052025/19/09/image_02052025_19_09_27_10360.jpg', '/home/pi/Desktop/images/02052025/19/09/image_02052025_19_09_36_9329.jpg', '/home/pi/Desktop/images/02052025/19/09/image_02052025_19_09_47_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/08/image_02052025_19_08_57_10370.jpg
/home/pi/Desktop/images/02052025/19/08/image_02052025_19_09_06_9342.jpg
/home/pi/Desktop/images/02052025/19/09/image_02052025_19_09_17_10416.jpg
/home/pi/Desktop/images/02052025/19/09/image_02052025_19_09_27_10360.jpg
/home/pi/Desktop/images/02052025/19/09/image_02052025_19_09_36_9329.jpg
/home/pi/Desktop/images/02052025/19/09/image_02052025_19_09_47_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355446031","1355446033","1355446021","1355446035","1355446017","1355446026"],"photo_ids_order":["1355446017","1355446021","1355446026","1355446031","1355446033","1355446035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/01121ff6c25b0b501027afe82a1dd68d.jpg","text":"TemporaryFile(/tmp/multipartBody3107646445540384878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211774406,"filename":"image_02052025_19_09_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/5/2/98e0a1af29a77328f151e5c9165a2230.jpg","text":"TemporaryFile(/tmp/multipartBody6411110108582641819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211774406,"filename":"image_02052025_19_09_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/5/2/133e5f27ac2cf5a4c93b83c20eaf85d9.jpg","text":"TemporaryFile(/tmp/multipartBody2625999688278225533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211774406,"filename":"image_02052025_19_09_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11ed2626f1995a3cc125006d209b2cf9.jpg","text":"TemporaryFile(/tmp/multipartBody806871881362303277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211774406,"filename":"image_02052025_19_09_47_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/03d2aa23db383db1e68b4520e30b404d.jpg","text":"TemporaryFile(/tmp/multipartBody9150707153340236395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211774406,"filename":"image_02052025_19_08_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/5/2/7d024b30ff50942b1d28d28b9ee5528c.jpg","text":"TemporaryFile(/tmp/multipartBody3547445883869893305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211774406,"filename":"image_02052025_19_09_17_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355446026","file1":"1355446021","file0":"1355446017","file4":"1355446033","file5":"1355446035","file3":"1355446031"},"map_files_photo_id_array":[{"photo_id":"1355446035","filename":"file5"},{"photo_id":"1355446026","filename":"file2"},{"photo_id":"1355446033","filename":"file4"},{"photo_id":"1355446021","filename":"file1"},{"photo_id":"1355446017","filename":"file0"},{"photo_id":"1355446031","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355446031":["hashtag1","hashtag2"]},{"1355446033":["hashtag1","hashtag2"]},{"1355446021":["hashtag1","hashtag2"]},{"1355446035":["hashtag1","hashtag2"]},{"1355446017":["hashtag1","hashtag2"]},{"1355446026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355446031, 1355446033, 1355446021, 1355446035, 1355446017, 1355446026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03039073944092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:49:32.367544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/09/image_02052025_19_09_56_9435.jpg', '/home/pi/Desktop/images/02052025/19/09/image_02052025_19_10_07_10419.jpg', '/home/pi/Desktop/images/02052025/19/10/image_02052025_19_10_17_10340.jpg', '/home/pi/Desktop/images/02052025/19/10/image_02052025_19_10_26_9371.jpg', '/home/pi/Desktop/images/02052025/19/10/image_02052025_19_10_37_10406.jpg', '/home/pi/Desktop/images/02052025/19/10/image_02052025_19_10_46_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/09/image_02052025_19_09_56_9435.jpg
/home/pi/Desktop/images/02052025/19/09/image_02052025_19_10_07_10419.jpg
/home/pi/Desktop/images/02052025/19/10/image_02052025_19_10_17_10340.jpg
/home/pi/Desktop/images/02052025/19/10/image_02052025_19_10_26_9371.jpg
/home/pi/Desktop/images/02052025/19/10/image_02052025_19_10_37_10406.jpg
/home/pi/Desktop/images/02052025/19/10/image_02052025_19_10_46_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355446052","1355446069","1355446063","1355446057","1355446066","1355446071"],"photo_ids_order":["1355446052","1355446057","1355446063","1355446066","1355446069","1355446071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/28523d55b87c6be5310ecd7f415917e6.jpg","text":"TemporaryFile(/tmp/multipartBody8861020470123929418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211832843,"filename":"image_02052025_19_09_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/5/2/a4d06b1a6dcaa111d4b201ae2b413ae0.jpg","text":"TemporaryFile(/tmp/multipartBody6952495095361423761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211832843,"filename":"image_02052025_19_10_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/5/2/70c934a96d163487167b6df58b9b1b1a.jpg","text":"TemporaryFile(/tmp/multipartBody5140373900535847134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211832843,"filename":"image_02052025_19_10_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/5/2/a2b78e2de9ef58044aea773ffed0a414.jpg","text":"TemporaryFile(/tmp/multipartBody1252289680927908191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211832843,"filename":"image_02052025_19_10_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/5/2/54266e547b9d60364b13fe875c624d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3911390088482861518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211832843,"filename":"image_02052025_19_10_26_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2159f3a41c5ace0f5a06a6b602d4e051.jpg","text":"TemporaryFile(/tmp/multipartBody5207486944419671203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211832843,"filename":"image_02052025_19_10_46_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355446063","file1":"1355446057","file0":"1355446052","file4":"1355446069","file5":"1355446071","file3":"1355446066"},"map_files_photo_id_array":[{"photo_id":"1355446071","filename":"file5"},{"photo_id":"1355446063","filename":"file2"},{"photo_id":"1355446069","filename":"file4"},{"photo_id":"1355446057","filename":"file1"},{"photo_id":"1355446052","filename":"file0"},{"photo_id":"1355446066","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355446052":["hashtag1","hashtag2"]},{"1355446069":["hashtag1","hashtag2"]},{"1355446063":["hashtag1","hashtag2"]},{"1355446057":["hashtag1","hashtag2"]},{"1355446066":["hashtag1","hashtag2"]},{"1355446071":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355446052, 1355446069, 1355446063, 1355446057, 1355446066, 1355446071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.136099100112915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:50:32.522220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/10/image_02052025_19_10_57_10358.jpg', '/home/pi/Desktop/images/02052025/19/10/image_02052025_19_11_07_10423.jpg', '/home/pi/Desktop/images/02052025/19/11/image_02052025_19_11_16_9361.jpg', '/home/pi/Desktop/images/02052025/19/11/image_02052025_19_11_27_10488.jpg', '/home/pi/Desktop/images/02052025/19/11/image_02052025_19_11_36_9338.jpg', '/home/pi/Desktop/images/02052025/19/11/image_02052025_19_11_47_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/10/image_02052025_19_10_57_10358.jpg
/home/pi/Desktop/images/02052025/19/10/image_02052025_19_11_07_10423.jpg
/home/pi/Desktop/images/02052025/19/11/image_02052025_19_11_16_9361.jpg
/home/pi/Desktop/images/02052025/19/11/image_02052025_19_11_27_10488.jpg
/home/pi/Desktop/images/02052025/19/11/image_02052025_19_11_36_9338.jpg
/home/pi/Desktop/images/02052025/19/11/image_02052025_19_11_47_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355446099","1355446093","1355446096","1355446089","1355446101","1355446085"],"photo_ids_order":["1355446085","1355446089","1355446093","1355446096","1355446099","1355446101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6410e7d0693d81d6f8a4d189ae1b633b.jpg","text":"TemporaryFile(/tmp/multipartBody6683066738830770349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211893006,"filename":"image_02052025_19_11_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6502f550e2a87033c5f9b652f3f700e4.jpg","text":"TemporaryFile(/tmp/multipartBody1270524964805423808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211893006,"filename":"image_02052025_19_11_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/5/2/1c26f4ba000bdcd327d1d73e003bab5b.jpg","text":"TemporaryFile(/tmp/multipartBody2426802344222957397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211893006,"filename":"image_02052025_19_11_27_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc17714311c85384c64d2d6175be4589.jpg","text":"TemporaryFile(/tmp/multipartBody455821000031361508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211893006,"filename":"image_02052025_19_11_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/5/2/4ac1de660576a008b19c1d77237b0707.jpg","text":"TemporaryFile(/tmp/multipartBody5941464684045219544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211893006,"filename":"image_02052025_19_11_47_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/12c5aead7b679f598f7ec202af94b88d.jpg","text":"TemporaryFile(/tmp/multipartBody3830857675739912329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211893006,"filename":"image_02052025_19_10_57_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355446093","file1":"1355446089","file0":"1355446085","file4":"1355446099","file5":"1355446101","file3":"1355446096"},"map_files_photo_id_array":[{"photo_id":"1355446101","filename":"file5"},{"photo_id":"1355446093","filename":"file2"},{"photo_id":"1355446099","filename":"file4"},{"photo_id":"1355446089","filename":"file1"},{"photo_id":"1355446085","filename":"file0"},{"photo_id":"1355446096","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355446099":["hashtag1","hashtag2"]},{"1355446093":["hashtag1","hashtag2"]},{"1355446096":["hashtag1","hashtag2"]},{"1355446089":["hashtag1","hashtag2"]},{"1355446101":["hashtag1","hashtag2"]},{"1355446085":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355446099, 1355446093, 1355446096, 1355446089, 1355446101, 1355446085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.624860525131226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:51:32.651415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/11/image_02052025_19_11_57_10438.jpg', '/home/pi/Desktop/images/02052025/19/11/image_02052025_19_12_06_9339.jpg', '/home/pi/Desktop/images/02052025/19/12/image_02052025_19_12_17_10464.jpg', '/home/pi/Desktop/images/02052025/19/12/image_02052025_19_12_26_9391.jpg', '/home/pi/Desktop/images/02052025/19/12/image_02052025_19_12_37_10356.jpg', '/home/pi/Desktop/images/02052025/19/12/image_02052025_19_12_47_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/11/image_02052025_19_11_57_10438.jpg
/home/pi/Desktop/images/02052025/19/11/image_02052025_19_12_06_9339.jpg
/home/pi/Desktop/images/02052025/19/12/image_02052025_19_12_17_10464.jpg
/home/pi/Desktop/images/02052025/19/12/image_02052025_19_12_26_9391.jpg
/home/pi/Desktop/images/02052025/19/12/image_02052025_19_12_37_10356.jpg
/home/pi/Desktop/images/02052025/19/12/image_02052025_19_12_47_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355446172","1355446306","1355446161","1355446134","1355446131","1355446175"],"photo_ids_order":["1355446131","1355446134","1355446161","1355446172","1355446175","1355446306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/efbeb3daa1f2560b2b54782a76034b22.jpg","text":"TemporaryFile(/tmp/multipartBody8279538783695149301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211953129,"filename":"image_02052025_19_12_26_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/66148443fddc81ad7ecd1110a5a5df44.jpg","text":"TemporaryFile(/tmp/multipartBody5318244770739466976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211953129,"filename":"image_02052025_19_12_47_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9fcaf29e634ebb8de6ce5b1a71b682a6.jpg","text":"TemporaryFile(/tmp/multipartBody5562211160106796777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211953129,"filename":"image_02052025_19_12_17_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05f1aafaf213474b1d37d369cccb4583.jpg","text":"TemporaryFile(/tmp/multipartBody3846801525898801485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211953129,"filename":"image_02052025_19_12_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a93dade19693ae58da2c84e10d48bd07.jpg","text":"TemporaryFile(/tmp/multipartBody4606399073548442670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211953129,"filename":"image_02052025_19_11_57_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/823e3c21e2db680aeb21d56975d64f5e.jpg","text":"TemporaryFile(/tmp/multipartBody6054833399153948838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746211953129,"filename":"image_02052025_19_12_37_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355446161","file1":"1355446134","file0":"1355446131","file4":"1355446175","file5":"1355446306","file3":"1355446172"},"map_files_photo_id_array":[{"photo_id":"1355446306","filename":"file5"},{"photo_id":"1355446161","filename":"file2"},{"photo_id":"1355446175","filename":"file4"},{"photo_id":"1355446134","filename":"file1"},{"photo_id":"1355446131","filename":"file0"},{"photo_id":"1355446172","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355446172":["hashtag1","hashtag2"]},{"1355446306":["hashtag1","hashtag2"]},{"1355446161":["hashtag1","hashtag2"]},{"1355446134":["hashtag1","hashtag2"]},{"1355446131":["hashtag1","hashtag2"]},{"1355446175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355446172, 1355446306, 1355446161, 1355446134, 1355446131, 1355446175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.273579359054565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 20:52:42.831400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/12/image_02052025_19_12_56_9355.jpg', '/home/pi/Desktop/images/02052025/19/12/image_02052025_19_13_07_10464.jpg', '/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_17_10374.jpg', '/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_26_9348.jpg', '/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_37_10484.jpg', '/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_46_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/12/image_02052025_19_12_56_9355.jpg
/home/pi/Desktop/images/02052025/19/12/image_02052025_19_13_07_10464.jpg
/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_17_10374.jpg
/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_26_9348.jpg
/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_37_10484.jpg
/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_46_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355446322","1355446325","1355446328","1355446318","1355446332","1355446314"],"photo_ids_order":["1355446314","1355446318","1355446322","1355446325","1355446328","1355446332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f4f0e427ee61fdbb30fdb38baccb8fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7672071170662552580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212023642,"filename":"image_02052025_19_13_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/5/2/2f6e87fd9c5eaeeee199bb93ac9c2a50.jpg","text":"TemporaryFile(/tmp/multipartBody4953649417837079901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212023642,"filename":"image_02052025_19_13_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ba1f2e208a0df0c9aa8c9658c34b7f1.jpg","text":"TemporaryFile(/tmp/multipartBody1050831766411441508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212023642,"filename":"image_02052025_19_13_37_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fb8838d11dfc96a0ff2593e51517498d.jpg","text":"TemporaryFile(/tmp/multipartBody1666605830752394631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212023642,"filename":"image_02052025_19_13_07_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/83e34f99abdfb99225210a6cc66c7fdd.jpg","text":"TemporaryFile(/tmp/multipartBody1587765825228449020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212023642,"filename":"image_02052025_19_13_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/5/2/954a57f57be3519ebe341a0b2048b5ae.jpg","text":"TemporaryFile(/tmp/multipartBody3724419251198293550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212023642,"filename":"image_02052025_19_12_56_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355446322","file1":"1355446318","file0":"1355446314","file4":"1355446328","file5":"1355446332","file3":"1355446325"},"map_files_photo_id_array":[{"photo_id":"1355446332","filename":"file5"},{"photo_id":"1355446322","filename":"file2"},{"photo_id":"1355446328","filename":"file4"},{"photo_id":"1355446318","filename":"file1"},{"photo_id":"1355446314","filename":"file0"},{"photo_id":"1355446325","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355446322":["hashtag1","hashtag2"]},{"1355446325":["hashtag1","hashtag2"]},{"1355446328":["hashtag1","hashtag2"]},{"1355446318":["hashtag1","hashtag2"]},{"1355446332":["hashtag1","hashtag2"]},{"1355446314":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355446322, 1355446325, 1355446328, 1355446318, 1355446332, 1355446314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.465702533721924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:53:33.014993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_57_10420.jpg', '/home/pi/Desktop/images/02052025/19/13/image_02052025_19_14_07_10364.jpg', '/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_16_9402.jpg', '/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_27_10434.jpg', '/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_36_9405.jpg', '/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_47_10507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_57_10420.jpg
/home/pi/Desktop/images/02052025/19/13/image_02052025_19_14_07_10364.jpg
/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_16_9402.jpg
/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_27_10434.jpg
/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_36_9405.jpg
/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_47_10507.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38422226905822754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 20:53:43.083611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_57_10420.jpg', '/home/pi/Desktop/images/02052025/19/13/image_02052025_19_14_07_10364.jpg', '/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_16_9402.jpg', '/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_27_10434.jpg', '/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_36_9405.jpg', '/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_47_10507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/13/image_02052025_19_13_57_10420.jpg
/home/pi/Desktop/images/02052025/19/13/image_02052025_19_14_07_10364.jpg
/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_16_9402.jpg
/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_27_10434.jpg
/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_36_9405.jpg
/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_47_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":["1355446351","1355446360","1355446357","1355446362","1355446353","1355446347"],"photo_ids_order":["1355446347","1355446351","1355446353","1355446357","1355446360","1355446362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0380b86c135e6fa37f056c8ff9afe609.jpg","text":"TemporaryFile(/tmp/multipartBody5631640983462253077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212083560,"filename":"image_02052025_19_14_07_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/626cabb1a170a4e214bcb2341a833881.jpg","text":"TemporaryFile(/tmp/multipartBody5673380705850644533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212083560,"filename":"image_02052025_19_14_36_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cdf37bdf114134ebafad96335f3475ec.jpg","text":"TemporaryFile(/tmp/multipartBody2763937487378691533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212083560,"filename":"image_02052025_19_14_27_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d8d5bd61f160eb854e224e6048a90c65.jpg","text":"TemporaryFile(/tmp/multipartBody1586388885860384147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212083560,"filename":"image_02052025_19_14_47_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/881293fd7f6a3578c19f77eaaa751ca6.jpg","text":"TemporaryFile(/tmp/multipartBody3026804670062546684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212083560,"filename":"image_02052025_19_14_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/159f276cc38a9fd02c0d198642d81dba.jpg","text":"TemporaryFile(/tmp/multipartBody1194757500278253701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212083560,"filename":"image_02052025_19_13_57_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355446353","file1":"1355446351","file0":"1355446347","file4":"1355446360","file5":"1355446362","file3":"1355446357"},"map_files_photo_id_array":[{"photo_id":"1355446362","filename":"file5"},{"photo_id":"1355446353","filename":"file2"},{"photo_id":"1355446360","filename":"file4"},{"photo_id":"1355446351","filename":"file1"},{"photo_id":"1355446347","filename":"file0"},{"photo_id":"1355446357","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355446351":["hashtag1","hashtag2"]},{"1355446360":["hashtag1","hashtag2"]},{"1355446357":["hashtag1","hashtag2"]},{"1355446362":["hashtag1","hashtag2"]},{"1355446353":["hashtag1","hashtag2"]},{"1355446347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355446351, 1355446360, 1355446357, 1355446362, 1355446353, 1355446347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78946375846863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:54:32.264362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_56_9346.jpg', '/home/pi/Desktop/images/02052025/19/14/image_02052025_19_15_07_10362.jpg', '/home/pi/Desktop/images/02052025/19/15/image_02052025_19_15_17_10357.jpg', '/home/pi/Desktop/images/02052025/19/15/image_02052025_19_15_26_9368.jpg', '/home/pi/Desktop/images/02052025/19/15/image_02052025_19_15_37_10424.jpg', '/home/pi/Desktop/images/02052025/19/15/image_02052025_19_15_47_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/14/image_02052025_19_14_56_9346.jpg
/home/pi/Desktop/images/02052025/19/14/image_02052025_19_15_07_10362.jpg
/home/pi/Desktop/images/02052025/19/15/image_02052025_19_15_17_10357.jpg
/home/pi/Desktop/images/02052025/19/15/image_02052025_19_15_26_9368.jpg
/home/pi/Desktop/images/02052025/19/15/image_02052025_19_15_37_10424.jpg
/home/pi/Desktop/images/02052025/19/15/image_02052025_19_15_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":["1355446379","1355446389","1355446386","1355446391","1355446382","1355446376"],"photo_ids_order":["1355446376","1355446379","1355446382","1355446386","1355446389","1355446391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/257c9bd1c93837ad736eb7dfb8651ba4.jpg","text":"TemporaryFile(/tmp/multipartBody5463512072375269498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212132736,"filename":"image_02052025_19_15_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/5/2/a5e2c921804336f67f781341a343e360.jpg","text":"TemporaryFile(/tmp/multipartBody1328149238394322697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212132736,"filename":"image_02052025_19_15_37_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5c158fd210643d7ef21ca80ee6ca25cf.jpg","text":"TemporaryFile(/tmp/multipartBody377997645111133298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212132736,"filename":"image_02052025_19_15_26_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41af46828875a8dfa96364313a975302.jpg","text":"TemporaryFile(/tmp/multipartBody676239216426875892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212132736,"filename":"image_02052025_19_15_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/5/2/7f11958bcd776bcd049b24040ef5d913.jpg","text":"TemporaryFile(/tmp/multipartBody4464719277740094098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212132736,"filename":"image_02052025_19_15_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d73b07dd98e3e844c7690d7caea8d3db.jpg","text":"TemporaryFile(/tmp/multipartBody4408784976299904896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212132736,"filename":"image_02052025_19_14_56_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355446382","file1":"1355446379","file0":"1355446376","file4":"1355446389","file5":"1355446391","file3":"1355446386"},"map_files_photo_id_array":[{"photo_id":"1355446391","filename":"file5"},{"photo_id":"1355446382","filename":"file2"},{"photo_id":"1355446389","filename":"file4"},{"photo_id":"1355446379","filename":"file1"},{"photo_id":"1355446376","filename":"file0"},{"photo_id":"1355446386","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355446379":["hashtag1","hashtag2"]},{"1355446389":["hashtag1","hashtag2"]},{"1355446386":["hashtag1","hashtag2"]},{"1355446391":["hashtag1","hashtag2"]},{"1355446382":["hashtag1","hashtag2"]},{"1355446376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355446379, 1355446389, 1355446386, 1355446391, 1355446382, 1355446376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.642499923706055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:55:32.379516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/15/image_02052025_19_15_56_9371.jpg', '/home/pi/Desktop/images/02052025/19/15/image_02052025_19_16_07_10347.jpg', '/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_16_9348.jpg', '/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_27_10385.jpg', '/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_37_10352.jpg', '/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_46_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/15/image_02052025_19_15_56_9371.jpg
/home/pi/Desktop/images/02052025/19/15/image_02052025_19_16_07_10347.jpg
/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_16_9348.jpg
/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_27_10385.jpg
/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_37_10352.jpg
/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_46_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355446418","1355446415","1355446420","1355446414","1355446411","1355446407"],"photo_ids_order":["1355446407","1355446411","1355446414","1355446415","1355446418","1355446420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63be74671c6c15eb472206b3f3fcfeae.jpg","text":"TemporaryFile(/tmp/multipartBody4894702921330992910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212192853,"filename":"image_02052025_19_16_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/5/2/5262348c1b6ae9eec4c303ff04ed1b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2318689424378786101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212192853,"filename":"image_02052025_19_16_27_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c153de5d150f12be93e684ed99a5524d.jpg","text":"TemporaryFile(/tmp/multipartBody8038399295514391421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212192853,"filename":"image_02052025_19_16_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/5/2/4c529f2faf654004370b342b7830541d.jpg","text":"TemporaryFile(/tmp/multipartBody6966610750217834751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212192853,"filename":"image_02052025_19_16_16_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/42bb9185f1358a73758d7de332d76b34.jpg","text":"TemporaryFile(/tmp/multipartBody3438626796910750026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212192853,"filename":"image_02052025_19_16_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/5/2/06b925dbc82fc4e825f0d1267b9acb56.jpg","text":"TemporaryFile(/tmp/multipartBody932326730257390629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212192853,"filename":"image_02052025_19_15_56_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355446414","file1":"1355446411","file0":"1355446407","file4":"1355446418","file5":"1355446420","file3":"1355446415"},"map_files_photo_id_array":[{"photo_id":"1355446420","filename":"file5"},{"photo_id":"1355446414","filename":"file2"},{"photo_id":"1355446418","filename":"file4"},{"photo_id":"1355446411","filename":"file1"},{"photo_id":"1355446407","filename":"file0"},{"photo_id":"1355446415","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355446418":["hashtag1","hashtag2"]},{"1355446415":["hashtag1","hashtag2"]},{"1355446420":["hashtag1","hashtag2"]},{"1355446414":["hashtag1","hashtag2"]},{"1355446411":["hashtag1","hashtag2"]},{"1355446407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355446418, 1355446415, 1355446420, 1355446414, 1355446411, 1355446407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.146010875701904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:56:32.517721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_57_10389.jpg', '/home/pi/Desktop/images/02052025/19/16/image_02052025_19_17_07_10436.jpg', '/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_16_9361.jpg', '/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_27_10421.jpg', '/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_36_9420.jpg', '/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_47_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_57_10389.jpg
/home/pi/Desktop/images/02052025/19/16/image_02052025_19_17_07_10436.jpg
/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_16_9361.jpg
/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_27_10421.jpg
/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_36_9420.jpg
/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_47_10435.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38770246505737305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 20:56:42.665159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_57_10389.jpg', '/home/pi/Desktop/images/02052025/19/16/image_02052025_19_17_07_10436.jpg', '/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_16_9361.jpg', '/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_27_10421.jpg', '/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_36_9420.jpg', '/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_47_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/16/image_02052025_19_16_57_10389.jpg
/home/pi/Desktop/images/02052025/19/16/image_02052025_19_17_07_10436.jpg
/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_16_9361.jpg
/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_27_10421.jpg
/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_36_9420.jpg
/home/pi/Desktop/images/02052025/19/17/image_02052025_19_17_47_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355446835","1355446802","1355446993","1355446932","1355446898","1355446871"],"photo_ids_order":["1355446802","1355446835","1355446871","1355446898","1355446932","1355446993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/377a191eeee53384d9821c36d8227226.jpg","text":"TemporaryFile(/tmp/multipartBody2024310784962726446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212263140,"filename":"image_02052025_19_17_07_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e1e4c3ff3a715720032bf815ea54a6a.jpg","text":"TemporaryFile(/tmp/multipartBody4875700352578143798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212263140,"filename":"image_02052025_19_16_57_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da5bd0c1c3ae75178713728b309d5fe1.jpg","text":"TemporaryFile(/tmp/multipartBody6327075618483476668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212263140,"filename":"image_02052025_19_17_47_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fd21be71633874a7917faecc713a1551.jpg","text":"TemporaryFile(/tmp/multipartBody7884313077607582821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212263140,"filename":"image_02052025_19_17_36_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dede3dd523e93e6543d02d3b6b10e10f.jpg","text":"TemporaryFile(/tmp/multipartBody4970858382408738561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212263140,"filename":"image_02052025_19_17_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/5/2/3dd362e8e29ae4ec5abf8230f509b689.jpg","text":"TemporaryFile(/tmp/multipartBody7153265464879174771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212263140,"filename":"image_02052025_19_17_16_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355446871","file1":"1355446835","file0":"1355446802","file4":"1355446932","file5":"1355446993","file3":"1355446898"},"map_files_photo_id_array":[{"photo_id":"1355446993","filename":"file5"},{"photo_id":"1355446871","filename":"file2"},{"photo_id":"1355446932","filename":"file4"},{"photo_id":"1355446835","filename":"file1"},{"photo_id":"1355446802","filename":"file0"},{"photo_id":"1355446898","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355446835":["hashtag1","hashtag2"]},{"1355446802":["hashtag1","hashtag2"]},{"1355446993":["hashtag1","hashtag2"]},{"1355446932":["hashtag1","hashtag2"]},{"1355446898":["hashtag1","hashtag2"]},{"1355446871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355446835, 1355446802, 1355446993, 1355446932, 1355446898, 1355446871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.144410371780396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 20:57:32.697349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/17/image_02052025_19_18_06_9353.jpg', '/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_17_10355.jpg', '/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_26_9357.jpg', '/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_36_10357.jpg', '/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_47_10466.jpg', '/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_56_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/17/image_02052025_19_18_06_9353.jpg
/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_17_10355.jpg
/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_26_9357.jpg
/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_36_10357.jpg
/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_47_10466.jpg
/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_56_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 20:59:04.112352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/17/image_02052025_19_18_06_9353.jpg', '/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_17_10355.jpg', '/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_26_9357.jpg', '/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_36_10357.jpg', '/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_47_10466.jpg', '/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_56_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/17/image_02052025_19_18_06_9353.jpg
/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_17_10355.jpg
/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_26_9357.jpg
/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_36_10357.jpg
/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_47_10466.jpg
/home/pi/Desktop/images/02052025/19/18/image_02052025_19_18_56_9353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355448325","1355448360","1355448315","1355448542","1355448320","1355448394"],"photo_ids_order":["1355448315","1355448320","1355448325","1355448360","1355448394","1355448542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c39098ee65c221fdcf1e2ff7e8ecf06.jpg","text":"TemporaryFile(/tmp/multipartBody5809469185181961591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212404780,"filename":"image_02052025_19_18_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/5/2/0ab716478683ea2fc4e2327cce199dec.jpg","text":"TemporaryFile(/tmp/multipartBody899059100151889388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212404780,"filename":"image_02052025_19_18_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/5/2/c9535b46dd98e94e9c3b8d2ee02d480f.jpg","text":"TemporaryFile(/tmp/multipartBody8522352001173601331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212404780,"filename":"image_02052025_19_18_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/5/2/744c5e5ebb8ca6e28a26eb91b8922d67.jpg","text":"TemporaryFile(/tmp/multipartBody4235214878220596009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212404780,"filename":"image_02052025_19_18_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/5/2/bb2c7d9b889d28d2487d5b31990f1b08.jpg","text":"TemporaryFile(/tmp/multipartBody5143273584287622524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212404780,"filename":"image_02052025_19_18_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c1dcf10993d9109f71889a54bc3fad34.jpg","text":"TemporaryFile(/tmp/multipartBody6817512474054923017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212404780,"filename":"image_02052025_19_18_47_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355448325","file1":"1355448320","file0":"1355448315","file4":"1355448394","file5":"1355448542","file3":"1355448360"},"map_files_photo_id_array":[{"photo_id":"1355448542","filename":"file5"},{"photo_id":"1355448325","filename":"file2"},{"photo_id":"1355448394","filename":"file4"},{"photo_id":"1355448320","filename":"file1"},{"photo_id":"1355448315","filename":"file0"},{"photo_id":"1355448360","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355448325":["hashtag1","hashtag2"]},{"1355448360":["hashtag1","hashtag2"]},{"1355448315":["hashtag1","hashtag2"]},{"1355448542":["hashtag1","hashtag2"]},{"1355448320":["hashtag1","hashtag2"]},{"1355448394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355448325, 1355448360, 1355448315, 1355448542, 1355448320, 1355448394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.874083518981934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 20:59:42.431718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/18/image_02052025_19_19_07_10427.jpg', '/home/pi/Desktop/images/02052025/19/19/image_02052025_19_19_17_10363.jpg', '/home/pi/Desktop/images/02052025/19/19/image_02052025_19_19_26_9369.jpg', '/home/pi/Desktop/images/02052025/19/19/image_02052025_19_19_37_10385.jpg', '/home/pi/Desktop/images/02052025/19/19/image_02052025_19_19_46_9368.jpg', '/home/pi/Desktop/images/02052025/19/19/image_02052025_19_19_57_10490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/18/image_02052025_19_19_07_10427.jpg
/home/pi/Desktop/images/02052025/19/19/image_02052025_19_19_17_10363.jpg
/home/pi/Desktop/images/02052025/19/19/image_02052025_19_19_26_9369.jpg
/home/pi/Desktop/images/02052025/19/19/image_02052025_19_19_37_10385.jpg
/home/pi/Desktop/images/02052025/19/19/image_02052025_19_19_46_9368.jpg
/home/pi/Desktop/images/02052025/19/19/image_02052025_19_19_57_10490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355448649","1355448693","1355448695","1355448668","1355448583","1355448586"],"photo_ids_order":["1355448583","1355448586","1355448649","1355448668","1355448693","1355448695"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf370e06d92aca82402a72e1c6adf381.jpg","text":"TemporaryFile(/tmp/multipartBody6114545203788136604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212442899,"filename":"image_02052025_19_19_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/5/2/ba14b8ef44cdb6ef278d8dd4e873f687.jpg","text":"TemporaryFile(/tmp/multipartBody9212408936566712709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212442899,"filename":"image_02052025_19_19_46_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/abb660156f64525a94bcc6f6a438b1e1.jpg","text":"TemporaryFile(/tmp/multipartBody3119932574418807564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212442899,"filename":"image_02052025_19_19_57_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ef1b9bca3596ae574c837cc5d74bf179.jpg","text":"TemporaryFile(/tmp/multipartBody8543882738719950753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212442899,"filename":"image_02052025_19_19_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/5/2/5ded234b03e0599aa31c69af36010265.jpg","text":"TemporaryFile(/tmp/multipartBody3290903681578740393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212442899,"filename":"image_02052025_19_19_07_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e1dee00b0577b0cea33129da15c212c8.jpg","text":"TemporaryFile(/tmp/multipartBody2340685622310902385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212442899,"filename":"image_02052025_19_19_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355448649","file1":"1355448586","file0":"1355448583","file4":"1355448693","file5":"1355448695","file3":"1355448668"},"map_files_photo_id_array":[{"photo_id":"1355448695","filename":"file5"},{"photo_id":"1355448649","filename":"file2"},{"photo_id":"1355448693","filename":"file4"},{"photo_id":"1355448586","filename":"file1"},{"photo_id":"1355448583","filename":"file0"},{"photo_id":"1355448668","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355448649":["hashtag1","hashtag2"]},{"1355448693":["hashtag1","hashtag2"]},{"1355448695":["hashtag1","hashtag2"]},{"1355448668":["hashtag1","hashtag2"]},{"1355448583":["hashtag1","hashtag2"]},{"1355448586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355448649, 1355448693, 1355448695, 1355448668, 1355448583, 1355448586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.858107089996338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:00:32.577437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/19/image_02052025_19_20_07_10373.jpg', '/home/pi/Desktop/images/02052025/19/20/image_02052025_19_20_16_9364.jpg', '/home/pi/Desktop/images/02052025/19/20/image_02052025_19_20_36_9341.jpg', '/home/pi/Desktop/images/02052025/19/20/image_02052025_19_20_47_10363.jpg', '/home/pi/Desktop/images/02052025/19/20/image_02052025_19_20_57_10421.jpg', '/home/pi/Desktop/images/02052025/19/20/image_02052025_19_21_06_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/19/image_02052025_19_20_07_10373.jpg
/home/pi/Desktop/images/02052025/19/20/image_02052025_19_20_16_9364.jpg
/home/pi/Desktop/images/02052025/19/20/image_02052025_19_20_36_9341.jpg
/home/pi/Desktop/images/02052025/19/20/image_02052025_19_20_47_10363.jpg
/home/pi/Desktop/images/02052025/19/20/image_02052025_19_20_57_10421.jpg
/home/pi/Desktop/images/02052025/19/20/image_02052025_19_21_06_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":["1355448724","1355448747","1355448726","1355448807","1355448836","1355448778"],"photo_ids_order":["1355448724","1355448726","1355448747","1355448778","1355448807","1355448836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c5faf625a76afd7d4d2138397fe8539e.jpg","text":"TemporaryFile(/tmp/multipartBody7671685049363382804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212493067,"filename":"image_02052025_19_20_07_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/be00aacaa1dbe3678cbf50e566869957.jpg","text":"TemporaryFile(/tmp/multipartBody8314206145160456698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212493067,"filename":"image_02052025_19_20_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/5/2/c1ba3e9145b51cc5a072683fa0cdf0f3.jpg","text":"TemporaryFile(/tmp/multipartBody1441209963280686933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212493067,"filename":"image_02052025_19_20_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/5/2/f79bdb6ffceef7a3e5dc8572e5928528.jpg","text":"TemporaryFile(/tmp/multipartBody300082996110836927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212493067,"filename":"image_02052025_19_20_57_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1eb708d300e48579357a5adfa8b568a8.jpg","text":"TemporaryFile(/tmp/multipartBody4920776439229612305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212493067,"filename":"image_02052025_19_21_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/5/2/1348c77593626ad3641a1a713fa27c74.jpg","text":"TemporaryFile(/tmp/multipartBody8952369430648025881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212493067,"filename":"image_02052025_19_20_47_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355448747","file1":"1355448726","file0":"1355448724","file4":"1355448807","file5":"1355448836","file3":"1355448778"},"map_files_photo_id_array":[{"photo_id":"1355448836","filename":"file5"},{"photo_id":"1355448747","filename":"file2"},{"photo_id":"1355448807","filename":"file4"},{"photo_id":"1355448726","filename":"file1"},{"photo_id":"1355448724","filename":"file0"},{"photo_id":"1355448778","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355448724":["hashtag1","hashtag2"]},{"1355448747":["hashtag1","hashtag2"]},{"1355448726":["hashtag1","hashtag2"]},{"1355448807":["hashtag1","hashtag2"]},{"1355448836":["hashtag1","hashtag2"]},{"1355448778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355448724, 1355448747, 1355448726, 1355448807, 1355448836, 1355448778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.647340297698975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:01:32.880517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/21/image_02052025_19_21_17_10463.jpg', '/home/pi/Desktop/images/02052025/19/21/image_02052025_19_21_26_9366.jpg', '/home/pi/Desktop/images/02052025/19/21/image_02052025_19_21_37_10367.jpg', '/home/pi/Desktop/images/02052025/19/21/image_02052025_19_21_47_10439.jpg', '/home/pi/Desktop/images/02052025/19/21/image_02052025_19_21_56_9362.jpg', '/home/pi/Desktop/images/02052025/19/21/image_02052025_19_22_07_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/21/image_02052025_19_21_17_10463.jpg
/home/pi/Desktop/images/02052025/19/21/image_02052025_19_21_26_9366.jpg
/home/pi/Desktop/images/02052025/19/21/image_02052025_19_21_37_10367.jpg
/home/pi/Desktop/images/02052025/19/21/image_02052025_19_21_47_10439.jpg
/home/pi/Desktop/images/02052025/19/21/image_02052025_19_21_56_9362.jpg
/home/pi/Desktop/images/02052025/19/21/image_02052025_19_22_07_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":["1355449182","1355449272","1355449116","1355449244","1355449148","1355449214"],"photo_ids_order":["1355449116","1355449148","1355449182","1355449214","1355449244","1355449272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b829871d68e87f3b9a1c65d20351cc9d.jpg","text":"TemporaryFile(/tmp/multipartBody1910282437207419879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212553349,"filename":"image_02052025_19_21_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/5/2/8e94322a7cf0da9c8a3d339eb0f98ae3.jpg","text":"TemporaryFile(/tmp/multipartBody3549743660275412993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212553349,"filename":"image_02052025_19_22_07_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/32af8ad71077ccb391517c5fed8d5950.jpg","text":"TemporaryFile(/tmp/multipartBody5327465031044850558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212553349,"filename":"image_02052025_19_21_17_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/529722a9b31cbbc5247c019a8daa01f6.jpg","text":"TemporaryFile(/tmp/multipartBody6366449580641637163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212553349,"filename":"image_02052025_19_21_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/5/2/a06a6454e95a55e9a4d3e6d7d3e06a76.jpg","text":"TemporaryFile(/tmp/multipartBody8952770782844312965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212553349,"filename":"image_02052025_19_21_26_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ecb0203d27615459fd9765b5f46413c.jpg","text":"TemporaryFile(/tmp/multipartBody6751230092237748498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212553349,"filename":"image_02052025_19_21_47_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355449182","file1":"1355449148","file0":"1355449116","file4":"1355449244","file5":"1355449272","file3":"1355449214"},"map_files_photo_id_array":[{"photo_id":"1355449272","filename":"file5"},{"photo_id":"1355449182","filename":"file2"},{"photo_id":"1355449244","filename":"file4"},{"photo_id":"1355449148","filename":"file1"},{"photo_id":"1355449116","filename":"file0"},{"photo_id":"1355449214","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355449182":["hashtag1","hashtag2"]},{"1355449272":["hashtag1","hashtag2"]},{"1355449116":["hashtag1","hashtag2"]},{"1355449244":["hashtag1","hashtag2"]},{"1355449148":["hashtag1","hashtag2"]},{"1355449214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355449182, 1355449272, 1355449116, 1355449244, 1355449148, 1355449214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3914008140564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:02:32.883394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/22/image_02052025_19_22_17_10344.jpg', '/home/pi/Desktop/images/02052025/19/22/image_02052025_19_22_26_9354.jpg', '/home/pi/Desktop/images/02052025/19/22/image_02052025_19_22_37_10377.jpg', '/home/pi/Desktop/images/02052025/19/22/image_02052025_19_22_46_9365.jpg', '/home/pi/Desktop/images/02052025/19/22/image_02052025_19_22_57_10360.jpg', '/home/pi/Desktop/images/02052025/19/22/image_02052025_19_23_07_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/22/image_02052025_19_22_17_10344.jpg
/home/pi/Desktop/images/02052025/19/22/image_02052025_19_22_26_9354.jpg
/home/pi/Desktop/images/02052025/19/22/image_02052025_19_22_37_10377.jpg
/home/pi/Desktop/images/02052025/19/22/image_02052025_19_22_46_9365.jpg
/home/pi/Desktop/images/02052025/19/22/image_02052025_19_22_57_10360.jpg
/home/pi/Desktop/images/02052025/19/22/image_02052025_19_23_07_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":["1355449686","1355449658","1355449574","1355449601","1355449543","1355449630"],"photo_ids_order":["1355449543","1355449574","1355449601","1355449630","1355449658","1355449686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fbf81aacdfbecb71896ad8b0e512e5a2.jpg","text":"TemporaryFile(/tmp/multipartBody7701038348282303056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212613360,"filename":"image_02052025_19_23_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/5/2/1b7b8cd671fae288f99ca5b26c14f4fc.jpg","text":"TemporaryFile(/tmp/multipartBody2797944133102385980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212613360,"filename":"image_02052025_19_22_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/5/2/2ec46d737c8c3360b8cc3c055a7c2ec3.jpg","text":"TemporaryFile(/tmp/multipartBody4184343574011865507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212613360,"filename":"image_02052025_19_22_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/5/2/baa5c428e55a0c7f1b9a1193b7313b63.jpg","text":"TemporaryFile(/tmp/multipartBody8134910519529762561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212613360,"filename":"image_02052025_19_22_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/5/2/8110d87edeba38839ebf65d2a6fe2c92.jpg","text":"TemporaryFile(/tmp/multipartBody2794383970803612325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212613360,"filename":"image_02052025_19_22_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/5/2/1754a947f5c80961117b0f0ace5690ac.jpg","text":"TemporaryFile(/tmp/multipartBody3232452208969814593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212613360,"filename":"image_02052025_19_22_46_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355449601","file1":"1355449574","file0":"1355449543","file4":"1355449658","file5":"1355449686","file3":"1355449630"},"map_files_photo_id_array":[{"photo_id":"1355449686","filename":"file5"},{"photo_id":"1355449601","filename":"file2"},{"photo_id":"1355449658","filename":"file4"},{"photo_id":"1355449574","filename":"file1"},{"photo_id":"1355449543","filename":"file0"},{"photo_id":"1355449630","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355449686":["hashtag1","hashtag2"]},{"1355449658":["hashtag1","hashtag2"]},{"1355449574":["hashtag1","hashtag2"]},{"1355449601":["hashtag1","hashtag2"]},{"1355449543":["hashtag1","hashtag2"]},{"1355449630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355449686, 1355449658, 1355449574, 1355449601, 1355449543, 1355449630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23074722290039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:03:33.080153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/23/image_02052025_19_23_16_9338.jpg', '/home/pi/Desktop/images/02052025/19/23/image_02052025_19_23_27_10461.jpg', '/home/pi/Desktop/images/02052025/19/23/image_02052025_19_23_36_9336.jpg', '/home/pi/Desktop/images/02052025/19/23/image_02052025_19_23_46_10354.jpg', '/home/pi/Desktop/images/02052025/19/23/image_02052025_19_23_57_10435.jpg', '/home/pi/Desktop/images/02052025/19/23/image_02052025_19_24_06_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/23/image_02052025_19_23_16_9338.jpg
/home/pi/Desktop/images/02052025/19/23/image_02052025_19_23_27_10461.jpg
/home/pi/Desktop/images/02052025/19/23/image_02052025_19_23_36_9336.jpg
/home/pi/Desktop/images/02052025/19/23/image_02052025_19_23_46_10354.jpg
/home/pi/Desktop/images/02052025/19/23/image_02052025_19_23_57_10435.jpg
/home/pi/Desktop/images/02052025/19/23/image_02052025_19_24_06_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":["1355450298","1355450247","1355450136","1355450399","1355450195","1355450348"],"photo_ids_order":["1355450136","1355450195","1355450247","1355450298","1355450348","1355450399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/68e7d6a8a66abcc90cce097eebce1873.jpg","text":"TemporaryFile(/tmp/multipartBody5853409090622817183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212673559,"filename":"image_02052025_19_23_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/087dba8838684ee471347bbe09a1b995.jpg","text":"TemporaryFile(/tmp/multipartBody2996624804883530721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212673559,"filename":"image_02052025_19_23_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/47cbeff09a8c0752017c9d515e453378.jpg","text":"TemporaryFile(/tmp/multipartBody7283808746382572888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212673559,"filename":"image_02052025_19_23_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/5/2/d4fb6119975f2bbff1577d22ac2441fb.jpg","text":"TemporaryFile(/tmp/multipartBody6955079201348057039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212673559,"filename":"image_02052025_19_24_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/5/2/07b03da32ce5a656d1e462eef120d8db.jpg","text":"TemporaryFile(/tmp/multipartBody2128206184501040317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212673559,"filename":"image_02052025_19_23_27_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e52a34a81b07ad09d4d982ab7af9db1d.jpg","text":"TemporaryFile(/tmp/multipartBody9006194936615644091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212673559,"filename":"image_02052025_19_23_57_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355450247","file1":"1355450195","file0":"1355450136","file4":"1355450348","file5":"1355450399","file3":"1355450298"},"map_files_photo_id_array":[{"photo_id":"1355450399","filename":"file5"},{"photo_id":"1355450247","filename":"file2"},{"photo_id":"1355450348","filename":"file4"},{"photo_id":"1355450195","filename":"file1"},{"photo_id":"1355450136","filename":"file0"},{"photo_id":"1355450298","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355450298":["hashtag1","hashtag2"]},{"1355450247":["hashtag1","hashtag2"]},{"1355450136":["hashtag1","hashtag2"]},{"1355450399":["hashtag1","hashtag2"]},{"1355450195":["hashtag1","hashtag2"]},{"1355450348":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355450298, 1355450247, 1355450136, 1355450399, 1355450195, 1355450348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.76126718521118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:04:32.222168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/24/image_02052025_19_24_17_10363.jpg', '/home/pi/Desktop/images/02052025/19/24/image_02052025_19_24_27_10476.jpg', '/home/pi/Desktop/images/02052025/19/24/image_02052025_19_24_36_9404.jpg', '/home/pi/Desktop/images/02052025/19/24/image_02052025_19_24_47_10431.jpg', '/home/pi/Desktop/images/02052025/19/24/image_02052025_19_24_56_9347.jpg', '/home/pi/Desktop/images/02052025/19/24/image_02052025_19_25_07_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/24/image_02052025_19_24_17_10363.jpg
/home/pi/Desktop/images/02052025/19/24/image_02052025_19_24_27_10476.jpg
/home/pi/Desktop/images/02052025/19/24/image_02052025_19_24_36_9404.jpg
/home/pi/Desktop/images/02052025/19/24/image_02052025_19_24_47_10431.jpg
/home/pi/Desktop/images/02052025/19/24/image_02052025_19_24_56_9347.jpg
/home/pi/Desktop/images/02052025/19/24/image_02052025_19_25_07_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":["1355450908","1355451174","1355451020","1355451088","1355451262","1355450965"],"photo_ids_order":["1355450908","1355450965","1355451020","1355451088","1355451174","1355451262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e517439fccd6eac4859f79afe334a6d8.jpg","text":"TemporaryFile(/tmp/multipartBody4192598290570838331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212732718,"filename":"image_02052025_19_24_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/5/2/623c2647ea18254a099d9990c72dfa48.jpg","text":"TemporaryFile(/tmp/multipartBody5139210340753925136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212732718,"filename":"image_02052025_19_24_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/5/2/ad6a2cffadaef1300139175c3e88ae08.jpg","text":"TemporaryFile(/tmp/multipartBody3140619524404056612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212732718,"filename":"image_02052025_19_24_36_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/93b399ec12ccd7fab320ab58ae15ca39.jpg","text":"TemporaryFile(/tmp/multipartBody1297617274407762801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212732718,"filename":"image_02052025_19_24_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/5/2/9daefce79e6beec5234484b2e444f2cf.jpg","text":"TemporaryFile(/tmp/multipartBody4225532834059007638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212732718,"filename":"image_02052025_19_25_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/5/2/24914facaa2be684b62f16cc972900aa.jpg","text":"TemporaryFile(/tmp/multipartBody1681333668751081437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212732718,"filename":"image_02052025_19_24_27_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355451020","file1":"1355450965","file0":"1355450908","file4":"1355451174","file5":"1355451262","file3":"1355451088"},"map_files_photo_id_array":[{"photo_id":"1355451262","filename":"file5"},{"photo_id":"1355451020","filename":"file2"},{"photo_id":"1355451174","filename":"file4"},{"photo_id":"1355450965","filename":"file1"},{"photo_id":"1355450908","filename":"file0"},{"photo_id":"1355451088","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355450908":["hashtag1","hashtag2"]},{"1355451174":["hashtag1","hashtag2"]},{"1355451020":["hashtag1","hashtag2"]},{"1355451088":["hashtag1","hashtag2"]},{"1355451262":["hashtag1","hashtag2"]},{"1355450965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355450908, 1355451174, 1355451020, 1355451088, 1355451262, 1355450965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98105192184448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:05:32.355622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/25/image_02052025_19_25_17_10373.jpg', '/home/pi/Desktop/images/02052025/19/25/image_02052025_19_25_26_9365.jpg', '/home/pi/Desktop/images/02052025/19/25/image_02052025_19_25_37_10428.jpg', '/home/pi/Desktop/images/02052025/19/25/image_02052025_19_25_57_10387.jpg', '/home/pi/Desktop/images/02052025/19/25/image_02052025_19_26_07_10398.jpg', '/home/pi/Desktop/images/02052025/19/26/image_02052025_19_26_16_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/25/image_02052025_19_25_17_10373.jpg
/home/pi/Desktop/images/02052025/19/25/image_02052025_19_25_26_9365.jpg
/home/pi/Desktop/images/02052025/19/25/image_02052025_19_25_37_10428.jpg
/home/pi/Desktop/images/02052025/19/25/image_02052025_19_25_57_10387.jpg
/home/pi/Desktop/images/02052025/19/25/image_02052025_19_26_07_10398.jpg
/home/pi/Desktop/images/02052025/19/26/image_02052025_19_26_16_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355452008","1355452313","1355452208","1355452285","1355452164","1355452050"],"photo_ids_order":["1355452008","1355452050","1355452164","1355452208","1355452285","1355452313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc79a21798a4824da96bec8f983b50b2.jpg","text":"TemporaryFile(/tmp/multipartBody5918112838669686953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212792832,"filename":"image_02052025_19_25_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/5/2/258a660447d7c398b1995837553abf33.jpg","text":"TemporaryFile(/tmp/multipartBody8679643729829157938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212792832,"filename":"image_02052025_19_26_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/5/2/171f6b6c49247a62b7a95995609264a3.jpg","text":"TemporaryFile(/tmp/multipartBody7518759191537788810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212792832,"filename":"image_02052025_19_25_57_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9383d94a11393decbe03b75b066cf107.jpg","text":"TemporaryFile(/tmp/multipartBody3196960043233763299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212792832,"filename":"image_02052025_19_26_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/735a8e28e03ed1a9082e1430e092f4c2.jpg","text":"TemporaryFile(/tmp/multipartBody8440376058161962688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212792832,"filename":"image_02052025_19_25_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/5/2/85b84d224f30a49d39a1a1b1065b32b1.jpg","text":"TemporaryFile(/tmp/multipartBody3658326876251463210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212792832,"filename":"image_02052025_19_25_26_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355452164","file1":"1355452050","file0":"1355452008","file4":"1355452285","file5":"1355452313","file3":"1355452208"},"map_files_photo_id_array":[{"photo_id":"1355452313","filename":"file5"},{"photo_id":"1355452164","filename":"file2"},{"photo_id":"1355452285","filename":"file4"},{"photo_id":"1355452050","filename":"file1"},{"photo_id":"1355452008","filename":"file0"},{"photo_id":"1355452208","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355452008":["hashtag1","hashtag2"]},{"1355452313":["hashtag1","hashtag2"]},{"1355452208":["hashtag1","hashtag2"]},{"1355452285":["hashtag1","hashtag2"]},{"1355452164":["hashtag1","hashtag2"]},{"1355452050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355452008, 1355452313, 1355452208, 1355452285, 1355452164, 1355452050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62431716918945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:06:32.475406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/26/image_02052025_19_26_27_10445.jpg', '/home/pi/Desktop/images/02052025/19/26/image_02052025_19_26_36_9352.jpg', '/home/pi/Desktop/images/02052025/19/26/image_02052025_19_26_47_10352.jpg', '/home/pi/Desktop/images/02052025/19/26/image_02052025_19_26_57_10377.jpg', '/home/pi/Desktop/images/02052025/19/26/image_02052025_19_27_06_9350.jpg', '/home/pi/Desktop/images/02052025/19/27/image_02052025_19_27_17_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/26/image_02052025_19_26_27_10445.jpg
/home/pi/Desktop/images/02052025/19/26/image_02052025_19_26_36_9352.jpg
/home/pi/Desktop/images/02052025/19/26/image_02052025_19_26_47_10352.jpg
/home/pi/Desktop/images/02052025/19/26/image_02052025_19_26_57_10377.jpg
/home/pi/Desktop/images/02052025/19/26/image_02052025_19_27_06_9350.jpg
/home/pi/Desktop/images/02052025/19/27/image_02052025_19_27_17_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":["1355452592","1355452589","1355452580","1355452594","1355452597","1355452627"],"photo_ids_order":["1355452580","1355452589","1355452592","1355452594","1355452597","1355452627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/547afa34cb7b10ce6b6d8de142be5f12.jpg","text":"TemporaryFile(/tmp/multipartBody4249956443150426307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212853479,"filename":"image_02052025_19_26_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/5/2/bdb1b6bb2a97492cc83b7572c10f9187.jpg","text":"TemporaryFile(/tmp/multipartBody3456062517957756472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212853479,"filename":"image_02052025_19_26_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/5/2/cffe4f65a622b836b84b8ca148799f88.jpg","text":"TemporaryFile(/tmp/multipartBody328178069359122826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212853479,"filename":"image_02052025_19_26_27_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f26aed0ae063759fd987e8557b9325a3.jpg","text":"TemporaryFile(/tmp/multipartBody640938013594660713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212853479,"filename":"image_02052025_19_26_57_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2a34383b995ee664fc4837b40b70b87.jpg","text":"TemporaryFile(/tmp/multipartBody7946149464429836374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212853479,"filename":"image_02052025_19_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/5/2/a552ec0a5657c5ac302b6e5d44a5c53f.jpg","text":"TemporaryFile(/tmp/multipartBody2615674428758086939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212853479,"filename":"image_02052025_19_27_17_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355452592","file1":"1355452589","file0":"1355452580","file4":"1355452597","file5":"1355452627","file3":"1355452594"},"map_files_photo_id_array":[{"photo_id":"1355452627","filename":"file5"},{"photo_id":"1355452592","filename":"file2"},{"photo_id":"1355452597","filename":"file4"},{"photo_id":"1355452589","filename":"file1"},{"photo_id":"1355452580","filename":"file0"},{"photo_id":"1355452594","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355452592":["hashtag1","hashtag2"]},{"1355452589":["hashtag1","hashtag2"]},{"1355452580":["hashtag1","hashtag2"]},{"1355452594":["hashtag1","hashtag2"]},{"1355452597":["hashtag1","hashtag2"]},{"1355452627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355452592, 1355452589, 1355452580, 1355452594, 1355452597, 1355452627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69491982460022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:07:32.611518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/27/image_02052025_19_27_26_9369.jpg', '/home/pi/Desktop/images/02052025/19/27/image_02052025_19_27_37_10347.jpg', '/home/pi/Desktop/images/02052025/19/27/image_02052025_19_27_47_10476.jpg', '/home/pi/Desktop/images/02052025/19/27/image_02052025_19_27_56_9355.jpg', '/home/pi/Desktop/images/02052025/19/27/image_02052025_19_28_07_10478.jpg', '/home/pi/Desktop/images/02052025/19/28/image_02052025_19_28_16_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/27/image_02052025_19_27_26_9369.jpg
/home/pi/Desktop/images/02052025/19/27/image_02052025_19_27_37_10347.jpg
/home/pi/Desktop/images/02052025/19/27/image_02052025_19_27_47_10476.jpg
/home/pi/Desktop/images/02052025/19/27/image_02052025_19_27_56_9355.jpg
/home/pi/Desktop/images/02052025/19/27/image_02052025_19_28_07_10478.jpg
/home/pi/Desktop/images/02052025/19/28/image_02052025_19_28_16_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":["1355452880","1355452958","1355452972","1355452915","1355452971","1355452947"],"photo_ids_order":["1355452880","1355452915","1355452947","1355452958","1355452971","1355452972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95b61393d20ba0817e49f3d22c7fc4c7.jpg","text":"TemporaryFile(/tmp/multipartBody646879619046799189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212913245,"filename":"image_02052025_19_27_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/5/2/fa05d2a9e797e6d06ab17cf74c2a2b8e.jpg","text":"TemporaryFile(/tmp/multipartBody2154856123389371140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212913245,"filename":"image_02052025_19_27_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/5/2/58f2ed33722216801d2bfef374857077.jpg","text":"TemporaryFile(/tmp/multipartBody766465320692496675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212913245,"filename":"image_02052025_19_28_16_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56bc65c2d21186a1aa7e7d875c870966.jpg","text":"TemporaryFile(/tmp/multipartBody8479055134439154099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212913245,"filename":"image_02052025_19_27_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/5/2/ebf8347f1200d492ef9e2c52258899c8.jpg","text":"TemporaryFile(/tmp/multipartBody7113595578902954135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212913245,"filename":"image_02052025_19_28_07_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5513098bd9c7a31450e5dfcb50e93427.jpg","text":"TemporaryFile(/tmp/multipartBody4765185492221780660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212913245,"filename":"image_02052025_19_27_47_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355452947","file1":"1355452915","file0":"1355452880","file4":"1355452971","file5":"1355452972","file3":"1355452958"},"map_files_photo_id_array":[{"photo_id":"1355452972","filename":"file5"},{"photo_id":"1355452947","filename":"file2"},{"photo_id":"1355452971","filename":"file4"},{"photo_id":"1355452915","filename":"file1"},{"photo_id":"1355452880","filename":"file0"},{"photo_id":"1355452958","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355452880":["hashtag1","hashtag2"]},{"1355452958":["hashtag1","hashtag2"]},{"1355452972":["hashtag1","hashtag2"]},{"1355452915":["hashtag1","hashtag2"]},{"1355452971":["hashtag1","hashtag2"]},{"1355452947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355452880, 1355452958, 1355452972, 1355452915, 1355452971, 1355452947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.137245416641235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:08:32.911021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/28/image_02052025_19_28_27_10376.jpg', '/home/pi/Desktop/images/02052025/19/28/image_02052025_19_28_37_10421.jpg', '/home/pi/Desktop/images/02052025/19/28/image_02052025_19_28_46_9409.jpg', '/home/pi/Desktop/images/02052025/19/28/image_02052025_19_28_57_10490.jpg', '/home/pi/Desktop/images/02052025/19/28/image_02052025_19_29_06_9367.jpg', '/home/pi/Desktop/images/02052025/19/29/image_02052025_19_29_17_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/28/image_02052025_19_28_27_10376.jpg
/home/pi/Desktop/images/02052025/19/28/image_02052025_19_28_37_10421.jpg
/home/pi/Desktop/images/02052025/19/28/image_02052025_19_28_46_9409.jpg
/home/pi/Desktop/images/02052025/19/28/image_02052025_19_28_57_10490.jpg
/home/pi/Desktop/images/02052025/19/28/image_02052025_19_29_06_9367.jpg
/home/pi/Desktop/images/02052025/19/29/image_02052025_19_29_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":["1355453273","1355453504","1355453478","1355453433","1355453319","1355453381"],"photo_ids_order":["1355453273","1355453319","1355453381","1355453433","1355453478","1355453504"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7fbf4e7a529236ac5a8b8461d21c54f1.jpg","text":"TemporaryFile(/tmp/multipartBody6269835561650009819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212973635,"filename":"image_02052025_19_28_27_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f90eda080c111b9f6e0e19d9355997da.jpg","text":"TemporaryFile(/tmp/multipartBody4625925152814535950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212973635,"filename":"image_02052025_19_29_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/5/2/ffd492bd055504c6a7e43e53dbe7d776.jpg","text":"TemporaryFile(/tmp/multipartBody5719375000346329249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212973635,"filename":"image_02052025_19_29_06_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/193a826ccf6b23292c50808beed53512.jpg","text":"TemporaryFile(/tmp/multipartBody2527991176226551095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212973635,"filename":"image_02052025_19_28_57_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e5cefcdcae86805dd4dd476725602733.jpg","text":"TemporaryFile(/tmp/multipartBody4963709753975824158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212973635,"filename":"image_02052025_19_28_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/5/2/cc66bd74f19ba9c1a296b2f4288a7988.jpg","text":"TemporaryFile(/tmp/multipartBody255115410206253618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746212973635,"filename":"image_02052025_19_28_46_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355453381","file1":"1355453319","file0":"1355453273","file4":"1355453478","file5":"1355453504","file3":"1355453433"},"map_files_photo_id_array":[{"photo_id":"1355453504","filename":"file5"},{"photo_id":"1355453381","filename":"file2"},{"photo_id":"1355453478","filename":"file4"},{"photo_id":"1355453319","filename":"file1"},{"photo_id":"1355453273","filename":"file0"},{"photo_id":"1355453433","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355453273":["hashtag1","hashtag2"]},{"1355453504":["hashtag1","hashtag2"]},{"1355453478":["hashtag1","hashtag2"]},{"1355453433":["hashtag1","hashtag2"]},{"1355453319":["hashtag1","hashtag2"]},{"1355453381":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355453273, 1355453504, 1355453478, 1355453433, 1355453319, 1355453381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22292971611023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:09:33.084142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/29/image_02052025_19_29_27_10360.jpg', '/home/pi/Desktop/images/02052025/19/29/image_02052025_19_29_36_9336.jpg', '/home/pi/Desktop/images/02052025/19/29/image_02052025_19_29_47_10459.jpg', '/home/pi/Desktop/images/02052025/19/29/image_02052025_19_29_56_9354.jpg', '/home/pi/Desktop/images/02052025/19/29/image_02052025_19_30_07_10447.jpg', '/home/pi/Desktop/images/02052025/19/30/image_02052025_19_30_17_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/29/image_02052025_19_29_27_10360.jpg
/home/pi/Desktop/images/02052025/19/29/image_02052025_19_29_36_9336.jpg
/home/pi/Desktop/images/02052025/19/29/image_02052025_19_29_47_10459.jpg
/home/pi/Desktop/images/02052025/19/29/image_02052025_19_29_56_9354.jpg
/home/pi/Desktop/images/02052025/19/29/image_02052025_19_30_07_10447.jpg
/home/pi/Desktop/images/02052025/19/30/image_02052025_19_30_17_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":["1355453678","1355453633","1355453647","1355453719","1355453721","1355453709"],"photo_ids_order":["1355453633","1355453647","1355453678","1355453709","1355453719","1355453721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb4382b2f2903a452bfd35af845e24fb.jpg","text":"TemporaryFile(/tmp/multipartBody4104698083983523886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213033561,"filename":"image_02052025_19_29_47_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d76d232b80ff4d0b3384b835451453d0.jpg","text":"TemporaryFile(/tmp/multipartBody2633064264260727378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213033561,"filename":"image_02052025_19_29_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/5/2/f064f52f4b0d066df05001505f9fb130.jpg","text":"TemporaryFile(/tmp/multipartBody3368894922070063519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213033561,"filename":"image_02052025_19_29_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/920f66caed5db4b8abfd7698b6ad87fe.jpg","text":"TemporaryFile(/tmp/multipartBody3908551735884701644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213033561,"filename":"image_02052025_19_30_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/5/2/e5903bf13903080cef5ed37ca4fb4fe5.jpg","text":"TemporaryFile(/tmp/multipartBody4526789222276488136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213033561,"filename":"image_02052025_19_30_17_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9df7f1400b8c5943eb52910bb52d0368.jpg","text":"TemporaryFile(/tmp/multipartBody2945527556187524778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213033561,"filename":"image_02052025_19_29_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355453678","file1":"1355453647","file0":"1355453633","file4":"1355453719","file5":"1355453721","file3":"1355453709"},"map_files_photo_id_array":[{"photo_id":"1355453721","filename":"file5"},{"photo_id":"1355453678","filename":"file2"},{"photo_id":"1355453719","filename":"file4"},{"photo_id":"1355453647","filename":"file1"},{"photo_id":"1355453633","filename":"file0"},{"photo_id":"1355453709","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355453678":["hashtag1","hashtag2"]},{"1355453633":["hashtag1","hashtag2"]},{"1355453647":["hashtag1","hashtag2"]},{"1355453719":["hashtag1","hashtag2"]},{"1355453721":["hashtag1","hashtag2"]},{"1355453709":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355453678, 1355453633, 1355453647, 1355453719, 1355453721, 1355453709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61022734642029 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:10:32.356204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/30/image_02052025_19_30_26_9358.jpg', '/home/pi/Desktop/images/02052025/19/30/image_02052025_19_30_37_10398.jpg', '/home/pi/Desktop/images/02052025/19/30/image_02052025_19_30_46_9357.jpg', '/home/pi/Desktop/images/02052025/19/30/image_02052025_19_30_57_10441.jpg', '/home/pi/Desktop/images/02052025/19/30/image_02052025_19_31_07_10363.jpg', '/home/pi/Desktop/images/02052025/19/31/image_02052025_19_31_17_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/30/image_02052025_19_30_26_9358.jpg
/home/pi/Desktop/images/02052025/19/30/image_02052025_19_30_37_10398.jpg
/home/pi/Desktop/images/02052025/19/30/image_02052025_19_30_46_9357.jpg
/home/pi/Desktop/images/02052025/19/30/image_02052025_19_30_57_10441.jpg
/home/pi/Desktop/images/02052025/19/30/image_02052025_19_31_07_10363.jpg
/home/pi/Desktop/images/02052025/19/31/image_02052025_19_31_17_10068.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355453852","1355453893","1355453887","1355453889","1355453880","1355453891"],"photo_ids_order":["1355453852","1355453880","1355453887","1355453889","1355453891","1355453893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9cc2bc7c4e08f39fc19d2053307efb56.jpg","text":"TemporaryFile(/tmp/multipartBody6271195854629767146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213092832,"filename":"image_02052025_19_30_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/5/2/74ef35ae941652eed44989df7494b8bb.jpg","text":"TemporaryFile(/tmp/multipartBody315950048140080498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213092832,"filename":"image_02052025_19_31_17_10068.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4613dbc059b09a1710bdf0a9b1b72d5e.jpg","text":"TemporaryFile(/tmp/multipartBody6089666013184077683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213092832,"filename":"image_02052025_19_30_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/5/2/8fda7c11946e7f95d7e7bd7a9ba03e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3596128104374956398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213092832,"filename":"image_02052025_19_30_57_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e4931620a836713177fb6e8b7f976c0e.jpg","text":"TemporaryFile(/tmp/multipartBody9031520147592527428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213092832,"filename":"image_02052025_19_30_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/5/2/0776731137d76b6541640075d89b45e2.jpg","text":"TemporaryFile(/tmp/multipartBody8284049349788179562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213092832,"filename":"image_02052025_19_31_07_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355453887","file1":"1355453880","file0":"1355453852","file4":"1355453891","file5":"1355453893","file3":"1355453889"},"map_files_photo_id_array":[{"photo_id":"1355453893","filename":"file5"},{"photo_id":"1355453887","filename":"file2"},{"photo_id":"1355453891","filename":"file4"},{"photo_id":"1355453880","filename":"file1"},{"photo_id":"1355453852","filename":"file0"},{"photo_id":"1355453889","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355453852":["hashtag1","hashtag2"]},{"1355453893":["hashtag1","hashtag2"]},{"1355453887":["hashtag1","hashtag2"]},{"1355453889":["hashtag1","hashtag2"]},{"1355453880":["hashtag1","hashtag2"]},{"1355453891":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355453852, 1355453893, 1355453887, 1355453889, 1355453880, 1355453891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.798336029052734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:11:32.544754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/31/image_02052025_19_31_26_9363.jpg', '/home/pi/Desktop/images/02052025/19/31/image_02052025_19_31_37_10403.jpg', '/home/pi/Desktop/images/02052025/19/31/image_02052025_19_31_46_9370.jpg', '/home/pi/Desktop/images/02052025/19/31/image_02052025_19_31_57_10391.jpg', '/home/pi/Desktop/images/02052025/19/31/image_02052025_19_32_07_10428.jpg', '/home/pi/Desktop/images/02052025/19/32/image_02052025_19_32_16_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/31/image_02052025_19_31_26_9363.jpg
/home/pi/Desktop/images/02052025/19/31/image_02052025_19_31_37_10403.jpg
/home/pi/Desktop/images/02052025/19/31/image_02052025_19_31_46_9370.jpg
/home/pi/Desktop/images/02052025/19/31/image_02052025_19_31_57_10391.jpg
/home/pi/Desktop/images/02052025/19/31/image_02052025_19_32_07_10428.jpg
/home/pi/Desktop/images/02052025/19/32/image_02052025_19_32_16_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355453936","1355453924","1355453962","1355453953","1355453932","1355453940"],"photo_ids_order":["1355453924","1355453932","1355453936","1355453940","1355453953","1355453962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8783d1616937d7ae5a6ea6a1779efb56.jpg","text":"TemporaryFile(/tmp/multipartBody4204025660913731515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213153033,"filename":"image_02052025_19_31_46_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d48551a67e3af1237f1372ed035eedc2.jpg","text":"TemporaryFile(/tmp/multipartBody1620147367033180302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213153033,"filename":"image_02052025_19_31_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/5/2/1052f116fb4c48c6bcdfcb06670b8468.jpg","text":"TemporaryFile(/tmp/multipartBody8297915307182259673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213153033,"filename":"image_02052025_19_32_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/5/2/57663819c57eb55bcdd878ac26dff167.jpg","text":"TemporaryFile(/tmp/multipartBody5581688024492764575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213153033,"filename":"image_02052025_19_32_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/5/2/ad1fdad7da92b8107c748da8a8e26a66.jpg","text":"TemporaryFile(/tmp/multipartBody1949566374201964628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213153033,"filename":"image_02052025_19_31_37_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/974663dcefe99308438539383f3b73ad.jpg","text":"TemporaryFile(/tmp/multipartBody8020109279136186614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213153033,"filename":"image_02052025_19_31_57_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355453936","file1":"1355453932","file0":"1355453924","file4":"1355453953","file5":"1355453962","file3":"1355453940"},"map_files_photo_id_array":[{"photo_id":"1355453962","filename":"file5"},{"photo_id":"1355453936","filename":"file2"},{"photo_id":"1355453953","filename":"file4"},{"photo_id":"1355453932","filename":"file1"},{"photo_id":"1355453924","filename":"file0"},{"photo_id":"1355453940","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355453936":["hashtag1","hashtag2"]},{"1355453924":["hashtag1","hashtag2"]},{"1355453962":["hashtag1","hashtag2"]},{"1355453953":["hashtag1","hashtag2"]},{"1355453932":["hashtag1","hashtag2"]},{"1355453940":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355453936, 1355453924, 1355453962, 1355453953, 1355453932, 1355453940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.98535418510437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:12:52.547341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/32/image_02052025_19_32_37_10354.jpg', '/home/pi/Desktop/images/02052025/19/32/image_02052025_19_32_46_9393.jpg', '/home/pi/Desktop/images/02052025/19/32/image_02052025_19_32_57_10409.jpg', '/home/pi/Desktop/images/02052025/19/32/image_02052025_19_33_06_9347.jpg', '/home/pi/Desktop/images/02052025/19/33/image_02052025_19_33_17_10365.jpg', '/home/pi/Desktop/images/02052025/19/33/image_02052025_19_33_27_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/32/image_02052025_19_32_37_10354.jpg
/home/pi/Desktop/images/02052025/19/32/image_02052025_19_32_46_9393.jpg
/home/pi/Desktop/images/02052025/19/32/image_02052025_19_32_57_10409.jpg
/home/pi/Desktop/images/02052025/19/32/image_02052025_19_33_06_9347.jpg
/home/pi/Desktop/images/02052025/19/33/image_02052025_19_33_17_10365.jpg
/home/pi/Desktop/images/02052025/19/33/image_02052025_19_33_27_10447.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355454002","1355453980","1355453983","1355454007","1355453994","1355454012"],"photo_ids_order":["1355453980","1355453983","1355453994","1355454002","1355454007","1355454012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/18313a1c0d1cc9533ac678824ab7b61a.jpg","text":"TemporaryFile(/tmp/multipartBody3289301116759387297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213233028,"filename":"image_02052025_19_33_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/68f41dc1a1cb3ed720f09fd187bb9f0b.jpg","text":"TemporaryFile(/tmp/multipartBody4413168866510975487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213233028,"filename":"image_02052025_19_32_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/5/2/25164bd4cb69d89e46e15ea89ba8846b.jpg","text":"TemporaryFile(/tmp/multipartBody4311764824006004502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213233028,"filename":"image_02052025_19_32_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/5/2/956d79ce24fc625be96e908efef97cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4341993287884356963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213233028,"filename":"image_02052025_19_33_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/5/2/c5dc8226f325c23ca53ecebfcb53b950.jpg","text":"TemporaryFile(/tmp/multipartBody4881138113758469329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213233028,"filename":"image_02052025_19_32_57_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65567d1d49109c17f436ee9ea4976ade.jpg","text":"TemporaryFile(/tmp/multipartBody8423056010639548486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213233028,"filename":"image_02052025_19_33_27_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355453994","file1":"1355453983","file0":"1355453980","file4":"1355454007","file5":"1355454012","file3":"1355454002"},"map_files_photo_id_array":[{"photo_id":"1355454012","filename":"file5"},{"photo_id":"1355453994","filename":"file2"},{"photo_id":"1355454007","filename":"file4"},{"photo_id":"1355453983","filename":"file1"},{"photo_id":"1355453980","filename":"file0"},{"photo_id":"1355454002","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454002":["hashtag1","hashtag2"]},{"1355453980":["hashtag1","hashtag2"]},{"1355453983":["hashtag1","hashtag2"]},{"1355454007":["hashtag1","hashtag2"]},{"1355453994":["hashtag1","hashtag2"]},{"1355454012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454002, 1355453980, 1355453983, 1355454007, 1355453994, 1355454012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10570049285889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:13:32.811754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/33/image_02052025_19_33_36_9352.jpg', '/home/pi/Desktop/images/02052025/19/33/image_02052025_19_33_47_10492.jpg', '/home/pi/Desktop/images/02052025/19/33/image_02052025_19_33_56_9344.jpg', '/home/pi/Desktop/images/02052025/19/33/image_02052025_19_34_07_10355.jpg', '/home/pi/Desktop/images/02052025/19/34/image_02052025_19_34_17_10337.jpg', '/home/pi/Desktop/images/02052025/19/34/image_02052025_19_34_26_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/33/image_02052025_19_33_36_9352.jpg
/home/pi/Desktop/images/02052025/19/33/image_02052025_19_33_47_10492.jpg
/home/pi/Desktop/images/02052025/19/33/image_02052025_19_33_56_9344.jpg
/home/pi/Desktop/images/02052025/19/33/image_02052025_19_34_07_10355.jpg
/home/pi/Desktop/images/02052025/19/34/image_02052025_19_34_17_10337.jpg
/home/pi/Desktop/images/02052025/19/34/image_02052025_19_34_26_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":["1355454035","1355454038","1355454025","1355454022","1355454042","1355454032"],"photo_ids_order":["1355454022","1355454025","1355454032","1355454035","1355454038","1355454042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9226bda953dd0fddbb2efa7b06384310.jpg","text":"TemporaryFile(/tmp/multipartBody3266925467656596057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213273410,"filename":"image_02052025_19_34_07_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eea371e1bedecedb3f2b83f6ece7009d.jpg","text":"TemporaryFile(/tmp/multipartBody2916635476951351959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213273410,"filename":"image_02052025_19_34_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/5/2/1f63fe33933a051c926a56287ad31b4d.jpg","text":"TemporaryFile(/tmp/multipartBody225988653585356018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213273410,"filename":"image_02052025_19_33_47_10492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec8ffb303e535da1fd249821fafa5846.jpg","text":"TemporaryFile(/tmp/multipartBody8089092481913806828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213273410,"filename":"image_02052025_19_33_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/5/2/1303d6562699a00ba21798ba459841ef.jpg","text":"TemporaryFile(/tmp/multipartBody3357795441051683816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213273410,"filename":"image_02052025_19_34_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/5/2/5be83ffbad2e283846da18fa51cb8db1.jpg","text":"TemporaryFile(/tmp/multipartBody185599339428694134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213273410,"filename":"image_02052025_19_33_56_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454032","file1":"1355454025","file0":"1355454022","file4":"1355454038","file5":"1355454042","file3":"1355454035"},"map_files_photo_id_array":[{"photo_id":"1355454042","filename":"file5"},{"photo_id":"1355454032","filename":"file2"},{"photo_id":"1355454038","filename":"file4"},{"photo_id":"1355454025","filename":"file1"},{"photo_id":"1355454022","filename":"file0"},{"photo_id":"1355454035","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454035":["hashtag1","hashtag2"]},{"1355454038":["hashtag1","hashtag2"]},{"1355454025":["hashtag1","hashtag2"]},{"1355454022":["hashtag1","hashtag2"]},{"1355454042":["hashtag1","hashtag2"]},{"1355454032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454035, 1355454038, 1355454025, 1355454022, 1355454042, 1355454032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14128565788269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:14:33.090765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/34/image_02052025_19_34_37_10456.jpg', '/home/pi/Desktop/images/02052025/19/34/image_02052025_19_34_46_9384.jpg', '/home/pi/Desktop/images/02052025/19/34/image_02052025_19_34_57_10373.jpg', '/home/pi/Desktop/images/02052025/19/34/image_02052025_19_35_07_10348.jpg', '/home/pi/Desktop/images/02052025/19/35/image_02052025_19_35_16_9348.jpg', '/home/pi/Desktop/images/02052025/19/35/image_02052025_19_35_27_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/34/image_02052025_19_34_37_10456.jpg
/home/pi/Desktop/images/02052025/19/34/image_02052025_19_34_46_9384.jpg
/home/pi/Desktop/images/02052025/19/34/image_02052025_19_34_57_10373.jpg
/home/pi/Desktop/images/02052025/19/34/image_02052025_19_35_07_10348.jpg
/home/pi/Desktop/images/02052025/19/35/image_02052025_19_35_16_9348.jpg
/home/pi/Desktop/images/02052025/19/35/image_02052025_19_35_27_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":["1355454073","1355454079","1355454075","1355454077","1355454080","1355454074"],"photo_ids_order":["1355454073","1355454074","1355454075","1355454077","1355454079","1355454080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc2cc3d15020cdef3d9ae793bfd3eee2.jpg","text":"TemporaryFile(/tmp/multipartBody8097298616456123777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213333826,"filename":"image_02052025_19_34_37_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d6f2a8ba3243b37fdf219bca7c43cc7a.jpg","text":"TemporaryFile(/tmp/multipartBody740278594846348090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213333826,"filename":"image_02052025_19_35_16_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a0023db6ef2975997304c5e41f895606.jpg","text":"TemporaryFile(/tmp/multipartBody2683751163484634389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213333826,"filename":"image_02052025_19_34_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1242d73fd9de438d975366ec420b274f.jpg","text":"TemporaryFile(/tmp/multipartBody3195135219554154947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213333826,"filename":"image_02052025_19_35_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/5/2/cc9b3e661b60f12cb02cfd552b98ad5a.jpg","text":"TemporaryFile(/tmp/multipartBody439042859098641331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213333826,"filename":"image_02052025_19_35_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/5/2/89762b185ba5e87ff2aa1478ed391532.jpg","text":"TemporaryFile(/tmp/multipartBody4406945494669336910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213333826,"filename":"image_02052025_19_34_46_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454075","file1":"1355454074","file0":"1355454073","file4":"1355454079","file5":"1355454080","file3":"1355454077"},"map_files_photo_id_array":[{"photo_id":"1355454080","filename":"file5"},{"photo_id":"1355454075","filename":"file2"},{"photo_id":"1355454079","filename":"file4"},{"photo_id":"1355454074","filename":"file1"},{"photo_id":"1355454073","filename":"file0"},{"photo_id":"1355454077","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454073":["hashtag1","hashtag2"]},{"1355454079":["hashtag1","hashtag2"]},{"1355454075":["hashtag1","hashtag2"]},{"1355454077":["hashtag1","hashtag2"]},{"1355454080":["hashtag1","hashtag2"]},{"1355454074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454073, 1355454079, 1355454075, 1355454077, 1355454080, 1355454074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.643129110336304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:15:33.093443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/35/image_02052025_19_35_37_10344.jpg', '/home/pi/Desktop/images/02052025/19/35/image_02052025_19_35_46_9365.jpg', '/home/pi/Desktop/images/02052025/19/35/image_02052025_19_35_57_10525.jpg', '/home/pi/Desktop/images/02052025/19/35/image_02052025_19_36_06_9349.jpg', '/home/pi/Desktop/images/02052025/19/36/image_02052025_19_36_17_10366.jpg', '/home/pi/Desktop/images/02052025/19/36/image_02052025_19_36_27_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/35/image_02052025_19_35_37_10344.jpg
/home/pi/Desktop/images/02052025/19/35/image_02052025_19_35_46_9365.jpg
/home/pi/Desktop/images/02052025/19/35/image_02052025_19_35_57_10525.jpg
/home/pi/Desktop/images/02052025/19/35/image_02052025_19_36_06_9349.jpg
/home/pi/Desktop/images/02052025/19/36/image_02052025_19_36_17_10366.jpg
/home/pi/Desktop/images/02052025/19/36/image_02052025_19_36_27_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":["1355454116","1355454118","1355454112","1355454109","1355454105","1355454114"],"photo_ids_order":["1355454105","1355454109","1355454112","1355454114","1355454116","1355454118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f48ac28087b993400e668d07ef51f1ca.jpg","text":"TemporaryFile(/tmp/multipartBody2209536521888086043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213393572,"filename":"image_02052025_19_36_17_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/540fdd1a52944a27c424d7573caca211.jpg","text":"TemporaryFile(/tmp/multipartBody2184653592965771125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213393572,"filename":"image_02052025_19_36_27_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d01440a0ef0d9e62694f28aa6fb27f9a.jpg","text":"TemporaryFile(/tmp/multipartBody4949228947688537733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213393572,"filename":"image_02052025_19_35_57_10525.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/78b249114e50b3947b64ccb1be042a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7734691936149598763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213393572,"filename":"image_02052025_19_35_46_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/71bec1d56d23cbd534036d20ab9432fb.jpg","text":"TemporaryFile(/tmp/multipartBody5144322965437740322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213393572,"filename":"image_02052025_19_35_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/5/2/98a6722d78a0ee265cdecd21cc4696ad.jpg","text":"TemporaryFile(/tmp/multipartBody1701030192506798893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213393572,"filename":"image_02052025_19_36_06_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454112","file1":"1355454109","file0":"1355454105","file4":"1355454116","file5":"1355454118","file3":"1355454114"},"map_files_photo_id_array":[{"photo_id":"1355454118","filename":"file5"},{"photo_id":"1355454112","filename":"file2"},{"photo_id":"1355454116","filename":"file4"},{"photo_id":"1355454109","filename":"file1"},{"photo_id":"1355454105","filename":"file0"},{"photo_id":"1355454114","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454116":["hashtag1","hashtag2"]},{"1355454118":["hashtag1","hashtag2"]},{"1355454112":["hashtag1","hashtag2"]},{"1355454109":["hashtag1","hashtag2"]},{"1355454105":["hashtag1","hashtag2"]},{"1355454114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454116, 1355454118, 1355454112, 1355454109, 1355454105, 1355454114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.426586627960205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:16:32.407121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/36/image_02052025_19_36_36_9359.jpg', '/home/pi/Desktop/images/02052025/19/36/image_02052025_19_36_47_10511.jpg', '/home/pi/Desktop/images/02052025/19/36/image_02052025_19_36_56_9359.jpg', '/home/pi/Desktop/images/02052025/19/36/image_02052025_19_37_07_10363.jpg', '/home/pi/Desktop/images/02052025/19/37/image_02052025_19_37_17_10435.jpg', '/home/pi/Desktop/images/02052025/19/37/image_02052025_19_37_26_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/36/image_02052025_19_36_36_9359.jpg
/home/pi/Desktop/images/02052025/19/36/image_02052025_19_36_47_10511.jpg
/home/pi/Desktop/images/02052025/19/36/image_02052025_19_36_56_9359.jpg
/home/pi/Desktop/images/02052025/19/36/image_02052025_19_37_07_10363.jpg
/home/pi/Desktop/images/02052025/19/37/image_02052025_19_37_17_10435.jpg
/home/pi/Desktop/images/02052025/19/37/image_02052025_19_37_26_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":["1355454154","1355454142","1355454151","1355454148","1355454164","1355454146"],"photo_ids_order":["1355454142","1355454146","1355454148","1355454151","1355454154","1355454164"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bfc43921dfc2d829c0eae0e66489b1e3.jpg","text":"TemporaryFile(/tmp/multipartBody5078373043509169975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213452887,"filename":"image_02052025_19_37_17_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9580abfb580bd1363fd864397f1281a.jpg","text":"TemporaryFile(/tmp/multipartBody2190674122933557416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213452887,"filename":"image_02052025_19_36_36_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a66667baa6ceb7c383e546f1544ed4b5.jpg","text":"TemporaryFile(/tmp/multipartBody573584182528313210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213452887,"filename":"image_02052025_19_37_07_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5b50f8264b254c086aa2376df55f5774.jpg","text":"TemporaryFile(/tmp/multipartBody2835742575850497954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213452887,"filename":"image_02052025_19_36_56_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e73628cbda0b7f676782b2d8a71f1b70.jpg","text":"TemporaryFile(/tmp/multipartBody857105077149703567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213452887,"filename":"image_02052025_19_37_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/5/2/4951c1e630a784263279a78ba5a0b630.jpg","text":"TemporaryFile(/tmp/multipartBody1319332978759196696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213452887,"filename":"image_02052025_19_36_47_10511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454148","file1":"1355454146","file0":"1355454142","file4":"1355454154","file5":"1355454164","file3":"1355454151"},"map_files_photo_id_array":[{"photo_id":"1355454164","filename":"file5"},{"photo_id":"1355454148","filename":"file2"},{"photo_id":"1355454154","filename":"file4"},{"photo_id":"1355454146","filename":"file1"},{"photo_id":"1355454142","filename":"file0"},{"photo_id":"1355454151","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454154":["hashtag1","hashtag2"]},{"1355454142":["hashtag1","hashtag2"]},{"1355454151":["hashtag1","hashtag2"]},{"1355454148":["hashtag1","hashtag2"]},{"1355454164":["hashtag1","hashtag2"]},{"1355454146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454154, 1355454142, 1355454151, 1355454148, 1355454164, 1355454146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.282965660095215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:17:32.621489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/37/image_02052025_19_37_37_10443.jpg', '/home/pi/Desktop/images/02052025/19/37/image_02052025_19_37_46_9387.jpg', '/home/pi/Desktop/images/02052025/19/37/image_02052025_19_37_57_10455.jpg', '/home/pi/Desktop/images/02052025/19/37/image_02052025_19_38_07_10361.jpg', '/home/pi/Desktop/images/02052025/19/38/image_02052025_19_38_16_9343.jpg', '/home/pi/Desktop/images/02052025/19/38/image_02052025_19_38_27_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/37/image_02052025_19_37_37_10443.jpg
/home/pi/Desktop/images/02052025/19/37/image_02052025_19_37_46_9387.jpg
/home/pi/Desktop/images/02052025/19/37/image_02052025_19_37_57_10455.jpg
/home/pi/Desktop/images/02052025/19/37/image_02052025_19_38_07_10361.jpg
/home/pi/Desktop/images/02052025/19/38/image_02052025_19_38_16_9343.jpg
/home/pi/Desktop/images/02052025/19/38/image_02052025_19_38_27_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355454227","1355454221","1355454203","1355454196","1355454229","1355454216"],"photo_ids_order":["1355454196","1355454203","1355454216","1355454221","1355454227","1355454229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85a36b98f5c1c39193377200397a370d.jpg","text":"TemporaryFile(/tmp/multipartBody2061348748676117454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213513096,"filename":"image_02052025_19_38_16_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/078cf000df2f9ff8f5dd7e1657370e06.jpg","text":"TemporaryFile(/tmp/multipartBody7118270349378424782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213513096,"filename":"image_02052025_19_38_07_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ae383bfb5403553a1a1d201a978c8e90.jpg","text":"TemporaryFile(/tmp/multipartBody5130570639226346136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213513096,"filename":"image_02052025_19_37_46_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b60c2e1b5bf01c824060fea92b0149e9.jpg","text":"TemporaryFile(/tmp/multipartBody8154058771568134077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213513096,"filename":"image_02052025_19_37_37_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65fdcd35ce31e3486fcefd0c19f9f1d3.jpg","text":"TemporaryFile(/tmp/multipartBody2626048981339063016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213513096,"filename":"image_02052025_19_38_27_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af8671dd5b5c207cce3e0f807c6e9b73.jpg","text":"TemporaryFile(/tmp/multipartBody8161748589903556228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213513096,"filename":"image_02052025_19_37_57_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454216","file1":"1355454203","file0":"1355454196","file4":"1355454227","file5":"1355454229","file3":"1355454221"},"map_files_photo_id_array":[{"photo_id":"1355454229","filename":"file5"},{"photo_id":"1355454216","filename":"file2"},{"photo_id":"1355454227","filename":"file4"},{"photo_id":"1355454203","filename":"file1"},{"photo_id":"1355454196","filename":"file0"},{"photo_id":"1355454221","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454227":["hashtag1","hashtag2"]},{"1355454221":["hashtag1","hashtag2"]},{"1355454203":["hashtag1","hashtag2"]},{"1355454196":["hashtag1","hashtag2"]},{"1355454229":["hashtag1","hashtag2"]},{"1355454216":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454227, 1355454221, 1355454203, 1355454196, 1355454229, 1355454216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37869071960449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:18:32.741708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/38/image_02052025_19_38_36_9397.jpg', '/home/pi/Desktop/images/02052025/19/38/image_02052025_19_38_47_10446.jpg', '/home/pi/Desktop/images/02052025/19/38/image_02052025_19_38_56_9589.jpg', '/home/pi/Desktop/images/02052025/19/39/image_02052025_19_39_16_9354.jpg', '/home/pi/Desktop/images/02052025/19/39/image_02052025_19_39_47_10430.jpg', '/home/pi/Desktop/images/02052025/19/39/image_02052025_19_39_57_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/38/image_02052025_19_38_36_9397.jpg
/home/pi/Desktop/images/02052025/19/38/image_02052025_19_38_47_10446.jpg
/home/pi/Desktop/images/02052025/19/38/image_02052025_19_38_56_9589.jpg
/home/pi/Desktop/images/02052025/19/39/image_02052025_19_39_16_9354.jpg
/home/pi/Desktop/images/02052025/19/39/image_02052025_19_39_47_10430.jpg
/home/pi/Desktop/images/02052025/19/39/image_02052025_19_39_57_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":["1355454311","1355454298","1355454271","1355454309","1355454306","1355454275"],"photo_ids_order":["1355454271","1355454275","1355454298","1355454306","1355454309","1355454311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1810baecf7ec2c081118f3817195ad99.jpg","text":"TemporaryFile(/tmp/multipartBody1829330340180654864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213573233,"filename":"image_02052025_19_39_57_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f4cb734d56025b0737a7f9d4a8d2c6a.jpg","text":"TemporaryFile(/tmp/multipartBody6969086286355195409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213573233,"filename":"image_02052025_19_38_56_9589.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0bc6f7dedd12d88248cd8a401d8ecccb.jpg","text":"TemporaryFile(/tmp/multipartBody5855911123649463787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213573233,"filename":"image_02052025_19_38_36_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2eae622507f00437448573be81bc6a03.jpg","text":"TemporaryFile(/tmp/multipartBody3948167513899019718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213573233,"filename":"image_02052025_19_39_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/5/2/e156d3e685fe3500ab25242dddd92acc.jpg","text":"TemporaryFile(/tmp/multipartBody8724956267942042664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213573233,"filename":"image_02052025_19_39_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8df907732650d19c9a00eb4eadd0881a.jpg","text":"TemporaryFile(/tmp/multipartBody2372262594159337783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213573233,"filename":"image_02052025_19_38_47_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454298","file1":"1355454275","file0":"1355454271","file4":"1355454309","file5":"1355454311","file3":"1355454306"},"map_files_photo_id_array":[{"photo_id":"1355454311","filename":"file5"},{"photo_id":"1355454298","filename":"file2"},{"photo_id":"1355454309","filename":"file4"},{"photo_id":"1355454275","filename":"file1"},{"photo_id":"1355454271","filename":"file0"},{"photo_id":"1355454306","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454311":["hashtag1","hashtag2"]},{"1355454298":["hashtag1","hashtag2"]},{"1355454271":["hashtag1","hashtag2"]},{"1355454309":["hashtag1","hashtag2"]},{"1355454306":["hashtag1","hashtag2"]},{"1355454275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454311, 1355454298, 1355454271, 1355454309, 1355454306, 1355454275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.527137756347656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:19:32.954850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/39/image_02052025_19_40_06_9347.jpg', '/home/pi/Desktop/images/02052025/19/40/image_02052025_19_40_17_10414.jpg', '/home/pi/Desktop/images/02052025/19/40/image_02052025_19_40_47_10487.jpg', '/home/pi/Desktop/images/02052025/19/40/image_02052025_19_40_56_9422.jpg', '/home/pi/Desktop/images/02052025/19/40/image_02052025_19_41_07_10353.jpg', '/home/pi/Desktop/images/02052025/19/41/image_02052025_19_41_16_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/39/image_02052025_19_40_06_9347.jpg
/home/pi/Desktop/images/02052025/19/40/image_02052025_19_40_17_10414.jpg
/home/pi/Desktop/images/02052025/19/40/image_02052025_19_40_47_10487.jpg
/home/pi/Desktop/images/02052025/19/40/image_02052025_19_40_56_9422.jpg
/home/pi/Desktop/images/02052025/19/40/image_02052025_19_41_07_10353.jpg
/home/pi/Desktop/images/02052025/19/41/image_02052025_19_41_16_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":["1355454388","1355454386","1355454383","1355454356","1355454359","1355454350"],"photo_ids_order":["1355454350","1355454356","1355454359","1355454383","1355454386","1355454388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a3a460b2d5447b8d0bb503f5bd14c51.jpg","text":"TemporaryFile(/tmp/multipartBody7372484207640396815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213633431,"filename":"image_02052025_19_41_16_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c8790a1915135b5080dcefd1879a76d.jpg","text":"TemporaryFile(/tmp/multipartBody5047973802265172276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213633431,"filename":"image_02052025_19_41_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/5/2/a0712a551a1284aee06c603777fe108d.jpg","text":"TemporaryFile(/tmp/multipartBody942619685357715732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213633431,"filename":"image_02052025_19_40_56_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c37c3130e35671bf50bc0620b9fa99cc.jpg","text":"TemporaryFile(/tmp/multipartBody6894996363839574949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213633431,"filename":"image_02052025_19_40_17_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/430a7c89b88069f4d25c31fc227860af.jpg","text":"TemporaryFile(/tmp/multipartBody2372613204235347383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213633431,"filename":"image_02052025_19_40_47_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4041305f9cf4fb732bda7adda5d5ea6e.jpg","text":"TemporaryFile(/tmp/multipartBody8562174344605272855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213633431,"filename":"image_02052025_19_40_06_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454359","file1":"1355454356","file0":"1355454350","file4":"1355454386","file5":"1355454388","file3":"1355454383"},"map_files_photo_id_array":[{"photo_id":"1355454388","filename":"file5"},{"photo_id":"1355454359","filename":"file2"},{"photo_id":"1355454386","filename":"file4"},{"photo_id":"1355454356","filename":"file1"},{"photo_id":"1355454350","filename":"file0"},{"photo_id":"1355454383","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454388":["hashtag1","hashtag2"]},{"1355454386":["hashtag1","hashtag2"]},{"1355454383":["hashtag1","hashtag2"]},{"1355454356":["hashtag1","hashtag2"]},{"1355454359":["hashtag1","hashtag2"]},{"1355454350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454388, 1355454386, 1355454383, 1355454356, 1355454359, 1355454350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.74695825576782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:20:33.133997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/41/image_02052025_19_41_26_10377.jpg', '/home/pi/Desktop/images/02052025/19/41/image_02052025_19_41_37_10359.jpg', '/home/pi/Desktop/images/02052025/19/41/image_02052025_19_41_57_10385.jpg', '/home/pi/Desktop/images/02052025/19/41/image_02052025_19_42_07_10373.jpg', '/home/pi/Desktop/images/02052025/19/42/image_02052025_19_42_27_10486.jpg', '/home/pi/Desktop/images/02052025/19/42/image_02052025_19_42_36_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/41/image_02052025_19_41_26_10377.jpg
/home/pi/Desktop/images/02052025/19/41/image_02052025_19_41_37_10359.jpg
/home/pi/Desktop/images/02052025/19/41/image_02052025_19_41_57_10385.jpg
/home/pi/Desktop/images/02052025/19/41/image_02052025_19_42_07_10373.jpg
/home/pi/Desktop/images/02052025/19/42/image_02052025_19_42_27_10486.jpg
/home/pi/Desktop/images/02052025/19/42/image_02052025_19_42_36_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":["1355454416","1355454463","1355454459","1355454450","1355454453","1355454461"],"photo_ids_order":["1355454416","1355454450","1355454453","1355454459","1355454461","1355454463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4758eb4f85c7f23cbc68be7d5544d919.jpg","text":"TemporaryFile(/tmp/multipartBody5667701727842129620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213693683,"filename":"image_02052025_19_41_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0a1a71eae186f834f804dac66395dc22.jpg","text":"TemporaryFile(/tmp/multipartBody2929185230260554619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213693683,"filename":"image_02052025_19_42_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/5/2/261e7f830f6bbe34183d80594064b4b0.jpg","text":"TemporaryFile(/tmp/multipartBody3577800248956146239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213693683,"filename":"image_02052025_19_42_07_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3719744fb8b221c9adea44a913f4288c.jpg","text":"TemporaryFile(/tmp/multipartBody6978758618804745928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213693683,"filename":"image_02052025_19_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/5/2/9d682a3e7493dbcb16312f732b7cc168.jpg","text":"TemporaryFile(/tmp/multipartBody181549599095784939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213693683,"filename":"image_02052025_19_41_57_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d6884eb7540dc2dc5bf2319a18283320.jpg","text":"TemporaryFile(/tmp/multipartBody6974459051852808549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213693683,"filename":"image_02052025_19_42_27_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454453","file1":"1355454450","file0":"1355454416","file4":"1355454461","file5":"1355454463","file3":"1355454459"},"map_files_photo_id_array":[{"photo_id":"1355454463","filename":"file5"},{"photo_id":"1355454453","filename":"file2"},{"photo_id":"1355454461","filename":"file4"},{"photo_id":"1355454450","filename":"file1"},{"photo_id":"1355454416","filename":"file0"},{"photo_id":"1355454459","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454416":["hashtag1","hashtag2"]},{"1355454463":["hashtag1","hashtag2"]},{"1355454459":["hashtag1","hashtag2"]},{"1355454450":["hashtag1","hashtag2"]},{"1355454453":["hashtag1","hashtag2"]},{"1355454461":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454416, 1355454463, 1355454459, 1355454450, 1355454453, 1355454461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70776319503784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:21:32.388155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/42/image_02052025_19_42_47_10427.jpg', '/home/pi/Desktop/images/02052025/19/42/image_02052025_19_42_57_10367.jpg', '/home/pi/Desktop/images/02052025/19/43/image_02052025_19_43_26_9379.jpg', '/home/pi/Desktop/images/02052025/19/43/image_02052025_19_43_37_10449.jpg', '/home/pi/Desktop/images/02052025/19/43/image_02052025_19_43_47_10361.jpg', '/home/pi/Desktop/images/02052025/19/43/image_02052025_19_43_56_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/42/image_02052025_19_42_47_10427.jpg
/home/pi/Desktop/images/02052025/19/42/image_02052025_19_42_57_10367.jpg
/home/pi/Desktop/images/02052025/19/43/image_02052025_19_43_26_9379.jpg
/home/pi/Desktop/images/02052025/19/43/image_02052025_19_43_37_10449.jpg
/home/pi/Desktop/images/02052025/19/43/image_02052025_19_43_47_10361.jpg
/home/pi/Desktop/images/02052025/19/43/image_02052025_19_43_56_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355454524","1355454533","1355454527","1355454509","1355454493","1355454498"],"photo_ids_order":["1355454493","1355454498","1355454509","1355454524","1355454527","1355454533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d8128deee25bd55b71fa74fa7ad0184.jpg","text":"TemporaryFile(/tmp/multipartBody5028698881879197072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213752930,"filename":"image_02052025_19_43_37_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6a117a18e70bcb968c254d94b09c82c.jpg","text":"TemporaryFile(/tmp/multipartBody213109062914706080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213752930,"filename":"image_02052025_19_43_56_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bcc49c2999d7f859963d0e25e9bde0b3.jpg","text":"TemporaryFile(/tmp/multipartBody933414949137787154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213752930,"filename":"image_02052025_19_43_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/5/2/e1d38cda7d10ceda0ce162c757ad8a3c.jpg","text":"TemporaryFile(/tmp/multipartBody2087143198641810382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213752930,"filename":"image_02052025_19_43_26_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7c55ccfb06c0f0996bcf08cc350c8fb9.jpg","text":"TemporaryFile(/tmp/multipartBody7790499764168338036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213752930,"filename":"image_02052025_19_42_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/5/2/e274a93618132629318cafac56c1d0cb.jpg","text":"TemporaryFile(/tmp/multipartBody729720268844379280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213752930,"filename":"image_02052025_19_42_57_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454509","file1":"1355454498","file0":"1355454493","file4":"1355454527","file5":"1355454533","file3":"1355454524"},"map_files_photo_id_array":[{"photo_id":"1355454533","filename":"file5"},{"photo_id":"1355454509","filename":"file2"},{"photo_id":"1355454527","filename":"file4"},{"photo_id":"1355454498","filename":"file1"},{"photo_id":"1355454493","filename":"file0"},{"photo_id":"1355454524","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454524":["hashtag1","hashtag2"]},{"1355454533":["hashtag1","hashtag2"]},{"1355454527":["hashtag1","hashtag2"]},{"1355454509":["hashtag1","hashtag2"]},{"1355454493":["hashtag1","hashtag2"]},{"1355454498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454524, 1355454533, 1355454527, 1355454509, 1355454493, 1355454498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85517716407776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:22:32.393623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/44/image_02052025_19_44_16_9369.jpg', '/home/pi/Desktop/images/02052025/19/44/image_02052025_19_44_27_10380.jpg', '/home/pi/Desktop/images/02052025/19/44/image_02052025_19_44_37_10429.jpg', '/home/pi/Desktop/images/02052025/19/44/image_02052025_19_44_46_9355.jpg', '/home/pi/Desktop/images/02052025/19/44/image_02052025_19_44_57_10428.jpg', '/home/pi/Desktop/images/02052025/19/44/image_02052025_19_45_06_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/44/image_02052025_19_44_16_9369.jpg
/home/pi/Desktop/images/02052025/19/44/image_02052025_19_44_27_10380.jpg
/home/pi/Desktop/images/02052025/19/44/image_02052025_19_44_37_10429.jpg
/home/pi/Desktop/images/02052025/19/44/image_02052025_19_44_46_9355.jpg
/home/pi/Desktop/images/02052025/19/44/image_02052025_19_44_57_10428.jpg
/home/pi/Desktop/images/02052025/19/44/image_02052025_19_45_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":["1355454553","1355454562","1355454558","1355454566","1355454581","1355454563"],"photo_ids_order":["1355454553","1355454558","1355454562","1355454563","1355454566","1355454581"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a010d0681293a9385826acaeafee1439.jpg","text":"TemporaryFile(/tmp/multipartBody8442762987802337361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213812864,"filename":"image_02052025_19_44_16_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d805c13305ca129da295d17cc4eb51bb.jpg","text":"TemporaryFile(/tmp/multipartBody8308940545739358295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213812864,"filename":"image_02052025_19_44_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/5/2/db5dc7ab358e85ee044d76cf887457df.jpg","text":"TemporaryFile(/tmp/multipartBody8279490517555602167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213812864,"filename":"image_02052025_19_44_27_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e33a011fa34340575b5eb75a2b69123.jpg","text":"TemporaryFile(/tmp/multipartBody1348935239878464801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213812864,"filename":"image_02052025_19_44_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/5/2/7feb0923531677b97d2a6f14e31ba95b.jpg","text":"TemporaryFile(/tmp/multipartBody7520148673361883909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213812864,"filename":"image_02052025_19_45_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/5/2/93b271b67f6188338aaf38cf75318b7e.jpg","text":"TemporaryFile(/tmp/multipartBody4359565542095194245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213812864,"filename":"image_02052025_19_44_46_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454562","file1":"1355454558","file0":"1355454553","file4":"1355454566","file5":"1355454581","file3":"1355454563"},"map_files_photo_id_array":[{"photo_id":"1355454581","filename":"file5"},{"photo_id":"1355454562","filename":"file2"},{"photo_id":"1355454566","filename":"file4"},{"photo_id":"1355454558","filename":"file1"},{"photo_id":"1355454553","filename":"file0"},{"photo_id":"1355454563","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454553":["hashtag1","hashtag2"]},{"1355454562":["hashtag1","hashtag2"]},{"1355454558":["hashtag1","hashtag2"]},{"1355454566":["hashtag1","hashtag2"]},{"1355454581":["hashtag1","hashtag2"]},{"1355454563":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454553, 1355454562, 1355454558, 1355454566, 1355454581, 1355454563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.493958473205566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:23:32.622198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/45/image_02052025_19_45_27_10403.jpg', '/home/pi/Desktop/images/02052025/19/45/image_02052025_19_45_36_9436.jpg', '/home/pi/Desktop/images/02052025/19/45/image_02052025_19_45_47_10436.jpg', '/home/pi/Desktop/images/02052025/19/45/image_02052025_19_45_56_9372.jpg', '/home/pi/Desktop/images/02052025/19/45/image_02052025_19_46_07_10429.jpg', '/home/pi/Desktop/images/02052025/19/46/image_02052025_19_46_17_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/45/image_02052025_19_45_27_10403.jpg
/home/pi/Desktop/images/02052025/19/45/image_02052025_19_45_36_9436.jpg
/home/pi/Desktop/images/02052025/19/45/image_02052025_19_45_47_10436.jpg
/home/pi/Desktop/images/02052025/19/45/image_02052025_19_45_56_9372.jpg
/home/pi/Desktop/images/02052025/19/45/image_02052025_19_46_07_10429.jpg
/home/pi/Desktop/images/02052025/19/46/image_02052025_19_46_17_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":["1355454659","1355454650","1355454640","1355454636","1355454653","1355454662"],"photo_ids_order":["1355454636","1355454640","1355454650","1355454653","1355454659","1355454662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff01147d27ffb888685bebd449710679.jpg","text":"TemporaryFile(/tmp/multipartBody164667063609597155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213873113,"filename":"image_02052025_19_46_07_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f1357210b6af88faa5eb59c216f448e5.jpg","text":"TemporaryFile(/tmp/multipartBody3474659312744215655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213873113,"filename":"image_02052025_19_45_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/5/2/7c902b10fdeb564cd188f53c61a93202.jpg","text":"TemporaryFile(/tmp/multipartBody9005979325258682496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213873113,"filename":"image_02052025_19_45_36_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f87b19a76ec96fecfb0e0da7d362e1cd.jpg","text":"TemporaryFile(/tmp/multipartBody3450414276096854121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213873113,"filename":"image_02052025_19_45_27_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/806af48e79ab74ac818e6564077e2568.jpg","text":"TemporaryFile(/tmp/multipartBody3752252237696159502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213873113,"filename":"image_02052025_19_45_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/5/2/323bb6d4065dccd44660385d706c7eee.jpg","text":"TemporaryFile(/tmp/multipartBody9109400055267652461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213873113,"filename":"image_02052025_19_46_17_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454650","file1":"1355454640","file0":"1355454636","file4":"1355454659","file5":"1355454662","file3":"1355454653"},"map_files_photo_id_array":[{"photo_id":"1355454662","filename":"file5"},{"photo_id":"1355454650","filename":"file2"},{"photo_id":"1355454659","filename":"file4"},{"photo_id":"1355454640","filename":"file1"},{"photo_id":"1355454636","filename":"file0"},{"photo_id":"1355454653","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454659":["hashtag1","hashtag2"]},{"1355454650":["hashtag1","hashtag2"]},{"1355454640":["hashtag1","hashtag2"]},{"1355454636":["hashtag1","hashtag2"]},{"1355454653":["hashtag1","hashtag2"]},{"1355454662":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454659, 1355454650, 1355454640, 1355454636, 1355454653, 1355454662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19811749458313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:24:32.824732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/46/image_02052025_19_46_26_9356.jpg', '/home/pi/Desktop/images/02052025/19/46/image_02052025_19_46_37_10354.jpg', '/home/pi/Desktop/images/02052025/19/46/image_02052025_19_46_56_9348.jpg', '/home/pi/Desktop/images/02052025/19/46/image_02052025_19_47_07_10423.jpg', '/home/pi/Desktop/images/02052025/19/47/image_02052025_19_47_16_9337.jpg', '/home/pi/Desktop/images/02052025/19/47/image_02052025_19_47_27_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/46/image_02052025_19_46_26_9356.jpg
/home/pi/Desktop/images/02052025/19/46/image_02052025_19_46_37_10354.jpg
/home/pi/Desktop/images/02052025/19/46/image_02052025_19_46_56_9348.jpg
/home/pi/Desktop/images/02052025/19/46/image_02052025_19_47_07_10423.jpg
/home/pi/Desktop/images/02052025/19/47/image_02052025_19_47_16_9337.jpg
/home/pi/Desktop/images/02052025/19/47/image_02052025_19_47_27_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355454710","1355454703","1355454693","1355454696","1355454698","1355454686"],"photo_ids_order":["1355454686","1355454693","1355454696","1355454698","1355454703","1355454710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/10ecd3d9b6e1aff59585d428a922c4f9.jpg","text":"TemporaryFile(/tmp/multipartBody5843192729724317526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213933295,"filename":"image_02052025_19_47_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/5/2/40961f64558ab5ef6d224b956cafbb4c.jpg","text":"TemporaryFile(/tmp/multipartBody1958384221806136891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213933295,"filename":"image_02052025_19_47_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/5/2/eb2d9b526b52792f3d3ddff032e6cdb5.jpg","text":"TemporaryFile(/tmp/multipartBody1216044533253280657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213933295,"filename":"image_02052025_19_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/5/2/3920bdbcaca5d49cd7473d896645d11a.jpg","text":"TemporaryFile(/tmp/multipartBody3550225562260326168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213933295,"filename":"image_02052025_19_46_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3784997ed9bb73c49a6e8353a236f77.jpg","text":"TemporaryFile(/tmp/multipartBody5213045858561904151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213933295,"filename":"image_02052025_19_47_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/5/2/119a9f877be9f8642df18fe54dd440d7.jpg","text":"TemporaryFile(/tmp/multipartBody8936457387662267138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213933295,"filename":"image_02052025_19_46_26_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454696","file1":"1355454693","file0":"1355454686","file4":"1355454703","file5":"1355454710","file3":"1355454698"},"map_files_photo_id_array":[{"photo_id":"1355454710","filename":"file5"},{"photo_id":"1355454696","filename":"file2"},{"photo_id":"1355454703","filename":"file4"},{"photo_id":"1355454693","filename":"file1"},{"photo_id":"1355454686","filename":"file0"},{"photo_id":"1355454698","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454710":["hashtag1","hashtag2"]},{"1355454703":["hashtag1","hashtag2"]},{"1355454693":["hashtag1","hashtag2"]},{"1355454696":["hashtag1","hashtag2"]},{"1355454698":["hashtag1","hashtag2"]},{"1355454686":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454710, 1355454703, 1355454693, 1355454696, 1355454698, 1355454686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04806923866272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:25:32.912196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/47/image_02052025_19_47_37_10406.jpg', '/home/pi/Desktop/images/02052025/19/47/image_02052025_19_47_46_9372.jpg', '/home/pi/Desktop/images/02052025/19/47/image_02052025_19_47_57_10441.jpg', '/home/pi/Desktop/images/02052025/19/47/image_02052025_19_48_06_9377.jpg', '/home/pi/Desktop/images/02052025/19/48/image_02052025_19_48_17_10350.jpg', '/home/pi/Desktop/images/02052025/19/48/image_02052025_19_48_27_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/47/image_02052025_19_47_37_10406.jpg
/home/pi/Desktop/images/02052025/19/47/image_02052025_19_47_46_9372.jpg
/home/pi/Desktop/images/02052025/19/47/image_02052025_19_47_57_10441.jpg
/home/pi/Desktop/images/02052025/19/47/image_02052025_19_48_06_9377.jpg
/home/pi/Desktop/images/02052025/19/48/image_02052025_19_48_17_10350.jpg
/home/pi/Desktop/images/02052025/19/48/image_02052025_19_48_27_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355454766","1355454754","1355454768","1355454762","1355454764","1355454758"],"photo_ids_order":["1355454754","1355454758","1355454762","1355454764","1355454766","1355454768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4263f1b6fb5921b1639501224b3b8785.jpg","text":"TemporaryFile(/tmp/multipartBody8962648400050163065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213993420,"filename":"image_02052025_19_48_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/5/2/ed733b62fde3155be5d39607203004de.jpg","text":"TemporaryFile(/tmp/multipartBody3677124120750622107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213993420,"filename":"image_02052025_19_47_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/5/2/4ff9fbe362c8d2ce1ac28804ef31ec76.jpg","text":"TemporaryFile(/tmp/multipartBody5156646224101247759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213993420,"filename":"image_02052025_19_48_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/5/2/1c754fd25e432afab1daffcf7b3b75b6.jpg","text":"TemporaryFile(/tmp/multipartBody3070962804298802839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213993420,"filename":"image_02052025_19_47_57_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/77c4b7aa563c543f8a1e16eecff79fdc.jpg","text":"TemporaryFile(/tmp/multipartBody6748456114694949120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213993420,"filename":"image_02052025_19_48_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/5/2/1b109692e994a75b7fa254d2ff81a699.jpg","text":"TemporaryFile(/tmp/multipartBody1094669860275104066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746213993420,"filename":"image_02052025_19_47_46_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454762","file1":"1355454758","file0":"1355454754","file4":"1355454766","file5":"1355454768","file3":"1355454764"},"map_files_photo_id_array":[{"photo_id":"1355454768","filename":"file5"},{"photo_id":"1355454762","filename":"file2"},{"photo_id":"1355454766","filename":"file4"},{"photo_id":"1355454758","filename":"file1"},{"photo_id":"1355454754","filename":"file0"},{"photo_id":"1355454764","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454766":["hashtag1","hashtag2"]},{"1355454754":["hashtag1","hashtag2"]},{"1355454768":["hashtag1","hashtag2"]},{"1355454762":["hashtag1","hashtag2"]},{"1355454764":["hashtag1","hashtag2"]},{"1355454758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454766, 1355454754, 1355454768, 1355454762, 1355454764, 1355454758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4483642578125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:26:33.074753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/48/image_02052025_19_48_36_9350.jpg', '/home/pi/Desktop/images/02052025/19/48/image_02052025_19_48_47_10430.jpg', '/home/pi/Desktop/images/02052025/19/48/image_02052025_19_48_56_9359.jpg', '/home/pi/Desktop/images/02052025/19/48/image_02052025_19_49_06_10357.jpg', '/home/pi/Desktop/images/02052025/19/49/image_02052025_19_49_17_10472.jpg', '/home/pi/Desktop/images/02052025/19/49/image_02052025_19_49_26_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/48/image_02052025_19_48_36_9350.jpg
/home/pi/Desktop/images/02052025/19/48/image_02052025_19_48_47_10430.jpg
/home/pi/Desktop/images/02052025/19/48/image_02052025_19_48_56_9359.jpg
/home/pi/Desktop/images/02052025/19/48/image_02052025_19_49_06_10357.jpg
/home/pi/Desktop/images/02052025/19/49/image_02052025_19_49_17_10472.jpg
/home/pi/Desktop/images/02052025/19/49/image_02052025_19_49_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":["1355454842","1355454871","1355454805","1355454798","1355454903","1355454813"],"photo_ids_order":["1355454798","1355454805","1355454813","1355454842","1355454871","1355454903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22c541fb50e492d5962e13885b1edecb.jpg","text":"TemporaryFile(/tmp/multipartBody8377154420644529059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214053544,"filename":"image_02052025_19_49_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/5/2/3d0cdfe23125c62966d57c8b0829853a.jpg","text":"TemporaryFile(/tmp/multipartBody8610652826226212311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214053544,"filename":"image_02052025_19_49_17_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f4fe92c8ba4a0409071185e50ca75167.jpg","text":"TemporaryFile(/tmp/multipartBody5921491098121788148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214053544,"filename":"image_02052025_19_48_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/5/2/b09bbd976186dedc47fc0af6300098f1.jpg","text":"TemporaryFile(/tmp/multipartBody8030988810657315273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214053544,"filename":"image_02052025_19_48_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/5/2/6b6d47f9e1fc8dfb01ef0541ba6cab34.jpg","text":"TemporaryFile(/tmp/multipartBody2863209709694539593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214053544,"filename":"image_02052025_19_49_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/5/2/1631d837c82d0b617f4f573da732b64e.jpg","text":"TemporaryFile(/tmp/multipartBody6888285334839264371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214053544,"filename":"image_02052025_19_48_56_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355454813","file1":"1355454805","file0":"1355454798","file4":"1355454871","file5":"1355454903","file3":"1355454842"},"map_files_photo_id_array":[{"photo_id":"1355454903","filename":"file5"},{"photo_id":"1355454813","filename":"file2"},{"photo_id":"1355454871","filename":"file4"},{"photo_id":"1355454805","filename":"file1"},{"photo_id":"1355454798","filename":"file0"},{"photo_id":"1355454842","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355454842":["hashtag1","hashtag2"]},{"1355454871":["hashtag1","hashtag2"]},{"1355454805":["hashtag1","hashtag2"]},{"1355454798":["hashtag1","hashtag2"]},{"1355454903":["hashtag1","hashtag2"]},{"1355454813":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355454842, 1355454871, 1355454805, 1355454798, 1355454903, 1355454813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.3700635433197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:27:32.266900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/49/image_02052025_19_49_37_10414.jpg', '/home/pi/Desktop/images/02052025/19/49/image_02052025_19_49_47_10353.jpg', '/home/pi/Desktop/images/02052025/19/49/image_02052025_19_49_56_9377.jpg', '/home/pi/Desktop/images/02052025/19/50/image_02052025_19_50_16_9361.jpg', '/home/pi/Desktop/images/02052025/19/50/image_02052025_19_50_27_10371.jpg', '/home/pi/Desktop/images/02052025/19/50/image_02052025_19_50_37_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/49/image_02052025_19_49_37_10414.jpg
/home/pi/Desktop/images/02052025/19/49/image_02052025_19_49_47_10353.jpg
/home/pi/Desktop/images/02052025/19/49/image_02052025_19_49_56_9377.jpg
/home/pi/Desktop/images/02052025/19/50/image_02052025_19_50_16_9361.jpg
/home/pi/Desktop/images/02052025/19/50/image_02052025_19_50_27_10371.jpg
/home/pi/Desktop/images/02052025/19/50/image_02052025_19_50_37_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":["1355455041","1355455029","1355455017","1355455026","1355455031","1355455022"],"photo_ids_order":["1355455017","1355455022","1355455026","1355455029","1355455031","1355455041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a7fa4132965db106d7aea9bf1f28316e.jpg","text":"TemporaryFile(/tmp/multipartBody2816643519938479551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214112742,"filename":"image_02052025_19_50_37_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0b93ec86070e20e1613aafc3406c0c9.jpg","text":"TemporaryFile(/tmp/multipartBody7894650221948076811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214112742,"filename":"image_02052025_19_50_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/5/2/d5159bacb880eecb5193cde914b69269.jpg","text":"TemporaryFile(/tmp/multipartBody3208792702931256747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214112742,"filename":"image_02052025_19_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/5/2/56a3c57effb0bbd6748a7e21a658dead.jpg","text":"TemporaryFile(/tmp/multipartBody4962932379987140522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214112742,"filename":"image_02052025_19_49_56_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/361515071224aa207088fa49f516c903.jpg","text":"TemporaryFile(/tmp/multipartBody7531896179999219771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214112742,"filename":"image_02052025_19_50_27_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8307ec5dbc406c6aa7d73f602b8f27e3.jpg","text":"TemporaryFile(/tmp/multipartBody9155062011605612188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214112742,"filename":"image_02052025_19_49_47_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455026","file1":"1355455022","file0":"1355455017","file4":"1355455031","file5":"1355455041","file3":"1355455029"},"map_files_photo_id_array":[{"photo_id":"1355455041","filename":"file5"},{"photo_id":"1355455026","filename":"file2"},{"photo_id":"1355455031","filename":"file4"},{"photo_id":"1355455022","filename":"file1"},{"photo_id":"1355455017","filename":"file0"},{"photo_id":"1355455029","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455041":["hashtag1","hashtag2"]},{"1355455029":["hashtag1","hashtag2"]},{"1355455017":["hashtag1","hashtag2"]},{"1355455026":["hashtag1","hashtag2"]},{"1355455031":["hashtag1","hashtag2"]},{"1355455022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455041, 1355455029, 1355455017, 1355455026, 1355455031, 1355455022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.647520542144775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:28:32.312979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/50/image_02052025_19_50_47_9641.jpg', '/home/pi/Desktop/images/02052025/19/50/image_02052025_19_50_57_10365.jpg', '/home/pi/Desktop/images/02052025/19/50/image_02052025_19_51_06_9416.jpg', '/home/pi/Desktop/images/02052025/19/51/image_02052025_19_51_26_9356.jpg', '/home/pi/Desktop/images/02052025/19/51/image_02052025_19_51_37_10359.jpg', '/home/pi/Desktop/images/02052025/19/51/image_02052025_19_51_47_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/50/image_02052025_19_50_47_9641.jpg
/home/pi/Desktop/images/02052025/19/50/image_02052025_19_50_57_10365.jpg
/home/pi/Desktop/images/02052025/19/50/image_02052025_19_51_06_9416.jpg
/home/pi/Desktop/images/02052025/19/51/image_02052025_19_51_26_9356.jpg
/home/pi/Desktop/images/02052025/19/51/image_02052025_19_51_37_10359.jpg
/home/pi/Desktop/images/02052025/19/51/image_02052025_19_51_47_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":["1355455072","1355455081","1355455077","1355455107","1355455090","1355455084"],"photo_ids_order":["1355455072","1355455077","1355455081","1355455084","1355455090","1355455107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0bca701211b1b5f2cc6c95bb9e689754.jpg","text":"TemporaryFile(/tmp/multipartBody8137948690293125582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214172798,"filename":"image_02052025_19_50_47_9641.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/36152233fb6b6173ea7ee2d361ca681c.jpg","text":"TemporaryFile(/tmp/multipartBody3120867013318513947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214172798,"filename":"image_02052025_19_51_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/5/2/3e7273556e166e702343f0256267c4c1.jpg","text":"TemporaryFile(/tmp/multipartBody2143656751692253975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214172798,"filename":"image_02052025_19_50_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/5/2/f1b68ece6cfaa15adb521c273ab85061.jpg","text":"TemporaryFile(/tmp/multipartBody7261511747668841490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214172798,"filename":"image_02052025_19_51_47_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e120efd192167079ad95b24441010bb0.jpg","text":"TemporaryFile(/tmp/multipartBody2347704571227692894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214172798,"filename":"image_02052025_19_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/5/2/3e354eb5734326a442ecc362ff6cea22.jpg","text":"TemporaryFile(/tmp/multipartBody5147083646172141722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214172798,"filename":"image_02052025_19_51_26_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455081","file1":"1355455077","file0":"1355455072","file4":"1355455090","file5":"1355455107","file3":"1355455084"},"map_files_photo_id_array":[{"photo_id":"1355455107","filename":"file5"},{"photo_id":"1355455081","filename":"file2"},{"photo_id":"1355455090","filename":"file4"},{"photo_id":"1355455077","filename":"file1"},{"photo_id":"1355455072","filename":"file0"},{"photo_id":"1355455084","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455072":["hashtag1","hashtag2"]},{"1355455081":["hashtag1","hashtag2"]},{"1355455077":["hashtag1","hashtag2"]},{"1355455107":["hashtag1","hashtag2"]},{"1355455090":["hashtag1","hashtag2"]},{"1355455084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455072, 1355455081, 1355455077, 1355455107, 1355455090, 1355455084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66632270812988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:29:32.569090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/51/image_02052025_19_51_56_9343.jpg', '/home/pi/Desktop/images/02052025/19/51/image_02052025_19_52_07_10494.jpg', '/home/pi/Desktop/images/02052025/19/52/image_02052025_19_52_16_9402.jpg', '/home/pi/Desktop/images/02052025/19/52/image_02052025_19_52_27_10372.jpg', '/home/pi/Desktop/images/02052025/19/52/image_02052025_19_52_37_10339.jpg', '/home/pi/Desktop/images/02052025/19/52/image_02052025_19_52_57_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/51/image_02052025_19_51_56_9343.jpg
/home/pi/Desktop/images/02052025/19/51/image_02052025_19_52_07_10494.jpg
/home/pi/Desktop/images/02052025/19/52/image_02052025_19_52_16_9402.jpg
/home/pi/Desktop/images/02052025/19/52/image_02052025_19_52_27_10372.jpg
/home/pi/Desktop/images/02052025/19/52/image_02052025_19_52_37_10339.jpg
/home/pi/Desktop/images/02052025/19/52/image_02052025_19_52_57_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355455150","1355455152","1355455146","1355455137","1355455154","1355455157"],"photo_ids_order":["1355455137","1355455146","1355455150","1355455152","1355455154","1355455157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/20757aa7802b9560bc86829bc7193632.jpg","text":"TemporaryFile(/tmp/multipartBody5637250015325852864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214233055,"filename":"image_02052025_19_52_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b541b849feeef7ecc8748c8cef5ee6e3.jpg","text":"TemporaryFile(/tmp/multipartBody4732425974957870124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214233055,"filename":"image_02052025_19_52_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/5/2/7061479825a4f8b1156effc65147dd42.jpg","text":"TemporaryFile(/tmp/multipartBody1845446581758302181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214233055,"filename":"image_02052025_19_52_07_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9977ee54e93f3263746d920c082f839d.jpg","text":"TemporaryFile(/tmp/multipartBody3772426265434122366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214233055,"filename":"image_02052025_19_51_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/5/2/1784b3ae14bb61b9b6eea623bbc2941e.jpg","text":"TemporaryFile(/tmp/multipartBody9155914758223839683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214233055,"filename":"image_02052025_19_52_37_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de2e72cfa3f8987cea77ecc976c8901a.jpg","text":"TemporaryFile(/tmp/multipartBody567736273263445000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214233055,"filename":"image_02052025_19_52_57_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455150","file1":"1355455146","file0":"1355455137","file4":"1355455154","file5":"1355455157","file3":"1355455152"},"map_files_photo_id_array":[{"photo_id":"1355455157","filename":"file5"},{"photo_id":"1355455150","filename":"file2"},{"photo_id":"1355455154","filename":"file4"},{"photo_id":"1355455146","filename":"file1"},{"photo_id":"1355455137","filename":"file0"},{"photo_id":"1355455152","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455150":["hashtag1","hashtag2"]},{"1355455152":["hashtag1","hashtag2"]},{"1355455146":["hashtag1","hashtag2"]},{"1355455137":["hashtag1","hashtag2"]},{"1355455154":["hashtag1","hashtag2"]},{"1355455157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455150, 1355455152, 1355455146, 1355455137, 1355455154, 1355455157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.860684871673584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:30:32.705194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/52/image_02052025_19_53_06_9408.jpg', '/home/pi/Desktop/images/02052025/19/53/image_02052025_19_53_17_10420.jpg', '/home/pi/Desktop/images/02052025/19/53/image_02052025_19_53_27_10449.jpg', '/home/pi/Desktop/images/02052025/19/53/image_02052025_19_53_36_9333.jpg', '/home/pi/Desktop/images/02052025/19/53/image_02052025_19_53_47_10443.jpg', '/home/pi/Desktop/images/02052025/19/54/image_02052025_19_54_17_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/52/image_02052025_19_53_06_9408.jpg
/home/pi/Desktop/images/02052025/19/53/image_02052025_19_53_17_10420.jpg
/home/pi/Desktop/images/02052025/19/53/image_02052025_19_53_27_10449.jpg
/home/pi/Desktop/images/02052025/19/53/image_02052025_19_53_36_9333.jpg
/home/pi/Desktop/images/02052025/19/53/image_02052025_19_53_47_10443.jpg
/home/pi/Desktop/images/02052025/19/54/image_02052025_19_54_17_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":["1355455195","1355455188","1355455197","1355455182","1355455199","1355455193"],"photo_ids_order":["1355455182","1355455188","1355455193","1355455195","1355455197","1355455199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f2960343f698a7ca28f44ae4eb50e8bb.jpg","text":"TemporaryFile(/tmp/multipartBody6562601879743589394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214293210,"filename":"image_02052025_19_53_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/5/2/a8bc6f5dbd3413fbd62d64b788a22f48.jpg","text":"TemporaryFile(/tmp/multipartBody8693246409656807389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214293210,"filename":"image_02052025_19_53_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/5/2/43215522f6fe556265bdfbb1b75952a9.jpg","text":"TemporaryFile(/tmp/multipartBody859570879401229374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214293210,"filename":"image_02052025_19_53_47_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9a75f75f18c0e5e03cfa91c9091e530.jpg","text":"TemporaryFile(/tmp/multipartBody5552483964698065636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214293210,"filename":"image_02052025_19_53_06_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c894fd1c0aed2c9633d52ac8f6d5489e.jpg","text":"TemporaryFile(/tmp/multipartBody2452644383333692045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214293210,"filename":"image_02052025_19_54_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/5/2/de887032aaa26c5213bc7f4e41400c95.jpg","text":"TemporaryFile(/tmp/multipartBody6800711068000909908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214293210,"filename":"image_02052025_19_53_27_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455193","file1":"1355455188","file0":"1355455182","file4":"1355455197","file5":"1355455199","file3":"1355455195"},"map_files_photo_id_array":[{"photo_id":"1355455199","filename":"file5"},{"photo_id":"1355455193","filename":"file2"},{"photo_id":"1355455197","filename":"file4"},{"photo_id":"1355455188","filename":"file1"},{"photo_id":"1355455182","filename":"file0"},{"photo_id":"1355455195","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455195":["hashtag1","hashtag2"]},{"1355455188":["hashtag1","hashtag2"]},{"1355455197":["hashtag1","hashtag2"]},{"1355455182":["hashtag1","hashtag2"]},{"1355455199":["hashtag1","hashtag2"]},{"1355455193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455195, 1355455188, 1355455197, 1355455182, 1355455199, 1355455193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95987010002136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:31:32.729401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/54/image_02052025_19_54_37_10470.jpg', '/home/pi/Desktop/images/02052025/19/54/image_02052025_19_54_46_9365.jpg', '/home/pi/Desktop/images/02052025/19/55/image_02052025_19_55_17_10391.jpg', '/home/pi/Desktop/images/02052025/19/55/image_02052025_19_55_27_10472.jpg', '/home/pi/Desktop/images/02052025/19/55/image_02052025_19_55_36_9339.jpg', '/home/pi/Desktop/images/02052025/19/55/image_02052025_19_55_47_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/54/image_02052025_19_54_37_10470.jpg
/home/pi/Desktop/images/02052025/19/54/image_02052025_19_54_46_9365.jpg
/home/pi/Desktop/images/02052025/19/55/image_02052025_19_55_17_10391.jpg
/home/pi/Desktop/images/02052025/19/55/image_02052025_19_55_27_10472.jpg
/home/pi/Desktop/images/02052025/19/55/image_02052025_19_55_36_9339.jpg
/home/pi/Desktop/images/02052025/19/55/image_02052025_19_55_47_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":["1355455258","1355455255","1355455257","1355455242","1355455253","1355455256"],"photo_ids_order":["1355455242","1355455253","1355455255","1355455256","1355455257","1355455258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/029af1b1dc87c7fdb23cfcf01950a553.jpg","text":"TemporaryFile(/tmp/multipartBody3295689704009709752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214353220,"filename":"image_02052025_19_55_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/5/2/957fd495329775156cde185d2a8cd3e3.jpg","text":"TemporaryFile(/tmp/multipartBody3783041785996252761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214353220,"filename":"image_02052025_19_55_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/5/2/0e87d3612a0f6066f511ccad65804d8a.jpg","text":"TemporaryFile(/tmp/multipartBody4751270595708437866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214353220,"filename":"image_02052025_19_55_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/5/2/e79f6c19db31f9e12c0ef97abd8e77de.jpg","text":"TemporaryFile(/tmp/multipartBody5671909195837365084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214353220,"filename":"image_02052025_19_54_37_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/393e61e3640d6f3b6059906c4b7a26b7.jpg","text":"TemporaryFile(/tmp/multipartBody1605821810999950791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214353220,"filename":"image_02052025_19_54_46_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/005d6aea8284331de68bfdb075c2f8dd.jpg","text":"TemporaryFile(/tmp/multipartBody1822513420986029790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214353220,"filename":"image_02052025_19_55_27_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455255","file1":"1355455253","file0":"1355455242","file4":"1355455257","file5":"1355455258","file3":"1355455256"},"map_files_photo_id_array":[{"photo_id":"1355455258","filename":"file5"},{"photo_id":"1355455255","filename":"file2"},{"photo_id":"1355455257","filename":"file4"},{"photo_id":"1355455253","filename":"file1"},{"photo_id":"1355455242","filename":"file0"},{"photo_id":"1355455256","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455258":["hashtag1","hashtag2"]},{"1355455255":["hashtag1","hashtag2"]},{"1355455257":["hashtag1","hashtag2"]},{"1355455242":["hashtag1","hashtag2"]},{"1355455253":["hashtag1","hashtag2"]},{"1355455256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455258, 1355455255, 1355455257, 1355455242, 1355455253, 1355455256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.4410297870636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:32:32.950263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/55/image_02052025_19_55_56_9354.jpg', '/home/pi/Desktop/images/02052025/19/55/image_02052025_19_56_07_10422.jpg', '/home/pi/Desktop/images/02052025/19/56/image_02052025_19_56_17_10461.jpg', '/home/pi/Desktop/images/02052025/19/56/image_02052025_19_56_26_9363.jpg', '/home/pi/Desktop/images/02052025/19/56/image_02052025_19_56_37_10377.jpg', '/home/pi/Desktop/images/02052025/19/56/image_02052025_19_56_46_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/55/image_02052025_19_55_56_9354.jpg
/home/pi/Desktop/images/02052025/19/55/image_02052025_19_56_07_10422.jpg
/home/pi/Desktop/images/02052025/19/56/image_02052025_19_56_17_10461.jpg
/home/pi/Desktop/images/02052025/19/56/image_02052025_19_56_26_9363.jpg
/home/pi/Desktop/images/02052025/19/56/image_02052025_19_56_37_10377.jpg
/home/pi/Desktop/images/02052025/19/56/image_02052025_19_56_46_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":["1355455491","1355455494","1355455488","1355455497","1355455496","1355455463"],"photo_ids_order":["1355455463","1355455488","1355455491","1355455494","1355455496","1355455497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b2fb75481484f7ad6c6cc1495a40558.jpg","text":"TemporaryFile(/tmp/multipartBody3315690978044061519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214413426,"filename":"image_02052025_19_56_17_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94e8f5895b70979f990e6726dab27858.jpg","text":"TemporaryFile(/tmp/multipartBody6185361945013091710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214413426,"filename":"image_02052025_19_56_26_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/94dc995b1f725bfa311b089b4fd7e986.jpg","text":"TemporaryFile(/tmp/multipartBody7227821296354294456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214413426,"filename":"image_02052025_19_56_07_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fd55b5940e47d556b189e84b3db8c055.jpg","text":"TemporaryFile(/tmp/multipartBody3105093220057377550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214413426,"filename":"image_02052025_19_56_46_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/af8ca12e7c2ecc0fedd94824f57aaa26.jpg","text":"TemporaryFile(/tmp/multipartBody1585435938410279012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214413426,"filename":"image_02052025_19_56_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/5/2/057fc2f0a92e20cd5660252843bb0b2e.jpg","text":"TemporaryFile(/tmp/multipartBody6114631931251655975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214413426,"filename":"image_02052025_19_55_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455491","file1":"1355455488","file0":"1355455463","file4":"1355455496","file5":"1355455497","file3":"1355455494"},"map_files_photo_id_array":[{"photo_id":"1355455497","filename":"file5"},{"photo_id":"1355455491","filename":"file2"},{"photo_id":"1355455496","filename":"file4"},{"photo_id":"1355455488","filename":"file1"},{"photo_id":"1355455463","filename":"file0"},{"photo_id":"1355455494","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455491":["hashtag1","hashtag2"]},{"1355455494":["hashtag1","hashtag2"]},{"1355455488":["hashtag1","hashtag2"]},{"1355455497":["hashtag1","hashtag2"]},{"1355455496":["hashtag1","hashtag2"]},{"1355455463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455491, 1355455494, 1355455488, 1355455497, 1355455496, 1355455463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96109914779663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:33:33.126352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/56/image_02052025_19_56_57_10482.jpg', '/home/pi/Desktop/images/02052025/19/56/image_02052025_19_57_07_10461.jpg', '/home/pi/Desktop/images/02052025/19/57/image_02052025_19_57_16_9359.jpg', '/home/pi/Desktop/images/02052025/19/57/image_02052025_19_57_27_10423.jpg', '/home/pi/Desktop/images/02052025/19/57/image_02052025_19_57_36_9345.jpg', '/home/pi/Desktop/images/02052025/19/57/image_02052025_19_57_47_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/56/image_02052025_19_56_57_10482.jpg
/home/pi/Desktop/images/02052025/19/56/image_02052025_19_57_07_10461.jpg
/home/pi/Desktop/images/02052025/19/57/image_02052025_19_57_16_9359.jpg
/home/pi/Desktop/images/02052025/19/57/image_02052025_19_57_27_10423.jpg
/home/pi/Desktop/images/02052025/19/57/image_02052025_19_57_36_9345.jpg
/home/pi/Desktop/images/02052025/19/57/image_02052025_19_57_47_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355455546","1355455540","1355455548","1355455550","1355455544","1355455535"],"photo_ids_order":["1355455535","1355455540","1355455544","1355455546","1355455548","1355455550"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a693b17ae619adc4f9aa8693993fcca3.jpg","text":"TemporaryFile(/tmp/multipartBody2670342671011767193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214473603,"filename":"image_02052025_19_57_27_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/83d6b2c4646febfeb1b47976c368b043.jpg","text":"TemporaryFile(/tmp/multipartBody1527162070973165493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214473603,"filename":"image_02052025_19_57_07_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7b2eac80391125cc83f35c9f6aa3fdd4.jpg","text":"TemporaryFile(/tmp/multipartBody2033207345603865127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214473603,"filename":"image_02052025_19_57_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/5/2/9633ebdd898b25e2eb9afdd1ee66a8ae.jpg","text":"TemporaryFile(/tmp/multipartBody7141430312559734055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214473603,"filename":"image_02052025_19_57_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/5/2/aea7fec3e4feca572ab70e66e72d1478.jpg","text":"TemporaryFile(/tmp/multipartBody5709051237535679736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214473603,"filename":"image_02052025_19_57_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/5/2/87903feb04736487a44f0983224a40f9.jpg","text":"TemporaryFile(/tmp/multipartBody1974678395157072233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214473603,"filename":"image_02052025_19_56_57_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455544","file1":"1355455540","file0":"1355455535","file4":"1355455548","file5":"1355455550","file3":"1355455546"},"map_files_photo_id_array":[{"photo_id":"1355455550","filename":"file5"},{"photo_id":"1355455544","filename":"file2"},{"photo_id":"1355455548","filename":"file4"},{"photo_id":"1355455540","filename":"file1"},{"photo_id":"1355455535","filename":"file0"},{"photo_id":"1355455546","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455546":["hashtag1","hashtag2"]},{"1355455540":["hashtag1","hashtag2"]},{"1355455548":["hashtag1","hashtag2"]},{"1355455550":["hashtag1","hashtag2"]},{"1355455544":["hashtag1","hashtag2"]},{"1355455535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455546, 1355455540, 1355455548, 1355455550, 1355455544, 1355455535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13632607460022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:34:32.274940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/57/image_02052025_19_57_57_10365.jpg', '/home/pi/Desktop/images/02052025/19/57/image_02052025_19_58_06_9333.jpg', '/home/pi/Desktop/images/02052025/19/58/image_02052025_19_58_17_10499.jpg', '/home/pi/Desktop/images/02052025/19/58/image_02052025_19_58_26_9361.jpg', '/home/pi/Desktop/images/02052025/19/58/image_02052025_19_58_37_10428.jpg', '/home/pi/Desktop/images/02052025/19/58/image_02052025_19_58_47_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/57/image_02052025_19_57_57_10365.jpg
/home/pi/Desktop/images/02052025/19/57/image_02052025_19_58_06_9333.jpg
/home/pi/Desktop/images/02052025/19/58/image_02052025_19_58_17_10499.jpg
/home/pi/Desktop/images/02052025/19/58/image_02052025_19_58_26_9361.jpg
/home/pi/Desktop/images/02052025/19/58/image_02052025_19_58_37_10428.jpg
/home/pi/Desktop/images/02052025/19/58/image_02052025_19_58_47_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355455587","1355455581","1355455608","1355455607","1355455601","1355455591"],"photo_ids_order":["1355455581","1355455587","1355455591","1355455601","1355455607","1355455608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5adbb6c7ab8268f4ff1a7c0c999f6b68.jpg","text":"TemporaryFile(/tmp/multipartBody5210134732761157039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214532747,"filename":"image_02052025_19_58_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/5/2/a28c917ca21f578b7204a348cc20642f.jpg","text":"TemporaryFile(/tmp/multipartBody5591449674084207831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214532747,"filename":"image_02052025_19_57_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/5/2/9701a7f09bef15e5989f3f85ce6c68f3.jpg","text":"TemporaryFile(/tmp/multipartBody5467906018685853191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214532747,"filename":"image_02052025_19_58_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/5/2/12e1462d4e64c5d4d80381a81c0c81fc.jpg","text":"TemporaryFile(/tmp/multipartBody6263317330142657172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214532747,"filename":"image_02052025_19_58_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/5/2/cd451c487e8eb7bb5e63f9db7441162f.jpg","text":"TemporaryFile(/tmp/multipartBody1959104675444702822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214532747,"filename":"image_02052025_19_58_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/5/2/ef7b7a9a91474e459148f7f85b804b42.jpg","text":"TemporaryFile(/tmp/multipartBody6390131394373337833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214532747,"filename":"image_02052025_19_58_17_10499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455591","file1":"1355455587","file0":"1355455581","file4":"1355455607","file5":"1355455608","file3":"1355455601"},"map_files_photo_id_array":[{"photo_id":"1355455608","filename":"file5"},{"photo_id":"1355455591","filename":"file2"},{"photo_id":"1355455607","filename":"file4"},{"photo_id":"1355455587","filename":"file1"},{"photo_id":"1355455581","filename":"file0"},{"photo_id":"1355455601","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455587":["hashtag1","hashtag2"]},{"1355455581":["hashtag1","hashtag2"]},{"1355455608":["hashtag1","hashtag2"]},{"1355455607":["hashtag1","hashtag2"]},{"1355455601":["hashtag1","hashtag2"]},{"1355455591":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455587, 1355455581, 1355455608, 1355455607, 1355455601, 1355455591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65520715713501 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:35:32.516836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/19/58/image_02052025_19_59_07_10405.jpg', '/home/pi/Desktop/images/02052025/19/59/image_02052025_19_59_17_10374.jpg', '/home/pi/Desktop/images/02052025/19/59/image_02052025_19_59_26_9356.jpg', '/home/pi/Desktop/images/02052025/19/59/image_02052025_19_59_37_10384.jpg', '/home/pi/Desktop/images/02052025/19/59/image_02052025_19_59_46_9351.jpg', '/home/pi/Desktop/images/02052025/19/59/image_02052025_19_59_57_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/19/58/image_02052025_19_59_07_10405.jpg
/home/pi/Desktop/images/02052025/19/59/image_02052025_19_59_17_10374.jpg
/home/pi/Desktop/images/02052025/19/59/image_02052025_19_59_26_9356.jpg
/home/pi/Desktop/images/02052025/19/59/image_02052025_19_59_37_10384.jpg
/home/pi/Desktop/images/02052025/19/59/image_02052025_19_59_46_9351.jpg
/home/pi/Desktop/images/02052025/19/59/image_02052025_19_59_57_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":["1355455648","1355455665","1355455650","1355455643","1355455667","1355455652"],"photo_ids_order":["1355455643","1355455648","1355455650","1355455652","1355455665","1355455667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dbdf1c0d6313d43d3841968a72c0e0f1.jpg","text":"TemporaryFile(/tmp/multipartBody5952011022597602359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214592996,"filename":"image_02052025_19_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/5/2/642183232eb621206f968b89f539df10.jpg","text":"TemporaryFile(/tmp/multipartBody7694701726160275052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214592996,"filename":"image_02052025_19_59_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/5/2/34a678ccfaac29df04bca11a550274f5.jpg","text":"TemporaryFile(/tmp/multipartBody5489460001579943559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214592996,"filename":"image_02052025_19_59_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/5/2/b44897d648a0a00e7f7f3843c10f29dd.jpg","text":"TemporaryFile(/tmp/multipartBody1976755117492213004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214592996,"filename":"image_02052025_19_59_07_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/316c65e2957f18313644203d3ac4f941.jpg","text":"TemporaryFile(/tmp/multipartBody252873257832550119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214592996,"filename":"image_02052025_19_59_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/5/2/2ba23a3289c571903ad440411747d8b4.jpg","text":"TemporaryFile(/tmp/multipartBody4533799843719416514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214592996,"filename":"image_02052025_19_59_37_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455650","file1":"1355455648","file0":"1355455643","file4":"1355455665","file5":"1355455667","file3":"1355455652"},"map_files_photo_id_array":[{"photo_id":"1355455667","filename":"file5"},{"photo_id":"1355455650","filename":"file2"},{"photo_id":"1355455665","filename":"file4"},{"photo_id":"1355455648","filename":"file1"},{"photo_id":"1355455643","filename":"file0"},{"photo_id":"1355455652","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455648":["hashtag1","hashtag2"]},{"1355455665":["hashtag1","hashtag2"]},{"1355455650":["hashtag1","hashtag2"]},{"1355455643":["hashtag1","hashtag2"]},{"1355455667":["hashtag1","hashtag2"]},{"1355455652":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455648, 1355455665, 1355455650, 1355455643, 1355455667, 1355455652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.310551166534424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:36:32.622114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/01/image_02052025_20_01_14_10076.jpg', '/home/pi/Desktop/images/02052025/20/01/image_02052025_20_01_25_10513.jpg', '/home/pi/Desktop/images/02052025/20/01/image_02052025_20_01_35_10377.jpg', '/home/pi/Desktop/images/02052025/20/01/image_02052025_20_01_45_9350.jpg', '/home/pi/Desktop/images/02052025/20/01/image_02052025_20_01_55_10383.jpg', '/home/pi/Desktop/images/02052025/20/01/image_02052025_20_02_04_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/01/image_02052025_20_01_14_10076.jpg
/home/pi/Desktop/images/02052025/20/01/image_02052025_20_01_25_10513.jpg
/home/pi/Desktop/images/02052025/20/01/image_02052025_20_01_35_10377.jpg
/home/pi/Desktop/images/02052025/20/01/image_02052025_20_01_45_9350.jpg
/home/pi/Desktop/images/02052025/20/01/image_02052025_20_01_55_10383.jpg
/home/pi/Desktop/images/02052025/20/01/image_02052025_20_02_04_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":["1355455717","1355455714","1355455722","1355455719","1355455710","1355455721"],"photo_ids_order":["1355455710","1355455714","1355455717","1355455719","1355455721","1355455722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fbaf9c06e7f2b5e3990d245666983f10.jpg","text":"TemporaryFile(/tmp/multipartBody3050185432065269547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214653094,"filename":"image_02052025_20_01_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/99254408b487137a883c4e22b6d04459.jpg","text":"TemporaryFile(/tmp/multipartBody3789727554952277331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214653094,"filename":"image_02052025_20_01_25_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d952b6bd9ff92e6a955ba7573547aa3.jpg","text":"TemporaryFile(/tmp/multipartBody2387294096454568415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214653094,"filename":"image_02052025_20_02_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89a1ec018dfa55229a8779f1cdd884f3.jpg","text":"TemporaryFile(/tmp/multipartBody7570469181702140561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214653094,"filename":"image_02052025_20_01_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3ee0411f3cce558f3c24f60516aa17e9.jpg","text":"TemporaryFile(/tmp/multipartBody2515228461894962252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214653094,"filename":"image_02052025_20_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/5/2/5ca978b63f06a1494eb679a1f6c21be5.jpg","text":"TemporaryFile(/tmp/multipartBody4229760728177308117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214653094,"filename":"image_02052025_20_01_55_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455717","file1":"1355455714","file0":"1355455710","file4":"1355455721","file5":"1355455722","file3":"1355455719"},"map_files_photo_id_array":[{"photo_id":"1355455722","filename":"file5"},{"photo_id":"1355455717","filename":"file2"},{"photo_id":"1355455721","filename":"file4"},{"photo_id":"1355455714","filename":"file1"},{"photo_id":"1355455710","filename":"file0"},{"photo_id":"1355455719","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455717":["hashtag1","hashtag2"]},{"1355455714":["hashtag1","hashtag2"]},{"1355455722":["hashtag1","hashtag2"]},{"1355455719":["hashtag1","hashtag2"]},{"1355455710":["hashtag1","hashtag2"]},{"1355455721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455717, 1355455714, 1355455722, 1355455719, 1355455710, 1355455721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21373009681702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:37:32.767501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/02/image_02052025_20_02_25_10427.jpg', '/home/pi/Desktop/images/02052025/20/02/image_02052025_20_02_34_9353.jpg', '/home/pi/Desktop/images/02052025/20/02/image_02052025_20_02_45_10386.jpg', '/home/pi/Desktop/images/02052025/20/02/image_02052025_20_02_55_10387.jpg', '/home/pi/Desktop/images/02052025/20/02/image_02052025_20_03_05_9339.jpg', '/home/pi/Desktop/images/02052025/20/03/image_02052025_20_03_15_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/02/image_02052025_20_02_25_10427.jpg
/home/pi/Desktop/images/02052025/20/02/image_02052025_20_02_34_9353.jpg
/home/pi/Desktop/images/02052025/20/02/image_02052025_20_02_45_10386.jpg
/home/pi/Desktop/images/02052025/20/02/image_02052025_20_02_55_10387.jpg
/home/pi/Desktop/images/02052025/20/02/image_02052025_20_03_05_9339.jpg
/home/pi/Desktop/images/02052025/20/03/image_02052025_20_03_15_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355455789","1355455773","1355455781","1355455784","1355455778","1355455786"],"photo_ids_order":["1355455773","1355455778","1355455781","1355455784","1355455786","1355455789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/20cb5c0707a22659e228ab802dde53d1.jpg","text":"TemporaryFile(/tmp/multipartBody954740385368382632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214713247,"filename":"image_02052025_20_03_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d4ce04caf761332bc0e05585567c8287.jpg","text":"TemporaryFile(/tmp/multipartBody7896089876844899889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214713247,"filename":"image_02052025_20_02_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/5/2/414ff93d641b8058ce9cc7751f10110e.jpg","text":"TemporaryFile(/tmp/multipartBody2799527872432664072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214713247,"filename":"image_02052025_20_02_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/5/2/0d3ef9b4191b2ef728f69cce6deeefa0.jpg","text":"TemporaryFile(/tmp/multipartBody6173276495763383727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214713247,"filename":"image_02052025_20_02_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/5/2/8fcaceb4c72583b4745a6703280d82a2.jpg","text":"TemporaryFile(/tmp/multipartBody1635837306248841680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214713247,"filename":"image_02052025_20_02_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/5/2/ac7ec711683d25e08a683b0f10c199dd.jpg","text":"TemporaryFile(/tmp/multipartBody6388871357072116038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214713247,"filename":"image_02052025_20_03_05_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455781","file1":"1355455778","file0":"1355455773","file4":"1355455786","file5":"1355455789","file3":"1355455784"},"map_files_photo_id_array":[{"photo_id":"1355455789","filename":"file5"},{"photo_id":"1355455781","filename":"file2"},{"photo_id":"1355455786","filename":"file4"},{"photo_id":"1355455778","filename":"file1"},{"photo_id":"1355455773","filename":"file0"},{"photo_id":"1355455784","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455789":["hashtag1","hashtag2"]},{"1355455773":["hashtag1","hashtag2"]},{"1355455781":["hashtag1","hashtag2"]},{"1355455784":["hashtag1","hashtag2"]},{"1355455778":["hashtag1","hashtag2"]},{"1355455786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455789, 1355455773, 1355455781, 1355455784, 1355455778, 1355455786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33549880981445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:38:32.983928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/03/image_02052025_20_03_24_9465.jpg', '/home/pi/Desktop/images/02052025/20/03/image_02052025_20_03_35_10580.jpg', '/home/pi/Desktop/images/02052025/20/03/image_02052025_20_03_44_9347.jpg', '/home/pi/Desktop/images/02052025/20/03/image_02052025_20_03_55_10434.jpg', '/home/pi/Desktop/images/02052025/20/03/image_02052025_20_04_05_10380.jpg', '/home/pi/Desktop/images/02052025/20/04/image_02052025_20_04_14_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/03/image_02052025_20_03_24_9465.jpg
/home/pi/Desktop/images/02052025/20/03/image_02052025_20_03_35_10580.jpg
/home/pi/Desktop/images/02052025/20/03/image_02052025_20_03_44_9347.jpg
/home/pi/Desktop/images/02052025/20/03/image_02052025_20_03_55_10434.jpg
/home/pi/Desktop/images/02052025/20/03/image_02052025_20_04_05_10380.jpg
/home/pi/Desktop/images/02052025/20/04/image_02052025_20_04_14_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355455834","1355455819","1355455830","1355455833","1355455826","1355455814"],"photo_ids_order":["1355455814","1355455819","1355455826","1355455830","1355455833","1355455834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fdc3042a4301d0ca1f9afdc86193a015.jpg","text":"TemporaryFile(/tmp/multipartBody3854827360250399904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214773468,"filename":"image_02052025_20_04_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/5/2/cfaafb5f584ffb7d58e41eb4ac63c6e2.jpg","text":"TemporaryFile(/tmp/multipartBody8959594361190027149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214773468,"filename":"image_02052025_20_03_35_10580.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8f2bf262f31fad84dddf1285f4f341e.jpg","text":"TemporaryFile(/tmp/multipartBody5144060362738683595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214773468,"filename":"image_02052025_20_03_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/5/2/f806fc29b3806055c7062acb16dd4400.jpg","text":"TemporaryFile(/tmp/multipartBody1074025351083546634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214773468,"filename":"image_02052025_20_04_05_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16112bcf898a3e92f8752bf9ffb3545b.jpg","text":"TemporaryFile(/tmp/multipartBody5418815864685969552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214773468,"filename":"image_02052025_20_03_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a9d280bb667e0e07d16344ecc425560.jpg","text":"TemporaryFile(/tmp/multipartBody3987657710249483156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214773468,"filename":"image_02052025_20_03_24_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455826","file1":"1355455819","file0":"1355455814","file4":"1355455833","file5":"1355455834","file3":"1355455830"},"map_files_photo_id_array":[{"photo_id":"1355455834","filename":"file5"},{"photo_id":"1355455826","filename":"file2"},{"photo_id":"1355455833","filename":"file4"},{"photo_id":"1355455819","filename":"file1"},{"photo_id":"1355455814","filename":"file0"},{"photo_id":"1355455830","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455834":["hashtag1","hashtag2"]},{"1355455819":["hashtag1","hashtag2"]},{"1355455830":["hashtag1","hashtag2"]},{"1355455833":["hashtag1","hashtag2"]},{"1355455826":["hashtag1","hashtag2"]},{"1355455814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455834, 1355455819, 1355455830, 1355455833, 1355455826, 1355455814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.448246717453 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:39:33.011672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/04/image_02052025_20_04_25_10424.jpg', '/home/pi/Desktop/images/02052025/20/04/image_02052025_20_04_34_9403.jpg', '/home/pi/Desktop/images/02052025/20/04/image_02052025_20_04_45_10350.jpg', '/home/pi/Desktop/images/02052025/20/04/image_02052025_20_04_55_10413.jpg', '/home/pi/Desktop/images/02052025/20/04/image_02052025_20_05_04_9366.jpg', '/home/pi/Desktop/images/02052025/20/05/image_02052025_20_05_15_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/04/image_02052025_20_04_25_10424.jpg
/home/pi/Desktop/images/02052025/20/04/image_02052025_20_04_34_9403.jpg
/home/pi/Desktop/images/02052025/20/04/image_02052025_20_04_45_10350.jpg
/home/pi/Desktop/images/02052025/20/04/image_02052025_20_04_55_10413.jpg
/home/pi/Desktop/images/02052025/20/04/image_02052025_20_05_04_9366.jpg
/home/pi/Desktop/images/02052025/20/05/image_02052025_20_05_15_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":["1355455893","1355455895","1355455889","1355455898","1355455897","1355455885"],"photo_ids_order":["1355455885","1355455889","1355455893","1355455895","1355455897","1355455898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dca67ff3c89b13c7ae1f885d20e878aa.jpg","text":"TemporaryFile(/tmp/multipartBody526610729887634787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214833492,"filename":"image_02052025_20_04_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/5/2/ca2f3bbd2c7cf7a89b4c567737241ffb.jpg","text":"TemporaryFile(/tmp/multipartBody7532071788896725477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214833492,"filename":"image_02052025_20_04_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/5/2/fb8e96e782afb3c2aa475fd7171542d4.jpg","text":"TemporaryFile(/tmp/multipartBody1015981763565323215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214833492,"filename":"image_02052025_20_04_34_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0c896d06f5a54fe6e8e4f323c823d590.jpg","text":"TemporaryFile(/tmp/multipartBody6028945708643474500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214833492,"filename":"image_02052025_20_05_15_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/33c7eb17607d3e283e2b4abbdb12e521.jpg","text":"TemporaryFile(/tmp/multipartBody844219135397708355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214833492,"filename":"image_02052025_20_05_04_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cb656729835de9ca3be5b40f7b7d0fa5.jpg","text":"TemporaryFile(/tmp/multipartBody1830268000261385032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214833492,"filename":"image_02052025_20_04_25_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455893","file1":"1355455889","file0":"1355455885","file4":"1355455897","file5":"1355455898","file3":"1355455895"},"map_files_photo_id_array":[{"photo_id":"1355455898","filename":"file5"},{"photo_id":"1355455893","filename":"file2"},{"photo_id":"1355455897","filename":"file4"},{"photo_id":"1355455889","filename":"file1"},{"photo_id":"1355455885","filename":"file0"},{"photo_id":"1355455895","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455893":["hashtag1","hashtag2"]},{"1355455895":["hashtag1","hashtag2"]},{"1355455889":["hashtag1","hashtag2"]},{"1355455898":["hashtag1","hashtag2"]},{"1355455897":["hashtag1","hashtag2"]},{"1355455885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455893, 1355455895, 1355455889, 1355455898, 1355455897, 1355455885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.19964909553528 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:40:32.514109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/05/image_02052025_20_05_24_9339.jpg', '/home/pi/Desktop/images/02052025/20/05/image_02052025_20_05_35_10347.jpg', '/home/pi/Desktop/images/02052025/20/05/image_02052025_20_05_45_10449.jpg', '/home/pi/Desktop/images/02052025/20/05/image_02052025_20_05_54_9355.jpg', '/home/pi/Desktop/images/02052025/20/06/image_02052025_20_06_15_10414.jpg', '/home/pi/Desktop/images/02052025/20/06/image_02052025_20_06_25_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/05/image_02052025_20_05_24_9339.jpg
/home/pi/Desktop/images/02052025/20/05/image_02052025_20_05_35_10347.jpg
/home/pi/Desktop/images/02052025/20/05/image_02052025_20_05_45_10449.jpg
/home/pi/Desktop/images/02052025/20/05/image_02052025_20_05_54_9355.jpg
/home/pi/Desktop/images/02052025/20/06/image_02052025_20_06_15_10414.jpg
/home/pi/Desktop/images/02052025/20/06/image_02052025_20_06_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":["1355455992","1355455980","1355455997","1355455985","1355455958","1355456000"],"photo_ids_order":["1355455958","1355455980","1355455985","1355455992","1355455997","1355456000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e365942d6148b4d1db8ce693fb2be193.jpg","text":"TemporaryFile(/tmp/multipartBody2702203212647859515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214892990,"filename":"image_02052025_20_05_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6321c913dd68901e80f1144c720a1945.jpg","text":"TemporaryFile(/tmp/multipartBody7305953170894235160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214892990,"filename":"image_02052025_20_05_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/5/2/20c6bd9395927cee7c7eb1a00a83e10c.jpg","text":"TemporaryFile(/tmp/multipartBody4145598183053974815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214892990,"filename":"image_02052025_20_06_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/5/2/f79d075c40fa991c7ef00fbddf84e72a.jpg","text":"TemporaryFile(/tmp/multipartBody6550377265756483682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214892990,"filename":"image_02052025_20_05_45_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3cf095ae23178d242fb04b710006133d.jpg","text":"TemporaryFile(/tmp/multipartBody8552302816604842757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214892990,"filename":"image_02052025_20_05_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c8353581df4b9376f6bd0bbb7c7af6d1.jpg","text":"TemporaryFile(/tmp/multipartBody2051645138372174428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214892990,"filename":"image_02052025_20_06_25_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355455985","file1":"1355455980","file0":"1355455958","file4":"1355455997","file5":"1355456000","file3":"1355455992"},"map_files_photo_id_array":[{"photo_id":"1355456000","filename":"file5"},{"photo_id":"1355455985","filename":"file2"},{"photo_id":"1355455997","filename":"file4"},{"photo_id":"1355455980","filename":"file1"},{"photo_id":"1355455958","filename":"file0"},{"photo_id":"1355455992","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355455992":["hashtag1","hashtag2"]},{"1355455980":["hashtag1","hashtag2"]},{"1355455997":["hashtag1","hashtag2"]},{"1355455985":["hashtag1","hashtag2"]},{"1355455958":["hashtag1","hashtag2"]},{"1355456000":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355455992, 1355455980, 1355455997, 1355455985, 1355455958, 1355456000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.0020592212677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:41:32.566827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/06/image_02052025_20_06_35_10421.jpg', '/home/pi/Desktop/images/02052025/20/06/image_02052025_20_06_44_9400.jpg', '/home/pi/Desktop/images/02052025/20/06/image_02052025_20_06_55_10505.jpg', '/home/pi/Desktop/images/02052025/20/06/image_02052025_20_07_04_9421.jpg', '/home/pi/Desktop/images/02052025/20/07/image_02052025_20_07_15_10357.jpg', '/home/pi/Desktop/images/02052025/20/07/image_02052025_20_07_25_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/06/image_02052025_20_06_35_10421.jpg
/home/pi/Desktop/images/02052025/20/06/image_02052025_20_06_44_9400.jpg
/home/pi/Desktop/images/02052025/20/06/image_02052025_20_06_55_10505.jpg
/home/pi/Desktop/images/02052025/20/06/image_02052025_20_07_04_9421.jpg
/home/pi/Desktop/images/02052025/20/07/image_02052025_20_07_15_10357.jpg
/home/pi/Desktop/images/02052025/20/07/image_02052025_20_07_25_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355456061","1355456051","1355456083","1355456086","1355456071","1355456074"],"photo_ids_order":["1355456051","1355456061","1355456071","1355456074","1355456083","1355456086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d44a338238887a868d084e6e1b50589a.jpg","text":"TemporaryFile(/tmp/multipartBody5306307581996750251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214953054,"filename":"image_02052025_20_06_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/5/2/2257943fe2d365582a9f9786412b28b7.jpg","text":"TemporaryFile(/tmp/multipartBody1324799174131611558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214953054,"filename":"image_02052025_20_06_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cb129640ca15a77ac7fe742b9f7c9146.jpg","text":"TemporaryFile(/tmp/multipartBody6463558677215686198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214953054,"filename":"image_02052025_20_07_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/5/2/5383aa1a248b519b23c3a5b80e405d92.jpg","text":"TemporaryFile(/tmp/multipartBody3181359703864572924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214953054,"filename":"image_02052025_20_07_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/5/2/eed5cb07d503c96a74e6845cf4ad1c54.jpg","text":"TemporaryFile(/tmp/multipartBody3015722502759238375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214953054,"filename":"image_02052025_20_06_55_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/954e051238defede9364a6d7e73b8801.jpg","text":"TemporaryFile(/tmp/multipartBody1773281627735322938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746214953054,"filename":"image_02052025_20_07_04_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355456071","file1":"1355456061","file0":"1355456051","file4":"1355456083","file5":"1355456086","file3":"1355456074"},"map_files_photo_id_array":[{"photo_id":"1355456086","filename":"file5"},{"photo_id":"1355456071","filename":"file2"},{"photo_id":"1355456083","filename":"file4"},{"photo_id":"1355456061","filename":"file1"},{"photo_id":"1355456051","filename":"file0"},{"photo_id":"1355456074","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355456061":["hashtag1","hashtag2"]},{"1355456051":["hashtag1","hashtag2"]},{"1355456083":["hashtag1","hashtag2"]},{"1355456086":["hashtag1","hashtag2"]},{"1355456071":["hashtag1","hashtag2"]},{"1355456074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355456061, 1355456051, 1355456083, 1355456086, 1355456071, 1355456074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16586661338806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:42:32.772914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/07/image_02052025_20_07_34_9353.jpg', '/home/pi/Desktop/images/02052025/20/07/image_02052025_20_07_45_10438.jpg', '/home/pi/Desktop/images/02052025/20/07/image_02052025_20_07_54_9351.jpg', '/home/pi/Desktop/images/02052025/20/07/image_02052025_20_08_05_10526.jpg', '/home/pi/Desktop/images/02052025/20/08/image_02052025_20_08_15_10354.jpg', '/home/pi/Desktop/images/02052025/20/08/image_02052025_20_08_25_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/07/image_02052025_20_07_34_9353.jpg
/home/pi/Desktop/images/02052025/20/07/image_02052025_20_07_45_10438.jpg
/home/pi/Desktop/images/02052025/20/07/image_02052025_20_07_54_9351.jpg
/home/pi/Desktop/images/02052025/20/07/image_02052025_20_08_05_10526.jpg
/home/pi/Desktop/images/02052025/20/08/image_02052025_20_08_15_10354.jpg
/home/pi/Desktop/images/02052025/20/08/image_02052025_20_08_25_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":["1355456142","1355456121","1355456117","1355456132","1355456114","1355456125"],"photo_ids_order":["1355456114","1355456117","1355456121","1355456125","1355456132","1355456142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86fe0210a236e559bee551c6aa299cc1.jpg","text":"TemporaryFile(/tmp/multipartBody9165019197222462853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215013263,"filename":"image_02052025_20_08_25_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3a1978b78edafc07967ba5b7705b1ee.jpg","text":"TemporaryFile(/tmp/multipartBody2610148250141679067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215013263,"filename":"image_02052025_20_07_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/5/2/4312203e0acaf378f63aaf2018940e0f.jpg","text":"TemporaryFile(/tmp/multipartBody8638474072842439314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215013263,"filename":"image_02052025_20_07_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bdeb066d853d8b094515b0cd28c7386e.jpg","text":"TemporaryFile(/tmp/multipartBody5633945330392025999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215013263,"filename":"image_02052025_20_08_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/5/2/e369ae0f5e21f618c7b061d65bf95ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8441138054162012026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215013263,"filename":"image_02052025_20_07_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/5/2/2835835d69804be8f057b1159faafd27.jpg","text":"TemporaryFile(/tmp/multipartBody688392404058385985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215013263,"filename":"image_02052025_20_08_05_10526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355456121","file1":"1355456117","file0":"1355456114","file4":"1355456132","file5":"1355456142","file3":"1355456125"},"map_files_photo_id_array":[{"photo_id":"1355456142","filename":"file5"},{"photo_id":"1355456121","filename":"file2"},{"photo_id":"1355456132","filename":"file4"},{"photo_id":"1355456117","filename":"file1"},{"photo_id":"1355456114","filename":"file0"},{"photo_id":"1355456125","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355456142":["hashtag1","hashtag2"]},{"1355456121":["hashtag1","hashtag2"]},{"1355456117":["hashtag1","hashtag2"]},{"1355456132":["hashtag1","hashtag2"]},{"1355456114":["hashtag1","hashtag2"]},{"1355456125":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355456142, 1355456121, 1355456117, 1355456132, 1355456114, 1355456125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48511004447937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:43:32.971779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/08/image_02052025_20_08_35_10386.jpg', '/home/pi/Desktop/images/02052025/20/08/image_02052025_20_08_44_9362.jpg', '/home/pi/Desktop/images/02052025/20/08/image_02052025_20_08_55_10374.jpg', '/home/pi/Desktop/images/02052025/20/08/image_02052025_20_09_05_10422.jpg', '/home/pi/Desktop/images/02052025/20/09/image_02052025_20_09_14_9368.jpg', '/home/pi/Desktop/images/02052025/20/09/image_02052025_20_09_25_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/08/image_02052025_20_08_35_10386.jpg
/home/pi/Desktop/images/02052025/20/08/image_02052025_20_08_44_9362.jpg
/home/pi/Desktop/images/02052025/20/08/image_02052025_20_08_55_10374.jpg
/home/pi/Desktop/images/02052025/20/08/image_02052025_20_09_05_10422.jpg
/home/pi/Desktop/images/02052025/20/09/image_02052025_20_09_14_9368.jpg
/home/pi/Desktop/images/02052025/20/09/image_02052025_20_09_25_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355456311","1355456337","1355456387","1355456453","1355456414","1355456362"],"photo_ids_order":["1355456311","1355456337","1355456362","1355456387","1355456414","1355456453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49092dfd8864128f420905c91733af0c.jpg","text":"TemporaryFile(/tmp/multipartBody8894347348937890678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215073458,"filename":"image_02052025_20_08_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8534eb16d3338144e83f0775c67c4e34.jpg","text":"TemporaryFile(/tmp/multipartBody7985966578055374978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215073458,"filename":"image_02052025_20_08_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/5/2/ca041de951f86953a1924b33e32cce9c.jpg","text":"TemporaryFile(/tmp/multipartBody539393861068999169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215073458,"filename":"image_02052025_20_09_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/62c714f50ced5c165d9d7566f8babc64.jpg","text":"TemporaryFile(/tmp/multipartBody3297622165623632773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215073458,"filename":"image_02052025_20_09_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/5/2/f671dc19528bdcad87c028df89f06769.jpg","text":"TemporaryFile(/tmp/multipartBody5292378837289621135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215073458,"filename":"image_02052025_20_09_14_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c3d45a585077e1bfaeb9340139b8882d.jpg","text":"TemporaryFile(/tmp/multipartBody6615522158888140040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215073458,"filename":"image_02052025_20_08_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355456362","file1":"1355456337","file0":"1355456311","file4":"1355456414","file5":"1355456453","file3":"1355456387"},"map_files_photo_id_array":[{"photo_id":"1355456453","filename":"file5"},{"photo_id":"1355456362","filename":"file2"},{"photo_id":"1355456414","filename":"file4"},{"photo_id":"1355456337","filename":"file1"},{"photo_id":"1355456311","filename":"file0"},{"photo_id":"1355456387","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355456311":["hashtag1","hashtag2"]},{"1355456337":["hashtag1","hashtag2"]},{"1355456387":["hashtag1","hashtag2"]},{"1355456453":["hashtag1","hashtag2"]},{"1355456414":["hashtag1","hashtag2"]},{"1355456362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355456311, 1355456337, 1355456387, 1355456453, 1355456414, 1355456362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.959800243377686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:44:32.959407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/09/image_02052025_20_09_35_10365.jpg', '/home/pi/Desktop/images/02052025/20/09/image_02052025_20_09_45_9359.jpg', '/home/pi/Desktop/images/02052025/20/09/image_02052025_20_09_55_10370.jpg', '/home/pi/Desktop/images/02052025/20/09/image_02052025_20_10_04_9433.jpg', '/home/pi/Desktop/images/02052025/20/10/image_02052025_20_10_15_10512.jpg', '/home/pi/Desktop/images/02052025/20/10/image_02052025_20_10_24_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/09/image_02052025_20_09_35_10365.jpg
/home/pi/Desktop/images/02052025/20/09/image_02052025_20_09_45_9359.jpg
/home/pi/Desktop/images/02052025/20/09/image_02052025_20_09_55_10370.jpg
/home/pi/Desktop/images/02052025/20/09/image_02052025_20_10_04_9433.jpg
/home/pi/Desktop/images/02052025/20/10/image_02052025_20_10_15_10512.jpg
/home/pi/Desktop/images/02052025/20/10/image_02052025_20_10_24_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355456799","1355456769","1355456739","1355456703","1355456675","1355456635"],"photo_ids_order":["1355456635","1355456675","1355456703","1355456739","1355456769","1355456799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/31feaec4b4e7661ef7bbce6fedcee3a6.jpg","text":"TemporaryFile(/tmp/multipartBody6060904007041792771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215133433,"filename":"image_02052025_20_10_24_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5298b5890a7a038c3b7e8271b3c9d25e.jpg","text":"TemporaryFile(/tmp/multipartBody5254648172421714790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215133433,"filename":"image_02052025_20_10_15_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f030cdb1b34e786c68d3e4313e816c33.jpg","text":"TemporaryFile(/tmp/multipartBody4348156658399614896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215133433,"filename":"image_02052025_20_10_04_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa3f976a190404d5099479a7a98d4d82.jpg","text":"TemporaryFile(/tmp/multipartBody7975592355907734793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215133433,"filename":"image_02052025_20_09_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/5/2/816c41af51d45bb5657ec328f32b8fd0.jpg","text":"TemporaryFile(/tmp/multipartBody4372772371383048093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215133433,"filename":"image_02052025_20_09_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/5/2/1e7dbcb4053685b43fd34e5aaa742e97.jpg","text":"TemporaryFile(/tmp/multipartBody6793943229674626994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215133433,"filename":"image_02052025_20_09_35_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355456703","file1":"1355456675","file0":"1355456635","file4":"1355456769","file5":"1355456799","file3":"1355456739"},"map_files_photo_id_array":[{"photo_id":"1355456799","filename":"file5"},{"photo_id":"1355456703","filename":"file2"},{"photo_id":"1355456769","filename":"file4"},{"photo_id":"1355456675","filename":"file1"},{"photo_id":"1355456635","filename":"file0"},{"photo_id":"1355456739","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355456799":["hashtag1","hashtag2"]},{"1355456769":["hashtag1","hashtag2"]},{"1355456739":["hashtag1","hashtag2"]},{"1355456703":["hashtag1","hashtag2"]},{"1355456675":["hashtag1","hashtag2"]},{"1355456635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355456799, 1355456769, 1355456739, 1355456703, 1355456675, 1355456635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.73296356201172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:45:33.152043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/10/image_02052025_20_10_35_10426.jpg', '/home/pi/Desktop/images/02052025/20/10/image_02052025_20_10_45_10449.jpg', '/home/pi/Desktop/images/02052025/20/10/image_02052025_20_10_54_9395.jpg', '/home/pi/Desktop/images/02052025/20/10/image_02052025_20_11_05_10360.jpg', '/home/pi/Desktop/images/02052025/20/11/image_02052025_20_11_14_9447.jpg', '/home/pi/Desktop/images/02052025/20/11/image_02052025_20_11_25_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/10/image_02052025_20_10_35_10426.jpg
/home/pi/Desktop/images/02052025/20/10/image_02052025_20_10_45_10449.jpg
/home/pi/Desktop/images/02052025/20/10/image_02052025_20_10_54_9395.jpg
/home/pi/Desktop/images/02052025/20/10/image_02052025_20_11_05_10360.jpg
/home/pi/Desktop/images/02052025/20/11/image_02052025_20_11_14_9447.jpg
/home/pi/Desktop/images/02052025/20/11/image_02052025_20_11_25_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355456952","1355456946","1355456919","1355456933","1355456956","1355456953"],"photo_ids_order":["1355456919","1355456933","1355456946","1355456952","1355456953","1355456956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/85309266f3f5b00655b886ced681a37d.jpg","text":"TemporaryFile(/tmp/multipartBody8439140585555178316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215193643,"filename":"image_02052025_20_11_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/5/2/d120b7cd7c70ed9263d28dab0a05d9a8.jpg","text":"TemporaryFile(/tmp/multipartBody2901005007442915306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215193643,"filename":"image_02052025_20_10_54_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6986d6cb7c430cea822f30f133f12602.jpg","text":"TemporaryFile(/tmp/multipartBody5152119141271149108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215193643,"filename":"image_02052025_20_10_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/5/2/1c4c9ea2c5282005cab75ebd9412f55d.jpg","text":"TemporaryFile(/tmp/multipartBody2650328326901044006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215193643,"filename":"image_02052025_20_10_45_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2d9e17bdd397450666919ca33facc9dc.jpg","text":"TemporaryFile(/tmp/multipartBody2441320008731050917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215193643,"filename":"image_02052025_20_11_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/5/2/794d77d46fc826ad4ef2431899253919.jpg","text":"TemporaryFile(/tmp/multipartBody4051652580804740994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215193643,"filename":"image_02052025_20_11_14_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355456946","file1":"1355456933","file0":"1355456919","file4":"1355456953","file5":"1355456956","file3":"1355456952"},"map_files_photo_id_array":[{"photo_id":"1355456956","filename":"file5"},{"photo_id":"1355456946","filename":"file2"},{"photo_id":"1355456953","filename":"file4"},{"photo_id":"1355456933","filename":"file1"},{"photo_id":"1355456919","filename":"file0"},{"photo_id":"1355456952","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355456952":["hashtag1","hashtag2"]},{"1355456946":["hashtag1","hashtag2"]},{"1355456919":["hashtag1","hashtag2"]},{"1355456933":["hashtag1","hashtag2"]},{"1355456956":["hashtag1","hashtag2"]},{"1355456953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355456952, 1355456946, 1355456919, 1355456933, 1355456956, 1355456953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.05200457572937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:46:32.216446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/11/image_02052025_20_11_35_10383.jpg', '/home/pi/Desktop/images/02052025/20/11/image_02052025_20_11_55_10422.jpg', '/home/pi/Desktop/images/02052025/20/11/image_02052025_20_12_05_10357.jpg', '/home/pi/Desktop/images/02052025/20/12/image_02052025_20_12_15_9354.jpg', '/home/pi/Desktop/images/02052025/20/12/image_02052025_20_12_25_10374.jpg', '/home/pi/Desktop/images/02052025/20/12/image_02052025_20_12_34_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/11/image_02052025_20_11_35_10383.jpg
/home/pi/Desktop/images/02052025/20/11/image_02052025_20_11_55_10422.jpg
/home/pi/Desktop/images/02052025/20/11/image_02052025_20_12_05_10357.jpg
/home/pi/Desktop/images/02052025/20/12/image_02052025_20_12_15_9354.jpg
/home/pi/Desktop/images/02052025/20/12/image_02052025_20_12_25_10374.jpg
/home/pi/Desktop/images/02052025/20/12/image_02052025_20_12_34_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355457081","1355457083","1355457077","1355457062","1355457070","1355457067"],"photo_ids_order":["1355457062","1355457067","1355457070","1355457077","1355457081","1355457083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65bcb146dc2a98fa031341d2d8ca0684.jpg","text":"TemporaryFile(/tmp/multipartBody6363014369122816753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215252690,"filename":"image_02052025_20_12_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3555fc9c4551272906e2ed2348ca5757.jpg","text":"TemporaryFile(/tmp/multipartBody3362324322365089971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215252690,"filename":"image_02052025_20_12_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/51c72d1c3632cfc099b774abbbc6d14e.jpg","text":"TemporaryFile(/tmp/multipartBody7230042436369474280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215252690,"filename":"image_02052025_20_12_15_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d4ab81e56305d0b1d89374c9c268c55f.jpg","text":"TemporaryFile(/tmp/multipartBody5316975965510661507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215252690,"filename":"image_02052025_20_11_35_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cbc3fc736ecebba7e5cf0401fa2d30d8.jpg","text":"TemporaryFile(/tmp/multipartBody5481693157405471266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215252690,"filename":"image_02052025_20_12_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/5/2/df92897a03365341cb1b2db0418d5540.jpg","text":"TemporaryFile(/tmp/multipartBody2361312880730286680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215252690,"filename":"image_02052025_20_11_55_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355457070","file1":"1355457067","file0":"1355457062","file4":"1355457081","file5":"1355457083","file3":"1355457077"},"map_files_photo_id_array":[{"photo_id":"1355457083","filename":"file5"},{"photo_id":"1355457070","filename":"file2"},{"photo_id":"1355457081","filename":"file4"},{"photo_id":"1355457067","filename":"file1"},{"photo_id":"1355457062","filename":"file0"},{"photo_id":"1355457077","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355457081":["hashtag1","hashtag2"]},{"1355457083":["hashtag1","hashtag2"]},{"1355457077":["hashtag1","hashtag2"]},{"1355457062":["hashtag1","hashtag2"]},{"1355457070":["hashtag1","hashtag2"]},{"1355457067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355457081, 1355457083, 1355457077, 1355457062, 1355457070, 1355457067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.170276641845703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:47:32.464861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/12/image_02052025_20_12_45_10359.jpg', '/home/pi/Desktop/images/02052025/20/12/image_02052025_20_12_55_10374.jpg', '/home/pi/Desktop/images/02052025/20/12/image_02052025_20_13_04_9353.jpg', '/home/pi/Desktop/images/02052025/20/13/image_02052025_20_13_15_10424.jpg', '/home/pi/Desktop/images/02052025/20/13/image_02052025_20_13_25_10367.jpg', '/home/pi/Desktop/images/02052025/20/13/image_02052025_20_13_34_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/12/image_02052025_20_12_45_10359.jpg
/home/pi/Desktop/images/02052025/20/12/image_02052025_20_12_55_10374.jpg
/home/pi/Desktop/images/02052025/20/12/image_02052025_20_13_04_9353.jpg
/home/pi/Desktop/images/02052025/20/13/image_02052025_20_13_15_10424.jpg
/home/pi/Desktop/images/02052025/20/13/image_02052025_20_13_25_10367.jpg
/home/pi/Desktop/images/02052025/20/13/image_02052025_20_13_34_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":["1355457201","1355457206","1355457209","1355457196","1355457211","1355457214"],"photo_ids_order":["1355457196","1355457201","1355457206","1355457209","1355457211","1355457214"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b85511ef5dccd9e2503969826152981e.jpg","text":"TemporaryFile(/tmp/multipartBody1304753923719455339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215312953,"filename":"image_02052025_20_12_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/5/2/358824212c72e904fcc9c509979c3186.jpg","text":"TemporaryFile(/tmp/multipartBody4476532585800764878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215312953,"filename":"image_02052025_20_13_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eaa00c1a78773002873886b62f6ac492.jpg","text":"TemporaryFile(/tmp/multipartBody2677670628345042446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215312953,"filename":"image_02052025_20_13_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/5/2/0dbfbf9d3b749a095810668037c91e71.jpg","text":"TemporaryFile(/tmp/multipartBody2970560331226481490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215312953,"filename":"image_02052025_20_12_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/5/2/d9b16d2f68c783a51f2a7abfe05890d7.jpg","text":"TemporaryFile(/tmp/multipartBody5850398239835125929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215312953,"filename":"image_02052025_20_13_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/5/2/90a5d3c870f8202854382b0888a9ebaa.jpg","text":"TemporaryFile(/tmp/multipartBody6123741943705290635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215312953,"filename":"image_02052025_20_13_34_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355457206","file1":"1355457201","file0":"1355457196","file4":"1355457211","file5":"1355457214","file3":"1355457209"},"map_files_photo_id_array":[{"photo_id":"1355457214","filename":"file5"},{"photo_id":"1355457206","filename":"file2"},{"photo_id":"1355457211","filename":"file4"},{"photo_id":"1355457201","filename":"file1"},{"photo_id":"1355457196","filename":"file0"},{"photo_id":"1355457209","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355457201":["hashtag1","hashtag2"]},{"1355457206":["hashtag1","hashtag2"]},{"1355457209":["hashtag1","hashtag2"]},{"1355457196":["hashtag1","hashtag2"]},{"1355457211":["hashtag1","hashtag2"]},{"1355457214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355457201, 1355457206, 1355457209, 1355457196, 1355457211, 1355457214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.982054471969604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:48:32.698306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/13/image_02052025_20_13_45_10396.jpg', '/home/pi/Desktop/images/02052025/20/13/image_02052025_20_13_54_9361.jpg', '/home/pi/Desktop/images/02052025/20/13/image_02052025_20_14_05_10375.jpg', '/home/pi/Desktop/images/02052025/20/14/image_02052025_20_14_15_10405.jpg', '/home/pi/Desktop/images/02052025/20/14/image_02052025_20_14_24_9357.jpg', '/home/pi/Desktop/images/02052025/20/14/image_02052025_20_14_45_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/13/image_02052025_20_13_45_10396.jpg
/home/pi/Desktop/images/02052025/20/13/image_02052025_20_13_54_9361.jpg
/home/pi/Desktop/images/02052025/20/13/image_02052025_20_14_05_10375.jpg
/home/pi/Desktop/images/02052025/20/14/image_02052025_20_14_15_10405.jpg
/home/pi/Desktop/images/02052025/20/14/image_02052025_20_14_24_9357.jpg
/home/pi/Desktop/images/02052025/20/14/image_02052025_20_14_45_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355457264","1355457261","1355457255","1355457266","1355457247","1355457259"],"photo_ids_order":["1355457247","1355457255","1355457259","1355457261","1355457264","1355457266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6751b54fed46afd4ff5d05a533bba186.jpg","text":"TemporaryFile(/tmp/multipartBody3416748411210090178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215373245,"filename":"image_02052025_20_14_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/5/2/63397e6e5319f205cffca0e2e256c3b2.jpg","text":"TemporaryFile(/tmp/multipartBody3032158334511447538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215373245,"filename":"image_02052025_20_14_15_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3fd591e85d0d7c8d6136dfb427ec5523.jpg","text":"TemporaryFile(/tmp/multipartBody3428294266875876068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215373245,"filename":"image_02052025_20_13_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a8f486650c3ad1b8db91d868251bb0b9.jpg","text":"TemporaryFile(/tmp/multipartBody5135633595193842550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215373245,"filename":"image_02052025_20_14_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/5/2/456fe29edd6c5e3b3ea922e191ee4370.jpg","text":"TemporaryFile(/tmp/multipartBody6062274342668647022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215373245,"filename":"image_02052025_20_13_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/5/2/5aaef3fa3fcc370f1b9c04958335d9f2.jpg","text":"TemporaryFile(/tmp/multipartBody8025658241604035666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215373245,"filename":"image_02052025_20_14_05_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355457259","file1":"1355457255","file0":"1355457247","file4":"1355457264","file5":"1355457266","file3":"1355457261"},"map_files_photo_id_array":[{"photo_id":"1355457266","filename":"file5"},{"photo_id":"1355457259","filename":"file2"},{"photo_id":"1355457264","filename":"file4"},{"photo_id":"1355457255","filename":"file1"},{"photo_id":"1355457247","filename":"file0"},{"photo_id":"1355457261","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355457264":["hashtag1","hashtag2"]},{"1355457261":["hashtag1","hashtag2"]},{"1355457255":["hashtag1","hashtag2"]},{"1355457266":["hashtag1","hashtag2"]},{"1355457247":["hashtag1","hashtag2"]},{"1355457259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355457264, 1355457261, 1355457255, 1355457266, 1355457247, 1355457259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85767865180969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:49:32.952687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/14/image_02052025_20_14_55_9360.jpg', '/home/pi/Desktop/images/02052025/20/14/image_02052025_20_15_05_10434.jpg', '/home/pi/Desktop/images/02052025/20/15/image_02052025_20_15_14_9360.jpg', '/home/pi/Desktop/images/02052025/20/15/image_02052025_20_15_25_10379.jpg', '/home/pi/Desktop/images/02052025/20/15/image_02052025_20_15_35_10405.jpg', '/home/pi/Desktop/images/02052025/20/15/image_02052025_20_15_44_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/14/image_02052025_20_14_55_9360.jpg
/home/pi/Desktop/images/02052025/20/14/image_02052025_20_15_05_10434.jpg
/home/pi/Desktop/images/02052025/20/15/image_02052025_20_15_14_9360.jpg
/home/pi/Desktop/images/02052025/20/15/image_02052025_20_15_25_10379.jpg
/home/pi/Desktop/images/02052025/20/15/image_02052025_20_15_35_10405.jpg
/home/pi/Desktop/images/02052025/20/15/image_02052025_20_15_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":["1355457293","1355457305","1355457329","1355457314","1355457298","1355457316"],"photo_ids_order":["1355457293","1355457298","1355457305","1355457314","1355457316","1355457329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0074adf12a3ea1e4efc0b8b08c06b7c4.jpg","text":"TemporaryFile(/tmp/multipartBody5214488092066828925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215433426,"filename":"image_02052025_20_14_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/5/2/53370262de54926777bde0af9e34d701.jpg","text":"TemporaryFile(/tmp/multipartBody3190242108716759719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215433426,"filename":"image_02052025_20_15_14_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e653d0551643775f8aa5f509db018ec.jpg","text":"TemporaryFile(/tmp/multipartBody2630295406152574710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215433426,"filename":"image_02052025_20_15_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/5/2/e82e1d18f00aec9815c2bac3b2ca9ad4.jpg","text":"TemporaryFile(/tmp/multipartBody2478925888721495379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215433426,"filename":"image_02052025_20_15_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/5/2/10077793f30b14d7a233e10571c057bf.jpg","text":"TemporaryFile(/tmp/multipartBody1737661138064903302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215433426,"filename":"image_02052025_20_15_05_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f53abb2d5e960ae7822f22ea0cb38e7.jpg","text":"TemporaryFile(/tmp/multipartBody4175789071437285723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215433426,"filename":"image_02052025_20_15_35_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355457305","file1":"1355457298","file0":"1355457293","file4":"1355457316","file5":"1355457329","file3":"1355457314"},"map_files_photo_id_array":[{"photo_id":"1355457329","filename":"file5"},{"photo_id":"1355457305","filename":"file2"},{"photo_id":"1355457316","filename":"file4"},{"photo_id":"1355457298","filename":"file1"},{"photo_id":"1355457293","filename":"file0"},{"photo_id":"1355457314","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355457293":["hashtag1","hashtag2"]},{"1355457305":["hashtag1","hashtag2"]},{"1355457329":["hashtag1","hashtag2"]},{"1355457314":["hashtag1","hashtag2"]},{"1355457298":["hashtag1","hashtag2"]},{"1355457316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355457293, 1355457305, 1355457329, 1355457314, 1355457298, 1355457316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.203526973724365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:50:33.084664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/15/image_02052025_20_15_55_10425.jpg', '/home/pi/Desktop/images/02052025/20/15/image_02052025_20_16_04_9340.jpg', '/home/pi/Desktop/images/02052025/20/16/image_02052025_20_16_15_10378.jpg', '/home/pi/Desktop/images/02052025/20/16/image_02052025_20_16_25_10366.jpg', '/home/pi/Desktop/images/02052025/20/16/image_02052025_20_16_34_9343.jpg', '/home/pi/Desktop/images/02052025/20/16/image_02052025_20_16_45_10527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/15/image_02052025_20_15_55_10425.jpg
/home/pi/Desktop/images/02052025/20/15/image_02052025_20_16_04_9340.jpg
/home/pi/Desktop/images/02052025/20/16/image_02052025_20_16_15_10378.jpg
/home/pi/Desktop/images/02052025/20/16/image_02052025_20_16_25_10366.jpg
/home/pi/Desktop/images/02052025/20/16/image_02052025_20_16_34_9343.jpg
/home/pi/Desktop/images/02052025/20/16/image_02052025_20_16_45_10527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355457384","1355457369","1355457362","1355457385","1355457379","1355457367"],"photo_ids_order":["1355457362","1355457367","1355457369","1355457379","1355457384","1355457385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d9b4cf2502a95a51603c4a51d79f30c.jpg","text":"TemporaryFile(/tmp/multipartBody1023072264623065496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215493553,"filename":"image_02052025_20_16_34_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d4430f22912bfc37b731410c4b9021e2.jpg","text":"TemporaryFile(/tmp/multipartBody7321053936627057756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215493553,"filename":"image_02052025_20_16_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec1749c5d18b1703e6e33c6157c7bebd.jpg","text":"TemporaryFile(/tmp/multipartBody4639516009905473720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215493553,"filename":"image_02052025_20_15_55_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f234757d6d90e819ea3c24ca1a06c477.jpg","text":"TemporaryFile(/tmp/multipartBody3405323450073400604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215493553,"filename":"image_02052025_20_16_45_10527.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fcbc4dd6ca7aad15b263a8c6dde1453b.jpg","text":"TemporaryFile(/tmp/multipartBody4000232420145113503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215493553,"filename":"image_02052025_20_16_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/5/2/2fa2b498fde713e57db50e0002c7b4ce.jpg","text":"TemporaryFile(/tmp/multipartBody3109764211036028367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215493553,"filename":"image_02052025_20_16_04_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355457369","file1":"1355457367","file0":"1355457362","file4":"1355457384","file5":"1355457385","file3":"1355457379"},"map_files_photo_id_array":[{"photo_id":"1355457385","filename":"file5"},{"photo_id":"1355457369","filename":"file2"},{"photo_id":"1355457384","filename":"file4"},{"photo_id":"1355457367","filename":"file1"},{"photo_id":"1355457362","filename":"file0"},{"photo_id":"1355457379","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355457384":["hashtag1","hashtag2"]},{"1355457369":["hashtag1","hashtag2"]},{"1355457362":["hashtag1","hashtag2"]},{"1355457385":["hashtag1","hashtag2"]},{"1355457379":["hashtag1","hashtag2"]},{"1355457367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355457384, 1355457369, 1355457362, 1355457385, 1355457379, 1355457367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.813464641571045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:51:32.241720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/16/image_02052025_20_16_55_10357.jpg', '/home/pi/Desktop/images/02052025/20/16/image_02052025_20_17_05_9458.jpg', '/home/pi/Desktop/images/02052025/20/17/image_02052025_20_17_44_9368.jpg', '/home/pi/Desktop/images/02052025/20/17/image_02052025_20_17_55_10373.jpg', '/home/pi/Desktop/images/02052025/20/18/image_02052025_20_18_25_10410.jpg', '/home/pi/Desktop/images/02052025/20/18/image_02052025_20_18_35_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/16/image_02052025_20_16_55_10357.jpg
/home/pi/Desktop/images/02052025/20/16/image_02052025_20_17_05_9458.jpg
/home/pi/Desktop/images/02052025/20/17/image_02052025_20_17_44_9368.jpg
/home/pi/Desktop/images/02052025/20/17/image_02052025_20_17_55_10373.jpg
/home/pi/Desktop/images/02052025/20/18/image_02052025_20_18_25_10410.jpg
/home/pi/Desktop/images/02052025/20/18/image_02052025_20_18_35_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355457737","1355457685","1355457772","1355457646","1355457574","1355457619"],"photo_ids_order":["1355457574","1355457619","1355457646","1355457685","1355457737","1355457772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4896eeaa9b33dd2ec99f941552e79910.jpg","text":"TemporaryFile(/tmp/multipartBody3965950089412558139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215552715,"filename":"image_02052025_20_18_25_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/957581bff16cba73eef4658b1c6e5582.jpg","text":"TemporaryFile(/tmp/multipartBody7786307151244785989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215552715,"filename":"image_02052025_20_17_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/5/2/e873786cfe20bc39ede7a1a917d60981.jpg","text":"TemporaryFile(/tmp/multipartBody5799871883882771964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215552715,"filename":"image_02052025_20_18_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/5/2/117f9c5433a307f5f5d7211e6417c7e2.jpg","text":"TemporaryFile(/tmp/multipartBody7253648425674149479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215552715,"filename":"image_02052025_20_17_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/5/2/c3265769ad878412891a5b18fb06a3e3.jpg","text":"TemporaryFile(/tmp/multipartBody4511653672345418421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215552715,"filename":"image_02052025_20_16_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/5/2/e1c1bfc0b5320e230eecb1378c349408.jpg","text":"TemporaryFile(/tmp/multipartBody2897522865983509523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215552715,"filename":"image_02052025_20_17_05_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355457646","file1":"1355457619","file0":"1355457574","file4":"1355457737","file5":"1355457772","file3":"1355457685"},"map_files_photo_id_array":[{"photo_id":"1355457772","filename":"file5"},{"photo_id":"1355457646","filename":"file2"},{"photo_id":"1355457737","filename":"file4"},{"photo_id":"1355457619","filename":"file1"},{"photo_id":"1355457574","filename":"file0"},{"photo_id":"1355457685","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355457737":["hashtag1","hashtag2"]},{"1355457685":["hashtag1","hashtag2"]},{"1355457772":["hashtag1","hashtag2"]},{"1355457646":["hashtag1","hashtag2"]},{"1355457574":["hashtag1","hashtag2"]},{"1355457619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355457737, 1355457685, 1355457772, 1355457646, 1355457574, 1355457619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.749210357666016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:52:32.485798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/18/image_02052025_20_18_44_9355.jpg', '/home/pi/Desktop/images/02052025/20/18/image_02052025_20_18_55_10452.jpg', '/home/pi/Desktop/images/02052025/20/18/image_02052025_20_19_04_9355.jpg', '/home/pi/Desktop/images/02052025/20/19/image_02052025_20_19_15_10356.jpg', '/home/pi/Desktop/images/02052025/20/19/image_02052025_20_19_25_10453.jpg', '/home/pi/Desktop/images/02052025/20/19/image_02052025_20_19_34_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/18/image_02052025_20_18_44_9355.jpg
/home/pi/Desktop/images/02052025/20/18/image_02052025_20_18_55_10452.jpg
/home/pi/Desktop/images/02052025/20/18/image_02052025_20_19_04_9355.jpg
/home/pi/Desktop/images/02052025/20/19/image_02052025_20_19_15_10356.jpg
/home/pi/Desktop/images/02052025/20/19/image_02052025_20_19_25_10453.jpg
/home/pi/Desktop/images/02052025/20/19/image_02052025_20_19_34_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":["1355457933","1355457936","1355457918","1355457935","1355457929","1355457937"],"photo_ids_order":["1355457918","1355457929","1355457933","1355457935","1355457936","1355457937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec94f0b6beb95a9c4fb07cc9a1c9e209.jpg","text":"TemporaryFile(/tmp/multipartBody712392598973071661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215612970,"filename":"image_02052025_20_19_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/5/2/231169ad800416c54c6daab71777e7d6.jpg","text":"TemporaryFile(/tmp/multipartBody7681454015724586329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215612970,"filename":"image_02052025_20_19_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/5/2/6a3597662cfa356dc5fc4a835a4799f1.jpg","text":"TemporaryFile(/tmp/multipartBody6709007274382291304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215612970,"filename":"image_02052025_20_18_44_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d1f09cf9459d3980a3b55d2eac485214.jpg","text":"TemporaryFile(/tmp/multipartBody976094974246368321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215612970,"filename":"image_02052025_20_19_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/5/2/7439c23a781783a3711b07dacaa9f22d.jpg","text":"TemporaryFile(/tmp/multipartBody4485622094427286552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215612970,"filename":"image_02052025_20_18_55_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ffef6afd927609b228986ae91077908f.jpg","text":"TemporaryFile(/tmp/multipartBody184517608881860543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215612970,"filename":"image_02052025_20_19_34_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355457933","file1":"1355457929","file0":"1355457918","file4":"1355457936","file5":"1355457937","file3":"1355457935"},"map_files_photo_id_array":[{"photo_id":"1355457937","filename":"file5"},{"photo_id":"1355457933","filename":"file2"},{"photo_id":"1355457936","filename":"file4"},{"photo_id":"1355457929","filename":"file1"},{"photo_id":"1355457918","filename":"file0"},{"photo_id":"1355457935","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355457933":["hashtag1","hashtag2"]},{"1355457936":["hashtag1","hashtag2"]},{"1355457918":["hashtag1","hashtag2"]},{"1355457935":["hashtag1","hashtag2"]},{"1355457929":["hashtag1","hashtag2"]},{"1355457937":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355457933, 1355457936, 1355457918, 1355457935, 1355457929, 1355457937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.196229696273804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:53:32.634261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/19/image_02052025_20_19_45_10443.jpg', '/home/pi/Desktop/images/02052025/20/19/image_02052025_20_19_54_9345.jpg', '/home/pi/Desktop/images/02052025/20/19/image_02052025_20_20_05_10355.jpg', '/home/pi/Desktop/images/02052025/20/20/image_02052025_20_20_15_10350.jpg', '/home/pi/Desktop/images/02052025/20/20/image_02052025_20_20_24_9428.jpg', '/home/pi/Desktop/images/02052025/20/20/image_02052025_20_20_35_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/19/image_02052025_20_19_45_10443.jpg
/home/pi/Desktop/images/02052025/20/19/image_02052025_20_19_54_9345.jpg
/home/pi/Desktop/images/02052025/20/19/image_02052025_20_20_05_10355.jpg
/home/pi/Desktop/images/02052025/20/20/image_02052025_20_20_15_10350.jpg
/home/pi/Desktop/images/02052025/20/20/image_02052025_20_20_24_9428.jpg
/home/pi/Desktop/images/02052025/20/20/image_02052025_20_20_35_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355457972","1355457974","1355457968","1355457977","1355457970","1355457961"],"photo_ids_order":["1355457961","1355457968","1355457970","1355457972","1355457974","1355457977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/696c1463db157cf7bc40c0283c3c3881.jpg","text":"TemporaryFile(/tmp/multipartBody5923089455214378778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215673106,"filename":"image_02052025_20_20_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/5/2/2e0d1de788719bd7a3e6bdc09001601f.jpg","text":"TemporaryFile(/tmp/multipartBody3158324069501999998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215673106,"filename":"image_02052025_20_20_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/5/2/9254395724bb5671f58120dda16df794.jpg","text":"TemporaryFile(/tmp/multipartBody1300404409757513403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215673106,"filename":"image_02052025_20_19_54_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3d63573b1a553674b8aec4fe2c754a2.jpg","text":"TemporaryFile(/tmp/multipartBody8874717149734769258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215673106,"filename":"image_02052025_20_20_35_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/387adde340da4bae96c583bb005bd956.jpg","text":"TemporaryFile(/tmp/multipartBody8551316278909254803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215673106,"filename":"image_02052025_20_20_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/5/2/ff86a7ee0e7ef56fc3bfb971c716cbc8.jpg","text":"TemporaryFile(/tmp/multipartBody7348220996479287828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215673106,"filename":"image_02052025_20_19_45_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355457970","file1":"1355457968","file0":"1355457961","file4":"1355457974","file5":"1355457977","file3":"1355457972"},"map_files_photo_id_array":[{"photo_id":"1355457977","filename":"file5"},{"photo_id":"1355457970","filename":"file2"},{"photo_id":"1355457974","filename":"file4"},{"photo_id":"1355457968","filename":"file1"},{"photo_id":"1355457961","filename":"file0"},{"photo_id":"1355457972","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355457972":["hashtag1","hashtag2"]},{"1355457974":["hashtag1","hashtag2"]},{"1355457968":["hashtag1","hashtag2"]},{"1355457977":["hashtag1","hashtag2"]},{"1355457970":["hashtag1","hashtag2"]},{"1355457961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355457972, 1355457974, 1355457968, 1355457977, 1355457970, 1355457961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.247589111328125 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:54:32.819652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/20/image_02052025_20_20_45_10378.jpg', '/home/pi/Desktop/images/02052025/20/20/image_02052025_20_20_55_9415.jpg', '/home/pi/Desktop/images/02052025/20/20/image_02052025_20_21_05_10425.jpg', '/home/pi/Desktop/images/02052025/20/21/image_02052025_20_21_14_9355.jpg', '/home/pi/Desktop/images/02052025/20/21/image_02052025_20_21_25_10460.jpg', '/home/pi/Desktop/images/02052025/20/21/image_02052025_20_21_35_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/20/image_02052025_20_20_45_10378.jpg
/home/pi/Desktop/images/02052025/20/20/image_02052025_20_20_55_9415.jpg
/home/pi/Desktop/images/02052025/20/20/image_02052025_20_21_05_10425.jpg
/home/pi/Desktop/images/02052025/20/21/image_02052025_20_21_14_9355.jpg
/home/pi/Desktop/images/02052025/20/21/image_02052025_20_21_25_10460.jpg
/home/pi/Desktop/images/02052025/20/21/image_02052025_20_21_35_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":["1355458052","1355458063","1355458042","1355458039","1355458059","1355458047"],"photo_ids_order":["1355458039","1355458042","1355458047","1355458052","1355458059","1355458063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9314c16e212aaa0fb47c681c1a290120.jpg","text":"TemporaryFile(/tmp/multipartBody491827961965986203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215733293,"filename":"image_02052025_20_21_14_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97d24a9c1890c25cac8b6702c7aaa3cf.jpg","text":"TemporaryFile(/tmp/multipartBody6421199647486459865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215733293,"filename":"image_02052025_20_21_35_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/06bbba26f4e6e7ce6af677bbc13e99c7.jpg","text":"TemporaryFile(/tmp/multipartBody9032851410660360746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215733293,"filename":"image_02052025_20_20_55_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/82d5ad53d66d780eccace3db4d512b10.jpg","text":"TemporaryFile(/tmp/multipartBody8928561971647940137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215733293,"filename":"image_02052025_20_20_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/058bd3eef71d0da0a44abcc07dfe8ac6.jpg","text":"TemporaryFile(/tmp/multipartBody8641259318105796506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215733293,"filename":"image_02052025_20_21_25_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2f5c5c60558318eca8f70fe0e6dbb2f9.jpg","text":"TemporaryFile(/tmp/multipartBody5540149953456130465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215733293,"filename":"image_02052025_20_21_05_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355458047","file1":"1355458042","file0":"1355458039","file4":"1355458059","file5":"1355458063","file3":"1355458052"},"map_files_photo_id_array":[{"photo_id":"1355458063","filename":"file5"},{"photo_id":"1355458047","filename":"file2"},{"photo_id":"1355458059","filename":"file4"},{"photo_id":"1355458042","filename":"file1"},{"photo_id":"1355458039","filename":"file0"},{"photo_id":"1355458052","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355458052":["hashtag1","hashtag2"]},{"1355458063":["hashtag1","hashtag2"]},{"1355458042":["hashtag1","hashtag2"]},{"1355458039":["hashtag1","hashtag2"]},{"1355458059":["hashtag1","hashtag2"]},{"1355458047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355458052, 1355458063, 1355458042, 1355458039, 1355458059, 1355458047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48118829727173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:55:32.945448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/21/image_02052025_20_21_45_9350.jpg', '/home/pi/Desktop/images/02052025/20/21/image_02052025_20_21_55_10446.jpg', '/home/pi/Desktop/images/02052025/20/21/image_02052025_20_22_04_9358.jpg', '/home/pi/Desktop/images/02052025/20/22/image_02052025_20_22_15_10446.jpg', '/home/pi/Desktop/images/02052025/20/22/image_02052025_20_22_25_10376.jpg', '/home/pi/Desktop/images/02052025/20/22/image_02052025_20_22_35_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/21/image_02052025_20_21_45_9350.jpg
/home/pi/Desktop/images/02052025/20/21/image_02052025_20_21_55_10446.jpg
/home/pi/Desktop/images/02052025/20/21/image_02052025_20_22_04_9358.jpg
/home/pi/Desktop/images/02052025/20/22/image_02052025_20_22_15_10446.jpg
/home/pi/Desktop/images/02052025/20/22/image_02052025_20_22_25_10376.jpg
/home/pi/Desktop/images/02052025/20/22/image_02052025_20_22_35_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355458118","1355458112","1355458115","1355458109","1355458100","1355458105"],"photo_ids_order":["1355458100","1355458105","1355458109","1355458112","1355458115","1355458118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e91a10bf14a83ae57652998cc740e46.jpg","text":"TemporaryFile(/tmp/multipartBody6182250787337537654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215793424,"filename":"image_02052025_20_22_35_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9f0f80b021bbc180ac2bf4bc26f139c.jpg","text":"TemporaryFile(/tmp/multipartBody935665280347113713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215793424,"filename":"image_02052025_20_22_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/5/2/cc52e6af77d3ccfeaa424fbd33ee3afd.jpg","text":"TemporaryFile(/tmp/multipartBody693193155477177053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215793424,"filename":"image_02052025_20_22_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f8396475feb364619c62230b308914e.jpg","text":"TemporaryFile(/tmp/multipartBody2843119806335861810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215793424,"filename":"image_02052025_20_22_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/47e4f76bc646b4aeaaaecc59241d3ba3.jpg","text":"TemporaryFile(/tmp/multipartBody4014160033413256146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215793424,"filename":"image_02052025_20_21_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e368345b75ff9f4514d31c46edb98219.jpg","text":"TemporaryFile(/tmp/multipartBody5557659854129344476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215793424,"filename":"image_02052025_20_21_55_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355458109","file1":"1355458105","file0":"1355458100","file4":"1355458115","file5":"1355458118","file3":"1355458112"},"map_files_photo_id_array":[{"photo_id":"1355458118","filename":"file5"},{"photo_id":"1355458109","filename":"file2"},{"photo_id":"1355458115","filename":"file4"},{"photo_id":"1355458105","filename":"file1"},{"photo_id":"1355458100","filename":"file0"},{"photo_id":"1355458112","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355458118":["hashtag1","hashtag2"]},{"1355458112":["hashtag1","hashtag2"]},{"1355458115":["hashtag1","hashtag2"]},{"1355458109":["hashtag1","hashtag2"]},{"1355458100":["hashtag1","hashtag2"]},{"1355458105":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355458118, 1355458112, 1355458115, 1355458109, 1355458100, 1355458105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88052320480347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:56:33.005207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/22/image_02052025_20_22_54_9403.jpg', '/home/pi/Desktop/images/02052025/20/22/image_02052025_20_23_05_10446.jpg', '/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_15_10351.jpg', '/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_25_9358.jpg', '/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_35_10421.jpg', '/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_44_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/22/image_02052025_20_22_54_9403.jpg
/home/pi/Desktop/images/02052025/20/22/image_02052025_20_23_05_10446.jpg
/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_15_10351.jpg
/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_25_9358.jpg
/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_35_10421.jpg
/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_44_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":["1355458175","1355458160","1355458154","1355458148","1355458179","1355458164"],"photo_ids_order":["1355458148","1355458154","1355458160","1355458164","1355458175","1355458179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6833ea3c0d3e1e490b4fc8f2ed25c0ae.jpg","text":"TemporaryFile(/tmp/multipartBody8176888699076043427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215853473,"filename":"image_02052025_20_23_35_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7fb379a98777047ee6301f4c0592a196.jpg","text":"TemporaryFile(/tmp/multipartBody9137273744595222113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215853473,"filename":"image_02052025_20_23_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/5/2/4b30667d2ab223c3f17e1630be247f92.jpg","text":"TemporaryFile(/tmp/multipartBody2065509477227599318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215853473,"filename":"image_02052025_20_23_05_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/06874f44a74c3a51c605f557cda9ef05.jpg","text":"TemporaryFile(/tmp/multipartBody8349281861727143647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215853473,"filename":"image_02052025_20_22_54_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e62c14d3fc7cc2a0cd6860b377655ce8.jpg","text":"TemporaryFile(/tmp/multipartBody3070763297677529867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215853473,"filename":"image_02052025_20_23_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/5/2/fcb4c9569b516587aab2805de5dfe85b.jpg","text":"TemporaryFile(/tmp/multipartBody5346069058109849575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746215853473,"filename":"image_02052025_20_23_25_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355458160","file1":"1355458154","file0":"1355458148","file4":"1355458175","file5":"1355458179","file3":"1355458164"},"map_files_photo_id_array":[{"photo_id":"1355458179","filename":"file5"},{"photo_id":"1355458160","filename":"file2"},{"photo_id":"1355458175","filename":"file4"},{"photo_id":"1355458154","filename":"file1"},{"photo_id":"1355458148","filename":"file0"},{"photo_id":"1355458164","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355458175":["hashtag1","hashtag2"]},{"1355458160":["hashtag1","hashtag2"]},{"1355458154":["hashtag1","hashtag2"]},{"1355458148":["hashtag1","hashtag2"]},{"1355458179":["hashtag1","hashtag2"]},{"1355458164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355458175, 1355458160, 1355458154, 1355458148, 1355458179, 1355458164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.051108598709106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 21:57:32.225060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_55_10403.jpg', '/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_14_9353.jpg', '/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_25_10485.jpg', '/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_34_9431.jpg', '/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_45_10415.jpg', '/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_55_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_55_10403.jpg
/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_14_9353.jpg
/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_25_10485.jpg
/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_34_9431.jpg
/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_45_10415.jpg
/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_55_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 21:59:04.116424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_55_10403.jpg', '/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_14_9353.jpg', '/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_25_10485.jpg', '/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_34_9431.jpg', '/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_45_10415.jpg', '/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_55_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/23/image_02052025_20_23_55_10403.jpg
/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_14_9353.jpg
/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_25_10485.jpg
/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_34_9431.jpg
/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_45_10415.jpg
/home/pi/Desktop/images/02052025/20/24/image_02052025_20_24_55_10358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355458772","1355458798","1355458792","1355458816","1355458810","1355458804"],"photo_ids_order":["1355458772","1355458792","1355458798","1355458804","1355458810","1355458816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6d90bc80a7ca2cd5cb129a4af3b6c80.jpg","text":"TemporaryFile(/tmp/multipartBody8877725899214693678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216004671,"filename":"image_02052025_20_23_55_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/771f3306384df9cc4a47fd69e97bce30.jpg","text":"TemporaryFile(/tmp/multipartBody7175480704643982543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216004671,"filename":"image_02052025_20_24_25_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b638531576d6856fc85c4266064c5507.jpg","text":"TemporaryFile(/tmp/multipartBody8798762733133791973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216004671,"filename":"image_02052025_20_24_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/5/2/0b629c3b82ff813b76d6971fd7cf8942.jpg","text":"TemporaryFile(/tmp/multipartBody7250486451085185670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216004671,"filename":"image_02052025_20_24_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/5/2/f39c6be7e076a8bec1051ecadd6e131c.jpg","text":"TemporaryFile(/tmp/multipartBody6067324331820767512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216004671,"filename":"image_02052025_20_24_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/5/2/b32c6185e67fae3a51308bb2cd87d4c1.jpg","text":"TemporaryFile(/tmp/multipartBody8739554741211969078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216004671,"filename":"image_02052025_20_24_34_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355458798","file1":"1355458792","file0":"1355458772","file4":"1355458810","file5":"1355458816","file3":"1355458804"},"map_files_photo_id_array":[{"photo_id":"1355458816","filename":"file5"},{"photo_id":"1355458798","filename":"file2"},{"photo_id":"1355458810","filename":"file4"},{"photo_id":"1355458792","filename":"file1"},{"photo_id":"1355458772","filename":"file0"},{"photo_id":"1355458804","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355458772":["hashtag1","hashtag2"]},{"1355458798":["hashtag1","hashtag2"]},{"1355458792":["hashtag1","hashtag2"]},{"1355458816":["hashtag1","hashtag2"]},{"1355458810":["hashtag1","hashtag2"]},{"1355458804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355458772, 1355458798, 1355458792, 1355458816, 1355458810, 1355458804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92208456993103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 21:59:43.023669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/24/image_02052025_20_25_05_9342.jpg', '/home/pi/Desktop/images/02052025/20/25/image_02052025_20_25_15_10475.jpg', '/home/pi/Desktop/images/02052025/20/25/image_02052025_20_25_24_9419.jpg', '/home/pi/Desktop/images/02052025/20/25/image_02052025_20_25_35_10410.jpg', '/home/pi/Desktop/images/02052025/20/25/image_02052025_20_25_45_10351.jpg', '/home/pi/Desktop/images/02052025/20/25/image_02052025_20_25_55_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/24/image_02052025_20_25_05_9342.jpg
/home/pi/Desktop/images/02052025/20/25/image_02052025_20_25_15_10475.jpg
/home/pi/Desktop/images/02052025/20/25/image_02052025_20_25_24_9419.jpg
/home/pi/Desktop/images/02052025/20/25/image_02052025_20_25_35_10410.jpg
/home/pi/Desktop/images/02052025/20/25/image_02052025_20_25_45_10351.jpg
/home/pi/Desktop/images/02052025/20/25/image_02052025_20_25_55_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":["1355458908","1355458955","1355458954","1355458930","1355458950","1355458932"],"photo_ids_order":["1355458908","1355458930","1355458932","1355458950","1355458954","1355458955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22758be6857728c235ab8e68bca99c24.jpg","text":"TemporaryFile(/tmp/multipartBody6410535812645539252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216043518,"filename":"image_02052025_20_25_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/5/2/6296e6d7db92ff2303822832651d7af8.jpg","text":"TemporaryFile(/tmp/multipartBody4666388698668029682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216043518,"filename":"image_02052025_20_25_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/5/2/6b200a8d4aa93299eeb39c286fce584e.jpg","text":"TemporaryFile(/tmp/multipartBody6305851351696420796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216043518,"filename":"image_02052025_20_25_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/5/2/30b7ac8a7ed7c3c30e20f82f9e5bf59f.jpg","text":"TemporaryFile(/tmp/multipartBody559705946318147700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216043518,"filename":"image_02052025_20_25_15_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/630fc91fe95f34927220580a7353cc6d.jpg","text":"TemporaryFile(/tmp/multipartBody5710088165753299214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216043518,"filename":"image_02052025_20_25_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/5/2/d45a63f116eb9fd69d2966fecd54365e.jpg","text":"TemporaryFile(/tmp/multipartBody2659586483611130354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216043518,"filename":"image_02052025_20_25_24_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355458932","file1":"1355458930","file0":"1355458908","file4":"1355458954","file5":"1355458955","file3":"1355458950"},"map_files_photo_id_array":[{"photo_id":"1355458955","filename":"file5"},{"photo_id":"1355458932","filename":"file2"},{"photo_id":"1355458954","filename":"file4"},{"photo_id":"1355458930","filename":"file1"},{"photo_id":"1355458908","filename":"file0"},{"photo_id":"1355458950","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355458908":["hashtag1","hashtag2"]},{"1355458955":["hashtag1","hashtag2"]},{"1355458954":["hashtag1","hashtag2"]},{"1355458930":["hashtag1","hashtag2"]},{"1355458950":["hashtag1","hashtag2"]},{"1355458932":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355458908, 1355458955, 1355458954, 1355458930, 1355458950, 1355458932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08287024497986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:00:33.032146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/25/image_02052025_20_26_05_10370.jpg', '/home/pi/Desktop/images/02052025/20/26/image_02052025_20_26_14_9327.jpg', '/home/pi/Desktop/images/02052025/20/26/image_02052025_20_26_44_9354.jpg', '/home/pi/Desktop/images/02052025/20/26/image_02052025_20_26_55_10452.jpg', '/home/pi/Desktop/images/02052025/20/26/image_02052025_20_27_04_9359.jpg', '/home/pi/Desktop/images/02052025/20/27/image_02052025_20_27_15_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/25/image_02052025_20_26_05_10370.jpg
/home/pi/Desktop/images/02052025/20/26/image_02052025_20_26_14_9327.jpg
/home/pi/Desktop/images/02052025/20/26/image_02052025_20_26_44_9354.jpg
/home/pi/Desktop/images/02052025/20/26/image_02052025_20_26_55_10452.jpg
/home/pi/Desktop/images/02052025/20/26/image_02052025_20_27_04_9359.jpg
/home/pi/Desktop/images/02052025/20/27/image_02052025_20_27_15_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355459018","1355458999","1355459017","1355458995","1355459013","1355459016"],"photo_ids_order":["1355458995","1355458999","1355459013","1355459016","1355459017","1355459018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/72d74f578b6b67c8e2ab8aa4429bf2a3.jpg","text":"TemporaryFile(/tmp/multipartBody5211213040763170840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216093568,"filename":"image_02052025_20_27_15_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/474b358a303c79cd7196851680acf5e0.jpg","text":"TemporaryFile(/tmp/multipartBody7774474460678947827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216093568,"filename":"image_02052025_20_26_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/5/2/c1fe3cf9d96ff0d0c0295ae04e181b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3588069065121298157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216093568,"filename":"image_02052025_20_27_04_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/431297d81eb67d74c5faa72a230ed987.jpg","text":"TemporaryFile(/tmp/multipartBody7460854874101345951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216093568,"filename":"image_02052025_20_26_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0641c4b52b953d6a2379366f5987e807.jpg","text":"TemporaryFile(/tmp/multipartBody7314890993052995746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216093568,"filename":"image_02052025_20_26_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/5/2/1b97d320ae081d2b785901b6aa7b4e46.jpg","text":"TemporaryFile(/tmp/multipartBody2134330645431178642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216093568,"filename":"image_02052025_20_26_55_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355459013","file1":"1355458999","file0":"1355458995","file4":"1355459017","file5":"1355459018","file3":"1355459016"},"map_files_photo_id_array":[{"photo_id":"1355459018","filename":"file5"},{"photo_id":"1355459013","filename":"file2"},{"photo_id":"1355459017","filename":"file4"},{"photo_id":"1355458999","filename":"file1"},{"photo_id":"1355458995","filename":"file0"},{"photo_id":"1355459016","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355459018":["hashtag1","hashtag2"]},{"1355458999":["hashtag1","hashtag2"]},{"1355459017":["hashtag1","hashtag2"]},{"1355458995":["hashtag1","hashtag2"]},{"1355459013":["hashtag1","hashtag2"]},{"1355459016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355459018, 1355458999, 1355459017, 1355458995, 1355459013, 1355459016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89329242706299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:01:32.308749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/27/image_02052025_20_27_25_10358.jpg', '/home/pi/Desktop/images/02052025/20/27/image_02052025_20_27_34_9359.jpg', '/home/pi/Desktop/images/02052025/20/27/image_02052025_20_27_45_10435.jpg', '/home/pi/Desktop/images/02052025/20/27/image_02052025_20_27_55_10375.jpg', '/home/pi/Desktop/images/02052025/20/27/image_02052025_20_28_05_9362.jpg', '/home/pi/Desktop/images/02052025/20/28/image_02052025_20_28_15_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/27/image_02052025_20_27_25_10358.jpg
/home/pi/Desktop/images/02052025/20/27/image_02052025_20_27_34_9359.jpg
/home/pi/Desktop/images/02052025/20/27/image_02052025_20_27_45_10435.jpg
/home/pi/Desktop/images/02052025/20/27/image_02052025_20_27_55_10375.jpg
/home/pi/Desktop/images/02052025/20/27/image_02052025_20_28_05_9362.jpg
/home/pi/Desktop/images/02052025/20/28/image_02052025_20_28_15_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355459093","1355459087","1355459069","1355459073","1355459096","1355459078"],"photo_ids_order":["1355459069","1355459073","1355459078","1355459087","1355459093","1355459096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21b17ee7c23f5d6e353606f91435b426.jpg","text":"TemporaryFile(/tmp/multipartBody8340827630871448200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216152862,"filename":"image_02052025_20_28_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/5/2/6d8e409df365c238ab7ba1f1c4861824.jpg","text":"TemporaryFile(/tmp/multipartBody3050505384590685816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216152862,"filename":"image_02052025_20_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/5/2/90774c809a132a37085dce87b316d899.jpg","text":"TemporaryFile(/tmp/multipartBody7917337015772520962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216152862,"filename":"image_02052025_20_27_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/5/2/917172cd8372005f6dbc7919db477761.jpg","text":"TemporaryFile(/tmp/multipartBody3662433315656630918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216152862,"filename":"image_02052025_20_27_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9dda13058370e6c4dd14f0b6903610be.jpg","text":"TemporaryFile(/tmp/multipartBody1832248385890032691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216152862,"filename":"image_02052025_20_28_15_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/63d09a545febe0fcecf305ee31697a55.jpg","text":"TemporaryFile(/tmp/multipartBody7444163809043652442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216152862,"filename":"image_02052025_20_27_45_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355459078","file1":"1355459073","file0":"1355459069","file4":"1355459093","file5":"1355459096","file3":"1355459087"},"map_files_photo_id_array":[{"photo_id":"1355459096","filename":"file5"},{"photo_id":"1355459078","filename":"file2"},{"photo_id":"1355459093","filename":"file4"},{"photo_id":"1355459073","filename":"file1"},{"photo_id":"1355459069","filename":"file0"},{"photo_id":"1355459087","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355459093":["hashtag1","hashtag2"]},{"1355459087":["hashtag1","hashtag2"]},{"1355459069":["hashtag1","hashtag2"]},{"1355459073":["hashtag1","hashtag2"]},{"1355459096":["hashtag1","hashtag2"]},{"1355459078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355459093, 1355459087, 1355459069, 1355459073, 1355459096, 1355459078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.535871267318726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:02:32.374773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/28/image_02052025_20_28_24_9383.jpg', '/home/pi/Desktop/images/02052025/20/28/image_02052025_20_28_35_10424.jpg', '/home/pi/Desktop/images/02052025/20/28/image_02052025_20_28_45_10368.jpg', '/home/pi/Desktop/images/02052025/20/28/image_02052025_20_28_54_9350.jpg', '/home/pi/Desktop/images/02052025/20/28/image_02052025_20_29_05_10434.jpg', '/home/pi/Desktop/images/02052025/20/29/image_02052025_20_29_14_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/28/image_02052025_20_28_24_9383.jpg
/home/pi/Desktop/images/02052025/20/28/image_02052025_20_28_35_10424.jpg
/home/pi/Desktop/images/02052025/20/28/image_02052025_20_28_45_10368.jpg
/home/pi/Desktop/images/02052025/20/28/image_02052025_20_28_54_9350.jpg
/home/pi/Desktop/images/02052025/20/28/image_02052025_20_29_05_10434.jpg
/home/pi/Desktop/images/02052025/20/29/image_02052025_20_29_14_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355459240","1355459321","1355459350","1355459209","1355459376","1355459277"],"photo_ids_order":["1355459209","1355459240","1355459277","1355459321","1355459350","1355459376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41598ff155ba6bb36e3f769ae825ac58.jpg","text":"TemporaryFile(/tmp/multipartBody1428734226173238407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216212854,"filename":"image_02052025_20_28_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/5/2/86f573a5836c14d68777a5e1cb807ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2107798035581933419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216212854,"filename":"image_02052025_20_28_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/5/2/312beac6fbae754464ea915fe4cb2365.jpg","text":"TemporaryFile(/tmp/multipartBody2899387941326560315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216212854,"filename":"image_02052025_20_29_05_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c28ac095da17954e193136fe01bd0d8.jpg","text":"TemporaryFile(/tmp/multipartBody5890598970920845764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216212854,"filename":"image_02052025_20_28_24_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff79e8a0e5121a5b0111bcfc72c7e563.jpg","text":"TemporaryFile(/tmp/multipartBody3754190222045019959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216212854,"filename":"image_02052025_20_29_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/5/2/dae6c5395a052f98befb949b4569d660.jpg","text":"TemporaryFile(/tmp/multipartBody7217574466790217307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216212854,"filename":"image_02052025_20_28_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355459277","file1":"1355459240","file0":"1355459209","file4":"1355459350","file5":"1355459376","file3":"1355459321"},"map_files_photo_id_array":[{"photo_id":"1355459376","filename":"file5"},{"photo_id":"1355459277","filename":"file2"},{"photo_id":"1355459350","filename":"file4"},{"photo_id":"1355459240","filename":"file1"},{"photo_id":"1355459209","filename":"file0"},{"photo_id":"1355459321","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355459240":["hashtag1","hashtag2"]},{"1355459321":["hashtag1","hashtag2"]},{"1355459350":["hashtag1","hashtag2"]},{"1355459209":["hashtag1","hashtag2"]},{"1355459376":["hashtag1","hashtag2"]},{"1355459277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355459240, 1355459321, 1355459350, 1355459209, 1355459376, 1355459277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.91596031188965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:03:32.694997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/29/image_02052025_20_29_25_10383.jpg', '/home/pi/Desktop/images/02052025/20/29/image_02052025_20_29_35_10507.jpg', '/home/pi/Desktop/images/02052025/20/29/image_02052025_20_29_45_9422.jpg', '/home/pi/Desktop/images/02052025/20/29/image_02052025_20_29_55_10378.jpg', '/home/pi/Desktop/images/02052025/20/29/image_02052025_20_30_04_9367.jpg', '/home/pi/Desktop/images/02052025/20/30/image_02052025_20_30_15_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/29/image_02052025_20_29_25_10383.jpg
/home/pi/Desktop/images/02052025/20/29/image_02052025_20_29_35_10507.jpg
/home/pi/Desktop/images/02052025/20/29/image_02052025_20_29_45_9422.jpg
/home/pi/Desktop/images/02052025/20/29/image_02052025_20_29_55_10378.jpg
/home/pi/Desktop/images/02052025/20/29/image_02052025_20_30_04_9367.jpg
/home/pi/Desktop/images/02052025/20/30/image_02052025_20_30_15_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355459756","1355459729","1355459692","1355459661","1355459811","1355459783"],"photo_ids_order":["1355459661","1355459692","1355459729","1355459756","1355459783","1355459811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a75b1b00adf5730eb573d88b318ba45.jpg","text":"TemporaryFile(/tmp/multipartBody7611884020509223277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216273167,"filename":"image_02052025_20_29_55_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dbd46ac8ce259d35a0a4c2ea616ce972.jpg","text":"TemporaryFile(/tmp/multipartBody746828225578642738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216273167,"filename":"image_02052025_20_29_45_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/923925b4c82fd6cfe8f54e87cad1ad2c.jpg","text":"TemporaryFile(/tmp/multipartBody2931740645621782015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216273167,"filename":"image_02052025_20_29_35_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e08c3c6c3d816fafee6e89adf6553495.jpg","text":"TemporaryFile(/tmp/multipartBody8563987802285719726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216273167,"filename":"image_02052025_20_29_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/5/2/c4ca3ae743b76ca02f41169d185931cc.jpg","text":"TemporaryFile(/tmp/multipartBody4552002766811669079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216273167,"filename":"image_02052025_20_30_15_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e3d7a0ac9b66cadf9be1b72d7a5fc32.jpg","text":"TemporaryFile(/tmp/multipartBody2549957136265854734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216273167,"filename":"image_02052025_20_30_04_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355459729","file1":"1355459692","file0":"1355459661","file4":"1355459783","file5":"1355459811","file3":"1355459756"},"map_files_photo_id_array":[{"photo_id":"1355459811","filename":"file5"},{"photo_id":"1355459729","filename":"file2"},{"photo_id":"1355459783","filename":"file4"},{"photo_id":"1355459692","filename":"file1"},{"photo_id":"1355459661","filename":"file0"},{"photo_id":"1355459756","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355459756":["hashtag1","hashtag2"]},{"1355459729":["hashtag1","hashtag2"]},{"1355459692":["hashtag1","hashtag2"]},{"1355459661":["hashtag1","hashtag2"]},{"1355459811":["hashtag1","hashtag2"]},{"1355459783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355459756, 1355459729, 1355459692, 1355459661, 1355459811, 1355459783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55996513366699 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:04:32.710467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/30/image_02052025_20_30_25_10380.jpg', '/home/pi/Desktop/images/02052025/20/30/image_02052025_20_30_35_9421.jpg', '/home/pi/Desktop/images/02052025/20/30/image_02052025_20_30_45_10452.jpg', '/home/pi/Desktop/images/02052025/20/30/image_02052025_20_30_54_9372.jpg', '/home/pi/Desktop/images/02052025/20/30/image_02052025_20_31_05_10438.jpg', '/home/pi/Desktop/images/02052025/20/31/image_02052025_20_31_15_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/30/image_02052025_20_30_25_10380.jpg
/home/pi/Desktop/images/02052025/20/30/image_02052025_20_30_35_9421.jpg
/home/pi/Desktop/images/02052025/20/30/image_02052025_20_30_45_10452.jpg
/home/pi/Desktop/images/02052025/20/30/image_02052025_20_30_54_9372.jpg
/home/pi/Desktop/images/02052025/20/30/image_02052025_20_31_05_10438.jpg
/home/pi/Desktop/images/02052025/20/31/image_02052025_20_31_15_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355460979","1355460286","1355461003","1355460784","1355460505","1355461008"],"photo_ids_order":["1355460286","1355460505","1355460784","1355460979","1355461003","1355461008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/564ef626818d1e7907c4a6f40d0e7b06.jpg","text":"TemporaryFile(/tmp/multipartBody1606048564342865632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216333185,"filename":"image_02052025_20_30_54_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16ad40153dfe16d3050b180b6a292057.jpg","text":"TemporaryFile(/tmp/multipartBody7305871084006822074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216333185,"filename":"image_02052025_20_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/5/2/ddf1224e9bf463266298823e3e2a9149.jpg","text":"TemporaryFile(/tmp/multipartBody8091065723174612164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216333185,"filename":"image_02052025_20_31_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/5/2/ac5a180323ec35f469df34c653a0ff64.jpg","text":"TemporaryFile(/tmp/multipartBody4763747823858774743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216333185,"filename":"image_02052025_20_30_45_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c96c02e2d3d39f68c27ccc5b99c98d8b.jpg","text":"TemporaryFile(/tmp/multipartBody7507326443625008575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216333185,"filename":"image_02052025_20_30_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf7b07acd748e1918b461a223521b265.jpg","text":"TemporaryFile(/tmp/multipartBody8509824502264743817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216333185,"filename":"image_02052025_20_31_15_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355460784","file1":"1355460505","file0":"1355460286","file4":"1355461003","file5":"1355461008","file3":"1355460979"},"map_files_photo_id_array":[{"photo_id":"1355461008","filename":"file5"},{"photo_id":"1355460784","filename":"file2"},{"photo_id":"1355461003","filename":"file4"},{"photo_id":"1355460505","filename":"file1"},{"photo_id":"1355460286","filename":"file0"},{"photo_id":"1355460979","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355460979":["hashtag1","hashtag2"]},{"1355460286":["hashtag1","hashtag2"]},{"1355461003":["hashtag1","hashtag2"]},{"1355460784":["hashtag1","hashtag2"]},{"1355460505":["hashtag1","hashtag2"]},{"1355461008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355460979, 1355460286, 1355461003, 1355460784, 1355460505, 1355461008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34155583381653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:05:32.885649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/31/image_02052025_20_31_25_9362.jpg', '/home/pi/Desktop/images/02052025/20/31/image_02052025_20_31_35_10401.jpg', '/home/pi/Desktop/images/02052025/20/31/image_02052025_20_31_44_9351.jpg', '/home/pi/Desktop/images/02052025/20/31/image_02052025_20_31_55_10377.jpg', '/home/pi/Desktop/images/02052025/20/31/image_02052025_20_32_05_10421.jpg', '/home/pi/Desktop/images/02052025/20/32/image_02052025_20_32_14_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/31/image_02052025_20_31_25_9362.jpg
/home/pi/Desktop/images/02052025/20/31/image_02052025_20_31_35_10401.jpg
/home/pi/Desktop/images/02052025/20/31/image_02052025_20_31_44_9351.jpg
/home/pi/Desktop/images/02052025/20/31/image_02052025_20_31_55_10377.jpg
/home/pi/Desktop/images/02052025/20/31/image_02052025_20_32_05_10421.jpg
/home/pi/Desktop/images/02052025/20/32/image_02052025_20_32_14_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":["1355461259","1355461267","1355461311","1355461314","1355461317","1355461292"],"photo_ids_order":["1355461259","1355461267","1355461292","1355461311","1355461314","1355461317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a31f5136e9d1d4d407dde40dc6d525a8.jpg","text":"TemporaryFile(/tmp/multipartBody7541926058036863048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216393373,"filename":"image_02052025_20_31_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/24375980793bf768d99662a6c18f998a.jpg","text":"TemporaryFile(/tmp/multipartBody5766506280423342668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216393373,"filename":"image_02052025_20_31_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a414c587f886f96d9b0c2255ad195b2.jpg","text":"TemporaryFile(/tmp/multipartBody1131432602222575519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216393373,"filename":"image_02052025_20_31_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ceadfdb444af8ab9810ba97124e874a1.jpg","text":"TemporaryFile(/tmp/multipartBody7898672528328963007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216393373,"filename":"image_02052025_20_32_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/5/2/34157c817cb91fd96530f4ae04a93a51.jpg","text":"TemporaryFile(/tmp/multipartBody5860366241418815890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216393373,"filename":"image_02052025_20_32_14_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/854e54adf86557106d9bd0625485a73d.jpg","text":"TemporaryFile(/tmp/multipartBody5489335037579907545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216393373,"filename":"image_02052025_20_31_44_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355461292","file1":"1355461267","file0":"1355461259","file4":"1355461314","file5":"1355461317","file3":"1355461311"},"map_files_photo_id_array":[{"photo_id":"1355461317","filename":"file5"},{"photo_id":"1355461292","filename":"file2"},{"photo_id":"1355461314","filename":"file4"},{"photo_id":"1355461267","filename":"file1"},{"photo_id":"1355461259","filename":"file0"},{"photo_id":"1355461311","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355461259":["hashtag1","hashtag2"]},{"1355461267":["hashtag1","hashtag2"]},{"1355461311":["hashtag1","hashtag2"]},{"1355461314":["hashtag1","hashtag2"]},{"1355461317":["hashtag1","hashtag2"]},{"1355461292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355461259, 1355461267, 1355461311, 1355461314, 1355461317, 1355461292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93822407722473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:06:33.148784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/32/image_02052025_20_32_25_10371.jpg', '/home/pi/Desktop/images/02052025/20/32/image_02052025_20_32_35_10359.jpg', '/home/pi/Desktop/images/02052025/20/32/image_02052025_20_32_45_9346.jpg', '/home/pi/Desktop/images/02052025/20/32/image_02052025_20_32_55_10379.jpg', '/home/pi/Desktop/images/02052025/20/32/image_02052025_20_33_04_9418.jpg', '/home/pi/Desktop/images/02052025/20/33/image_02052025_20_33_15_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/32/image_02052025_20_32_25_10371.jpg
/home/pi/Desktop/images/02052025/20/32/image_02052025_20_32_35_10359.jpg
/home/pi/Desktop/images/02052025/20/32/image_02052025_20_32_45_9346.jpg
/home/pi/Desktop/images/02052025/20/32/image_02052025_20_32_55_10379.jpg
/home/pi/Desktop/images/02052025/20/32/image_02052025_20_33_04_9418.jpg
/home/pi/Desktop/images/02052025/20/33/image_02052025_20_33_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":["1355462018","1355461739","1355461681","1355461930","1355461629","1355461793"],"photo_ids_order":["1355461629","1355461681","1355461739","1355461793","1355461930","1355462018"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/16f77ebcf00ee9ef2fdb96035fa97692.jpg","text":"TemporaryFile(/tmp/multipartBody8632255024383299443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216453617,"filename":"image_02052025_20_33_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/5/2/4b52a4fdc867aa06d2400eb026dc9bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6364432800590972660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216453617,"filename":"image_02052025_20_32_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/5/2/5928907179edbb79840cea7d3d010ea3.jpg","text":"TemporaryFile(/tmp/multipartBody3476931717067432626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216453617,"filename":"image_02052025_20_32_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7b2f0c303e51de8124cd3eaa288ef09f.jpg","text":"TemporaryFile(/tmp/multipartBody6704481191586203814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216453617,"filename":"image_02052025_20_33_04_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7eb5be2c298a905b7dee15213c59759.jpg","text":"TemporaryFile(/tmp/multipartBody3120129247510054936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216453617,"filename":"image_02052025_20_32_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/54de4c3eb5675f3f9adffca5dc05a199.jpg","text":"TemporaryFile(/tmp/multipartBody1934228164418115940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216453617,"filename":"image_02052025_20_32_55_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355461739","file1":"1355461681","file0":"1355461629","file4":"1355461930","file5":"1355462018","file3":"1355461793"},"map_files_photo_id_array":[{"photo_id":"1355462018","filename":"file5"},{"photo_id":"1355461739","filename":"file2"},{"photo_id":"1355461930","filename":"file4"},{"photo_id":"1355461681","filename":"file1"},{"photo_id":"1355461629","filename":"file0"},{"photo_id":"1355461793","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355462018":["hashtag1","hashtag2"]},{"1355461739":["hashtag1","hashtag2"]},{"1355461681":["hashtag1","hashtag2"]},{"1355461930":["hashtag1","hashtag2"]},{"1355461629":["hashtag1","hashtag2"]},{"1355461793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355462018, 1355461739, 1355461681, 1355461930, 1355461629, 1355461793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23515772819519 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:07:32.384176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/33/image_02052025_20_33_25_10394.jpg', '/home/pi/Desktop/images/02052025/20/33/image_02052025_20_33_35_9423.jpg', '/home/pi/Desktop/images/02052025/20/33/image_02052025_20_33_45_10365.jpg', '/home/pi/Desktop/images/02052025/20/33/image_02052025_20_33_54_9357.jpg', '/home/pi/Desktop/images/02052025/20/33/image_02052025_20_34_05_10412.jpg', '/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_15_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/33/image_02052025_20_33_25_10394.jpg
/home/pi/Desktop/images/02052025/20/33/image_02052025_20_33_35_9423.jpg
/home/pi/Desktop/images/02052025/20/33/image_02052025_20_33_45_10365.jpg
/home/pi/Desktop/images/02052025/20/33/image_02052025_20_33_54_9357.jpg
/home/pi/Desktop/images/02052025/20/33/image_02052025_20_34_05_10412.jpg
/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_15_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355463070","1355462708","1355462941","1355462764","1355462820","1355462622"],"photo_ids_order":["1355462622","1355462708","1355462764","1355462820","1355462941","1355463070"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f1f66baf067ce3a69ffe082b2aa3a539.jpg","text":"TemporaryFile(/tmp/multipartBody4711333039484888143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216512874,"filename":"image_02052025_20_34_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/5/2/5962d0cf9c6672805221de153021c3cc.jpg","text":"TemporaryFile(/tmp/multipartBody4477039081521379569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216512874,"filename":"image_02052025_20_33_35_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/113bfbbefb9a2d6908026825591739cd.jpg","text":"TemporaryFile(/tmp/multipartBody5825937690681221246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216512874,"filename":"image_02052025_20_34_05_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1661341eb1214829a11deea7304603c.jpg","text":"TemporaryFile(/tmp/multipartBody1177335409748355354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216512874,"filename":"image_02052025_20_33_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/5/2/e0b88668f808c1c5ca7fc940d8edd184.jpg","text":"TemporaryFile(/tmp/multipartBody487310386943898058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216512874,"filename":"image_02052025_20_33_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c44117a9e87459ccf18113f55299587d.jpg","text":"TemporaryFile(/tmp/multipartBody9075054491115151776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216512874,"filename":"image_02052025_20_33_25_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355462764","file1":"1355462708","file0":"1355462622","file4":"1355462941","file5":"1355463070","file3":"1355462820"},"map_files_photo_id_array":[{"photo_id":"1355463070","filename":"file5"},{"photo_id":"1355462764","filename":"file2"},{"photo_id":"1355462941","filename":"file4"},{"photo_id":"1355462708","filename":"file1"},{"photo_id":"1355462622","filename":"file0"},{"photo_id":"1355462820","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355463070":["hashtag1","hashtag2"]},{"1355462708":["hashtag1","hashtag2"]},{"1355462941":["hashtag1","hashtag2"]},{"1355462764":["hashtag1","hashtag2"]},{"1355462820":["hashtag1","hashtag2"]},{"1355462622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355463070, 1355462708, 1355462941, 1355462764, 1355462820, 1355462622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77762198448181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:08:32.715807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_25_9447.jpg', '/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_35_10393.jpg', '/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_44_9343.jpg', '/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_55_10361.jpg', '/home/pi/Desktop/images/02052025/20/34/image_02052025_20_35_05_10412.jpg', '/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_14_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_25_9447.jpg
/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_35_10393.jpg
/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_44_9343.jpg
/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_55_10361.jpg
/home/pi/Desktop/images/02052025/20/34/image_02052025_20_35_05_10412.jpg
/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_14_9357.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4035959243774414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 22:08:42.732516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_25_9447.jpg', '/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_35_10393.jpg', '/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_44_9343.jpg', '/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_55_10361.jpg', '/home/pi/Desktop/images/02052025/20/34/image_02052025_20_35_05_10412.jpg', '/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_14_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_25_9447.jpg
/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_35_10393.jpg
/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_44_9343.jpg
/home/pi/Desktop/images/02052025/20/34/image_02052025_20_34_55_10361.jpg
/home/pi/Desktop/images/02052025/20/34/image_02052025_20_35_05_10412.jpg
/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_14_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":["1355463864","1355463696","1355464004","1355463923","1355464087","1355463970"],"photo_ids_order":["1355463696","1355463864","1355463923","1355463970","1355464004","1355464087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/817d5626701b67ef3a12db5276f95e5e.jpg","text":"TemporaryFile(/tmp/multipartBody6901502742015328929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216583211,"filename":"image_02052025_20_34_35_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cda0c49ea6f466ed042e589e6e991764.jpg","text":"TemporaryFile(/tmp/multipartBody6911890992378983216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216583211,"filename":"image_02052025_20_34_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/5/2/f4cabdff077faf27a6e41003bb626b36.jpg","text":"TemporaryFile(/tmp/multipartBody965292903771575178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216583211,"filename":"image_02052025_20_35_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/5/2/795ae532281e00ef8965d82f0c027970.jpg","text":"TemporaryFile(/tmp/multipartBody3577179902199571059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216583211,"filename":"image_02052025_20_34_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/5/2/d171992453f760e7012a4646e472fbc8.jpg","text":"TemporaryFile(/tmp/multipartBody9185227529877907826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216583211,"filename":"image_02052025_20_35_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec637e50309f26385ecf82eaefdc2068.jpg","text":"TemporaryFile(/tmp/multipartBody3373100585790890323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216583211,"filename":"image_02052025_20_34_55_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355463923","file1":"1355463864","file0":"1355463696","file4":"1355464004","file5":"1355464087","file3":"1355463970"},"map_files_photo_id_array":[{"photo_id":"1355464087","filename":"file5"},{"photo_id":"1355463923","filename":"file2"},{"photo_id":"1355464004","filename":"file4"},{"photo_id":"1355463864","filename":"file1"},{"photo_id":"1355463696","filename":"file0"},{"photo_id":"1355463970","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355463864":["hashtag1","hashtag2"]},{"1355463696":["hashtag1","hashtag2"]},{"1355464004":["hashtag1","hashtag2"]},{"1355463923":["hashtag1","hashtag2"]},{"1355464087":["hashtag1","hashtag2"]},{"1355463970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355463864, 1355463696, 1355464004, 1355463923, 1355464087, 1355463970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.23030233383179 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:09:32.893844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_25_10505.jpg', '/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_34_9355.jpg', '/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_45_10392.jpg', '/home/pi/Desktop/images/02052025/20/36/image_02052025_20_36_24_9373.jpg', '/home/pi/Desktop/images/02052025/20/36/image_02052025_20_36_35_10489.jpg', '/home/pi/Desktop/images/02052025/20/36/image_02052025_20_37_05_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_25_10505.jpg
/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_34_9355.jpg
/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_45_10392.jpg
/home/pi/Desktop/images/02052025/20/36/image_02052025_20_36_24_9373.jpg
/home/pi/Desktop/images/02052025/20/36/image_02052025_20_36_35_10489.jpg
/home/pi/Desktop/images/02052025/20/36/image_02052025_20_37_05_10375.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39347290992736816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 22:09:43.099465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_25_10505.jpg', '/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_34_9355.jpg', '/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_45_10392.jpg', '/home/pi/Desktop/images/02052025/20/36/image_02052025_20_36_24_9373.jpg', '/home/pi/Desktop/images/02052025/20/36/image_02052025_20_36_35_10489.jpg', '/home/pi/Desktop/images/02052025/20/36/image_02052025_20_37_05_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_25_10505.jpg
/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_34_9355.jpg
/home/pi/Desktop/images/02052025/20/35/image_02052025_20_35_45_10392.jpg
/home/pi/Desktop/images/02052025/20/36/image_02052025_20_36_24_9373.jpg
/home/pi/Desktop/images/02052025/20/36/image_02052025_20_36_35_10489.jpg
/home/pi/Desktop/images/02052025/20/36/image_02052025_20_37_05_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355464204","1355464242","1355464259","1355464226","1355464228","1355464213"],"photo_ids_order":["1355464204","1355464213","1355464226","1355464228","1355464242","1355464259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/593a5ae6aa20af5376f506b4f2682e92.jpg","text":"TemporaryFile(/tmp/multipartBody8437358659328445692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216643580,"filename":"image_02052025_20_35_25_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8387405bfa3da12b5e4ffb1dc2a6347d.jpg","text":"TemporaryFile(/tmp/multipartBody5772941546697903051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216643580,"filename":"image_02052025_20_36_35_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/40b7dee828d5e6777e952706fd81bc02.jpg","text":"TemporaryFile(/tmp/multipartBody2042404602078867802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216643580,"filename":"image_02052025_20_37_05_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3fab9648b65da4dd8358cfae425642ad.jpg","text":"TemporaryFile(/tmp/multipartBody5033599862261360743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216643580,"filename":"image_02052025_20_35_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/5/2/c8d675900fcb30e04d2be18f98c644e0.jpg","text":"TemporaryFile(/tmp/multipartBody1598986572284214371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216643580,"filename":"image_02052025_20_36_24_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3a5fb8003138801de6c25e108434a59.jpg","text":"TemporaryFile(/tmp/multipartBody3516042144793655677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216643580,"filename":"image_02052025_20_35_34_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355464226","file1":"1355464213","file0":"1355464204","file4":"1355464242","file5":"1355464259","file3":"1355464228"},"map_files_photo_id_array":[{"photo_id":"1355464259","filename":"file5"},{"photo_id":"1355464226","filename":"file2"},{"photo_id":"1355464242","filename":"file4"},{"photo_id":"1355464213","filename":"file1"},{"photo_id":"1355464204","filename":"file0"},{"photo_id":"1355464228","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355464204":["hashtag1","hashtag2"]},{"1355464242":["hashtag1","hashtag2"]},{"1355464259":["hashtag1","hashtag2"]},{"1355464226":["hashtag1","hashtag2"]},{"1355464228":["hashtag1","hashtag2"]},{"1355464213":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355464204, 1355464242, 1355464259, 1355464226, 1355464228, 1355464213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.443748474121094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:10:33.068003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/37/image_02052025_20_37_14_9403.jpg', '/home/pi/Desktop/images/02052025/20/37/image_02052025_20_37_25_10412.jpg', '/home/pi/Desktop/images/02052025/20/37/image_02052025_20_37_34_9371.jpg', '/home/pi/Desktop/images/02052025/20/37/image_02052025_20_37_45_10344.jpg', '/home/pi/Desktop/images/02052025/20/37/image_02052025_20_38_04_9454.jpg', '/home/pi/Desktop/images/02052025/20/38/image_02052025_20_38_15_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/37/image_02052025_20_37_14_9403.jpg
/home/pi/Desktop/images/02052025/20/37/image_02052025_20_37_25_10412.jpg
/home/pi/Desktop/images/02052025/20/37/image_02052025_20_37_34_9371.jpg
/home/pi/Desktop/images/02052025/20/37/image_02052025_20_37_45_10344.jpg
/home/pi/Desktop/images/02052025/20/37/image_02052025_20_38_04_9454.jpg
/home/pi/Desktop/images/02052025/20/38/image_02052025_20_38_15_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355464527","1355464434","1355464589","1355464407","1355464379","1355464474"],"photo_ids_order":["1355464379","1355464407","1355464434","1355464474","1355464527","1355464589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4d9c7574fd34d78ba3776c6dbb20967f.jpg","text":"TemporaryFile(/tmp/multipartBody4819187063028710985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216693534,"filename":"image_02052025_20_38_04_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee9f1191fb204cf0e0d261979017691d.jpg","text":"TemporaryFile(/tmp/multipartBody2315373579264842739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216693534,"filename":"image_02052025_20_37_34_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f5d48747336a075ba63c4fc76468bc62.jpg","text":"TemporaryFile(/tmp/multipartBody421655549798609032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216693534,"filename":"image_02052025_20_38_15_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1250ae042c9b6c463d0e91a0246ca458.jpg","text":"TemporaryFile(/tmp/multipartBody4641786456417208165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216693534,"filename":"image_02052025_20_37_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/5/2/83e115de3cd2e85ddd6ffbf317d73d8a.jpg","text":"TemporaryFile(/tmp/multipartBody941113225255777779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216693534,"filename":"image_02052025_20_37_14_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1c670c7ce041ab1df8a3db1b08f99977.jpg","text":"TemporaryFile(/tmp/multipartBody1264511586775528515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216693534,"filename":"image_02052025_20_37_45_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355464434","file1":"1355464407","file0":"1355464379","file4":"1355464527","file5":"1355464589","file3":"1355464474"},"map_files_photo_id_array":[{"photo_id":"1355464589","filename":"file5"},{"photo_id":"1355464434","filename":"file2"},{"photo_id":"1355464527","filename":"file4"},{"photo_id":"1355464407","filename":"file1"},{"photo_id":"1355464379","filename":"file0"},{"photo_id":"1355464474","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355464527":["hashtag1","hashtag2"]},{"1355464434":["hashtag1","hashtag2"]},{"1355464589":["hashtag1","hashtag2"]},{"1355464407":["hashtag1","hashtag2"]},{"1355464379":["hashtag1","hashtag2"]},{"1355464474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355464527, 1355464434, 1355464589, 1355464407, 1355464379, 1355464474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.006606578826904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:11:32.255023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/38/image_02052025_20_38_24_9400.jpg', '/home/pi/Desktop/images/02052025/20/38/image_02052025_20_38_55_9368.jpg', '/home/pi/Desktop/images/02052025/20/38/image_02052025_20_39_05_10350.jpg', '/home/pi/Desktop/images/02052025/20/39/image_02052025_20_39_14_9355.jpg', '/home/pi/Desktop/images/02052025/20/39/image_02052025_20_39_25_10399.jpg', '/home/pi/Desktop/images/02052025/20/39/image_02052025_20_39_35_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/38/image_02052025_20_38_24_9400.jpg
/home/pi/Desktop/images/02052025/20/38/image_02052025_20_38_55_9368.jpg
/home/pi/Desktop/images/02052025/20/38/image_02052025_20_39_05_10350.jpg
/home/pi/Desktop/images/02052025/20/39/image_02052025_20_39_14_9355.jpg
/home/pi/Desktop/images/02052025/20/39/image_02052025_20_39_25_10399.jpg
/home/pi/Desktop/images/02052025/20/39/image_02052025_20_39_35_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":["1355464983","1355465042","1355465036","1355465039","1355465032","1355465017"],"photo_ids_order":["1355464983","1355465017","1355465032","1355465036","1355465039","1355465042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/260f9d2398b3dddcaca474a696a00861.jpg","text":"TemporaryFile(/tmp/multipartBody6579325693978327590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216752735,"filename":"image_02052025_20_38_24_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0d5a77d5874c7f7580ace89c8d08ecf3.jpg","text":"TemporaryFile(/tmp/multipartBody8748549334457496549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216752735,"filename":"image_02052025_20_39_35_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/479e65dc9b2051d5e46d5a0bd7781c78.jpg","text":"TemporaryFile(/tmp/multipartBody8524187083339936174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216752735,"filename":"image_02052025_20_39_14_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b8ec90e21b3a6fd3b6b86026b2384eed.jpg","text":"TemporaryFile(/tmp/multipartBody5239098531580286730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216752735,"filename":"image_02052025_20_39_25_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d20ea65456e9d4693124b15ecb498e5c.jpg","text":"TemporaryFile(/tmp/multipartBody4126162875109429268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216752735,"filename":"image_02052025_20_39_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/5/2/96433303633cdd2dde2f55d3b0f460bf.jpg","text":"TemporaryFile(/tmp/multipartBody2689897332650394360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216752735,"filename":"image_02052025_20_38_55_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355465032","file1":"1355465017","file0":"1355464983","file4":"1355465039","file5":"1355465042","file3":"1355465036"},"map_files_photo_id_array":[{"photo_id":"1355465042","filename":"file5"},{"photo_id":"1355465032","filename":"file2"},{"photo_id":"1355465039","filename":"file4"},{"photo_id":"1355465017","filename":"file1"},{"photo_id":"1355464983","filename":"file0"},{"photo_id":"1355465036","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355464983":["hashtag1","hashtag2"]},{"1355465042":["hashtag1","hashtag2"]},{"1355465036":["hashtag1","hashtag2"]},{"1355465039":["hashtag1","hashtag2"]},{"1355465032":["hashtag1","hashtag2"]},{"1355465017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355464983, 1355465042, 1355465036, 1355465039, 1355465032, 1355465017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.717952966690063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:12:32.455874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/39/image_02052025_20_39_44_9381.jpg', '/home/pi/Desktop/images/02052025/20/39/image_02052025_20_39_55_10507.jpg', '/home/pi/Desktop/images/02052025/20/39/image_02052025_20_40_04_9374.jpg', '/home/pi/Desktop/images/02052025/20/40/image_02052025_20_40_15_10509.jpg', '/home/pi/Desktop/images/02052025/20/40/image_02052025_20_40_24_9441.jpg', '/home/pi/Desktop/images/02052025/20/40/image_02052025_20_40_35_10264.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/39/image_02052025_20_39_44_9381.jpg
/home/pi/Desktop/images/02052025/20/39/image_02052025_20_39_55_10507.jpg
/home/pi/Desktop/images/02052025/20/39/image_02052025_20_40_04_9374.jpg
/home/pi/Desktop/images/02052025/20/40/image_02052025_20_40_15_10509.jpg
/home/pi/Desktop/images/02052025/20/40/image_02052025_20_40_24_9441.jpg
/home/pi/Desktop/images/02052025/20/40/image_02052025_20_40_35_10264.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355465241","1355465337","1355465325","1355465296","1355465269","1355465356"],"photo_ids_order":["1355465241","1355465269","1355465296","1355465325","1355465337","1355465356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9011352a144ebd07c4fe76865b5d2209.jpg","text":"TemporaryFile(/tmp/multipartBody2007054431651501410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216812932,"filename":"image_02052025_20_39_44_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f38611dfe82704b7634966748480bfd7.jpg","text":"TemporaryFile(/tmp/multipartBody3521009487755923842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216812932,"filename":"image_02052025_20_40_24_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/74a10459ce48e59daa5bbceeb4fb6bb1.jpg","text":"TemporaryFile(/tmp/multipartBody9008830416000117354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216812932,"filename":"image_02052025_20_40_15_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/700e6323522096ab1151cb989c72b95f.jpg","text":"TemporaryFile(/tmp/multipartBody3153781447467746327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216812932,"filename":"image_02052025_20_40_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/5/2/3b7516ff4b4ce3883623f2c805c76e89.jpg","text":"TemporaryFile(/tmp/multipartBody2991345374865429299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216812932,"filename":"image_02052025_20_39_55_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6e41cd5408543e728f2bbe41d9c13ffe.jpg","text":"TemporaryFile(/tmp/multipartBody895965700034866579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216812932,"filename":"image_02052025_20_40_35_10264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355465296","file1":"1355465269","file0":"1355465241","file4":"1355465337","file5":"1355465356","file3":"1355465325"},"map_files_photo_id_array":[{"photo_id":"1355465356","filename":"file5"},{"photo_id":"1355465296","filename":"file2"},{"photo_id":"1355465337","filename":"file4"},{"photo_id":"1355465269","filename":"file1"},{"photo_id":"1355465241","filename":"file0"},{"photo_id":"1355465325","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355465241":["hashtag1","hashtag2"]},{"1355465337":["hashtag1","hashtag2"]},{"1355465325":["hashtag1","hashtag2"]},{"1355465296":["hashtag1","hashtag2"]},{"1355465269":["hashtag1","hashtag2"]},{"1355465356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355465241, 1355465337, 1355465325, 1355465296, 1355465269, 1355465356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.479322910308838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:13:32.662683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/40/image_02052025_20_40_45_10377.jpg', '/home/pi/Desktop/images/02052025/20/40/image_02052025_20_40_54_9365.jpg', '/home/pi/Desktop/images/02052025/20/40/image_02052025_20_41_05_10451.jpg', '/home/pi/Desktop/images/02052025/20/41/image_02052025_20_41_14_9440.jpg', '/home/pi/Desktop/images/02052025/20/41/image_02052025_20_41_25_10361.jpg', '/home/pi/Desktop/images/02052025/20/41/image_02052025_20_41_44_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/40/image_02052025_20_40_45_10377.jpg
/home/pi/Desktop/images/02052025/20/40/image_02052025_20_40_54_9365.jpg
/home/pi/Desktop/images/02052025/20/40/image_02052025_20_41_05_10451.jpg
/home/pi/Desktop/images/02052025/20/41/image_02052025_20_41_14_9440.jpg
/home/pi/Desktop/images/02052025/20/41/image_02052025_20_41_25_10361.jpg
/home/pi/Desktop/images/02052025/20/41/image_02052025_20_41_44_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":["1355465511","1355465514","1355465508","1355465517","1355465519","1355465504"],"photo_ids_order":["1355465504","1355465508","1355465511","1355465514","1355465517","1355465519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9b18fb9a8640ab250368252cf2a2bbc.jpg","text":"TemporaryFile(/tmp/multipartBody3056264602194175687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216873129,"filename":"image_02052025_20_41_05_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bfd44fd432fcc167bc6a4304fc942e8e.jpg","text":"TemporaryFile(/tmp/multipartBody3901962613945647179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216873129,"filename":"image_02052025_20_41_14_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e8d003661986361ad94779d7a195bdc2.jpg","text":"TemporaryFile(/tmp/multipartBody2803702573923653172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216873129,"filename":"image_02052025_20_40_54_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86697dcdddb7aaba20a26f931c37ca00.jpg","text":"TemporaryFile(/tmp/multipartBody513676515833540135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216873129,"filename":"image_02052025_20_41_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/5/2/64935029e71570b68e680b6dca2ea42c.jpg","text":"TemporaryFile(/tmp/multipartBody7949179324863097287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216873129,"filename":"image_02052025_20_41_44_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd4a4530d335d4521c9bc824eefbf97e.jpg","text":"TemporaryFile(/tmp/multipartBody8859589336571478805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216873129,"filename":"image_02052025_20_40_45_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355465511","file1":"1355465508","file0":"1355465504","file4":"1355465517","file5":"1355465519","file3":"1355465514"},"map_files_photo_id_array":[{"photo_id":"1355465519","filename":"file5"},{"photo_id":"1355465511","filename":"file2"},{"photo_id":"1355465517","filename":"file4"},{"photo_id":"1355465508","filename":"file1"},{"photo_id":"1355465504","filename":"file0"},{"photo_id":"1355465514","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355465511":["hashtag1","hashtag2"]},{"1355465514":["hashtag1","hashtag2"]},{"1355465508":["hashtag1","hashtag2"]},{"1355465517":["hashtag1","hashtag2"]},{"1355465519":["hashtag1","hashtag2"]},{"1355465504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355465511, 1355465514, 1355465508, 1355465517, 1355465519, 1355465504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.52884602546692 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:14:32.875607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/41/image_02052025_20_41_55_10499.jpg', '/home/pi/Desktop/images/02052025/20/41/image_02052025_20_42_05_10383.jpg', '/home/pi/Desktop/images/02052025/20/42/image_02052025_20_42_15_9410.jpg', '/home/pi/Desktop/images/02052025/20/42/image_02052025_20_42_25_10450.jpg', '/home/pi/Desktop/images/02052025/20/42/image_02052025_20_42_34_9359.jpg', '/home/pi/Desktop/images/02052025/20/42/image_02052025_20_42_45_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/41/image_02052025_20_41_55_10499.jpg
/home/pi/Desktop/images/02052025/20/41/image_02052025_20_42_05_10383.jpg
/home/pi/Desktop/images/02052025/20/42/image_02052025_20_42_15_9410.jpg
/home/pi/Desktop/images/02052025/20/42/image_02052025_20_42_25_10450.jpg
/home/pi/Desktop/images/02052025/20/42/image_02052025_20_42_34_9359.jpg
/home/pi/Desktop/images/02052025/20/42/image_02052025_20_42_45_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":["1355465550","1355465553","1355465543","1355465545","1355465548","1355465556"],"photo_ids_order":["1355465543","1355465545","1355465548","1355465550","1355465553","1355465556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8868e1bfc57b848336cad221b85f6708.jpg","text":"TemporaryFile(/tmp/multipartBody3010964537363728497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216933346,"filename":"image_02052025_20_42_25_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b7b3ea6078f143e86c92830a4cce43dd.jpg","text":"TemporaryFile(/tmp/multipartBody4845104701109899811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216933346,"filename":"image_02052025_20_42_34_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f6370ff1215dfbd4b724343c5268ea22.jpg","text":"TemporaryFile(/tmp/multipartBody734476113215810491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216933346,"filename":"image_02052025_20_41_55_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/20fdfcbbf4ac2cb9c742ba0bbbc8f16a.jpg","text":"TemporaryFile(/tmp/multipartBody4502088266682791988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216933346,"filename":"image_02052025_20_42_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/5/2/f49361da0deaab0fa9b27076710ba2d8.jpg","text":"TemporaryFile(/tmp/multipartBody4028362813562417019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216933346,"filename":"image_02052025_20_42_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/5/2/8dd726995f746702ebe27ddaa821c9f9.jpg","text":"TemporaryFile(/tmp/multipartBody2521912523378054785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216933346,"filename":"image_02052025_20_42_45_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355465548","file1":"1355465545","file0":"1355465543","file4":"1355465553","file5":"1355465556","file3":"1355465550"},"map_files_photo_id_array":[{"photo_id":"1355465556","filename":"file5"},{"photo_id":"1355465548","filename":"file2"},{"photo_id":"1355465553","filename":"file4"},{"photo_id":"1355465545","filename":"file1"},{"photo_id":"1355465543","filename":"file0"},{"photo_id":"1355465550","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355465550":["hashtag1","hashtag2"]},{"1355465553":["hashtag1","hashtag2"]},{"1355465543":["hashtag1","hashtag2"]},{"1355465545":["hashtag1","hashtag2"]},{"1355465548":["hashtag1","hashtag2"]},{"1355465556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355465550, 1355465553, 1355465543, 1355465545, 1355465548, 1355465556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.13742971420288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:15:33.070922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/42/image_02052025_20_42_54_9358.jpg', '/home/pi/Desktop/images/02052025/20/42/image_02052025_20_43_05_10365.jpg', '/home/pi/Desktop/images/02052025/20/43/image_02052025_20_43_15_10439.jpg', '/home/pi/Desktop/images/02052025/20/43/image_02052025_20_43_25_9455.jpg', '/home/pi/Desktop/images/02052025/20/43/image_02052025_20_43_35_10377.jpg', '/home/pi/Desktop/images/02052025/20/43/image_02052025_20_43_44_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/42/image_02052025_20_42_54_9358.jpg
/home/pi/Desktop/images/02052025/20/42/image_02052025_20_43_05_10365.jpg
/home/pi/Desktop/images/02052025/20/43/image_02052025_20_43_15_10439.jpg
/home/pi/Desktop/images/02052025/20/43/image_02052025_20_43_25_9455.jpg
/home/pi/Desktop/images/02052025/20/43/image_02052025_20_43_35_10377.jpg
/home/pi/Desktop/images/02052025/20/43/image_02052025_20_43_44_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":["1355465646","1355465585","1355465590","1355465617","1355465580","1355465676"],"photo_ids_order":["1355465580","1355465585","1355465590","1355465617","1355465646","1355465676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/37d65cce2426f3f5b69329b9e38528b6.jpg","text":"TemporaryFile(/tmp/multipartBody283790474244012471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216993542,"filename":"image_02052025_20_43_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9591687b06ca00562f79d019b08d6d9f.jpg","text":"TemporaryFile(/tmp/multipartBody243538247200796070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216993542,"filename":"image_02052025_20_43_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e34578934ba059ba4006d9b238407e9c.jpg","text":"TemporaryFile(/tmp/multipartBody622595319109649613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216993542,"filename":"image_02052025_20_43_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/777210ef539a530197af2bf859e08dca.jpg","text":"TemporaryFile(/tmp/multipartBody3463796648119085456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216993542,"filename":"image_02052025_20_43_25_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75c336d0e8a911329276ac7fc16aefd1.jpg","text":"TemporaryFile(/tmp/multipartBody188767958373831835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216993542,"filename":"image_02052025_20_42_54_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1cc9dd2dc401f7aab55ce4da978a4c5c.jpg","text":"TemporaryFile(/tmp/multipartBody4316685208739506140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746216993542,"filename":"image_02052025_20_43_44_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355465590","file1":"1355465585","file0":"1355465580","file4":"1355465646","file5":"1355465676","file3":"1355465617"},"map_files_photo_id_array":[{"photo_id":"1355465676","filename":"file5"},{"photo_id":"1355465590","filename":"file2"},{"photo_id":"1355465646","filename":"file4"},{"photo_id":"1355465585","filename":"file1"},{"photo_id":"1355465580","filename":"file0"},{"photo_id":"1355465617","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355465646":["hashtag1","hashtag2"]},{"1355465585":["hashtag1","hashtag2"]},{"1355465590":["hashtag1","hashtag2"]},{"1355465617":["hashtag1","hashtag2"]},{"1355465580":["hashtag1","hashtag2"]},{"1355465676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355465646, 1355465585, 1355465590, 1355465617, 1355465580, 1355465676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84359073638916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:16:32.178508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/43/image_02052025_20_43_55_10369.jpg', '/home/pi/Desktop/images/02052025/20/43/image_02052025_20_44_05_10350.jpg', '/home/pi/Desktop/images/02052025/20/44/image_02052025_20_44_14_9405.jpg', '/home/pi/Desktop/images/02052025/20/44/image_02052025_20_44_25_10471.jpg', '/home/pi/Desktop/images/02052025/20/44/image_02052025_20_44_34_9415.jpg', '/home/pi/Desktop/images/02052025/20/44/image_02052025_20_44_45_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/43/image_02052025_20_43_55_10369.jpg
/home/pi/Desktop/images/02052025/20/43/image_02052025_20_44_05_10350.jpg
/home/pi/Desktop/images/02052025/20/44/image_02052025_20_44_14_9405.jpg
/home/pi/Desktop/images/02052025/20/44/image_02052025_20_44_25_10471.jpg
/home/pi/Desktop/images/02052025/20/44/image_02052025_20_44_34_9415.jpg
/home/pi/Desktop/images/02052025/20/44/image_02052025_20_44_45_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355465922","1355466098","1355466065","1355466038","1355465953","1355466010"],"photo_ids_order":["1355465922","1355465953","1355466010","1355466038","1355466065","1355466098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/112afe25b1268ece53d558b74460b097.jpg","text":"TemporaryFile(/tmp/multipartBody8150173565396688801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217052642,"filename":"image_02052025_20_43_55_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cc4fb84745d80277e5c5cc4338ae2a9f.jpg","text":"TemporaryFile(/tmp/multipartBody300790830175560148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217052642,"filename":"image_02052025_20_44_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/5/2/343a2ea9980a632f68082a09872fffcc.jpg","text":"TemporaryFile(/tmp/multipartBody3559761714026615503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217052642,"filename":"image_02052025_20_44_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f84efc67b1881c5142b388b6d52cb7ef.jpg","text":"TemporaryFile(/tmp/multipartBody56735505556920433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217052642,"filename":"image_02052025_20_44_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b4a66bb407e1e22bb28b0645f6f212e.jpg","text":"TemporaryFile(/tmp/multipartBody8908895504919228020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217052642,"filename":"image_02052025_20_44_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/5/2/f6f4392c4899d6381310a92b3e72a1b6.jpg","text":"TemporaryFile(/tmp/multipartBody1025984698409284573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217052642,"filename":"image_02052025_20_44_14_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355466010","file1":"1355465953","file0":"1355465922","file4":"1355466065","file5":"1355466098","file3":"1355466038"},"map_files_photo_id_array":[{"photo_id":"1355466098","filename":"file5"},{"photo_id":"1355466010","filename":"file2"},{"photo_id":"1355466065","filename":"file4"},{"photo_id":"1355465953","filename":"file1"},{"photo_id":"1355465922","filename":"file0"},{"photo_id":"1355466038","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355465922":["hashtag1","hashtag2"]},{"1355466098":["hashtag1","hashtag2"]},{"1355466065":["hashtag1","hashtag2"]},{"1355466038":["hashtag1","hashtag2"]},{"1355465953":["hashtag1","hashtag2"]},{"1355466010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355465922, 1355466098, 1355466065, 1355466038, 1355465953, 1355466010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02482223510742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:17:32.478908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/44/image_02052025_20_44_55_10389.jpg', '/home/pi/Desktop/images/02052025/20/44/image_02052025_20_45_04_9436.jpg', '/home/pi/Desktop/images/02052025/20/45/image_02052025_20_45_15_10470.jpg', '/home/pi/Desktop/images/02052025/20/45/image_02052025_20_45_24_9380.jpg', '/home/pi/Desktop/images/02052025/20/45/image_02052025_20_45_35_10360.jpg', '/home/pi/Desktop/images/02052025/20/45/image_02052025_20_45_45_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/44/image_02052025_20_44_55_10389.jpg
/home/pi/Desktop/images/02052025/20/44/image_02052025_20_45_04_9436.jpg
/home/pi/Desktop/images/02052025/20/45/image_02052025_20_45_15_10470.jpg
/home/pi/Desktop/images/02052025/20/45/image_02052025_20_45_24_9380.jpg
/home/pi/Desktop/images/02052025/20/45/image_02052025_20_45_35_10360.jpg
/home/pi/Desktop/images/02052025/20/45/image_02052025_20_45_45_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355466473","1355466440","1355466344","1355466410","1355466508","1355466372"],"photo_ids_order":["1355466344","1355466372","1355466410","1355466440","1355466473","1355466508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/95198d529eb17964e8244a8c08138206.jpg","text":"TemporaryFile(/tmp/multipartBody3431619470572385525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217112944,"filename":"image_02052025_20_45_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/5/2/c3542f9227c30164009541d99b423178.jpg","text":"TemporaryFile(/tmp/multipartBody4473043632076778473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217112944,"filename":"image_02052025_20_45_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/5/2/b472c07571d88eede87e41867868c216.jpg","text":"TemporaryFile(/tmp/multipartBody6551405562949201172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217112944,"filename":"image_02052025_20_44_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/5/2/c8a3526962ff7921c0018a88fde4ae3b.jpg","text":"TemporaryFile(/tmp/multipartBody2199114579724242752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217112944,"filename":"image_02052025_20_45_15_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/383ad34d66a5d1760bf606462edb79f0.jpg","text":"TemporaryFile(/tmp/multipartBody1297151396357714185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217112944,"filename":"image_02052025_20_45_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/5/2/a472ce161efa6ac99e161a607135f562.jpg","text":"TemporaryFile(/tmp/multipartBody6338011288470432722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217112944,"filename":"image_02052025_20_45_04_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355466410","file1":"1355466372","file0":"1355466344","file4":"1355466473","file5":"1355466508","file3":"1355466440"},"map_files_photo_id_array":[{"photo_id":"1355466508","filename":"file5"},{"photo_id":"1355466410","filename":"file2"},{"photo_id":"1355466473","filename":"file4"},{"photo_id":"1355466372","filename":"file1"},{"photo_id":"1355466344","filename":"file0"},{"photo_id":"1355466440","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355466473":["hashtag1","hashtag2"]},{"1355466440":["hashtag1","hashtag2"]},{"1355466344":["hashtag1","hashtag2"]},{"1355466410":["hashtag1","hashtag2"]},{"1355466508":["hashtag1","hashtag2"]},{"1355466372":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355466473, 1355466440, 1355466344, 1355466410, 1355466508, 1355466372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.731374979019165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:18:32.517997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/45/image_02052025_20_45_55_9441.jpg', '/home/pi/Desktop/images/02052025/20/45/image_02052025_20_46_05_10365.jpg', '/home/pi/Desktop/images/02052025/20/46/image_02052025_20_46_14_9383.jpg', '/home/pi/Desktop/images/02052025/20/46/image_02052025_20_46_25_10379.jpg', '/home/pi/Desktop/images/02052025/20/46/image_02052025_20_46_35_10462.jpg', '/home/pi/Desktop/images/02052025/20/46/image_02052025_20_46_45_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/45/image_02052025_20_45_55_9441.jpg
/home/pi/Desktop/images/02052025/20/45/image_02052025_20_46_05_10365.jpg
/home/pi/Desktop/images/02052025/20/46/image_02052025_20_46_14_9383.jpg
/home/pi/Desktop/images/02052025/20/46/image_02052025_20_46_25_10379.jpg
/home/pi/Desktop/images/02052025/20/46/image_02052025_20_46_35_10462.jpg
/home/pi/Desktop/images/02052025/20/46/image_02052025_20_46_45_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355467180","1355466938","1355466886","1355467009","1355467068","1355467119"],"photo_ids_order":["1355466886","1355466938","1355467009","1355467068","1355467119","1355467180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/15d3a9355de8775470067c252f0bfec8.jpg","text":"TemporaryFile(/tmp/multipartBody9036614027302033869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217172987,"filename":"image_02052025_20_46_45_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2986b9d158e1ca3bb729249e493a927.jpg","text":"TemporaryFile(/tmp/multipartBody8925319992567063389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217172987,"filename":"image_02052025_20_46_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4fcc671a6a1be1cb76d5f80bf13befc.jpg","text":"TemporaryFile(/tmp/multipartBody4919652874170831292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217172987,"filename":"image_02052025_20_45_55_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eab0cddd95ab88a635bc099bd72fcfe7.jpg","text":"TemporaryFile(/tmp/multipartBody2593017226794858500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217172987,"filename":"image_02052025_20_46_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/5/2/d0c5cfb3ff13ef312d8ec814575de9db.jpg","text":"TemporaryFile(/tmp/multipartBody3827092130257269165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217172987,"filename":"image_02052025_20_46_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/5/2/0f864f7d6e9cccdc54f325ecfe30127c.jpg","text":"TemporaryFile(/tmp/multipartBody8729027415401200054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217172987,"filename":"image_02052025_20_46_35_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355467009","file1":"1355466938","file0":"1355466886","file4":"1355467119","file5":"1355467180","file3":"1355467068"},"map_files_photo_id_array":[{"photo_id":"1355467180","filename":"file5"},{"photo_id":"1355467009","filename":"file2"},{"photo_id":"1355467119","filename":"file4"},{"photo_id":"1355466938","filename":"file1"},{"photo_id":"1355466886","filename":"file0"},{"photo_id":"1355467068","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355467180":["hashtag1","hashtag2"]},{"1355466938":["hashtag1","hashtag2"]},{"1355466886":["hashtag1","hashtag2"]},{"1355467009":["hashtag1","hashtag2"]},{"1355467068":["hashtag1","hashtag2"]},{"1355467119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355467180, 1355466938, 1355466886, 1355467009, 1355467068, 1355467119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48686695098877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:19:32.815917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/46/image_02052025_20_47_04_9487.jpg', '/home/pi/Desktop/images/02052025/20/47/image_02052025_20_47_24_9364.jpg', '/home/pi/Desktop/images/02052025/20/47/image_02052025_20_47_45_10438.jpg', '/home/pi/Desktop/images/02052025/20/47/image_02052025_20_47_54_9370.jpg', '/home/pi/Desktop/images/02052025/20/47/image_02052025_20_48_05_10419.jpg', '/home/pi/Desktop/images/02052025/20/48/image_02052025_20_48_14_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/46/image_02052025_20_47_04_9487.jpg
/home/pi/Desktop/images/02052025/20/47/image_02052025_20_47_24_9364.jpg
/home/pi/Desktop/images/02052025/20/47/image_02052025_20_47_45_10438.jpg
/home/pi/Desktop/images/02052025/20/47/image_02052025_20_47_54_9370.jpg
/home/pi/Desktop/images/02052025/20/47/image_02052025_20_48_05_10419.jpg
/home/pi/Desktop/images/02052025/20/48/image_02052025_20_48_14_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":["1355468024","1355467795","1355467969","1355467913","1355467708","1355467851"],"photo_ids_order":["1355467708","1355467795","1355467851","1355467913","1355467969","1355468024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c233926a3f846ed54b3c5004b03f3a56.jpg","text":"TemporaryFile(/tmp/multipartBody5173684559530752166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217233296,"filename":"image_02052025_20_48_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/5/2/6f5ca17d3c57ba5250ced53e060ffabd.jpg","text":"TemporaryFile(/tmp/multipartBody3158677409561153362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217233296,"filename":"image_02052025_20_47_24_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f191ba898e187b27988b403b345e5a76.jpg","text":"TemporaryFile(/tmp/multipartBody8207940663057135858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217233296,"filename":"image_02052025_20_48_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/5/2/3d679e8032fd998ccb4d4f4c305b27fc.jpg","text":"TemporaryFile(/tmp/multipartBody8233586875545121724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217233296,"filename":"image_02052025_20_47_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/5/2/1a2da21bff69e5e166c045e1a76655db.jpg","text":"TemporaryFile(/tmp/multipartBody3682583691576531301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217233296,"filename":"image_02052025_20_47_04_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d45106c4367bae3c386d3d7e43ceb3f6.jpg","text":"TemporaryFile(/tmp/multipartBody3102058868502419008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217233296,"filename":"image_02052025_20_47_45_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355467851","file1":"1355467795","file0":"1355467708","file4":"1355467969","file5":"1355468024","file3":"1355467913"},"map_files_photo_id_array":[{"photo_id":"1355468024","filename":"file5"},{"photo_id":"1355467851","filename":"file2"},{"photo_id":"1355467969","filename":"file4"},{"photo_id":"1355467795","filename":"file1"},{"photo_id":"1355467708","filename":"file0"},{"photo_id":"1355467913","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355468024":["hashtag1","hashtag2"]},{"1355467795":["hashtag1","hashtag2"]},{"1355467969":["hashtag1","hashtag2"]},{"1355467913":["hashtag1","hashtag2"]},{"1355467708":["hashtag1","hashtag2"]},{"1355467851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355468024, 1355467795, 1355467969, 1355467913, 1355467708, 1355467851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59567308425903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:20:33.089750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/48/image_02052025_20_48_25_10378.jpg', '/home/pi/Desktop/images/02052025/20/48/image_02052025_20_48_35_10433.jpg', '/home/pi/Desktop/images/02052025/20/48/image_02052025_20_48_44_9438.jpg', '/home/pi/Desktop/images/02052025/20/48/image_02052025_20_48_55_10381.jpg', '/home/pi/Desktop/images/02052025/20/48/image_02052025_20_49_04_9374.jpg', '/home/pi/Desktop/images/02052025/20/49/image_02052025_20_49_15_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/48/image_02052025_20_48_25_10378.jpg
/home/pi/Desktop/images/02052025/20/48/image_02052025_20_48_35_10433.jpg
/home/pi/Desktop/images/02052025/20/48/image_02052025_20_48_44_9438.jpg
/home/pi/Desktop/images/02052025/20/48/image_02052025_20_48_55_10381.jpg
/home/pi/Desktop/images/02052025/20/48/image_02052025_20_49_04_9374.jpg
/home/pi/Desktop/images/02052025/20/49/image_02052025_20_49_15_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355469637","1355468977","1355469276","1355468730","1355469956","1355470238"],"photo_ids_order":["1355468730","1355468977","1355469276","1355469637","1355469956","1355470238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf05599fbc727bdf27cbe277a3c39485.jpg","text":"TemporaryFile(/tmp/multipartBody4106711315805107386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217293573,"filename":"image_02052025_20_48_55_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4c1eddd57bf0daaf508cb31b4be54508.jpg","text":"TemporaryFile(/tmp/multipartBody971323258345387959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217293573,"filename":"image_02052025_20_48_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/5/2/efb392778aee5a2aae7f98952fa42950.jpg","text":"TemporaryFile(/tmp/multipartBody2312663798383312200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217293573,"filename":"image_02052025_20_48_44_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a2ef5132e49257ffeb007430cd810d49.jpg","text":"TemporaryFile(/tmp/multipartBody5578476566767163590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217293573,"filename":"image_02052025_20_48_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/5/2/f5e28a06ec657fbb20e3972dd7dccaf5.jpg","text":"TemporaryFile(/tmp/multipartBody3288538606683188308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217293573,"filename":"image_02052025_20_49_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/5/2/6546bc63fcb5565e3041d70881d3f144.jpg","text":"TemporaryFile(/tmp/multipartBody7165935219505636097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217293573,"filename":"image_02052025_20_49_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355469276","file1":"1355468977","file0":"1355468730","file4":"1355469956","file5":"1355470238","file3":"1355469637"},"map_files_photo_id_array":[{"photo_id":"1355470238","filename":"file5"},{"photo_id":"1355469276","filename":"file2"},{"photo_id":"1355469956","filename":"file4"},{"photo_id":"1355468977","filename":"file1"},{"photo_id":"1355468730","filename":"file0"},{"photo_id":"1355469637","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355469637":["hashtag1","hashtag2"]},{"1355468977":["hashtag1","hashtag2"]},{"1355469276":["hashtag1","hashtag2"]},{"1355468730":["hashtag1","hashtag2"]},{"1355469956":["hashtag1","hashtag2"]},{"1355470238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355469637, 1355468977, 1355469276, 1355468730, 1355469956, 1355470238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.034762382507324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:21:32.346049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/49/image_02052025_20_49_25_10412.jpg', '/home/pi/Desktop/images/02052025/20/49/image_02052025_20_49_34_9419.jpg', '/home/pi/Desktop/images/02052025/20/49/image_02052025_20_49_45_10458.jpg', '/home/pi/Desktop/images/02052025/20/49/image_02052025_20_49_54_9415.jpg', '/home/pi/Desktop/images/02052025/20/49/image_02052025_20_50_05_10423.jpg', '/home/pi/Desktop/images/02052025/20/50/image_02052025_20_50_15_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/49/image_02052025_20_49_25_10412.jpg
/home/pi/Desktop/images/02052025/20/49/image_02052025_20_49_34_9419.jpg
/home/pi/Desktop/images/02052025/20/49/image_02052025_20_49_45_10458.jpg
/home/pi/Desktop/images/02052025/20/49/image_02052025_20_49_54_9415.jpg
/home/pi/Desktop/images/02052025/20/49/image_02052025_20_50_05_10423.jpg
/home/pi/Desktop/images/02052025/20/50/image_02052025_20_50_15_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":["1355471152","1355470887","1355470968","1355470914","1355471009","1355471098"],"photo_ids_order":["1355470887","1355470914","1355470968","1355471009","1355471098","1355471152"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/59a25557bdd0d1010345f68fdf7e2bf8.jpg","text":"TemporaryFile(/tmp/multipartBody8090302268308449885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217352816,"filename":"image_02052025_20_50_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/5/2/9f96c86fe06c7eb7b12710919b14effb.jpg","text":"TemporaryFile(/tmp/multipartBody4039537711853735682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217352816,"filename":"image_02052025_20_49_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/5/2/4f3d6bf937f51e4181b4ba54551c223e.jpg","text":"TemporaryFile(/tmp/multipartBody3965185605450964194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217352816,"filename":"image_02052025_20_49_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/5/2/450910e5554d4635f1c60b78aea254f9.jpg","text":"TemporaryFile(/tmp/multipartBody7702797189571747719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217352816,"filename":"image_02052025_20_49_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f0ed3a003a26785093b24e25ec1b2af6.jpg","text":"TemporaryFile(/tmp/multipartBody1538678590737620594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217352816,"filename":"image_02052025_20_49_54_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3b580b4b22df3f806bc445c1a4f588be.jpg","text":"TemporaryFile(/tmp/multipartBody7686531684679659714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217352816,"filename":"image_02052025_20_50_05_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355470968","file1":"1355470914","file0":"1355470887","file4":"1355471098","file5":"1355471152","file3":"1355471009"},"map_files_photo_id_array":[{"photo_id":"1355471152","filename":"file5"},{"photo_id":"1355470968","filename":"file2"},{"photo_id":"1355471098","filename":"file4"},{"photo_id":"1355470914","filename":"file1"},{"photo_id":"1355470887","filename":"file0"},{"photo_id":"1355471009","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355471152":["hashtag1","hashtag2"]},{"1355470887":["hashtag1","hashtag2"]},{"1355470968":["hashtag1","hashtag2"]},{"1355470914":["hashtag1","hashtag2"]},{"1355471009":["hashtag1","hashtag2"]},{"1355471098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355471152, 1355470887, 1355470968, 1355470914, 1355471009, 1355471098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31529355049133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:22:32.504619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/50/image_02052025_20_50_24_9430.jpg', '/home/pi/Desktop/images/02052025/20/50/image_02052025_20_50_35_10476.jpg', '/home/pi/Desktop/images/02052025/20/50/image_02052025_20_50_55_10444.jpg', '/home/pi/Desktop/images/02052025/20/51/image_02052025_20_51_15_10419.jpg', '/home/pi/Desktop/images/02052025/20/51/image_02052025_20_51_25_10377.jpg', '/home/pi/Desktop/images/02052025/20/51/image_02052025_20_51_34_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/50/image_02052025_20_50_24_9430.jpg
/home/pi/Desktop/images/02052025/20/50/image_02052025_20_50_35_10476.jpg
/home/pi/Desktop/images/02052025/20/50/image_02052025_20_50_55_10444.jpg
/home/pi/Desktop/images/02052025/20/51/image_02052025_20_51_15_10419.jpg
/home/pi/Desktop/images/02052025/20/51/image_02052025_20_51_25_10377.jpg
/home/pi/Desktop/images/02052025/20/51/image_02052025_20_51_34_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355471749","1355471952","1355471877","1355471904","1355471826","1355471989"],"photo_ids_order":["1355471749","1355471826","1355471877","1355471904","1355471952","1355471989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c16e22534e33ac3d6cc692bd463ad266.jpg","text":"TemporaryFile(/tmp/multipartBody635856719262544062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217413045,"filename":"image_02052025_20_50_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/5/2/dc65d12e4f729df8cff7e6a3674f63c1.jpg","text":"TemporaryFile(/tmp/multipartBody7327480848240086180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217413045,"filename":"image_02052025_20_51_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/5/2/76afb2a0185d4d80a3de3cd8e66d8956.jpg","text":"TemporaryFile(/tmp/multipartBody1449514044907850067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217413045,"filename":"image_02052025_20_50_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/5/2/3e1a6a0199473ab6f31286fe4e69d114.jpg","text":"TemporaryFile(/tmp/multipartBody3675508476182186323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217413045,"filename":"image_02052025_20_51_15_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8383ffb56433e910b8f97e249a405973.jpg","text":"TemporaryFile(/tmp/multipartBody2508369791340871583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217413045,"filename":"image_02052025_20_50_35_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/204835c4d30ad0302c93f9fe65548924.jpg","text":"TemporaryFile(/tmp/multipartBody1307270466082147388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217413045,"filename":"image_02052025_20_51_34_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355471877","file1":"1355471826","file0":"1355471749","file4":"1355471952","file5":"1355471989","file3":"1355471904"},"map_files_photo_id_array":[{"photo_id":"1355471989","filename":"file5"},{"photo_id":"1355471877","filename":"file2"},{"photo_id":"1355471952","filename":"file4"},{"photo_id":"1355471826","filename":"file1"},{"photo_id":"1355471749","filename":"file0"},{"photo_id":"1355471904","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355471749":["hashtag1","hashtag2"]},{"1355471952":["hashtag1","hashtag2"]},{"1355471877":["hashtag1","hashtag2"]},{"1355471904":["hashtag1","hashtag2"]},{"1355471826":["hashtag1","hashtag2"]},{"1355471989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355471749, 1355471952, 1355471877, 1355471904, 1355471826, 1355471989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99532604217529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:23:32.720327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/51/image_02052025_20_51_45_10515.jpg', '/home/pi/Desktop/images/02052025/20/51/image_02052025_20_51_54_9384.jpg', '/home/pi/Desktop/images/02052025/20/51/image_02052025_20_52_05_10383.jpg', '/home/pi/Desktop/images/02052025/20/52/image_02052025_20_52_15_10444.jpg', '/home/pi/Desktop/images/02052025/20/52/image_02052025_20_52_24_9362.jpg', '/home/pi/Desktop/images/02052025/20/52/image_02052025_20_52_44_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/51/image_02052025_20_51_45_10515.jpg
/home/pi/Desktop/images/02052025/20/51/image_02052025_20_51_54_9384.jpg
/home/pi/Desktop/images/02052025/20/51/image_02052025_20_52_05_10383.jpg
/home/pi/Desktop/images/02052025/20/52/image_02052025_20_52_15_10444.jpg
/home/pi/Desktop/images/02052025/20/52/image_02052025_20_52_24_9362.jpg
/home/pi/Desktop/images/02052025/20/52/image_02052025_20_52_44_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355472777","1355472632","1355472431","1355472748","1355472604","1355472712"],"photo_ids_order":["1355472431","1355472604","1355472632","1355472712","1355472748","1355472777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b3bfc5b31d7716948ed5e0438ab7bfb.jpg","text":"TemporaryFile(/tmp/multipartBody9074259119526543460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217473194,"filename":"image_02052025_20_52_44_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f09bad376f487580eaaeffe20d167f29.jpg","text":"TemporaryFile(/tmp/multipartBody5980740010131951712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217473194,"filename":"image_02052025_20_52_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/5/2/f472c1e4ddff44768673637feaf14721.jpg","text":"TemporaryFile(/tmp/multipartBody543994046146818224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217473194,"filename":"image_02052025_20_51_45_10515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b1b69fc38ac5de8903b8519cc6d32102.jpg","text":"TemporaryFile(/tmp/multipartBody2834469844609854713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217473194,"filename":"image_02052025_20_52_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/5/2/e430f6e9796a97b41e3ef17a0034389f.jpg","text":"TemporaryFile(/tmp/multipartBody7867691829786703140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217473194,"filename":"image_02052025_20_51_54_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a9f1594099dcae5dd72f57da3b2f38bb.jpg","text":"TemporaryFile(/tmp/multipartBody7277443695474313206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217473194,"filename":"image_02052025_20_52_15_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355472632","file1":"1355472604","file0":"1355472431","file4":"1355472748","file5":"1355472777","file3":"1355472712"},"map_files_photo_id_array":[{"photo_id":"1355472777","filename":"file5"},{"photo_id":"1355472632","filename":"file2"},{"photo_id":"1355472748","filename":"file4"},{"photo_id":"1355472604","filename":"file1"},{"photo_id":"1355472431","filename":"file0"},{"photo_id":"1355472712","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355472777":["hashtag1","hashtag2"]},{"1355472632":["hashtag1","hashtag2"]},{"1355472431":["hashtag1","hashtag2"]},{"1355472748":["hashtag1","hashtag2"]},{"1355472604":["hashtag1","hashtag2"]},{"1355472712":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355472777, 1355472632, 1355472431, 1355472748, 1355472604, 1355472712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.59306311607361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:24:32.945073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/52/image_02052025_20_52_55_10376.jpg', '/home/pi/Desktop/images/02052025/20/52/image_02052025_20_53_05_10393.jpg', '/home/pi/Desktop/images/02052025/20/53/image_02052025_20_53_14_9365.jpg', '/home/pi/Desktop/images/02052025/20/53/image_02052025_20_53_25_10511.jpg', '/home/pi/Desktop/images/02052025/20/53/image_02052025_20_53_55_10443.jpg', '/home/pi/Desktop/images/02052025/20/54/image_02052025_20_54_24_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/52/image_02052025_20_52_55_10376.jpg
/home/pi/Desktop/images/02052025/20/52/image_02052025_20_53_05_10393.jpg
/home/pi/Desktop/images/02052025/20/53/image_02052025_20_53_14_9365.jpg
/home/pi/Desktop/images/02052025/20/53/image_02052025_20_53_25_10511.jpg
/home/pi/Desktop/images/02052025/20/53/image_02052025_20_53_55_10443.jpg
/home/pi/Desktop/images/02052025/20/54/image_02052025_20_54_24_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355473215","1355473055","1355473112","1355473171","1355473087","1355473141"],"photo_ids_order":["1355473055","1355473087","1355473112","1355473141","1355473171","1355473215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0694019684c3e8cd034315dd177517bf.jpg","text":"TemporaryFile(/tmp/multipartBody6024136250296938276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217533435,"filename":"image_02052025_20_54_24_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d5221f54980c0627b33132517dcb4df.jpg","text":"TemporaryFile(/tmp/multipartBody1075207761254878717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217533435,"filename":"image_02052025_20_52_55_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb8bd9a88926dd8c70f81a25449bfdc9.jpg","text":"TemporaryFile(/tmp/multipartBody8506928681191253623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217533435,"filename":"image_02052025_20_53_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/5/2/f70c99560323545f871f881bad34aa86.jpg","text":"TemporaryFile(/tmp/multipartBody286163384376535304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217533435,"filename":"image_02052025_20_53_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/5/2/4c31629db268174290d88c8437ad647d.jpg","text":"TemporaryFile(/tmp/multipartBody6563866389103315195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217533435,"filename":"image_02052025_20_53_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/5/2/6c275170f381e2417ba8dc9577a42ed0.jpg","text":"TemporaryFile(/tmp/multipartBody6270882206844447818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217533435,"filename":"image_02052025_20_53_25_10511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355473112","file1":"1355473087","file0":"1355473055","file4":"1355473171","file5":"1355473215","file3":"1355473141"},"map_files_photo_id_array":[{"photo_id":"1355473215","filename":"file5"},{"photo_id":"1355473112","filename":"file2"},{"photo_id":"1355473171","filename":"file4"},{"photo_id":"1355473087","filename":"file1"},{"photo_id":"1355473055","filename":"file0"},{"photo_id":"1355473141","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355473215":["hashtag1","hashtag2"]},{"1355473055":["hashtag1","hashtag2"]},{"1355473112":["hashtag1","hashtag2"]},{"1355473171":["hashtag1","hashtag2"]},{"1355473087":["hashtag1","hashtag2"]},{"1355473141":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355473215, 1355473055, 1355473112, 1355473171, 1355473087, 1355473141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.911680936813354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:25:32.972511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/54/image_02052025_20_54_35_10436.jpg', '/home/pi/Desktop/images/02052025/20/54/image_02052025_20_54_45_10378.jpg', '/home/pi/Desktop/images/02052025/20/54/image_02052025_20_54_54_9365.jpg', '/home/pi/Desktop/images/02052025/20/54/image_02052025_20_55_05_10370.jpg', '/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_14_9372.jpg', '/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_25_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/54/image_02052025_20_54_35_10436.jpg
/home/pi/Desktop/images/02052025/20/54/image_02052025_20_54_45_10378.jpg
/home/pi/Desktop/images/02052025/20/54/image_02052025_20_54_54_9365.jpg
/home/pi/Desktop/images/02052025/20/54/image_02052025_20_55_05_10370.jpg
/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_14_9372.jpg
/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_25_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":["1355473413","1355473391","1355473415","1355473393","1355473375","1355473386"],"photo_ids_order":["1355473375","1355473386","1355473391","1355473393","1355473413","1355473415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fb67a61625c714b51d4680c850b56c80.jpg","text":"TemporaryFile(/tmp/multipartBody518330391391732011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217593452,"filename":"image_02052025_20_55_14_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bbdc2ca319673a67539d95d717201688.jpg","text":"TemporaryFile(/tmp/multipartBody2698032725886057307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217593452,"filename":"image_02052025_20_54_54_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/421ecef16a0ce3e564ca28df8b030b5d.jpg","text":"TemporaryFile(/tmp/multipartBody7776385519608424252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217593452,"filename":"image_02052025_20_55_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/5/2/808bc2f8ace238745a82ec11b4273edf.jpg","text":"TemporaryFile(/tmp/multipartBody5899910574930535056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217593452,"filename":"image_02052025_20_55_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f505dca574ab9bf9469afb01bd0f1dd8.jpg","text":"TemporaryFile(/tmp/multipartBody3318317853919619657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217593452,"filename":"image_02052025_20_54_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/5/2/a4c074102262034faf00bce13cb0a8fe.jpg","text":"TemporaryFile(/tmp/multipartBody7201930813854080536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217593452,"filename":"image_02052025_20_54_45_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355473391","file1":"1355473386","file0":"1355473375","file4":"1355473413","file5":"1355473415","file3":"1355473393"},"map_files_photo_id_array":[{"photo_id":"1355473415","filename":"file5"},{"photo_id":"1355473391","filename":"file2"},{"photo_id":"1355473413","filename":"file4"},{"photo_id":"1355473386","filename":"file1"},{"photo_id":"1355473375","filename":"file0"},{"photo_id":"1355473393","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355473413":["hashtag1","hashtag2"]},{"1355473391":["hashtag1","hashtag2"]},{"1355473415":["hashtag1","hashtag2"]},{"1355473393":["hashtag1","hashtag2"]},{"1355473375":["hashtag1","hashtag2"]},{"1355473386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355473413, 1355473391, 1355473415, 1355473393, 1355473375, 1355473386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73936915397644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:26:32.402058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_44_9360.jpg', '/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_55_10448.jpg', '/home/pi/Desktop/images/02052025/20/55/image_02052025_20_56_04_9363.jpg', '/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_15_10389.jpg', '/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_25_10380.jpg', '/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_34_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_44_9360.jpg
/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_55_10448.jpg
/home/pi/Desktop/images/02052025/20/55/image_02052025_20_56_04_9363.jpg
/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_15_10389.jpg
/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_25_10380.jpg
/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_34_9434.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3916177749633789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 22:26:42.376355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_44_9360.jpg', '/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_55_10448.jpg', '/home/pi/Desktop/images/02052025/20/55/image_02052025_20_56_04_9363.jpg', '/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_15_10389.jpg', '/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_25_10380.jpg', '/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_34_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_44_9360.jpg
/home/pi/Desktop/images/02052025/20/55/image_02052025_20_55_55_10448.jpg
/home/pi/Desktop/images/02052025/20/55/image_02052025_20_56_04_9363.jpg
/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_15_10389.jpg
/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_25_10380.jpg
/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_34_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355473553","1355473454","1355473508","1355473480","1355473657","1355473603"],"photo_ids_order":["1355473454","1355473480","1355473508","1355473553","1355473603","1355473657"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/577405738cb6c1c092827f8d087c7286.jpg","text":"TemporaryFile(/tmp/multipartBody357684625345356279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217662850,"filename":"image_02052025_20_56_15_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a8fbf4a47dadda709c3df9217e1541d.jpg","text":"TemporaryFile(/tmp/multipartBody2396333260028374300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217662850,"filename":"image_02052025_20_55_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/5/2/ffcb52b8463769621fd84277f506a5a5.jpg","text":"TemporaryFile(/tmp/multipartBody2156802575798614465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217662850,"filename":"image_02052025_20_56_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a2926dd8e87bdf21eed9f220b59f1d2d.jpg","text":"TemporaryFile(/tmp/multipartBody6778765374678510656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217662850,"filename":"image_02052025_20_55_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/5/2/0c7d597924d6715dc987e024f626661e.jpg","text":"TemporaryFile(/tmp/multipartBody2015499222560887575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217662850,"filename":"image_02052025_20_56_34_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/383f0b90975678091a1a7b236db00a6d.jpg","text":"TemporaryFile(/tmp/multipartBody8654773452190010697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217662850,"filename":"image_02052025_20_56_25_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355473508","file1":"1355473480","file0":"1355473454","file4":"1355473603","file5":"1355473657","file3":"1355473553"},"map_files_photo_id_array":[{"photo_id":"1355473657","filename":"file5"},{"photo_id":"1355473508","filename":"file2"},{"photo_id":"1355473603","filename":"file4"},{"photo_id":"1355473480","filename":"file1"},{"photo_id":"1355473454","filename":"file0"},{"photo_id":"1355473553","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355473553":["hashtag1","hashtag2"]},{"1355473454":["hashtag1","hashtag2"]},{"1355473508":["hashtag1","hashtag2"]},{"1355473480":["hashtag1","hashtag2"]},{"1355473657":["hashtag1","hashtag2"]},{"1355473603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355473553, 1355473454, 1355473508, 1355473480, 1355473657, 1355473603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.163636207580566 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:27:32.730696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_45_10455.jpg', '/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_54_9458.jpg', '/home/pi/Desktop/images/02052025/20/56/image_02052025_20_57_05_10583.jpg', '/home/pi/Desktop/images/02052025/20/57/image_02052025_20_57_14_9340.jpg', '/home/pi/Desktop/images/02052025/20/57/image_02052025_20_57_25_10371.jpg', '/home/pi/Desktop/images/02052025/20/57/image_02052025_20_57_35_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_45_10455.jpg
/home/pi/Desktop/images/02052025/20/56/image_02052025_20_56_54_9458.jpg
/home/pi/Desktop/images/02052025/20/56/image_02052025_20_57_05_10583.jpg
/home/pi/Desktop/images/02052025/20/57/image_02052025_20_57_14_9340.jpg
/home/pi/Desktop/images/02052025/20/57/image_02052025_20_57_25_10371.jpg
/home/pi/Desktop/images/02052025/20/57/image_02052025_20_57_35_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355474162","1355474363","1355474300","1355474088","1355474232","1355474034"],"photo_ids_order":["1355474034","1355474088","1355474162","1355474232","1355474300","1355474363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6675d1b563d32d663c284106dfc4c150.jpg","text":"TemporaryFile(/tmp/multipartBody7547228403295333681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217713196,"filename":"image_02052025_20_57_05_10583.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4c99541df08462deeed44def54bc778e.jpg","text":"TemporaryFile(/tmp/multipartBody7518213934535677197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217713196,"filename":"image_02052025_20_57_35_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ebb4e8db2c9af74bce63de735c3f1dad.jpg","text":"TemporaryFile(/tmp/multipartBody4166027481328062059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217713196,"filename":"image_02052025_20_57_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/5/2/f85f938ea9ac4569442f112a81a0b6ba.jpg","text":"TemporaryFile(/tmp/multipartBody8741143668276084267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217713196,"filename":"image_02052025_20_56_54_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b5fe792c3a5c5b800f5ee3339096608d.jpg","text":"TemporaryFile(/tmp/multipartBody7104983763927138920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217713196,"filename":"image_02052025_20_57_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4e02075154cbaf9cbda74f02f4daa8f.jpg","text":"TemporaryFile(/tmp/multipartBody3128456286678229379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217713196,"filename":"image_02052025_20_56_45_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355474162","file1":"1355474088","file0":"1355474034","file4":"1355474300","file5":"1355474363","file3":"1355474232"},"map_files_photo_id_array":[{"photo_id":"1355474363","filename":"file5"},{"photo_id":"1355474162","filename":"file2"},{"photo_id":"1355474300","filename":"file4"},{"photo_id":"1355474088","filename":"file1"},{"photo_id":"1355474034","filename":"file0"},{"photo_id":"1355474232","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355474162":["hashtag1","hashtag2"]},{"1355474363":["hashtag1","hashtag2"]},{"1355474300":["hashtag1","hashtag2"]},{"1355474088":["hashtag1","hashtag2"]},{"1355474232":["hashtag1","hashtag2"]},{"1355474034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355474162, 1355474363, 1355474300, 1355474088, 1355474232, 1355474034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.98819065093994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:28:33.008717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/57/image_02052025_20_57_44_9354.jpg', '/home/pi/Desktop/images/02052025/20/57/image_02052025_20_57_55_10418.jpg', '/home/pi/Desktop/images/02052025/20/57/image_02052025_20_58_04_9423.jpg', '/home/pi/Desktop/images/02052025/20/58/image_02052025_20_58_15_10385.jpg', '/home/pi/Desktop/images/02052025/20/58/image_02052025_20_58_25_10382.jpg', '/home/pi/Desktop/images/02052025/20/58/image_02052025_20_58_34_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/57/image_02052025_20_57_44_9354.jpg
/home/pi/Desktop/images/02052025/20/57/image_02052025_20_57_55_10418.jpg
/home/pi/Desktop/images/02052025/20/57/image_02052025_20_58_04_9423.jpg
/home/pi/Desktop/images/02052025/20/58/image_02052025_20_58_15_10385.jpg
/home/pi/Desktop/images/02052025/20/58/image_02052025_20_58_25_10382.jpg
/home/pi/Desktop/images/02052025/20/58/image_02052025_20_58_34_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":["1355474986","1355475241","1355475294","1355475106","1355475162","1355475056"],"photo_ids_order":["1355474986","1355475056","1355475106","1355475162","1355475241","1355475294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a92077859371fee0c2dbbc9bd5ee6a77.jpg","text":"TemporaryFile(/tmp/multipartBody5705303064361525144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217773481,"filename":"image_02052025_20_57_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/5/2/50b7b2bd6aeeb4a1d207351a5d183305.jpg","text":"TemporaryFile(/tmp/multipartBody4138612704578887860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217773481,"filename":"image_02052025_20_58_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/edc469ec3968c693a450d680d29fda6b.jpg","text":"TemporaryFile(/tmp/multipartBody3649373451789126842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217773481,"filename":"image_02052025_20_58_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/5/2/bcab5b5204583287b06d858c31d637dd.jpg","text":"TemporaryFile(/tmp/multipartBody1774813255607824289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217773481,"filename":"image_02052025_20_58_04_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/abddffe9468e0f8756464eb796eecd18.jpg","text":"TemporaryFile(/tmp/multipartBody2796469814342429677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217773481,"filename":"image_02052025_20_58_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/5/2/1394d5047a859fd15f070c02f3228c79.jpg","text":"TemporaryFile(/tmp/multipartBody4811843380677207805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217773481,"filename":"image_02052025_20_57_55_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355475106","file1":"1355475056","file0":"1355474986","file4":"1355475241","file5":"1355475294","file3":"1355475162"},"map_files_photo_id_array":[{"photo_id":"1355475294","filename":"file5"},{"photo_id":"1355475106","filename":"file2"},{"photo_id":"1355475241","filename":"file4"},{"photo_id":"1355475056","filename":"file1"},{"photo_id":"1355474986","filename":"file0"},{"photo_id":"1355475162","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355474986":["hashtag1","hashtag2"]},{"1355475241":["hashtag1","hashtag2"]},{"1355475294":["hashtag1","hashtag2"]},{"1355475106":["hashtag1","hashtag2"]},{"1355475162":["hashtag1","hashtag2"]},{"1355475056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355474986, 1355475241, 1355475294, 1355475106, 1355475162, 1355475056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.878557205200195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:29:33.155253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/58/image_02052025_20_58_45_10470.jpg', '/home/pi/Desktop/images/02052025/20/58/image_02052025_20_58_54_9381.jpg', '/home/pi/Desktop/images/02052025/20/58/image_02052025_20_59_05_10364.jpg', '/home/pi/Desktop/images/02052025/20/59/image_02052025_20_59_15_10370.jpg', '/home/pi/Desktop/images/02052025/20/59/image_02052025_20_59_24_9356.jpg', '/home/pi/Desktop/images/02052025/20/59/image_02052025_20_59_35_10500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/58/image_02052025_20_58_45_10470.jpg
/home/pi/Desktop/images/02052025/20/58/image_02052025_20_58_54_9381.jpg
/home/pi/Desktop/images/02052025/20/58/image_02052025_20_59_05_10364.jpg
/home/pi/Desktop/images/02052025/20/59/image_02052025_20_59_15_10370.jpg
/home/pi/Desktop/images/02052025/20/59/image_02052025_20_59_24_9356.jpg
/home/pi/Desktop/images/02052025/20/59/image_02052025_20_59_35_10500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355475521","1355475524","1355475518","1355475526","1355475528","1355475530"],"photo_ids_order":["1355475518","1355475521","1355475524","1355475526","1355475528","1355475530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bfae1c696b73ad2f5ae066c63236dd7a.jpg","text":"TemporaryFile(/tmp/multipartBody1860901568349239310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217833622,"filename":"image_02052025_20_58_54_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e1f24d14cb9f95e06c6752ee505bcf1b.jpg","text":"TemporaryFile(/tmp/multipartBody1181938554645272772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217833622,"filename":"image_02052025_20_59_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/5/2/23b9e05e2d7e8cae55be0a858f5465a5.jpg","text":"TemporaryFile(/tmp/multipartBody7040336741789346083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217833622,"filename":"image_02052025_20_58_45_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/27586ed6d84870defb89fc9e4a156fcf.jpg","text":"TemporaryFile(/tmp/multipartBody1713710213611184156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217833622,"filename":"image_02052025_20_59_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/5/2/e76cc85be757235a3935a19dc32dd8cf.jpg","text":"TemporaryFile(/tmp/multipartBody2255323165056877732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217833622,"filename":"image_02052025_20_59_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/5/2/6ddf7eeab77186b0a3ffac9cbd37a94c.jpg","text":"TemporaryFile(/tmp/multipartBody4799909993866872924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217833622,"filename":"image_02052025_20_59_35_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355475524","file1":"1355475521","file0":"1355475518","file4":"1355475528","file5":"1355475530","file3":"1355475526"},"map_files_photo_id_array":[{"photo_id":"1355475530","filename":"file5"},{"photo_id":"1355475524","filename":"file2"},{"photo_id":"1355475528","filename":"file4"},{"photo_id":"1355475521","filename":"file1"},{"photo_id":"1355475518","filename":"file0"},{"photo_id":"1355475526","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355475521":["hashtag1","hashtag2"]},{"1355475524":["hashtag1","hashtag2"]},{"1355475518":["hashtag1","hashtag2"]},{"1355475526":["hashtag1","hashtag2"]},{"1355475528":["hashtag1","hashtag2"]},{"1355475530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355475521, 1355475524, 1355475518, 1355475526, 1355475528, 1355475530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44192171096802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:30:32.336635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/20/59/image_02052025_20_59_44_9386.jpg', '/home/pi/Desktop/images/02052025/20/59/image_02052025_20_59_55_10384.jpg', '/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_16_10077.jpg', '/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_26_10390.jpg', '/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_36_10363.jpg', '/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_46_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/20/59/image_02052025_20_59_44_9386.jpg
/home/pi/Desktop/images/02052025/20/59/image_02052025_20_59_55_10384.jpg
/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_16_10077.jpg
/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_26_10390.jpg
/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_36_10363.jpg
/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_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":["1355475691","1355475721","1355475762","1355475893","1355475810","1355475857"],"photo_ids_order":["1355475691","1355475721","1355475762","1355475810","1355475857","1355475893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f949350c2e1f5f19356153cc3ea3ef8.jpg","text":"TemporaryFile(/tmp/multipartBody1149532236568524593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217892806,"filename":"image_02052025_20_59_44_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7a612146ed9ba3b20abc7a1ac903fd06.jpg","text":"TemporaryFile(/tmp/multipartBody8721384892469090581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217892806,"filename":"image_02052025_20_59_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e0780c3eeb7b2ebe41e84285bfd799dd.jpg","text":"TemporaryFile(/tmp/multipartBody8441558866018068204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217892806,"filename":"image_02052025_21_00_16_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41e44e05efbd417d5242a3baa076d8fb.jpg","text":"TemporaryFile(/tmp/multipartBody2073576321529601433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217892806,"filename":"image_02052025_21_00_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/5/2/bb2433cbad38c21154ad0219c8b39a8b.jpg","text":"TemporaryFile(/tmp/multipartBody7148729244818945208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217892806,"filename":"image_02052025_21_00_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/da1459eaa7854d65c83e13764aef6410.jpg","text":"TemporaryFile(/tmp/multipartBody7833859849836053053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217892806,"filename":"image_02052025_21_00_36_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355475762","file1":"1355475721","file0":"1355475691","file4":"1355475857","file5":"1355475893","file3":"1355475810"},"map_files_photo_id_array":[{"photo_id":"1355475893","filename":"file5"},{"photo_id":"1355475762","filename":"file2"},{"photo_id":"1355475857","filename":"file4"},{"photo_id":"1355475721","filename":"file1"},{"photo_id":"1355475691","filename":"file0"},{"photo_id":"1355475810","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355475691":["hashtag1","hashtag2"]},{"1355475721":["hashtag1","hashtag2"]},{"1355475762":["hashtag1","hashtag2"]},{"1355475893":["hashtag1","hashtag2"]},{"1355475810":["hashtag1","hashtag2"]},{"1355475857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355475691, 1355475721, 1355475762, 1355475893, 1355475810, 1355475857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.745426893234253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:31:32.523146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_56_10381.jpg', '/home/pi/Desktop/images/02052025/21/00/image_02052025_21_01_06_9374.jpg', '/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_16_10387.jpg', '/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_26_10445.jpg', '/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_36_9414.jpg', '/home/pi/Desktop/images/02052025/21/02/image_02052025_21_02_46_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_56_10381.jpg
/home/pi/Desktop/images/02052025/21/00/image_02052025_21_01_06_9374.jpg
/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_16_10387.jpg
/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_26_10445.jpg
/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_36_9414.jpg
/home/pi/Desktop/images/02052025/21/02/image_02052025_21_02_46_9385.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3857994079589844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 22:31:42.511821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_56_10381.jpg', '/home/pi/Desktop/images/02052025/21/00/image_02052025_21_01_06_9374.jpg', '/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_16_10387.jpg', '/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_26_10445.jpg', '/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_36_9414.jpg', '/home/pi/Desktop/images/02052025/21/02/image_02052025_21_02_46_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/00/image_02052025_21_00_56_10381.jpg
/home/pi/Desktop/images/02052025/21/00/image_02052025_21_01_06_9374.jpg
/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_16_10387.jpg
/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_26_10445.jpg
/home/pi/Desktop/images/02052025/21/01/image_02052025_21_01_36_9414.jpg
/home/pi/Desktop/images/02052025/21/02/image_02052025_21_02_46_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":["1355476201","1355476242","1355476239","1355476244","1355476247","1355476232"],"photo_ids_order":["1355476201","1355476232","1355476239","1355476242","1355476244","1355476247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c43ee98c19fe98ee30000abdf21dba7f.jpg","text":"TemporaryFile(/tmp/multipartBody4182919052185977494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217962998,"filename":"image_02052025_21_00_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/5/2/6fa431cb0fcb3faf9ad1108e4e3d49b1.jpg","text":"TemporaryFile(/tmp/multipartBody5289838838089316302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217962998,"filename":"image_02052025_21_01_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/5/2/88918fc9b74cd6a3a1c899d274c61aa1.jpg","text":"TemporaryFile(/tmp/multipartBody3994285387875489714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217962998,"filename":"image_02052025_21_01_16_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4744c56d202bd5b0529e3276c6ed0fd6.jpg","text":"TemporaryFile(/tmp/multipartBody8439264733742265653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217962998,"filename":"image_02052025_21_01_36_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/80a781bc90c86a28f777c801e0dcafe3.jpg","text":"TemporaryFile(/tmp/multipartBody8788553575871366650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217962998,"filename":"image_02052025_21_02_46_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/425a46282ebc73ebb5ad7cfb2ff34fda.jpg","text":"TemporaryFile(/tmp/multipartBody606815108960862470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746217962998,"filename":"image_02052025_21_01_06_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355476239","file1":"1355476232","file0":"1355476201","file4":"1355476244","file5":"1355476247","file3":"1355476242"},"map_files_photo_id_array":[{"photo_id":"1355476247","filename":"file5"},{"photo_id":"1355476239","filename":"file2"},{"photo_id":"1355476244","filename":"file4"},{"photo_id":"1355476232","filename":"file1"},{"photo_id":"1355476201","filename":"file0"},{"photo_id":"1355476242","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355476201":["hashtag1","hashtag2"]},{"1355476242":["hashtag1","hashtag2"]},{"1355476239":["hashtag1","hashtag2"]},{"1355476244":["hashtag1","hashtag2"]},{"1355476247":["hashtag1","hashtag2"]},{"1355476232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355476201, 1355476242, 1355476239, 1355476244, 1355476247, 1355476232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.091713666915894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:32:33.048009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/02/image_02052025_21_02_56_10380.jpg', '/home/pi/Desktop/images/02052025/21/02/image_02052025_21_03_06_10383.jpg', '/home/pi/Desktop/images/02052025/21/03/image_02052025_21_03_16_9455.jpg', '/home/pi/Desktop/images/02052025/21/03/image_02052025_21_03_26_10413.jpg', '/home/pi/Desktop/images/02052025/21/03/image_02052025_21_03_36_9353.jpg', '/home/pi/Desktop/images/02052025/21/03/image_02052025_21_03_46_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/02/image_02052025_21_02_56_10380.jpg
/home/pi/Desktop/images/02052025/21/02/image_02052025_21_03_06_10383.jpg
/home/pi/Desktop/images/02052025/21/03/image_02052025_21_03_16_9455.jpg
/home/pi/Desktop/images/02052025/21/03/image_02052025_21_03_26_10413.jpg
/home/pi/Desktop/images/02052025/21/03/image_02052025_21_03_36_9353.jpg
/home/pi/Desktop/images/02052025/21/03/image_02052025_21_03_46_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355476369","1355476360","1355476354","1355476348","1355476351","1355476365"],"photo_ids_order":["1355476348","1355476351","1355476354","1355476360","1355476365","1355476369"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/52b1c943b016ae39cf7937a482799250.jpg","text":"TemporaryFile(/tmp/multipartBody2390827642873546215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218013522,"filename":"image_02052025_21_03_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/5/2/ca4ea7228496388aaa53cd81e50155ad.jpg","text":"TemporaryFile(/tmp/multipartBody2775532643168505116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218013522,"filename":"image_02052025_21_03_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/5/2/5864dfadcc77bb1e475bcc547a566396.jpg","text":"TemporaryFile(/tmp/multipartBody6187134434380621391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218013522,"filename":"image_02052025_21_03_16_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39773381b25701cc3e663dbf9f0f79d3.jpg","text":"TemporaryFile(/tmp/multipartBody3750774465970979405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218013522,"filename":"image_02052025_21_02_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/84d2de5f8290191cdc67fd438876be7c.jpg","text":"TemporaryFile(/tmp/multipartBody4409831953575160859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218013522,"filename":"image_02052025_21_03_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/5/2/8f40790648781eb189913ff6e3a8ba85.jpg","text":"TemporaryFile(/tmp/multipartBody251568727972622898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218013522,"filename":"image_02052025_21_03_36_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355476354","file1":"1355476351","file0":"1355476348","file4":"1355476365","file5":"1355476369","file3":"1355476360"},"map_files_photo_id_array":[{"photo_id":"1355476369","filename":"file5"},{"photo_id":"1355476354","filename":"file2"},{"photo_id":"1355476365","filename":"file4"},{"photo_id":"1355476351","filename":"file1"},{"photo_id":"1355476348","filename":"file0"},{"photo_id":"1355476360","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355476369":["hashtag1","hashtag2"]},{"1355476360":["hashtag1","hashtag2"]},{"1355476354":["hashtag1","hashtag2"]},{"1355476348":["hashtag1","hashtag2"]},{"1355476351":["hashtag1","hashtag2"]},{"1355476365":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355476369, 1355476360, 1355476354, 1355476348, 1355476351, 1355476365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07827401161194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:33:32.753274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/03/image_02052025_21_03_56_10384.jpg', '/home/pi/Desktop/images/02052025/21/03/image_02052025_21_04_06_9420.jpg', '/home/pi/Desktop/images/02052025/21/04/image_02052025_21_04_16_10374.jpg', '/home/pi/Desktop/images/02052025/21/04/image_02052025_21_04_26_9372.jpg', '/home/pi/Desktop/images/02052025/21/04/image_02052025_21_04_36_10373.jpg', '/home/pi/Desktop/images/02052025/21/04/image_02052025_21_04_46_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/03/image_02052025_21_03_56_10384.jpg
/home/pi/Desktop/images/02052025/21/03/image_02052025_21_04_06_9420.jpg
/home/pi/Desktop/images/02052025/21/04/image_02052025_21_04_16_10374.jpg
/home/pi/Desktop/images/02052025/21/04/image_02052025_21_04_26_9372.jpg
/home/pi/Desktop/images/02052025/21/04/image_02052025_21_04_36_10373.jpg
/home/pi/Desktop/images/02052025/21/04/image_02052025_21_04_46_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355476458","1355476446","1355476422","1355476419","1355476424","1355476448"],"photo_ids_order":["1355476419","1355476422","1355476424","1355476446","1355476448","1355476458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/32d60abd8377a3c5480d7f0417c6fbe1.jpg","text":"TemporaryFile(/tmp/multipartBody8152728008866902728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218073244,"filename":"image_02052025_21_04_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/5/2/78e86d0ef1a3e282ec847193a5db2f2a.jpg","text":"TemporaryFile(/tmp/multipartBody4825629822811099829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218073244,"filename":"image_02052025_21_04_26_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c9fd210ff73941a74b5823138f168661.jpg","text":"TemporaryFile(/tmp/multipartBody3049406692359577576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218073244,"filename":"image_02052025_21_04_06_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3cde90c6cc07a12cf5f0d04a3000ff01.jpg","text":"TemporaryFile(/tmp/multipartBody6458172297285911719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218073244,"filename":"image_02052025_21_03_56_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a09faf173e2d8dcc0417e783af912a84.jpg","text":"TemporaryFile(/tmp/multipartBody9091869834870026714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218073244,"filename":"image_02052025_21_04_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/5/2/8dd673cbba60a0650e51c45e12841dea.jpg","text":"TemporaryFile(/tmp/multipartBody403460575969441687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218073244,"filename":"image_02052025_21_04_36_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355476424","file1":"1355476422","file0":"1355476419","file4":"1355476448","file5":"1355476458","file3":"1355476446"},"map_files_photo_id_array":[{"photo_id":"1355476458","filename":"file5"},{"photo_id":"1355476424","filename":"file2"},{"photo_id":"1355476448","filename":"file4"},{"photo_id":"1355476422","filename":"file1"},{"photo_id":"1355476419","filename":"file0"},{"photo_id":"1355476446","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355476458":["hashtag1","hashtag2"]},{"1355476446":["hashtag1","hashtag2"]},{"1355476422":["hashtag1","hashtag2"]},{"1355476419":["hashtag1","hashtag2"]},{"1355476424":["hashtag1","hashtag2"]},{"1355476448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355476458, 1355476446, 1355476422, 1355476419, 1355476424, 1355476448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.86247706413269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:34:32.849523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/04/image_02052025_21_05_06_10356.jpg', '/home/pi/Desktop/images/02052025/21/05/image_02052025_21_05_16_10363.jpg', '/home/pi/Desktop/images/02052025/21/05/image_02052025_21_05_36_10356.jpg', '/home/pi/Desktop/images/02052025/21/05/image_02052025_21_05_46_9354.jpg', '/home/pi/Desktop/images/02052025/21/05/image_02052025_21_05_56_10264.jpg', '/home/pi/Desktop/images/02052025/21/05/image_02052025_21_06_06_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/04/image_02052025_21_05_06_10356.jpg
/home/pi/Desktop/images/02052025/21/05/image_02052025_21_05_16_10363.jpg
/home/pi/Desktop/images/02052025/21/05/image_02052025_21_05_36_10356.jpg
/home/pi/Desktop/images/02052025/21/05/image_02052025_21_05_46_9354.jpg
/home/pi/Desktop/images/02052025/21/05/image_02052025_21_05_56_10264.jpg
/home/pi/Desktop/images/02052025/21/05/image_02052025_21_06_06_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355476798","1355476762","1355476771","1355476765","1355476770","1355476769"],"photo_ids_order":["1355476762","1355476765","1355476769","1355476770","1355476771","1355476798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b1aea773c26a2d8421e277e610c25f52.jpg","text":"TemporaryFile(/tmp/multipartBody4946114460104307756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218133323,"filename":"image_02052025_21_06_06_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e3912ba5fe6e0f1aeba47b76e1950fd9.jpg","text":"TemporaryFile(/tmp/multipartBody7218913554304302928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218133323,"filename":"image_02052025_21_05_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/5/2/bda34d9fb6471936680948c8f6a4c04d.jpg","text":"TemporaryFile(/tmp/multipartBody799039052577392571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218133323,"filename":"image_02052025_21_05_56_10264.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81ebb4f02c6243f2b3f72a7bc8ba3ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6699970552548984610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218133323,"filename":"image_02052025_21_05_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/5/2/753dac40bd55b7c6d33d7428cb35b6ab.jpg","text":"TemporaryFile(/tmp/multipartBody7960677416238833991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218133323,"filename":"image_02052025_21_05_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/5/2/c0d110b510ab44a4ac06d455ae0b6ad0.jpg","text":"TemporaryFile(/tmp/multipartBody5538346837765185712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218133323,"filename":"image_02052025_21_05_36_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355476769","file1":"1355476765","file0":"1355476762","file4":"1355476771","file5":"1355476798","file3":"1355476770"},"map_files_photo_id_array":[{"photo_id":"1355476798","filename":"file5"},{"photo_id":"1355476769","filename":"file2"},{"photo_id":"1355476771","filename":"file4"},{"photo_id":"1355476765","filename":"file1"},{"photo_id":"1355476762","filename":"file0"},{"photo_id":"1355476770","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355476798":["hashtag1","hashtag2"]},{"1355476762":["hashtag1","hashtag2"]},{"1355476771":["hashtag1","hashtag2"]},{"1355476765":["hashtag1","hashtag2"]},{"1355476770":["hashtag1","hashtag2"]},{"1355476769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355476798, 1355476762, 1355476771, 1355476765, 1355476770, 1355476769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.93536901473999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:35:33.208264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/06/image_02052025_21_06_16_9367.jpg', '/home/pi/Desktop/images/02052025/21/06/image_02052025_21_06_26_10484.jpg', '/home/pi/Desktop/images/02052025/21/06/image_02052025_21_06_36_10382.jpg', '/home/pi/Desktop/images/02052025/21/06/image_02052025_21_06_46_9445.jpg', '/home/pi/Desktop/images/02052025/21/06/image_02052025_21_06_56_10362.jpg', '/home/pi/Desktop/images/02052025/21/06/image_02052025_21_07_06_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/06/image_02052025_21_06_16_9367.jpg
/home/pi/Desktop/images/02052025/21/06/image_02052025_21_06_26_10484.jpg
/home/pi/Desktop/images/02052025/21/06/image_02052025_21_06_36_10382.jpg
/home/pi/Desktop/images/02052025/21/06/image_02052025_21_06_46_9445.jpg
/home/pi/Desktop/images/02052025/21/06/image_02052025_21_06_56_10362.jpg
/home/pi/Desktop/images/02052025/21/06/image_02052025_21_07_06_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":["1355477079","1355477241","1355478275","1355477552","1355477027","1355478379"],"photo_ids_order":["1355477027","1355477079","1355477241","1355477552","1355478275","1355478379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1d3e1a2ef1ec17a1219cb7bc22cfe3fc.jpg","text":"TemporaryFile(/tmp/multipartBody814479617821132873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218193750,"filename":"image_02052025_21_06_26_10484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c0cdbba2fe6a9b5a12ef89658916b8f3.jpg","text":"TemporaryFile(/tmp/multipartBody5296056021141072447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218193750,"filename":"image_02052025_21_06_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd5c22febd72840c665fb872ffb04dfe.jpg","text":"TemporaryFile(/tmp/multipartBody61466217761000163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218193750,"filename":"image_02052025_21_06_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/5/2/264cc0c7bb119ec2c1e31ea3344f5677.jpg","text":"TemporaryFile(/tmp/multipartBody7247121751654012651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218193750,"filename":"image_02052025_21_06_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/5/2/0aa74a8d76d4281aacd8a585c66eada4.jpg","text":"TemporaryFile(/tmp/multipartBody3265176142221449066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218193750,"filename":"image_02052025_21_06_16_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d660f2a088ef1e9af9cebd5d782ec9e.jpg","text":"TemporaryFile(/tmp/multipartBody8145450955229313576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218193750,"filename":"image_02052025_21_07_06_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355477241","file1":"1355477079","file0":"1355477027","file4":"1355478275","file5":"1355478379","file3":"1355477552"},"map_files_photo_id_array":[{"photo_id":"1355478379","filename":"file5"},{"photo_id":"1355477241","filename":"file2"},{"photo_id":"1355478275","filename":"file4"},{"photo_id":"1355477079","filename":"file1"},{"photo_id":"1355477027","filename":"file0"},{"photo_id":"1355477552","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355477079":["hashtag1","hashtag2"]},{"1355477241":["hashtag1","hashtag2"]},{"1355478275":["hashtag1","hashtag2"]},{"1355477552":["hashtag1","hashtag2"]},{"1355477027":["hashtag1","hashtag2"]},{"1355478379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355477079, 1355477241, 1355478275, 1355477552, 1355477027, 1355478379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.060765981674194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:36:32.384087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/07/image_02052025_21_07_16_10375.jpg', '/home/pi/Desktop/images/02052025/21/07/image_02052025_21_07_26_10436.jpg', '/home/pi/Desktop/images/02052025/21/07/image_02052025_21_07_36_9371.jpg', '/home/pi/Desktop/images/02052025/21/07/image_02052025_21_07_46_10356.jpg', '/home/pi/Desktop/images/02052025/21/07/image_02052025_21_07_56_9370.jpg', '/home/pi/Desktop/images/02052025/21/07/image_02052025_21_08_06_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/07/image_02052025_21_07_16_10375.jpg
/home/pi/Desktop/images/02052025/21/07/image_02052025_21_07_26_10436.jpg
/home/pi/Desktop/images/02052025/21/07/image_02052025_21_07_36_9371.jpg
/home/pi/Desktop/images/02052025/21/07/image_02052025_21_07_46_10356.jpg
/home/pi/Desktop/images/02052025/21/07/image_02052025_21_07_56_9370.jpg
/home/pi/Desktop/images/02052025/21/07/image_02052025_21_08_06_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355479017","1355478858","1355479214","1355478932","1355479096","1355479276"],"photo_ids_order":["1355478858","1355478932","1355479017","1355479096","1355479214","1355479276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/45500d81d399fc140e66b25e83d0682d.jpg","text":"TemporaryFile(/tmp/multipartBody2365742493289694472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218253001,"filename":"image_02052025_21_07_36_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e19eae55c116b097cdd78047d84830e.jpg","text":"TemporaryFile(/tmp/multipartBody2328943180218159838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218253001,"filename":"image_02052025_21_07_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/5/2/bc39cd89861949b6cc6190b617c47f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5814402811652374822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218253001,"filename":"image_02052025_21_07_56_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b8199e577664f71a9027fcb079dffe03.jpg","text":"TemporaryFile(/tmp/multipartBody3425131185592994871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218253001,"filename":"image_02052025_21_07_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/5/2/58f81a62b44dd6dd46ead252c71e910f.jpg","text":"TemporaryFile(/tmp/multipartBody6483599314409921237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218253001,"filename":"image_02052025_21_07_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/5/2/6e852fb785991992eb3e315da59a1adb.jpg","text":"TemporaryFile(/tmp/multipartBody5450544345682218675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218253001,"filename":"image_02052025_21_08_06_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355479017","file1":"1355478932","file0":"1355478858","file4":"1355479214","file5":"1355479276","file3":"1355479096"},"map_files_photo_id_array":[{"photo_id":"1355479276","filename":"file5"},{"photo_id":"1355479017","filename":"file2"},{"photo_id":"1355479214","filename":"file4"},{"photo_id":"1355478932","filename":"file1"},{"photo_id":"1355478858","filename":"file0"},{"photo_id":"1355479096","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355479017":["hashtag1","hashtag2"]},{"1355478858":["hashtag1","hashtag2"]},{"1355479214":["hashtag1","hashtag2"]},{"1355478932":["hashtag1","hashtag2"]},{"1355479096":["hashtag1","hashtag2"]},{"1355479276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355479017, 1355478858, 1355479214, 1355478932, 1355479096, 1355479276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71207356452942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:37:32.567545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/08/image_02052025_21_08_16_10487.jpg', '/home/pi/Desktop/images/02052025/21/08/image_02052025_21_08_26_9526.jpg', '/home/pi/Desktop/images/02052025/21/08/image_02052025_21_08_36_10358.jpg', '/home/pi/Desktop/images/02052025/21/08/image_02052025_21_08_46_9542.jpg', '/home/pi/Desktop/images/02052025/21/08/image_02052025_21_08_56_10500.jpg', '/home/pi/Desktop/images/02052025/21/08/image_02052025_21_09_06_9487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/08/image_02052025_21_08_16_10487.jpg
/home/pi/Desktop/images/02052025/21/08/image_02052025_21_08_26_9526.jpg
/home/pi/Desktop/images/02052025/21/08/image_02052025_21_08_36_10358.jpg
/home/pi/Desktop/images/02052025/21/08/image_02052025_21_08_46_9542.jpg
/home/pi/Desktop/images/02052025/21/08/image_02052025_21_08_56_10500.jpg
/home/pi/Desktop/images/02052025/21/08/image_02052025_21_09_06_9487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355480298","1355480043","1355479769","1355480249","1355480254","1355480295"],"photo_ids_order":["1355479769","1355480043","1355480249","1355480254","1355480295","1355480298"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5a6fa423125cba494a1716fda0d12647.jpg","text":"TemporaryFile(/tmp/multipartBody9097731496067489870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218313035,"filename":"image_02052025_21_09_06_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65dbe504907fd90f4be637d1b0997aff.jpg","text":"TemporaryFile(/tmp/multipartBody8588474323644980625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218313035,"filename":"image_02052025_21_08_26_9526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b15e3a5a4c3c353c4eacd82ac4464852.jpg","text":"TemporaryFile(/tmp/multipartBody570436173708472844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218313035,"filename":"image_02052025_21_08_16_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a69f43ad76fab577156bd7ab7679a207.jpg","text":"TemporaryFile(/tmp/multipartBody6351801662102754359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218313035,"filename":"image_02052025_21_08_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/5/2/62c68f9bc4200af0680cbdca9e7b285d.jpg","text":"TemporaryFile(/tmp/multipartBody2142808058978327931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218313035,"filename":"image_02052025_21_08_46_9542.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fe1ada397c250b8f0dfc67c6b8e15cb4.jpg","text":"TemporaryFile(/tmp/multipartBody112624812263545289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218313035,"filename":"image_02052025_21_08_56_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355480249","file1":"1355480043","file0":"1355479769","file4":"1355480295","file5":"1355480298","file3":"1355480254"},"map_files_photo_id_array":[{"photo_id":"1355480298","filename":"file5"},{"photo_id":"1355480249","filename":"file2"},{"photo_id":"1355480295","filename":"file4"},{"photo_id":"1355480043","filename":"file1"},{"photo_id":"1355479769","filename":"file0"},{"photo_id":"1355480254","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355480298":["hashtag1","hashtag2"]},{"1355480043":["hashtag1","hashtag2"]},{"1355479769":["hashtag1","hashtag2"]},{"1355480249":["hashtag1","hashtag2"]},{"1355480254":["hashtag1","hashtag2"]},{"1355480295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355480298, 1355480043, 1355479769, 1355480249, 1355480254, 1355480295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.433425426483154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:38:32.835441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/09/image_02052025_21_09_16_10386.jpg', '/home/pi/Desktop/images/02052025/21/09/image_02052025_21_09_26_9352.jpg', '/home/pi/Desktop/images/02052025/21/09/image_02052025_21_09_36_10489.jpg', '/home/pi/Desktop/images/02052025/21/09/image_02052025_21_09_46_10393.jpg', '/home/pi/Desktop/images/02052025/21/09/image_02052025_21_09_56_9443.jpg', '/home/pi/Desktop/images/02052025/21/09/image_02052025_21_10_06_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/09/image_02052025_21_09_16_10386.jpg
/home/pi/Desktop/images/02052025/21/09/image_02052025_21_09_26_9352.jpg
/home/pi/Desktop/images/02052025/21/09/image_02052025_21_09_36_10489.jpg
/home/pi/Desktop/images/02052025/21/09/image_02052025_21_09_46_10393.jpg
/home/pi/Desktop/images/02052025/21/09/image_02052025_21_09_56_9443.jpg
/home/pi/Desktop/images/02052025/21/09/image_02052025_21_10_06_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":["1355480442","1355480439","1355480433","1355480441","1355480440","1355480437"],"photo_ids_order":["1355480433","1355480437","1355480439","1355480440","1355480441","1355480442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e584698271e2788dba8b50d66a8a60e0.jpg","text":"TemporaryFile(/tmp/multipartBody5241842116855163557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218373309,"filename":"image_02052025_21_10_06_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/218a22d6bc31b4a682304db23ffa1337.jpg","text":"TemporaryFile(/tmp/multipartBody6001993880563353384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218373309,"filename":"image_02052025_21_09_36_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fda9ef9c1f947f6453ec567fb3b28f27.jpg","text":"TemporaryFile(/tmp/multipartBody8458661531711079900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218373309,"filename":"image_02052025_21_09_16_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bba92429bbae40d240416ba8fd3a71ae.jpg","text":"TemporaryFile(/tmp/multipartBody6370867348639952849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218373309,"filename":"image_02052025_21_09_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/5/2/5495b81b74a3e639d8fe6c6eb774cdd0.jpg","text":"TemporaryFile(/tmp/multipartBody5299627648441923092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218373309,"filename":"image_02052025_21_09_46_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/818e726c49e4ae0a1ea83c9c0fbd671d.jpg","text":"TemporaryFile(/tmp/multipartBody3088637358212875579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218373309,"filename":"image_02052025_21_09_26_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355480439","file1":"1355480437","file0":"1355480433","file4":"1355480441","file5":"1355480442","file3":"1355480440"},"map_files_photo_id_array":[{"photo_id":"1355480442","filename":"file5"},{"photo_id":"1355480439","filename":"file2"},{"photo_id":"1355480441","filename":"file4"},{"photo_id":"1355480437","filename":"file1"},{"photo_id":"1355480433","filename":"file0"},{"photo_id":"1355480440","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355480442":["hashtag1","hashtag2"]},{"1355480439":["hashtag1","hashtag2"]},{"1355480433":["hashtag1","hashtag2"]},{"1355480441":["hashtag1","hashtag2"]},{"1355480440":["hashtag1","hashtag2"]},{"1355480437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355480442, 1355480439, 1355480433, 1355480441, 1355480440, 1355480437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.64395833015442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:39:32.927201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/10/image_02052025_21_10_16_9369.jpg', '/home/pi/Desktop/images/02052025/21/10/image_02052025_21_10_26_10367.jpg', '/home/pi/Desktop/images/02052025/21/10/image_02052025_21_10_36_10359.jpg', '/home/pi/Desktop/images/02052025/21/10/image_02052025_21_10_46_9514.jpg', '/home/pi/Desktop/images/02052025/21/10/image_02052025_21_10_56_10436.jpg', '/home/pi/Desktop/images/02052025/21/10/image_02052025_21_11_06_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/10/image_02052025_21_10_16_9369.jpg
/home/pi/Desktop/images/02052025/21/10/image_02052025_21_10_26_10367.jpg
/home/pi/Desktop/images/02052025/21/10/image_02052025_21_10_36_10359.jpg
/home/pi/Desktop/images/02052025/21/10/image_02052025_21_10_46_9514.jpg
/home/pi/Desktop/images/02052025/21/10/image_02052025_21_10_56_10436.jpg
/home/pi/Desktop/images/02052025/21/10/image_02052025_21_11_06_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355480664","1355480823","1355480714","1355480773","1355480875","1355480926"],"photo_ids_order":["1355480664","1355480714","1355480773","1355480823","1355480875","1355480926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7820b98f19ce4521c59be97b834f669f.jpg","text":"TemporaryFile(/tmp/multipartBody5932716675370487648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218433394,"filename":"image_02052025_21_10_16_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7f2986f9f0a12e88aae3d2b9eaf6ed14.jpg","text":"TemporaryFile(/tmp/multipartBody3740145877697167631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218433394,"filename":"image_02052025_21_10_46_9514.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f9ff6689f86318ef1daeb35834ba5a6e.jpg","text":"TemporaryFile(/tmp/multipartBody7362150736539738146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218433394,"filename":"image_02052025_21_10_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/5/2/b2296d42c8c6fe54768d8568f4182eec.jpg","text":"TemporaryFile(/tmp/multipartBody7894550311864895573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218433394,"filename":"image_02052025_21_10_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/5/2/146d7f138f522b22f932868d6106060c.jpg","text":"TemporaryFile(/tmp/multipartBody7727981282615124878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218433394,"filename":"image_02052025_21_10_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/5/2/7db3f10a23cfdacdb18cd95d4b517369.jpg","text":"TemporaryFile(/tmp/multipartBody5404854252118302730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218433394,"filename":"image_02052025_21_11_06_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355480773","file1":"1355480714","file0":"1355480664","file4":"1355480875","file5":"1355480926","file3":"1355480823"},"map_files_photo_id_array":[{"photo_id":"1355480926","filename":"file5"},{"photo_id":"1355480773","filename":"file2"},{"photo_id":"1355480875","filename":"file4"},{"photo_id":"1355480714","filename":"file1"},{"photo_id":"1355480664","filename":"file0"},{"photo_id":"1355480823","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355480664":["hashtag1","hashtag2"]},{"1355480823":["hashtag1","hashtag2"]},{"1355480714":["hashtag1","hashtag2"]},{"1355480773":["hashtag1","hashtag2"]},{"1355480875":["hashtag1","hashtag2"]},{"1355480926":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355480664, 1355480823, 1355480714, 1355480773, 1355480875, 1355480926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.233453273773193 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:40:32.213885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/11/image_02052025_21_11_16_10418.jpg', '/home/pi/Desktop/images/02052025/21/11/image_02052025_21_11_26_10372.jpg', '/home/pi/Desktop/images/02052025/21/11/image_02052025_21_11_36_9435.jpg', '/home/pi/Desktop/images/02052025/21/11/image_02052025_21_11_46_10357.jpg', '/home/pi/Desktop/images/02052025/21/11/image_02052025_21_11_56_9367.jpg', '/home/pi/Desktop/images/02052025/21/11/image_02052025_21_12_06_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/11/image_02052025_21_11_16_10418.jpg
/home/pi/Desktop/images/02052025/21/11/image_02052025_21_11_26_10372.jpg
/home/pi/Desktop/images/02052025/21/11/image_02052025_21_11_36_9435.jpg
/home/pi/Desktop/images/02052025/21/11/image_02052025_21_11_46_10357.jpg
/home/pi/Desktop/images/02052025/21/11/image_02052025_21_11_56_9367.jpg
/home/pi/Desktop/images/02052025/21/11/image_02052025_21_12_06_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":["1355481543","1355481821","1355481629","1355481694","1355481894","1355481762"],"photo_ids_order":["1355481543","1355481629","1355481694","1355481762","1355481821","1355481894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6f17cb20a62568144e9205124c6a92c1.jpg","text":"TemporaryFile(/tmp/multipartBody8321684125307056857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218492699,"filename":"image_02052025_21_11_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/5/2/78113c2e353e684fde67388aaea4cf50.jpg","text":"TemporaryFile(/tmp/multipartBody7874275284350452053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218492699,"filename":"image_02052025_21_11_56_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a78177944694fc8987e11818e7e855c.jpg","text":"TemporaryFile(/tmp/multipartBody4294027728047486400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218492699,"filename":"image_02052025_21_11_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/5/2/379269d999056e36e7f3f3dff252c7bb.jpg","text":"TemporaryFile(/tmp/multipartBody4653955103229035850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218492699,"filename":"image_02052025_21_11_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/5/2/4607205a9f9a1c0aa67cedd597cf612d.jpg","text":"TemporaryFile(/tmp/multipartBody1212932991243821056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218492699,"filename":"image_02052025_21_12_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/5/2/e00a252fb60a26e93f07c49d87585f2a.jpg","text":"TemporaryFile(/tmp/multipartBody715334204465126750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218492699,"filename":"image_02052025_21_11_46_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355481694","file1":"1355481629","file0":"1355481543","file4":"1355481821","file5":"1355481894","file3":"1355481762"},"map_files_photo_id_array":[{"photo_id":"1355481894","filename":"file5"},{"photo_id":"1355481694","filename":"file2"},{"photo_id":"1355481821","filename":"file4"},{"photo_id":"1355481629","filename":"file1"},{"photo_id":"1355481543","filename":"file0"},{"photo_id":"1355481762","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355481543":["hashtag1","hashtag2"]},{"1355481821":["hashtag1","hashtag2"]},{"1355481629":["hashtag1","hashtag2"]},{"1355481694":["hashtag1","hashtag2"]},{"1355481894":["hashtag1","hashtag2"]},{"1355481762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355481543, 1355481821, 1355481629, 1355481694, 1355481894, 1355481762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4995551109314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:41:32.334361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/12/image_02052025_21_12_16_10368.jpg', '/home/pi/Desktop/images/02052025/21/12/image_02052025_21_12_26_9436.jpg', '/home/pi/Desktop/images/02052025/21/12/image_02052025_21_12_36_10354.jpg', '/home/pi/Desktop/images/02052025/21/12/image_02052025_21_12_47_10365.jpg', '/home/pi/Desktop/images/02052025/21/12/image_02052025_21_12_56_9385.jpg', '/home/pi/Desktop/images/02052025/21/12/image_02052025_21_13_06_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/12/image_02052025_21_12_16_10368.jpg
/home/pi/Desktop/images/02052025/21/12/image_02052025_21_12_26_9436.jpg
/home/pi/Desktop/images/02052025/21/12/image_02052025_21_12_36_10354.jpg
/home/pi/Desktop/images/02052025/21/12/image_02052025_21_12_47_10365.jpg
/home/pi/Desktop/images/02052025/21/12/image_02052025_21_12_56_9385.jpg
/home/pi/Desktop/images/02052025/21/12/image_02052025_21_13_06_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355482676","1355482625","1355482738","1355482788","1355482566","1355482845"],"photo_ids_order":["1355482566","1355482625","1355482676","1355482738","1355482788","1355482845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aef04fdfc996e6ef4cbdcc6e24ef4cab.jpg","text":"TemporaryFile(/tmp/multipartBody2879053367676985397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218552815,"filename":"image_02052025_21_12_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/5/2/7e68f19ee43695b67bb309fb66ccabab.jpg","text":"TemporaryFile(/tmp/multipartBody5923072534185123138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218552815,"filename":"image_02052025_21_12_26_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4b972f3346ef3ece68890e609a68a83d.jpg","text":"TemporaryFile(/tmp/multipartBody8055878303328460877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218552815,"filename":"image_02052025_21_12_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/5/2/9dc843f0bb2fce0d51641fd6f4afcf72.jpg","text":"TemporaryFile(/tmp/multipartBody7064940674178398296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218552815,"filename":"image_02052025_21_12_56_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/27aeb04214b5b1bb588c53b68c518598.jpg","text":"TemporaryFile(/tmp/multipartBody3501631821253689148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218552815,"filename":"image_02052025_21_12_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fed6ecc7177d878ec9f4a657152b8f26.jpg","text":"TemporaryFile(/tmp/multipartBody9083051661361243763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218552815,"filename":"image_02052025_21_13_06_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355482676","file1":"1355482625","file0":"1355482566","file4":"1355482788","file5":"1355482845","file3":"1355482738"},"map_files_photo_id_array":[{"photo_id":"1355482845","filename":"file5"},{"photo_id":"1355482676","filename":"file2"},{"photo_id":"1355482788","filename":"file4"},{"photo_id":"1355482625","filename":"file1"},{"photo_id":"1355482566","filename":"file0"},{"photo_id":"1355482738","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355482676":["hashtag1","hashtag2"]},{"1355482625":["hashtag1","hashtag2"]},{"1355482738":["hashtag1","hashtag2"]},{"1355482788":["hashtag1","hashtag2"]},{"1355482566":["hashtag1","hashtag2"]},{"1355482845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355482676, 1355482625, 1355482738, 1355482788, 1355482566, 1355482845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.590763330459595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:42:32.513891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/13/image_02052025_21_13_16_9517.jpg', '/home/pi/Desktop/images/02052025/21/13/image_02052025_21_13_26_10443.jpg', '/home/pi/Desktop/images/02052025/21/13/image_02052025_21_13_36_9485.jpg', '/home/pi/Desktop/images/02052025/21/13/image_02052025_21_13_46_10364.jpg', '/home/pi/Desktop/images/02052025/21/13/image_02052025_21_13_56_9369.jpg', '/home/pi/Desktop/images/02052025/21/13/image_02052025_21_14_06_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/13/image_02052025_21_13_16_9517.jpg
/home/pi/Desktop/images/02052025/21/13/image_02052025_21_13_26_10443.jpg
/home/pi/Desktop/images/02052025/21/13/image_02052025_21_13_36_9485.jpg
/home/pi/Desktop/images/02052025/21/13/image_02052025_21_13_46_10364.jpg
/home/pi/Desktop/images/02052025/21/13/image_02052025_21_13_56_9369.jpg
/home/pi/Desktop/images/02052025/21/13/image_02052025_21_14_06_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355483444","1355483391","1355483472","1355483496","1355483364","1355483418"],"photo_ids_order":["1355483364","1355483391","1355483418","1355483444","1355483472","1355483496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee3c8dd673e90ebcdcadceb7a3b0a53d.jpg","text":"TemporaryFile(/tmp/multipartBody1737639028695747438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218612989,"filename":"image_02052025_21_13_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/5/2/ef84fbf8f7ada019db0aea359a507598.jpg","text":"TemporaryFile(/tmp/multipartBody5624591339330592674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218612989,"filename":"image_02052025_21_13_26_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f25bad752486500a043a42f3f1fad7e9.jpg","text":"TemporaryFile(/tmp/multipartBody8616575449313779533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218612989,"filename":"image_02052025_21_13_56_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bfa4d878eb2b7af69727197c63789b89.jpg","text":"TemporaryFile(/tmp/multipartBody2077246573178883960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218612989,"filename":"image_02052025_21_14_06_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/211a1e5944790a3bfd042730d1338d8f.jpg","text":"TemporaryFile(/tmp/multipartBody7553371831279752124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218612989,"filename":"image_02052025_21_13_16_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f5bbe130209900553880ca4c41bffb11.jpg","text":"TemporaryFile(/tmp/multipartBody711137451081856061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218612989,"filename":"image_02052025_21_13_36_9485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355483418","file1":"1355483391","file0":"1355483364","file4":"1355483472","file5":"1355483496","file3":"1355483444"},"map_files_photo_id_array":[{"photo_id":"1355483496","filename":"file5"},{"photo_id":"1355483418","filename":"file2"},{"photo_id":"1355483472","filename":"file4"},{"photo_id":"1355483391","filename":"file1"},{"photo_id":"1355483364","filename":"file0"},{"photo_id":"1355483444","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355483444":["hashtag1","hashtag2"]},{"1355483391":["hashtag1","hashtag2"]},{"1355483472":["hashtag1","hashtag2"]},{"1355483496":["hashtag1","hashtag2"]},{"1355483364":["hashtag1","hashtag2"]},{"1355483418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355483444, 1355483391, 1355483472, 1355483496, 1355483364, 1355483418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0053448677063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:43:32.686849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/14/image_02052025_21_14_16_10349.jpg', '/home/pi/Desktop/images/02052025/21/14/image_02052025_21_14_26_9408.jpg', '/home/pi/Desktop/images/02052025/21/14/image_02052025_21_14_36_10349.jpg', '/home/pi/Desktop/images/02052025/21/14/image_02052025_21_14_46_10369.jpg', '/home/pi/Desktop/images/02052025/21/14/image_02052025_21_14_56_9421.jpg', '/home/pi/Desktop/images/02052025/21/14/image_02052025_21_15_06_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/14/image_02052025_21_14_16_10349.jpg
/home/pi/Desktop/images/02052025/21/14/image_02052025_21_14_26_9408.jpg
/home/pi/Desktop/images/02052025/21/14/image_02052025_21_14_36_10349.jpg
/home/pi/Desktop/images/02052025/21/14/image_02052025_21_14_46_10369.jpg
/home/pi/Desktop/images/02052025/21/14/image_02052025_21_14_56_9421.jpg
/home/pi/Desktop/images/02052025/21/14/image_02052025_21_15_06_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":["1355484166","1355484115","1355483911","1355484065","1355483963","1355484014"],"photo_ids_order":["1355483911","1355483963","1355484014","1355484065","1355484115","1355484166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5689682d3423124e671f99263e10f599.jpg","text":"TemporaryFile(/tmp/multipartBody2912241499285214672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218673164,"filename":"image_02052025_21_15_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/5/2/fd0af60c267bb87d9baa6a3688f414b8.jpg","text":"TemporaryFile(/tmp/multipartBody2409148702422706185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218673164,"filename":"image_02052025_21_14_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/5/2/48efa8dc3e0350f9722f145dd41c6f1a.jpg","text":"TemporaryFile(/tmp/multipartBody7416916335749436819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218673164,"filename":"image_02052025_21_14_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6322429f3dbeafec24a257eaf44c2ce.jpg","text":"TemporaryFile(/tmp/multipartBody7310295890691932483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218673164,"filename":"image_02052025_21_14_46_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f63795f2e7578e23d1845d804111670.jpg","text":"TemporaryFile(/tmp/multipartBody8090904073908639670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218673164,"filename":"image_02052025_21_14_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/5/2/194ec123680f975386982a08e564f07e.jpg","text":"TemporaryFile(/tmp/multipartBody7754245630100026404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218673164,"filename":"image_02052025_21_14_36_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355484014","file1":"1355483963","file0":"1355483911","file4":"1355484115","file5":"1355484166","file3":"1355484065"},"map_files_photo_id_array":[{"photo_id":"1355484166","filename":"file5"},{"photo_id":"1355484014","filename":"file2"},{"photo_id":"1355484115","filename":"file4"},{"photo_id":"1355483963","filename":"file1"},{"photo_id":"1355483911","filename":"file0"},{"photo_id":"1355484065","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355484166":["hashtag1","hashtag2"]},{"1355484115":["hashtag1","hashtag2"]},{"1355483911":["hashtag1","hashtag2"]},{"1355484065":["hashtag1","hashtag2"]},{"1355483963":["hashtag1","hashtag2"]},{"1355484014":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355484166, 1355484115, 1355483911, 1355484065, 1355483963, 1355484014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.3854660987854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:44:32.854990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/15/image_02052025_21_15_16_9364.jpg', '/home/pi/Desktop/images/02052025/21/15/image_02052025_21_15_26_10441.jpg', '/home/pi/Desktop/images/02052025/21/15/image_02052025_21_15_36_10364.jpg', '/home/pi/Desktop/images/02052025/21/15/image_02052025_21_15_46_9515.jpg', '/home/pi/Desktop/images/02052025/21/15/image_02052025_21_15_56_10377.jpg', '/home/pi/Desktop/images/02052025/21/15/image_02052025_21_16_06_9496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/15/image_02052025_21_15_16_9364.jpg
/home/pi/Desktop/images/02052025/21/15/image_02052025_21_15_26_10441.jpg
/home/pi/Desktop/images/02052025/21/15/image_02052025_21_15_36_10364.jpg
/home/pi/Desktop/images/02052025/21/15/image_02052025_21_15_46_9515.jpg
/home/pi/Desktop/images/02052025/21/15/image_02052025_21_15_56_10377.jpg
/home/pi/Desktop/images/02052025/21/15/image_02052025_21_16_06_9496.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355484568","1355484510","1355484473","1355484426","1355484398","1355484536"],"photo_ids_order":["1355484398","1355484426","1355484473","1355484510","1355484536","1355484568"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2857741e7136189688c817ce6b3e0965.jpg","text":"TemporaryFile(/tmp/multipartBody1129840923138382979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218733335,"filename":"image_02052025_21_16_06_9496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f006af2f814e9995d78afc060f2fa9b.jpg","text":"TemporaryFile(/tmp/multipartBody6788688512388139635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218733335,"filename":"image_02052025_21_15_46_9515.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/24466888afc8ea9a01ac9c16dc9bcb3a.jpg","text":"TemporaryFile(/tmp/multipartBody2217889635115447735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218733335,"filename":"image_02052025_21_15_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/5/2/2a55aef333504db6b8c9157b4e1c7259.jpg","text":"TemporaryFile(/tmp/multipartBody3091577087460888927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218733335,"filename":"image_02052025_21_15_26_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8c305d882626275a9a25a9b94add327c.jpg","text":"TemporaryFile(/tmp/multipartBody2258505163950367594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218733335,"filename":"image_02052025_21_15_16_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4c28b64812fa77af1fbbb9ee89c86f0.jpg","text":"TemporaryFile(/tmp/multipartBody3596079397713149534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218733335,"filename":"image_02052025_21_15_56_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355484473","file1":"1355484426","file0":"1355484398","file4":"1355484536","file5":"1355484568","file3":"1355484510"},"map_files_photo_id_array":[{"photo_id":"1355484568","filename":"file5"},{"photo_id":"1355484473","filename":"file2"},{"photo_id":"1355484536","filename":"file4"},{"photo_id":"1355484426","filename":"file1"},{"photo_id":"1355484398","filename":"file0"},{"photo_id":"1355484510","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355484568":["hashtag1","hashtag2"]},{"1355484510":["hashtag1","hashtag2"]},{"1355484473":["hashtag1","hashtag2"]},{"1355484426":["hashtag1","hashtag2"]},{"1355484398":["hashtag1","hashtag2"]},{"1355484536":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355484568, 1355484510, 1355484473, 1355484426, 1355484398, 1355484536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.617528200149536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:45:33.068962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/16/image_02052025_21_16_16_10430.jpg', '/home/pi/Desktop/images/02052025/21/16/image_02052025_21_16_26_9446.jpg', '/home/pi/Desktop/images/02052025/21/16/image_02052025_21_16_36_10438.jpg', '/home/pi/Desktop/images/02052025/21/16/image_02052025_21_16_46_9424.jpg', '/home/pi/Desktop/images/02052025/21/16/image_02052025_21_16_56_10485.jpg', '/home/pi/Desktop/images/02052025/21/16/image_02052025_21_17_06_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/16/image_02052025_21_16_16_10430.jpg
/home/pi/Desktop/images/02052025/21/16/image_02052025_21_16_26_9446.jpg
/home/pi/Desktop/images/02052025/21/16/image_02052025_21_16_36_10438.jpg
/home/pi/Desktop/images/02052025/21/16/image_02052025_21_16_46_9424.jpg
/home/pi/Desktop/images/02052025/21/16/image_02052025_21_16_56_10485.jpg
/home/pi/Desktop/images/02052025/21/16/image_02052025_21_17_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":["1355484694","1355484748","1355484721","1355484718","1355484729","1355484725"],"photo_ids_order":["1355484694","1355484718","1355484721","1355484725","1355484729","1355484748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/21377430161171b5934cf39ebc628069.jpg","text":"TemporaryFile(/tmp/multipartBody3260035145197301567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218793557,"filename":"image_02052025_21_16_16_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b0028385ea745d2b6e335daffe971c16.jpg","text":"TemporaryFile(/tmp/multipartBody782564286367934570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218793557,"filename":"image_02052025_21_17_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/5/2/3f857749a272d854a9eab51f3cfb1f93.jpg","text":"TemporaryFile(/tmp/multipartBody2355007009640595616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218793557,"filename":"image_02052025_21_16_36_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7ab3bb65e063903e442d5fa527748bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5100519556520748312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218793557,"filename":"image_02052025_21_16_26_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a65a0c72085a778ec903d1dd04cf9a6.jpg","text":"TemporaryFile(/tmp/multipartBody3629676080184599436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218793557,"filename":"image_02052025_21_16_56_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc684e6f7c306f6f5243164c5e97977a.jpg","text":"TemporaryFile(/tmp/multipartBody7129366500681771766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218793557,"filename":"image_02052025_21_16_46_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355484721","file1":"1355484718","file0":"1355484694","file4":"1355484729","file5":"1355484748","file3":"1355484725"},"map_files_photo_id_array":[{"photo_id":"1355484748","filename":"file5"},{"photo_id":"1355484721","filename":"file2"},{"photo_id":"1355484729","filename":"file4"},{"photo_id":"1355484718","filename":"file1"},{"photo_id":"1355484694","filename":"file0"},{"photo_id":"1355484725","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355484694":["hashtag1","hashtag2"]},{"1355484748":["hashtag1","hashtag2"]},{"1355484721":["hashtag1","hashtag2"]},{"1355484718":["hashtag1","hashtag2"]},{"1355484729":["hashtag1","hashtag2"]},{"1355484725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355484694, 1355484748, 1355484721, 1355484718, 1355484729, 1355484725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.653599500656128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:46:33.157299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/17/image_02052025_21_17_16_9455.jpg', '/home/pi/Desktop/images/02052025/21/17/image_02052025_21_17_26_10382.jpg', '/home/pi/Desktop/images/02052025/21/17/image_02052025_21_17_46_10358.jpg', '/home/pi/Desktop/images/02052025/21/17/image_02052025_21_17_57_10389.jpg', '/home/pi/Desktop/images/02052025/21/17/image_02052025_21_18_06_9460.jpg', '/home/pi/Desktop/images/02052025/21/18/image_02052025_21_18_16_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/17/image_02052025_21_17_16_9455.jpg
/home/pi/Desktop/images/02052025/21/17/image_02052025_21_17_26_10382.jpg
/home/pi/Desktop/images/02052025/21/17/image_02052025_21_17_46_10358.jpg
/home/pi/Desktop/images/02052025/21/17/image_02052025_21_17_57_10389.jpg
/home/pi/Desktop/images/02052025/21/17/image_02052025_21_18_06_9460.jpg
/home/pi/Desktop/images/02052025/21/18/image_02052025_21_18_16_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355485219","1355485111","1355485245","1355485139","1355485192","1355485165"],"photo_ids_order":["1355485111","1355485139","1355485165","1355485192","1355485219","1355485245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a3b3fb1d3f60dd2277311d11bc08f73.jpg","text":"TemporaryFile(/tmp/multipartBody5531953107937174858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218853655,"filename":"image_02052025_21_18_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/5/2/95b6fa93add7e9f1fde85ade95b6ee6b.jpg","text":"TemporaryFile(/tmp/multipartBody9182420037323572703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218853655,"filename":"image_02052025_21_17_16_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ab7130744b7a8ce458889edc079c41f3.jpg","text":"TemporaryFile(/tmp/multipartBody644073675859476189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218853655,"filename":"image_02052025_21_18_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/5/2/5eda8bf6e310b357798d51efc596c987.jpg","text":"TemporaryFile(/tmp/multipartBody702503347158976210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218853655,"filename":"image_02052025_21_17_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/5/2/2df3f618ffcc2e3ea10b9219f170362a.jpg","text":"TemporaryFile(/tmp/multipartBody9030900791889796211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218853655,"filename":"image_02052025_21_17_57_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/028c44ac3f919e285ab3253090555e53.jpg","text":"TemporaryFile(/tmp/multipartBody6125801327817755375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218853655,"filename":"image_02052025_21_17_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355485165","file1":"1355485139","file0":"1355485111","file4":"1355485219","file5":"1355485245","file3":"1355485192"},"map_files_photo_id_array":[{"photo_id":"1355485245","filename":"file5"},{"photo_id":"1355485165","filename":"file2"},{"photo_id":"1355485219","filename":"file4"},{"photo_id":"1355485139","filename":"file1"},{"photo_id":"1355485111","filename":"file0"},{"photo_id":"1355485192","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355485219":["hashtag1","hashtag2"]},{"1355485111":["hashtag1","hashtag2"]},{"1355485245":["hashtag1","hashtag2"]},{"1355485139":["hashtag1","hashtag2"]},{"1355485192":["hashtag1","hashtag2"]},{"1355485165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355485219, 1355485111, 1355485245, 1355485139, 1355485192, 1355485165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.901800394058228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:47:32.326678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/18/image_02052025_21_18_26_9507.jpg', '/home/pi/Desktop/images/02052025/21/18/image_02052025_21_18_36_10365.jpg', '/home/pi/Desktop/images/02052025/21/18/image_02052025_21_18_46_9382.jpg', '/home/pi/Desktop/images/02052025/21/18/image_02052025_21_18_56_10388.jpg', '/home/pi/Desktop/images/02052025/21/18/image_02052025_21_19_06_10359.jpg', '/home/pi/Desktop/images/02052025/21/19/image_02052025_21_19_16_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/18/image_02052025_21_18_26_9507.jpg
/home/pi/Desktop/images/02052025/21/18/image_02052025_21_18_36_10365.jpg
/home/pi/Desktop/images/02052025/21/18/image_02052025_21_18_46_9382.jpg
/home/pi/Desktop/images/02052025/21/18/image_02052025_21_18_56_10388.jpg
/home/pi/Desktop/images/02052025/21/18/image_02052025_21_19_06_10359.jpg
/home/pi/Desktop/images/02052025/21/19/image_02052025_21_19_16_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355485455","1355485452","1355485449","1355485460","1355485463","1355485457"],"photo_ids_order":["1355485449","1355485452","1355485455","1355485457","1355485460","1355485463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d256565cb1586e682f379e1e9d09e5e0.jpg","text":"TemporaryFile(/tmp/multipartBody729009023459105688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218912811,"filename":"image_02052025_21_18_46_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9a104e0c9ea445d2046d986579f84ad5.jpg","text":"TemporaryFile(/tmp/multipartBody2663707703761480363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218912811,"filename":"image_02052025_21_18_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/5/2/7993f2926a22ddef03c972aff8bae89c.jpg","text":"TemporaryFile(/tmp/multipartBody6174955595153184901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218912811,"filename":"image_02052025_21_18_26_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09ae4e7453a3a720358c6cb09af45399.jpg","text":"TemporaryFile(/tmp/multipartBody4317459064643113304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218912811,"filename":"image_02052025_21_19_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/5/2/7ad2201f77ff581f420428f3bcbb0519.jpg","text":"TemporaryFile(/tmp/multipartBody6865209815311849021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218912811,"filename":"image_02052025_21_19_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/5/2/cef67a23b8dab2085fb9bec4fb8fd5eb.jpg","text":"TemporaryFile(/tmp/multipartBody6502250735336708032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218912811,"filename":"image_02052025_21_18_56_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355485455","file1":"1355485452","file0":"1355485449","file4":"1355485460","file5":"1355485463","file3":"1355485457"},"map_files_photo_id_array":[{"photo_id":"1355485463","filename":"file5"},{"photo_id":"1355485455","filename":"file2"},{"photo_id":"1355485460","filename":"file4"},{"photo_id":"1355485452","filename":"file1"},{"photo_id":"1355485449","filename":"file0"},{"photo_id":"1355485457","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355485455":["hashtag1","hashtag2"]},{"1355485452":["hashtag1","hashtag2"]},{"1355485449":["hashtag1","hashtag2"]},{"1355485460":["hashtag1","hashtag2"]},{"1355485463":["hashtag1","hashtag2"]},{"1355485457":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355485455, 1355485452, 1355485449, 1355485460, 1355485463, 1355485457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.923133850097656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:48:32.557195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/19/image_02052025_21_19_26_10375.jpg', '/home/pi/Desktop/images/02052025/21/19/image_02052025_21_19_37_10347.jpg', '/home/pi/Desktop/images/02052025/21/19/image_02052025_21_19_46_9368.jpg', '/home/pi/Desktop/images/02052025/21/19/image_02052025_21_19_56_10403.jpg', '/home/pi/Desktop/images/02052025/21/19/image_02052025_21_20_06_9409.jpg', '/home/pi/Desktop/images/02052025/21/20/image_02052025_21_20_16_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/19/image_02052025_21_19_26_10375.jpg
/home/pi/Desktop/images/02052025/21/19/image_02052025_21_19_37_10347.jpg
/home/pi/Desktop/images/02052025/21/19/image_02052025_21_19_46_9368.jpg
/home/pi/Desktop/images/02052025/21/19/image_02052025_21_19_56_10403.jpg
/home/pi/Desktop/images/02052025/21/19/image_02052025_21_20_06_9409.jpg
/home/pi/Desktop/images/02052025/21/20/image_02052025_21_20_16_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":["1355485599","1355485603","1355485617","1355485622","1355485610","1355485606"],"photo_ids_order":["1355485599","1355485603","1355485606","1355485610","1355485617","1355485622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/97f95b50c7934089150f32b1f513db01.jpg","text":"TemporaryFile(/tmp/multipartBody4407734135453712377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218973029,"filename":"image_02052025_21_19_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/99c2a117efd9a64ee8857aee4774c5eb.jpg","text":"TemporaryFile(/tmp/multipartBody3799688442536020481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218973029,"filename":"image_02052025_21_19_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/5/2/1c5032724f2bf8950c9fc2d7473562b8.jpg","text":"TemporaryFile(/tmp/multipartBody6993485929707244610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218973029,"filename":"image_02052025_21_20_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/5/2/6b2509bbd4e97cc8552e4758997cb592.jpg","text":"TemporaryFile(/tmp/multipartBody6973848878808525198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218973029,"filename":"image_02052025_21_20_16_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8d69ae2431fba14d8a6d6c42d38bd3b6.jpg","text":"TemporaryFile(/tmp/multipartBody5343631548020957609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218973029,"filename":"image_02052025_21_19_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/5/2/f9f9d047ca8bda2157b9ee68da5e11b0.jpg","text":"TemporaryFile(/tmp/multipartBody7414530020889602229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746218973029,"filename":"image_02052025_21_19_46_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355485606","file1":"1355485603","file0":"1355485599","file4":"1355485617","file5":"1355485622","file3":"1355485610"},"map_files_photo_id_array":[{"photo_id":"1355485622","filename":"file5"},{"photo_id":"1355485606","filename":"file2"},{"photo_id":"1355485617","filename":"file4"},{"photo_id":"1355485603","filename":"file1"},{"photo_id":"1355485599","filename":"file0"},{"photo_id":"1355485610","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355485599":["hashtag1","hashtag2"]},{"1355485603":["hashtag1","hashtag2"]},{"1355485617":["hashtag1","hashtag2"]},{"1355485622":["hashtag1","hashtag2"]},{"1355485610":["hashtag1","hashtag2"]},{"1355485606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355485599, 1355485603, 1355485617, 1355485622, 1355485610, 1355485606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70321297645569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:49:32.861808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/20/image_02052025_21_20_27_10389.jpg', '/home/pi/Desktop/images/02052025/21/20/image_02052025_21_20_36_9359.jpg', '/home/pi/Desktop/images/02052025/21/20/image_02052025_21_20_46_10367.jpg', '/home/pi/Desktop/images/02052025/21/20/image_02052025_21_20_56_9370.jpg', '/home/pi/Desktop/images/02052025/21/20/image_02052025_21_21_06_10365.jpg', '/home/pi/Desktop/images/02052025/21/21/image_02052025_21_21_16_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/20/image_02052025_21_20_27_10389.jpg
/home/pi/Desktop/images/02052025/21/20/image_02052025_21_20_36_9359.jpg
/home/pi/Desktop/images/02052025/21/20/image_02052025_21_20_46_10367.jpg
/home/pi/Desktop/images/02052025/21/20/image_02052025_21_20_56_9370.jpg
/home/pi/Desktop/images/02052025/21/20/image_02052025_21_21_06_10365.jpg
/home/pi/Desktop/images/02052025/21/21/image_02052025_21_21_16_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":["1355485729","1355485725","1355485727","1355485687","1355485681","1355485711"],"photo_ids_order":["1355485681","1355485687","1355485711","1355485725","1355485727","1355485729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dd480577ea3c38540c45cb1da747a798.jpg","text":"TemporaryFile(/tmp/multipartBody3477055307207701060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219033345,"filename":"image_02052025_21_21_16_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/908ce89f42a8e82dde1b710b49d240fc.jpg","text":"TemporaryFile(/tmp/multipartBody2471010024525972032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219033345,"filename":"image_02052025_21_20_56_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f0917d91045a80f77a85f6e0d2924b7.jpg","text":"TemporaryFile(/tmp/multipartBody8588216457879780011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219033345,"filename":"image_02052025_21_21_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0f307698f024e125246fc010b308e304.jpg","text":"TemporaryFile(/tmp/multipartBody690071911324426153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219033345,"filename":"image_02052025_21_20_36_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a8748c60c0f6f0f674b696424b267e58.jpg","text":"TemporaryFile(/tmp/multipartBody3520128891650763835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219033345,"filename":"image_02052025_21_20_27_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7cf39b8617fddf9c9f0876787d70b3c9.jpg","text":"TemporaryFile(/tmp/multipartBody4504313005726594760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219033345,"filename":"image_02052025_21_20_46_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355485711","file1":"1355485687","file0":"1355485681","file4":"1355485727","file5":"1355485729","file3":"1355485725"},"map_files_photo_id_array":[{"photo_id":"1355485729","filename":"file5"},{"photo_id":"1355485711","filename":"file2"},{"photo_id":"1355485727","filename":"file4"},{"photo_id":"1355485687","filename":"file1"},{"photo_id":"1355485681","filename":"file0"},{"photo_id":"1355485725","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355485729":["hashtag1","hashtag2"]},{"1355485725":["hashtag1","hashtag2"]},{"1355485727":["hashtag1","hashtag2"]},{"1355485687":["hashtag1","hashtag2"]},{"1355485681":["hashtag1","hashtag2"]},{"1355485711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355485729, 1355485725, 1355485727, 1355485687, 1355485681, 1355485711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52485251426697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:50:33.073400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/21/image_02052025_21_21_26_9363.jpg', '/home/pi/Desktop/images/02052025/21/21/image_02052025_21_21_36_10472.jpg', '/home/pi/Desktop/images/02052025/21/21/image_02052025_21_21_46_9413.jpg', '/home/pi/Desktop/images/02052025/21/21/image_02052025_21_21_56_10431.jpg', '/home/pi/Desktop/images/02052025/21/21/image_02052025_21_22_06_10404.jpg', '/home/pi/Desktop/images/02052025/21/22/image_02052025_21_22_16_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/21/image_02052025_21_21_26_9363.jpg
/home/pi/Desktop/images/02052025/21/21/image_02052025_21_21_36_10472.jpg
/home/pi/Desktop/images/02052025/21/21/image_02052025_21_21_46_9413.jpg
/home/pi/Desktop/images/02052025/21/21/image_02052025_21_21_56_10431.jpg
/home/pi/Desktop/images/02052025/21/21/image_02052025_21_22_06_10404.jpg
/home/pi/Desktop/images/02052025/21/22/image_02052025_21_22_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":["1355485899","1355485908","1355485895","1355485894","1355485882","1355485846"],"photo_ids_order":["1355485846","1355485882","1355485894","1355485895","1355485899","1355485908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fb37173be0b8945af00a492bc52552a6.jpg","text":"TemporaryFile(/tmp/multipartBody434279068286256715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219093548,"filename":"image_02052025_21_22_06_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3e4abea472b5fd19684cb0a08c21ac68.jpg","text":"TemporaryFile(/tmp/multipartBody8674057936711011679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219093548,"filename":"image_02052025_21_22_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/5/2/d667c68346b089588d83bb689c6f4b00.jpg","text":"TemporaryFile(/tmp/multipartBody5092226559341582784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219093548,"filename":"image_02052025_21_21_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/5/2/4f3b1f70b55b196b8d61ce9a260f62d6.jpg","text":"TemporaryFile(/tmp/multipartBody1870920994648675262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219093548,"filename":"image_02052025_21_21_46_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d140e2870e38722894bcd628ae350396.jpg","text":"TemporaryFile(/tmp/multipartBody3079157801627945386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219093548,"filename":"image_02052025_21_21_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/5/2/aa63e9adbf55b8762817d086d5b75bdd.jpg","text":"TemporaryFile(/tmp/multipartBody1705673451293880480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219093548,"filename":"image_02052025_21_21_26_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355485894","file1":"1355485882","file0":"1355485846","file4":"1355485899","file5":"1355485908","file3":"1355485895"},"map_files_photo_id_array":[{"photo_id":"1355485908","filename":"file5"},{"photo_id":"1355485894","filename":"file2"},{"photo_id":"1355485899","filename":"file4"},{"photo_id":"1355485882","filename":"file1"},{"photo_id":"1355485846","filename":"file0"},{"photo_id":"1355485895","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355485899":["hashtag1","hashtag2"]},{"1355485908":["hashtag1","hashtag2"]},{"1355485895":["hashtag1","hashtag2"]},{"1355485894":["hashtag1","hashtag2"]},{"1355485882":["hashtag1","hashtag2"]},{"1355485846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355485899, 1355485908, 1355485895, 1355485894, 1355485882, 1355485846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82081127166748 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:51:32.184685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/22/image_02052025_21_22_26_10456.jpg', '/home/pi/Desktop/images/02052025/21/22/image_02052025_21_22_36_9354.jpg', '/home/pi/Desktop/images/02052025/21/22/image_02052025_21_22_46_10365.jpg', '/home/pi/Desktop/images/02052025/21/22/image_02052025_21_22_56_10391.jpg', '/home/pi/Desktop/images/02052025/21/22/image_02052025_21_23_06_9408.jpg', '/home/pi/Desktop/images/02052025/21/23/image_02052025_21_23_16_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/22/image_02052025_21_22_26_10456.jpg
/home/pi/Desktop/images/02052025/21/22/image_02052025_21_22_36_9354.jpg
/home/pi/Desktop/images/02052025/21/22/image_02052025_21_22_46_10365.jpg
/home/pi/Desktop/images/02052025/21/22/image_02052025_21_22_56_10391.jpg
/home/pi/Desktop/images/02052025/21/22/image_02052025_21_23_06_9408.jpg
/home/pi/Desktop/images/02052025/21/23/image_02052025_21_23_16_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355485944","1355485932","1355485941","1355485925","1355485936","1355485939"],"photo_ids_order":["1355485925","1355485932","1355485936","1355485939","1355485941","1355485944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0488472792f0597e0fa310e1ea602b1a.jpg","text":"TemporaryFile(/tmp/multipartBody90432866218622570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219152661,"filename":"image_02052025_21_23_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4492420fb5ac7a0ba2ac7fd2a0cc21ca.jpg","text":"TemporaryFile(/tmp/multipartBody8139478960284702978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219152661,"filename":"image_02052025_21_22_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/5/2/8e4a3b8330bc8dcfca597f83b4a25148.jpg","text":"TemporaryFile(/tmp/multipartBody7845604453821074574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219152661,"filename":"image_02052025_21_23_06_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5319f1e5260230c9e0d7626ab551c86a.jpg","text":"TemporaryFile(/tmp/multipartBody3220090366230968000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219152661,"filename":"image_02052025_21_22_26_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a1dc99b05166c5965c52ae9894e71997.jpg","text":"TemporaryFile(/tmp/multipartBody2040456284014652171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219152661,"filename":"image_02052025_21_22_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/5/2/0bf3f282921c831fcc70fbba129da82c.jpg","text":"TemporaryFile(/tmp/multipartBody2342267495888734525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219152661,"filename":"image_02052025_21_22_56_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355485936","file1":"1355485932","file0":"1355485925","file4":"1355485941","file5":"1355485944","file3":"1355485939"},"map_files_photo_id_array":[{"photo_id":"1355485944","filename":"file5"},{"photo_id":"1355485936","filename":"file2"},{"photo_id":"1355485941","filename":"file4"},{"photo_id":"1355485932","filename":"file1"},{"photo_id":"1355485925","filename":"file0"},{"photo_id":"1355485939","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355485944":["hashtag1","hashtag2"]},{"1355485932":["hashtag1","hashtag2"]},{"1355485941":["hashtag1","hashtag2"]},{"1355485925":["hashtag1","hashtag2"]},{"1355485936":["hashtag1","hashtag2"]},{"1355485939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355485944, 1355485932, 1355485941, 1355485925, 1355485936, 1355485939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.233322620391846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:52:32.480052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/23/image_02052025_21_23_26_9377.jpg', '/home/pi/Desktop/images/02052025/21/23/image_02052025_21_23_36_10471.jpg', '/home/pi/Desktop/images/02052025/21/23/image_02052025_21_23_46_10380.jpg', '/home/pi/Desktop/images/02052025/21/23/image_02052025_21_23_56_9458.jpg', '/home/pi/Desktop/images/02052025/21/23/image_02052025_21_24_06_10354.jpg', '/home/pi/Desktop/images/02052025/21/24/image_02052025_21_24_16_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/23/image_02052025_21_23_26_9377.jpg
/home/pi/Desktop/images/02052025/21/23/image_02052025_21_23_36_10471.jpg
/home/pi/Desktop/images/02052025/21/23/image_02052025_21_23_46_10380.jpg
/home/pi/Desktop/images/02052025/21/23/image_02052025_21_23_56_9458.jpg
/home/pi/Desktop/images/02052025/21/23/image_02052025_21_24_06_10354.jpg
/home/pi/Desktop/images/02052025/21/24/image_02052025_21_24_16_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":["1355485992","1355485971","1355485974","1355485994","1355485982","1355486002"],"photo_ids_order":["1355485971","1355485974","1355485982","1355485992","1355485994","1355486002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90438f3c271aa010210587d38c886b2d.jpg","text":"TemporaryFile(/tmp/multipartBody6310609821697060347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219212951,"filename":"image_02052025_21_23_56_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/40fc1639c177a70b1a00b41b51b98efd.jpg","text":"TemporaryFile(/tmp/multipartBody8768153180954758491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219212951,"filename":"image_02052025_21_23_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/5/2/ad3ad300378ab8b5ddf0f2b0be8c4538.jpg","text":"TemporaryFile(/tmp/multipartBody6956795032766175490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219212951,"filename":"image_02052025_21_23_36_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/40c80c6d740ec6aed4c5ead5f758295e.jpg","text":"TemporaryFile(/tmp/multipartBody2618758171211078316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219212951,"filename":"image_02052025_21_24_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/5/2/dff2420fe8c972729154232896f48620.jpg","text":"TemporaryFile(/tmp/multipartBody3272694788774752051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219212951,"filename":"image_02052025_21_23_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/5/2/9bb0a1c3f6f58d9653b4336c1f36f509.jpg","text":"TemporaryFile(/tmp/multipartBody5241361710429804750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219212951,"filename":"image_02052025_21_24_16_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355485982","file1":"1355485974","file0":"1355485971","file4":"1355485994","file5":"1355486002","file3":"1355485992"},"map_files_photo_id_array":[{"photo_id":"1355486002","filename":"file5"},{"photo_id":"1355485982","filename":"file2"},{"photo_id":"1355485994","filename":"file4"},{"photo_id":"1355485974","filename":"file1"},{"photo_id":"1355485971","filename":"file0"},{"photo_id":"1355485992","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355485992":["hashtag1","hashtag2"]},{"1355485971":["hashtag1","hashtag2"]},{"1355485974":["hashtag1","hashtag2"]},{"1355485994":["hashtag1","hashtag2"]},{"1355485982":["hashtag1","hashtag2"]},{"1355486002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355485992, 1355485971, 1355485974, 1355485994, 1355485982, 1355486002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5528302192688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:53:32.609793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/24/image_02052025_21_24_26_10392.jpg', '/home/pi/Desktop/images/02052025/21/24/image_02052025_21_24_36_10379.jpg', '/home/pi/Desktop/images/02052025/21/24/image_02052025_21_24_46_9508.jpg', '/home/pi/Desktop/images/02052025/21/24/image_02052025_21_24_56_10369.jpg', '/home/pi/Desktop/images/02052025/21/24/image_02052025_21_25_06_9363.jpg', '/home/pi/Desktop/images/02052025/21/25/image_02052025_21_25_16_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/24/image_02052025_21_24_26_10392.jpg
/home/pi/Desktop/images/02052025/21/24/image_02052025_21_24_36_10379.jpg
/home/pi/Desktop/images/02052025/21/24/image_02052025_21_24_46_9508.jpg
/home/pi/Desktop/images/02052025/21/24/image_02052025_21_24_56_10369.jpg
/home/pi/Desktop/images/02052025/21/24/image_02052025_21_25_06_9363.jpg
/home/pi/Desktop/images/02052025/21/25/image_02052025_21_25_16_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":["1355486283","1355486310","1355486288","1355486296","1355486311","1355486295"],"photo_ids_order":["1355486283","1355486288","1355486295","1355486296","1355486310","1355486311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5d0e35206cf692a4354423beec3b8d52.jpg","text":"TemporaryFile(/tmp/multipartBody1453838824821220239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219273101,"filename":"image_02052025_21_24_26_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/990b520aec7b1e53a2cb337298ea9904.jpg","text":"TemporaryFile(/tmp/multipartBody3559666169894295928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219273101,"filename":"image_02052025_21_25_06_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/782c8b8d4885f73c01c94b8503625960.jpg","text":"TemporaryFile(/tmp/multipartBody1780390942716197690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219273101,"filename":"image_02052025_21_24_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/5/2/cca00008c040624a4b088267baed2e40.jpg","text":"TemporaryFile(/tmp/multipartBody6387991155354501699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219273101,"filename":"image_02052025_21_24_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/5/2/a040f949e43737e2b5d06ee8e6121b1c.jpg","text":"TemporaryFile(/tmp/multipartBody802338977687482197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219273101,"filename":"image_02052025_21_25_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/5/2/8b988506eba01bb6867e25be9e382e8e.jpg","text":"TemporaryFile(/tmp/multipartBody2757419878617813266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219273101,"filename":"image_02052025_21_24_46_9508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355486295","file1":"1355486288","file0":"1355486283","file4":"1355486310","file5":"1355486311","file3":"1355486296"},"map_files_photo_id_array":[{"photo_id":"1355486311","filename":"file5"},{"photo_id":"1355486295","filename":"file2"},{"photo_id":"1355486310","filename":"file4"},{"photo_id":"1355486288","filename":"file1"},{"photo_id":"1355486283","filename":"file0"},{"photo_id":"1355486296","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355486283":["hashtag1","hashtag2"]},{"1355486310":["hashtag1","hashtag2"]},{"1355486288":["hashtag1","hashtag2"]},{"1355486296":["hashtag1","hashtag2"]},{"1355486311":["hashtag1","hashtag2"]},{"1355486295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355486283, 1355486310, 1355486288, 1355486296, 1355486311, 1355486295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.13308548927307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:54:32.857687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/25/image_02052025_21_25_26_10417.jpg', '/home/pi/Desktop/images/02052025/21/25/image_02052025_21_25_36_9417.jpg', '/home/pi/Desktop/images/02052025/21/25/image_02052025_21_25_46_10366.jpg', '/home/pi/Desktop/images/02052025/21/25/image_02052025_21_25_56_9368.jpg', '/home/pi/Desktop/images/02052025/21/25/image_02052025_21_26_06_10467.jpg', '/home/pi/Desktop/images/02052025/21/26/image_02052025_21_26_16_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/25/image_02052025_21_25_26_10417.jpg
/home/pi/Desktop/images/02052025/21/25/image_02052025_21_25_36_9417.jpg
/home/pi/Desktop/images/02052025/21/25/image_02052025_21_25_46_10366.jpg
/home/pi/Desktop/images/02052025/21/25/image_02052025_21_25_56_9368.jpg
/home/pi/Desktop/images/02052025/21/25/image_02052025_21_26_06_10467.jpg
/home/pi/Desktop/images/02052025/21/26/image_02052025_21_26_16_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355486352","1355486393","1355486360","1355486357","1355486362","1355486367"],"photo_ids_order":["1355486352","1355486357","1355486360","1355486362","1355486367","1355486393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c132179f716f4923d1eea11a68b9c557.jpg","text":"TemporaryFile(/tmp/multipartBody6139346576715520516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219333341,"filename":"image_02052025_21_25_26_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3da1d0e453829ac8a6dc6cfbd32da423.jpg","text":"TemporaryFile(/tmp/multipartBody3326958028731466822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219333341,"filename":"image_02052025_21_26_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/5/2/3bbbcf70889023f7685c3325c138a579.jpg","text":"TemporaryFile(/tmp/multipartBody2364304196298297581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219333341,"filename":"image_02052025_21_25_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/5/2/e3cc5455c7ba5a6983b1fc322cc45fff.jpg","text":"TemporaryFile(/tmp/multipartBody7650961261000187250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219333341,"filename":"image_02052025_21_25_36_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a9ea70aa80ad646729cff0582384648.jpg","text":"TemporaryFile(/tmp/multipartBody5785086932809923412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219333341,"filename":"image_02052025_21_25_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/5/2/21665f747cf3838d60d5a1804c0b9f8b.jpg","text":"TemporaryFile(/tmp/multipartBody8700953379768694013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219333341,"filename":"image_02052025_21_26_06_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355486360","file1":"1355486357","file0":"1355486352","file4":"1355486367","file5":"1355486393","file3":"1355486362"},"map_files_photo_id_array":[{"photo_id":"1355486393","filename":"file5"},{"photo_id":"1355486360","filename":"file2"},{"photo_id":"1355486367","filename":"file4"},{"photo_id":"1355486357","filename":"file1"},{"photo_id":"1355486352","filename":"file0"},{"photo_id":"1355486362","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355486352":["hashtag1","hashtag2"]},{"1355486393":["hashtag1","hashtag2"]},{"1355486360":["hashtag1","hashtag2"]},{"1355486357":["hashtag1","hashtag2"]},{"1355486362":["hashtag1","hashtag2"]},{"1355486367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355486352, 1355486393, 1355486360, 1355486357, 1355486362, 1355486367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.497851848602295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:55:33.055540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/26/image_02052025_21_26_26_9427.jpg', '/home/pi/Desktop/images/02052025/21/26/image_02052025_21_26_36_10366.jpg', '/home/pi/Desktop/images/02052025/21/26/image_02052025_21_26_46_9357.jpg', '/home/pi/Desktop/images/02052025/21/26/image_02052025_21_26_56_10373.jpg', '/home/pi/Desktop/images/02052025/21/26/image_02052025_21_27_06_10387.jpg', '/home/pi/Desktop/images/02052025/21/27/image_02052025_21_27_16_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/26/image_02052025_21_26_26_9427.jpg
/home/pi/Desktop/images/02052025/21/26/image_02052025_21_26_36_10366.jpg
/home/pi/Desktop/images/02052025/21/26/image_02052025_21_26_46_9357.jpg
/home/pi/Desktop/images/02052025/21/26/image_02052025_21_26_56_10373.jpg
/home/pi/Desktop/images/02052025/21/26/image_02052025_21_27_06_10387.jpg
/home/pi/Desktop/images/02052025/21/27/image_02052025_21_27_16_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":["1355486502","1355486511","1355486514","1355486508","1355486516","1355486518"],"photo_ids_order":["1355486502","1355486508","1355486511","1355486514","1355486516","1355486518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/734adf2ca3c0c6d98725e491168a7c40.jpg","text":"TemporaryFile(/tmp/multipartBody7718401223800975063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219393534,"filename":"image_02052025_21_26_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/5/2/52b7a2656fac5aef95bf1d30e1641a81.jpg","text":"TemporaryFile(/tmp/multipartBody4144334691260382932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219393534,"filename":"image_02052025_21_26_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/5/2/89ddda4b0385052dc39d100cb3c7c734.jpg","text":"TemporaryFile(/tmp/multipartBody4157393268902780327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219393534,"filename":"image_02052025_21_26_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/5/2/7724ccf0c1e4696ef287cf09adfb8ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5679725177867488372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219393534,"filename":"image_02052025_21_26_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/307cf5a02d2c584cba0a651dee95686d.jpg","text":"TemporaryFile(/tmp/multipartBody7367276252409750894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219393534,"filename":"image_02052025_21_27_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/5/2/b73b9eacf1b449641f4f8b66ed902dfa.jpg","text":"TemporaryFile(/tmp/multipartBody1359238807644930101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219393534,"filename":"image_02052025_21_27_16_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355486511","file1":"1355486508","file0":"1355486502","file4":"1355486516","file5":"1355486518","file3":"1355486514"},"map_files_photo_id_array":[{"photo_id":"1355486518","filename":"file5"},{"photo_id":"1355486511","filename":"file2"},{"photo_id":"1355486516","filename":"file4"},{"photo_id":"1355486508","filename":"file1"},{"photo_id":"1355486502","filename":"file0"},{"photo_id":"1355486514","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355486502":["hashtag1","hashtag2"]},{"1355486511":["hashtag1","hashtag2"]},{"1355486514":["hashtag1","hashtag2"]},{"1355486508":["hashtag1","hashtag2"]},{"1355486516":["hashtag1","hashtag2"]},{"1355486518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355486502, 1355486511, 1355486514, 1355486508, 1355486516, 1355486518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.595566272735596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:56:32.181783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/27/image_02052025_21_27_26_10437.jpg', '/home/pi/Desktop/images/02052025/21/27/image_02052025_21_27_37_10422.jpg', '/home/pi/Desktop/images/02052025/21/27/image_02052025_21_27_46_9477.jpg', '/home/pi/Desktop/images/02052025/21/27/image_02052025_21_27_56_10469.jpg', '/home/pi/Desktop/images/02052025/21/27/image_02052025_21_28_06_9489.jpg', '/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_16_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/27/image_02052025_21_27_26_10437.jpg
/home/pi/Desktop/images/02052025/21/27/image_02052025_21_27_37_10422.jpg
/home/pi/Desktop/images/02052025/21/27/image_02052025_21_27_46_9477.jpg
/home/pi/Desktop/images/02052025/21/27/image_02052025_21_27_56_10469.jpg
/home/pi/Desktop/images/02052025/21/27/image_02052025_21_28_06_9489.jpg
/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_16_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355486543","1355486552","1355486546","1355486555","1355486549","1355486557"],"photo_ids_order":["1355486543","1355486546","1355486549","1355486552","1355486555","1355486557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7a0f64f6f6939902ba1d042e06d468fc.jpg","text":"TemporaryFile(/tmp/multipartBody8864791751379927558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219452658,"filename":"image_02052025_21_27_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/5/2/8cd33e028eb120219a6a1132b1c786ee.jpg","text":"TemporaryFile(/tmp/multipartBody4047708160753521657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219452658,"filename":"image_02052025_21_27_56_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/89f39d150e2c6f0258cbefc4a22af063.jpg","text":"TemporaryFile(/tmp/multipartBody5091830364616123639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219452658,"filename":"image_02052025_21_27_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/5/2/0976fe74e9ff938ed883722748783aa1.jpg","text":"TemporaryFile(/tmp/multipartBody495426887304687983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219452658,"filename":"image_02052025_21_28_06_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/22664e45993487175675048dba70166e.jpg","text":"TemporaryFile(/tmp/multipartBody1871086021060905447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219452658,"filename":"image_02052025_21_27_46_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b83cac0c1a903ad9bb72b7e15cd04cd2.jpg","text":"TemporaryFile(/tmp/multipartBody9061037591333419035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219452658,"filename":"image_02052025_21_28_16_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355486549","file1":"1355486546","file0":"1355486543","file4":"1355486555","file5":"1355486557","file3":"1355486552"},"map_files_photo_id_array":[{"photo_id":"1355486557","filename":"file5"},{"photo_id":"1355486549","filename":"file2"},{"photo_id":"1355486555","filename":"file4"},{"photo_id":"1355486546","filename":"file1"},{"photo_id":"1355486543","filename":"file0"},{"photo_id":"1355486552","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355486543":["hashtag1","hashtag2"]},{"1355486552":["hashtag1","hashtag2"]},{"1355486546":["hashtag1","hashtag2"]},{"1355486555":["hashtag1","hashtag2"]},{"1355486549":["hashtag1","hashtag2"]},{"1355486557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355486543, 1355486552, 1355486546, 1355486555, 1355486549, 1355486557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.267197608947754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 22:57:32.454790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_26_9367.jpg', '/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_36_10371.jpg', '/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_46_10364.jpg', '/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_56_9471.jpg', '/home/pi/Desktop/images/02052025/21/28/image_02052025_21_29_06_10368.jpg', '/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_16_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_26_9367.jpg
/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_36_10371.jpg
/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_46_10364.jpg
/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_56_9471.jpg
/home/pi/Desktop/images/02052025/21/28/image_02052025_21_29_06_10368.jpg
/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_16_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 22:59:04.501808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_26_9367.jpg', '/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_36_10371.jpg', '/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_46_10364.jpg', '/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_56_9471.jpg', '/home/pi/Desktop/images/02052025/21/28/image_02052025_21_29_06_10368.jpg', '/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_16_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_26_9367.jpg
/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_36_10371.jpg
/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_46_10364.jpg
/home/pi/Desktop/images/02052025/21/28/image_02052025_21_28_56_9471.jpg
/home/pi/Desktop/images/02052025/21/28/image_02052025_21_29_06_10368.jpg
/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_16_9358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355487578","1355487614","1355487607","1355487666","1355487546","1355487633"],"photo_ids_order":["1355487546","1355487578","1355487607","1355487614","1355487633","1355487666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4db82f8fd4835e4394221bb80669e70.jpg","text":"TemporaryFile(/tmp/multipartBody3741474200803333739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219605135,"filename":"image_02052025_21_28_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/5/2/056870c165031567d3c66f1e790f96ed.jpg","text":"TemporaryFile(/tmp/multipartBody472832769021208637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219605135,"filename":"image_02052025_21_28_56_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dfd99219e109d3e7a4f2f82b6e33fab3.jpg","text":"TemporaryFile(/tmp/multipartBody7840360171171151094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219605135,"filename":"image_02052025_21_28_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/5/2/1446494ef9ac1391dfbbef9832b6c63d.jpg","text":"TemporaryFile(/tmp/multipartBody5690022471337572952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219605135,"filename":"image_02052025_21_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/5/2/1cf73eea679a35b98fce97ed17d85d1a.jpg","text":"TemporaryFile(/tmp/multipartBody7155262845095955468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219605135,"filename":"image_02052025_21_28_26_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a726e72cb1a7ce02bc06207be87fd9b.jpg","text":"TemporaryFile(/tmp/multipartBody1211496391345319279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219605135,"filename":"image_02052025_21_29_06_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355487607","file1":"1355487578","file0":"1355487546","file4":"1355487633","file5":"1355487666","file3":"1355487614"},"map_files_photo_id_array":[{"photo_id":"1355487666","filename":"file5"},{"photo_id":"1355487607","filename":"file2"},{"photo_id":"1355487633","filename":"file4"},{"photo_id":"1355487578","filename":"file1"},{"photo_id":"1355487546","filename":"file0"},{"photo_id":"1355487614","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355487578":["hashtag1","hashtag2"]},{"1355487614":["hashtag1","hashtag2"]},{"1355487607":["hashtag1","hashtag2"]},{"1355487666":["hashtag1","hashtag2"]},{"1355487546":["hashtag1","hashtag2"]},{"1355487633":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355487578, 1355487614, 1355487607, 1355487666, 1355487546, 1355487633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30909490585327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 22:59:42.990317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_26_10368.jpg', '/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_36_10382.jpg', '/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_46_9488.jpg', '/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_56_10375.jpg', '/home/pi/Desktop/images/02052025/21/29/image_02052025_21_30_06_9440.jpg', '/home/pi/Desktop/images/02052025/21/30/image_02052025_21_30_16_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_26_10368.jpg
/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_36_10382.jpg
/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_46_9488.jpg
/home/pi/Desktop/images/02052025/21/29/image_02052025_21_29_56_10375.jpg
/home/pi/Desktop/images/02052025/21/29/image_02052025_21_30_06_9440.jpg
/home/pi/Desktop/images/02052025/21/30/image_02052025_21_30_16_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":["1355488025","1355487899","1355487863","1355487950","1355487838","1355487990"],"photo_ids_order":["1355487838","1355487863","1355487899","1355487950","1355487990","1355488025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4bba158744f003315b6cff243230d054.jpg","text":"TemporaryFile(/tmp/multipartBody7536841290968241841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219643469,"filename":"image_02052025_21_30_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/5/2/0fad3907dc6128c9c6190a3ec8d8031e.jpg","text":"TemporaryFile(/tmp/multipartBody7380086766533009270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219643469,"filename":"image_02052025_21_29_46_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/921b9ea498b5144c3ca57d3af139705e.jpg","text":"TemporaryFile(/tmp/multipartBody3786194751025297534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219643469,"filename":"image_02052025_21_29_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d3b42aff10d05ded76f0720c54021601.jpg","text":"TemporaryFile(/tmp/multipartBody8329807191187630118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219643469,"filename":"image_02052025_21_29_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce2c030f63ba01feb3013ea585a41c21.jpg","text":"TemporaryFile(/tmp/multipartBody7825012100400968581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219643469,"filename":"image_02052025_21_29_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/91b162b27534842caaa8d0c6bd0f5b9d.jpg","text":"TemporaryFile(/tmp/multipartBody8464246385766254433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219643469,"filename":"image_02052025_21_30_06_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355487899","file1":"1355487863","file0":"1355487838","file4":"1355487990","file5":"1355488025","file3":"1355487950"},"map_files_photo_id_array":[{"photo_id":"1355488025","filename":"file5"},{"photo_id":"1355487899","filename":"file2"},{"photo_id":"1355487990","filename":"file4"},{"photo_id":"1355487863","filename":"file1"},{"photo_id":"1355487838","filename":"file0"},{"photo_id":"1355487950","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355488025":["hashtag1","hashtag2"]},{"1355487899":["hashtag1","hashtag2"]},{"1355487863":["hashtag1","hashtag2"]},{"1355487950":["hashtag1","hashtag2"]},{"1355487838":["hashtag1","hashtag2"]},{"1355487990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355488025, 1355487899, 1355487863, 1355487950, 1355487838, 1355487990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90752387046814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:00:32.995969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/30/image_02052025_21_30_26_10396.jpg', '/home/pi/Desktop/images/02052025/21/30/image_02052025_21_30_36_9481.jpg', '/home/pi/Desktop/images/02052025/21/30/image_02052025_21_30_46_10430.jpg', '/home/pi/Desktop/images/02052025/21/30/image_02052025_21_30_56_9481.jpg', '/home/pi/Desktop/images/02052025/21/30/image_02052025_21_31_06_10365.jpg', '/home/pi/Desktop/images/02052025/21/31/image_02052025_21_31_16_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/30/image_02052025_21_30_26_10396.jpg
/home/pi/Desktop/images/02052025/21/30/image_02052025_21_30_36_9481.jpg
/home/pi/Desktop/images/02052025/21/30/image_02052025_21_30_46_10430.jpg
/home/pi/Desktop/images/02052025/21/30/image_02052025_21_30_56_9481.jpg
/home/pi/Desktop/images/02052025/21/30/image_02052025_21_31_06_10365.jpg
/home/pi/Desktop/images/02052025/21/31/image_02052025_21_31_16_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":["1355488283","1355488277","1355488273","1355488252","1355488284","1355488278"],"photo_ids_order":["1355488252","1355488273","1355488277","1355488278","1355488283","1355488284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cb148a1810b40ebf0a2f6c5fb4ef71ad.jpg","text":"TemporaryFile(/tmp/multipartBody7622618121151891941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219693472,"filename":"image_02052025_21_31_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/49e249b3b0327cfe42b94697998e32d3.jpg","text":"TemporaryFile(/tmp/multipartBody7342227297121068638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219693472,"filename":"image_02052025_21_30_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/5/2/b6c833cb00caa7f3fd9a99ee4a935a8c.jpg","text":"TemporaryFile(/tmp/multipartBody3501175279029590055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219693472,"filename":"image_02052025_21_30_36_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/df6b74415f792d8dbfb9cd7e688a6da7.jpg","text":"TemporaryFile(/tmp/multipartBody8267658113007233968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219693472,"filename":"image_02052025_21_30_26_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/52526809aa0c0990b1cfbe47d9ae6227.jpg","text":"TemporaryFile(/tmp/multipartBody7572779371594733025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219693472,"filename":"image_02052025_21_31_16_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/fc2c03e2d5887baab9dfaa831bb92b42.jpg","text":"TemporaryFile(/tmp/multipartBody1070572692640938159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219693472,"filename":"image_02052025_21_30_56_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355488277","file1":"1355488273","file0":"1355488252","file4":"1355488283","file5":"1355488284","file3":"1355488278"},"map_files_photo_id_array":[{"photo_id":"1355488284","filename":"file5"},{"photo_id":"1355488277","filename":"file2"},{"photo_id":"1355488283","filename":"file4"},{"photo_id":"1355488273","filename":"file1"},{"photo_id":"1355488252","filename":"file0"},{"photo_id":"1355488278","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355488283":["hashtag1","hashtag2"]},{"1355488277":["hashtag1","hashtag2"]},{"1355488273":["hashtag1","hashtag2"]},{"1355488252":["hashtag1","hashtag2"]},{"1355488284":["hashtag1","hashtag2"]},{"1355488278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355488283, 1355488277, 1355488273, 1355488252, 1355488284, 1355488278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.744999408721924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:01:32.187402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/31/image_02052025_21_31_26_10460.jpg', '/home/pi/Desktop/images/02052025/21/31/image_02052025_21_31_36_10380.jpg', '/home/pi/Desktop/images/02052025/21/31/image_02052025_21_31_46_9529.jpg', '/home/pi/Desktop/images/02052025/21/31/image_02052025_21_31_56_10380.jpg', '/home/pi/Desktop/images/02052025/21/31/image_02052025_21_32_06_9477.jpg', '/home/pi/Desktop/images/02052025/21/32/image_02052025_21_32_16_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/31/image_02052025_21_31_26_10460.jpg
/home/pi/Desktop/images/02052025/21/31/image_02052025_21_31_36_10380.jpg
/home/pi/Desktop/images/02052025/21/31/image_02052025_21_31_46_9529.jpg
/home/pi/Desktop/images/02052025/21/31/image_02052025_21_31_56_10380.jpg
/home/pi/Desktop/images/02052025/21/31/image_02052025_21_32_06_9477.jpg
/home/pi/Desktop/images/02052025/21/32/image_02052025_21_32_16_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355489098","1355488822","1355488918","1355489037","1355489075","1355488973"],"photo_ids_order":["1355488822","1355488918","1355488973","1355489037","1355489075","1355489098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ec73c732c91ee2b9a8d67908c5310a90.jpg","text":"TemporaryFile(/tmp/multipartBody3558911160306655346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219752674,"filename":"image_02052025_21_32_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/5/2/99df18a510479d08d5ec073b5fdd7907.jpg","text":"TemporaryFile(/tmp/multipartBody6379919053024709569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219752674,"filename":"image_02052025_21_31_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/5/2/b1aa71c3b135ce7635bd1c63b71d78e3.jpg","text":"TemporaryFile(/tmp/multipartBody2242293069789470978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219752674,"filename":"image_02052025_21_31_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/5/2/b3f37c78fce31d866fb25b7547e426ff.jpg","text":"TemporaryFile(/tmp/multipartBody2446326462661012520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219752674,"filename":"image_02052025_21_31_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/5/2/fb248f7ed84651e8065c786d07caeb00.jpg","text":"TemporaryFile(/tmp/multipartBody1707274310992057262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219752674,"filename":"image_02052025_21_32_06_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c83d54c87091cb9b1e82cdbcf760e40b.jpg","text":"TemporaryFile(/tmp/multipartBody5408322091681559236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219752674,"filename":"image_02052025_21_31_46_9529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355488973","file1":"1355488918","file0":"1355488822","file4":"1355489075","file5":"1355489098","file3":"1355489037"},"map_files_photo_id_array":[{"photo_id":"1355489098","filename":"file5"},{"photo_id":"1355488973","filename":"file2"},{"photo_id":"1355489075","filename":"file4"},{"photo_id":"1355488918","filename":"file1"},{"photo_id":"1355488822","filename":"file0"},{"photo_id":"1355489037","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355489098":["hashtag1","hashtag2"]},{"1355488822":["hashtag1","hashtag2"]},{"1355488918":["hashtag1","hashtag2"]},{"1355489037":["hashtag1","hashtag2"]},{"1355489075":["hashtag1","hashtag2"]},{"1355488973":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355489098, 1355488822, 1355488918, 1355489037, 1355489075, 1355488973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88113617897034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:02:32.319991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/32/image_02052025_21_32_26_9452.jpg', '/home/pi/Desktop/images/02052025/21/32/image_02052025_21_32_36_10356.jpg', '/home/pi/Desktop/images/02052025/21/32/image_02052025_21_32_46_10364.jpg', '/home/pi/Desktop/images/02052025/21/32/image_02052025_21_32_56_9431.jpg', '/home/pi/Desktop/images/02052025/21/32/image_02052025_21_33_06_10434.jpg', '/home/pi/Desktop/images/02052025/21/33/image_02052025_21_33_16_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/32/image_02052025_21_32_26_9452.jpg
/home/pi/Desktop/images/02052025/21/32/image_02052025_21_32_36_10356.jpg
/home/pi/Desktop/images/02052025/21/32/image_02052025_21_32_46_10364.jpg
/home/pi/Desktop/images/02052025/21/32/image_02052025_21_32_56_9431.jpg
/home/pi/Desktop/images/02052025/21/32/image_02052025_21_33_06_10434.jpg
/home/pi/Desktop/images/02052025/21/33/image_02052025_21_33_16_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":["1355489287","1355489312","1355489305","1355489274","1355489259","1355489313"],"photo_ids_order":["1355489259","1355489274","1355489287","1355489305","1355489312","1355489313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/186cf93f18b5b877a244b3f3cc192e74.jpg","text":"TemporaryFile(/tmp/multipartBody8639919243652554213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219812800,"filename":"image_02052025_21_32_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/5/2/12b514389a0344d4e693fbb0e9f8b474.jpg","text":"TemporaryFile(/tmp/multipartBody1453098322582301423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219812800,"filename":"image_02052025_21_33_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/5/2/daf11cadf09b06fe95f01bc8f7264ceb.jpg","text":"TemporaryFile(/tmp/multipartBody5231623548819783371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219812800,"filename":"image_02052025_21_32_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/5/2/350100ae1a687afdcbbed40ccd51f419.jpg","text":"TemporaryFile(/tmp/multipartBody7780970552232923027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219812800,"filename":"image_02052025_21_32_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/5/2/cc8175a61b681169d25f764dd5606b0f.jpg","text":"TemporaryFile(/tmp/multipartBody2404693331773356837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219812800,"filename":"image_02052025_21_32_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/5/2/011b09ff670a217cfbb01afc63522c5f.jpg","text":"TemporaryFile(/tmp/multipartBody8374613642197067370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219812800,"filename":"image_02052025_21_33_16_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355489287","file1":"1355489274","file0":"1355489259","file4":"1355489312","file5":"1355489313","file3":"1355489305"},"map_files_photo_id_array":[{"photo_id":"1355489313","filename":"file5"},{"photo_id":"1355489287","filename":"file2"},{"photo_id":"1355489312","filename":"file4"},{"photo_id":"1355489274","filename":"file1"},{"photo_id":"1355489259","filename":"file0"},{"photo_id":"1355489305","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355489287":["hashtag1","hashtag2"]},{"1355489312":["hashtag1","hashtag2"]},{"1355489305":["hashtag1","hashtag2"]},{"1355489274":["hashtag1","hashtag2"]},{"1355489259":["hashtag1","hashtag2"]},{"1355489313":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355489287, 1355489312, 1355489305, 1355489274, 1355489259, 1355489313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.454835891723633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:03:32.459406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/33/image_02052025_21_33_26_10345.jpg', '/home/pi/Desktop/images/02052025/21/33/image_02052025_21_33_36_10362.jpg', '/home/pi/Desktop/images/02052025/21/33/image_02052025_21_33_46_9423.jpg', '/home/pi/Desktop/images/02052025/21/33/image_02052025_21_33_56_10435.jpg', '/home/pi/Desktop/images/02052025/21/33/image_02052025_21_34_06_9384.jpg', '/home/pi/Desktop/images/02052025/21/34/image_02052025_21_34_16_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/33/image_02052025_21_33_26_10345.jpg
/home/pi/Desktop/images/02052025/21/33/image_02052025_21_33_36_10362.jpg
/home/pi/Desktop/images/02052025/21/33/image_02052025_21_33_46_9423.jpg
/home/pi/Desktop/images/02052025/21/33/image_02052025_21_33_56_10435.jpg
/home/pi/Desktop/images/02052025/21/33/image_02052025_21_34_06_9384.jpg
/home/pi/Desktop/images/02052025/21/34/image_02052025_21_34_16_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":["1355489338","1355489347","1355489341","1355489343","1355489345","1355489348"],"photo_ids_order":["1355489338","1355489341","1355489343","1355489345","1355489347","1355489348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b2c6bee3196ce570e7300e905404e84.jpg","text":"TemporaryFile(/tmp/multipartBody2848984067925172890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219872935,"filename":"image_02052025_21_33_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de40cafe0ead3e1c1eb4c7a7d53f40b2.jpg","text":"TemporaryFile(/tmp/multipartBody1709257485826580344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219872935,"filename":"image_02052025_21_34_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/5/2/61bb03da096aacc4cbf3c2ab8ce05454.jpg","text":"TemporaryFile(/tmp/multipartBody5576638732354978963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219872935,"filename":"image_02052025_21_33_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/5/2/c54fec7e98ead3e9f0892a81ba23c8a4.jpg","text":"TemporaryFile(/tmp/multipartBody5695887518163225875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219872935,"filename":"image_02052025_21_33_46_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/676ec9fe526d3a4ccea2d521aa920d7a.jpg","text":"TemporaryFile(/tmp/multipartBody2958118283330430040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219872935,"filename":"image_02052025_21_33_56_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/615fa287ca46aaa21254476b0372375b.jpg","text":"TemporaryFile(/tmp/multipartBody8915694182268695414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219872935,"filename":"image_02052025_21_34_16_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355489343","file1":"1355489341","file0":"1355489338","file4":"1355489347","file5":"1355489348","file3":"1355489345"},"map_files_photo_id_array":[{"photo_id":"1355489348","filename":"file5"},{"photo_id":"1355489343","filename":"file2"},{"photo_id":"1355489347","filename":"file4"},{"photo_id":"1355489341","filename":"file1"},{"photo_id":"1355489338","filename":"file0"},{"photo_id":"1355489345","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355489338":["hashtag1","hashtag2"]},{"1355489347":["hashtag1","hashtag2"]},{"1355489341":["hashtag1","hashtag2"]},{"1355489343":["hashtag1","hashtag2"]},{"1355489345":["hashtag1","hashtag2"]},{"1355489348":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355489338, 1355489347, 1355489341, 1355489343, 1355489345, 1355489348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97838377952576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:04:32.670922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/34/image_02052025_21_34_26_10385.jpg', '/home/pi/Desktop/images/02052025/21/34/image_02052025_21_34_36_9346.jpg', '/home/pi/Desktop/images/02052025/21/34/image_02052025_21_34_46_10359.jpg', '/home/pi/Desktop/images/02052025/21/34/image_02052025_21_34_56_10368.jpg', '/home/pi/Desktop/images/02052025/21/34/image_02052025_21_35_06_9412.jpg', '/home/pi/Desktop/images/02052025/21/35/image_02052025_21_35_16_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/34/image_02052025_21_34_26_10385.jpg
/home/pi/Desktop/images/02052025/21/34/image_02052025_21_34_36_9346.jpg
/home/pi/Desktop/images/02052025/21/34/image_02052025_21_34_46_10359.jpg
/home/pi/Desktop/images/02052025/21/34/image_02052025_21_34_56_10368.jpg
/home/pi/Desktop/images/02052025/21/34/image_02052025_21_35_06_9412.jpg
/home/pi/Desktop/images/02052025/21/35/image_02052025_21_35_16_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355489522","1355489494","1355489581","1355489554","1355489635","1355489610"],"photo_ids_order":["1355489494","1355489522","1355489554","1355489581","1355489610","1355489635"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bb6722ea9d7ed8e3a89ef3a2b2438220.jpg","text":"TemporaryFile(/tmp/multipartBody6322956145265883574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219933144,"filename":"image_02052025_21_34_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/5/2/faa91902c197e9f790b496cf2b7afafb.jpg","text":"TemporaryFile(/tmp/multipartBody1880330014949147505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219933144,"filename":"image_02052025_21_34_26_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bc0cbd8a5c8cfc17829780f8a9a33051.jpg","text":"TemporaryFile(/tmp/multipartBody8039800693030915733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219933144,"filename":"image_02052025_21_34_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db92c5328a80c193795413ae2c349397.jpg","text":"TemporaryFile(/tmp/multipartBody1208303480813667919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219933144,"filename":"image_02052025_21_34_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/5/2/08abc45bc73e4988f41317459a364a92.jpg","text":"TemporaryFile(/tmp/multipartBody421774576926970481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219933144,"filename":"image_02052025_21_35_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/5/2/06f40f425806933f378f0706e38a0c60.jpg","text":"TemporaryFile(/tmp/multipartBody4910820877462540842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219933144,"filename":"image_02052025_21_35_06_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355489554","file1":"1355489522","file0":"1355489494","file4":"1355489610","file5":"1355489635","file3":"1355489581"},"map_files_photo_id_array":[{"photo_id":"1355489635","filename":"file5"},{"photo_id":"1355489554","filename":"file2"},{"photo_id":"1355489610","filename":"file4"},{"photo_id":"1355489522","filename":"file1"},{"photo_id":"1355489494","filename":"file0"},{"photo_id":"1355489581","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355489522":["hashtag1","hashtag2"]},{"1355489494":["hashtag1","hashtag2"]},{"1355489581":["hashtag1","hashtag2"]},{"1355489554":["hashtag1","hashtag2"]},{"1355489635":["hashtag1","hashtag2"]},{"1355489610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355489522, 1355489494, 1355489581, 1355489554, 1355489635, 1355489610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.540406465530396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:05:32.771744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/35/image_02052025_21_35_26_9439.jpg', '/home/pi/Desktop/images/02052025/21/35/image_02052025_21_35_36_10471.jpg', '/home/pi/Desktop/images/02052025/21/35/image_02052025_21_35_46_10364.jpg', '/home/pi/Desktop/images/02052025/21/35/image_02052025_21_35_56_9432.jpg', '/home/pi/Desktop/images/02052025/21/35/image_02052025_21_36_06_10353.jpg', '/home/pi/Desktop/images/02052025/21/36/image_02052025_21_36_16_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/35/image_02052025_21_35_26_9439.jpg
/home/pi/Desktop/images/02052025/21/35/image_02052025_21_35_36_10471.jpg
/home/pi/Desktop/images/02052025/21/35/image_02052025_21_35_46_10364.jpg
/home/pi/Desktop/images/02052025/21/35/image_02052025_21_35_56_9432.jpg
/home/pi/Desktop/images/02052025/21/35/image_02052025_21_36_06_10353.jpg
/home/pi/Desktop/images/02052025/21/36/image_02052025_21_36_16_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355490008","1355490124","1355490235","1355490285","1355490060","1355490176"],"photo_ids_order":["1355490008","1355490060","1355490124","1355490176","1355490235","1355490285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5fc6aa528718a4abc924c80932e5c55d.jpg","text":"TemporaryFile(/tmp/multipartBody4026176550494694880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219993241,"filename":"image_02052025_21_35_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/5/2/5aaaf23141bed6549e1069f9e74dd0c4.jpg","text":"TemporaryFile(/tmp/multipartBody3527937560307601352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219993241,"filename":"image_02052025_21_35_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/5/2/0a13ed320b84e75affbe4e500ba341a3.jpg","text":"TemporaryFile(/tmp/multipartBody950093378810062862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219993241,"filename":"image_02052025_21_36_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/5/2/7e01b884807d1fa61f31b7fbc1a2dad8.jpg","text":"TemporaryFile(/tmp/multipartBody3463297611432092364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219993241,"filename":"image_02052025_21_36_16_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6af4ef08b1afabded0c961d020d7f86f.jpg","text":"TemporaryFile(/tmp/multipartBody4021635328642348305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219993241,"filename":"image_02052025_21_35_36_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/478fd6b50c75a7c94197637833fddcac.jpg","text":"TemporaryFile(/tmp/multipartBody7180841395950497843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746219993241,"filename":"image_02052025_21_35_56_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355490124","file1":"1355490060","file0":"1355490008","file4":"1355490235","file5":"1355490285","file3":"1355490176"},"map_files_photo_id_array":[{"photo_id":"1355490285","filename":"file5"},{"photo_id":"1355490124","filename":"file2"},{"photo_id":"1355490235","filename":"file4"},{"photo_id":"1355490060","filename":"file1"},{"photo_id":"1355490008","filename":"file0"},{"photo_id":"1355490176","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355490008":["hashtag1","hashtag2"]},{"1355490124":["hashtag1","hashtag2"]},{"1355490235":["hashtag1","hashtag2"]},{"1355490285":["hashtag1","hashtag2"]},{"1355490060":["hashtag1","hashtag2"]},{"1355490176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355490008, 1355490124, 1355490235, 1355490285, 1355490060, 1355490176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6492133140564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:06:32.979101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/36/image_02052025_21_36_26_10377.jpg', '/home/pi/Desktop/images/02052025/21/36/image_02052025_21_36_36_10354.jpg', '/home/pi/Desktop/images/02052025/21/36/image_02052025_21_36_46_9426.jpg', '/home/pi/Desktop/images/02052025/21/36/image_02052025_21_36_56_10375.jpg', '/home/pi/Desktop/images/02052025/21/36/image_02052025_21_37_07_10347.jpg', '/home/pi/Desktop/images/02052025/21/37/image_02052025_21_37_16_9468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/36/image_02052025_21_36_26_10377.jpg
/home/pi/Desktop/images/02052025/21/36/image_02052025_21_36_36_10354.jpg
/home/pi/Desktop/images/02052025/21/36/image_02052025_21_36_46_9426.jpg
/home/pi/Desktop/images/02052025/21/36/image_02052025_21_36_56_10375.jpg
/home/pi/Desktop/images/02052025/21/36/image_02052025_21_37_07_10347.jpg
/home/pi/Desktop/images/02052025/21/37/image_02052025_21_37_16_9468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355490673","1355490736","1355490675","1355490762","1355490702","1355490671"],"photo_ids_order":["1355490671","1355490673","1355490675","1355490702","1355490736","1355490762"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3a2095c763eced37e12e0e233318d958.jpg","text":"TemporaryFile(/tmp/multipartBody4712612069539871825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220053449,"filename":"image_02052025_21_36_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/5/2/7a69ae074e98229f8affcd03f6353009.jpg","text":"TemporaryFile(/tmp/multipartBody1283482999046852598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220053449,"filename":"image_02052025_21_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/5/2/8a4d9f3349604e136775ea34a39856e9.jpg","text":"TemporaryFile(/tmp/multipartBody3713471329118375425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220053449,"filename":"image_02052025_21_36_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/5/2/10ca05f3e4eb66108858b6f8dbb6b228.jpg","text":"TemporaryFile(/tmp/multipartBody5428494259793533283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220053449,"filename":"image_02052025_21_37_16_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/90cee6171e8c6e5856cb90da689a7cb5.jpg","text":"TemporaryFile(/tmp/multipartBody8753788040781754674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220053449,"filename":"image_02052025_21_36_56_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/09d05d0dadc2fb26c46453187afdf76d.jpg","text":"TemporaryFile(/tmp/multipartBody2483176445668873592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220053449,"filename":"image_02052025_21_36_26_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355490675","file1":"1355490673","file0":"1355490671","file4":"1355490736","file5":"1355490762","file3":"1355490702"},"map_files_photo_id_array":[{"photo_id":"1355490762","filename":"file5"},{"photo_id":"1355490675","filename":"file2"},{"photo_id":"1355490736","filename":"file4"},{"photo_id":"1355490673","filename":"file1"},{"photo_id":"1355490671","filename":"file0"},{"photo_id":"1355490702","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355490673":["hashtag1","hashtag2"]},{"1355490736":["hashtag1","hashtag2"]},{"1355490675":["hashtag1","hashtag2"]},{"1355490762":["hashtag1","hashtag2"]},{"1355490702":["hashtag1","hashtag2"]},{"1355490671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355490673, 1355490736, 1355490675, 1355490762, 1355490702, 1355490671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86044478416443 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:07:33.186583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/37/image_02052025_21_37_26_10370.jpg', '/home/pi/Desktop/images/02052025/21/37/image_02052025_21_37_36_9338.jpg', '/home/pi/Desktop/images/02052025/21/37/image_02052025_21_37_46_10345.jpg', '/home/pi/Desktop/images/02052025/21/37/image_02052025_21_37_56_10365.jpg', '/home/pi/Desktop/images/02052025/21/37/image_02052025_21_38_06_9483.jpg', '/home/pi/Desktop/images/02052025/21/38/image_02052025_21_38_16_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/37/image_02052025_21_37_26_10370.jpg
/home/pi/Desktop/images/02052025/21/37/image_02052025_21_37_36_9338.jpg
/home/pi/Desktop/images/02052025/21/37/image_02052025_21_37_46_10345.jpg
/home/pi/Desktop/images/02052025/21/37/image_02052025_21_37_56_10365.jpg
/home/pi/Desktop/images/02052025/21/37/image_02052025_21_38_06_9483.jpg
/home/pi/Desktop/images/02052025/21/38/image_02052025_21_38_16_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":["1355491004","1355491138","1355491105","1355491140","1355491134","1355491052"],"photo_ids_order":["1355491004","1355491052","1355491105","1355491134","1355491138","1355491140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3723af14331e3c4f6391c0487b883d54.jpg","text":"TemporaryFile(/tmp/multipartBody2773979852246208447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220113654,"filename":"image_02052025_21_37_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/5/2/4f4eb3b0dbcd84bec3be2d7358875776.jpg","text":"TemporaryFile(/tmp/multipartBody5922162807123350162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220113654,"filename":"image_02052025_21_38_06_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/161f065164964a80254d8231806d7873.jpg","text":"TemporaryFile(/tmp/multipartBody2085839236716259116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220113654,"filename":"image_02052025_21_37_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/5/2/143fdfdcf9d94cbec1d99e5b91d86d99.jpg","text":"TemporaryFile(/tmp/multipartBody2266737447883646647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220113654,"filename":"image_02052025_21_38_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/5/2/ab35a710feec561b362810408c2f12db.jpg","text":"TemporaryFile(/tmp/multipartBody5215063943714619730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220113654,"filename":"image_02052025_21_37_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/5/2/07fe90177d6dc106e6e2ee7255d85206.jpg","text":"TemporaryFile(/tmp/multipartBody5220593298595940727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220113654,"filename":"image_02052025_21_37_36_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355491105","file1":"1355491052","file0":"1355491004","file4":"1355491138","file5":"1355491140","file3":"1355491134"},"map_files_photo_id_array":[{"photo_id":"1355491140","filename":"file5"},{"photo_id":"1355491105","filename":"file2"},{"photo_id":"1355491138","filename":"file4"},{"photo_id":"1355491052","filename":"file1"},{"photo_id":"1355491004","filename":"file0"},{"photo_id":"1355491134","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355491004":["hashtag1","hashtag2"]},{"1355491138":["hashtag1","hashtag2"]},{"1355491105":["hashtag1","hashtag2"]},{"1355491140":["hashtag1","hashtag2"]},{"1355491134":["hashtag1","hashtag2"]},{"1355491052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355491004, 1355491138, 1355491105, 1355491140, 1355491134, 1355491052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0348436832428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:08:32.242948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/38/image_02052025_21_38_26_9379.jpg', '/home/pi/Desktop/images/02052025/21/38/image_02052025_21_38_36_10362.jpg', '/home/pi/Desktop/images/02052025/21/38/image_02052025_21_38_46_10408.jpg', '/home/pi/Desktop/images/02052025/21/38/image_02052025_21_38_56_9395.jpg', '/home/pi/Desktop/images/02052025/21/38/image_02052025_21_39_06_10366.jpg', '/home/pi/Desktop/images/02052025/21/39/image_02052025_21_39_16_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/38/image_02052025_21_38_26_9379.jpg
/home/pi/Desktop/images/02052025/21/38/image_02052025_21_38_36_10362.jpg
/home/pi/Desktop/images/02052025/21/38/image_02052025_21_38_46_10408.jpg
/home/pi/Desktop/images/02052025/21/38/image_02052025_21_38_56_9395.jpg
/home/pi/Desktop/images/02052025/21/38/image_02052025_21_39_06_10366.jpg
/home/pi/Desktop/images/02052025/21/39/image_02052025_21_39_16_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355491316","1355491333","1355491243","1355491275","1355491239","1355491329"],"photo_ids_order":["1355491239","1355491243","1355491275","1355491316","1355491329","1355491333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8e478b76814a8f10016f7801e9faddf1.jpg","text":"TemporaryFile(/tmp/multipartBody8960838904925827548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220172734,"filename":"image_02052025_21_38_56_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c7ed791aea2fa46650537d6b92cdc78f.jpg","text":"TemporaryFile(/tmp/multipartBody8731462620700964978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220172734,"filename":"image_02052025_21_39_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/5/2/ac976159c68c1aa034b743e90da0ee40.jpg","text":"TemporaryFile(/tmp/multipartBody2120233286911256067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220172734,"filename":"image_02052025_21_38_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/5/2/9a6975e088b7c05d55fdef8657b7c445.jpg","text":"TemporaryFile(/tmp/multipartBody5723598364220105510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220172734,"filename":"image_02052025_21_38_46_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/69f5ce5157918081d3790ce109d4c4fd.jpg","text":"TemporaryFile(/tmp/multipartBody1089404523662704065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220172734,"filename":"image_02052025_21_38_26_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/39d14c96ac946514accc76f3596a8c9d.jpg","text":"TemporaryFile(/tmp/multipartBody4563097862504965269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220172734,"filename":"image_02052025_21_39_06_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355491275","file1":"1355491243","file0":"1355491239","file4":"1355491329","file5":"1355491333","file3":"1355491316"},"map_files_photo_id_array":[{"photo_id":"1355491333","filename":"file5"},{"photo_id":"1355491275","filename":"file2"},{"photo_id":"1355491329","filename":"file4"},{"photo_id":"1355491243","filename":"file1"},{"photo_id":"1355491239","filename":"file0"},{"photo_id":"1355491316","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355491316":["hashtag1","hashtag2"]},{"1355491333":["hashtag1","hashtag2"]},{"1355491243":["hashtag1","hashtag2"]},{"1355491275":["hashtag1","hashtag2"]},{"1355491239":["hashtag1","hashtag2"]},{"1355491329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355491316, 1355491333, 1355491243, 1355491275, 1355491239, 1355491329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.818931579589844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:09:32.466785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/39/image_02052025_21_39_26_10478.jpg', '/home/pi/Desktop/images/02052025/21/39/image_02052025_21_39_36_10356.jpg', '/home/pi/Desktop/images/02052025/21/39/image_02052025_21_39_46_9482.jpg', '/home/pi/Desktop/images/02052025/21/39/image_02052025_21_39_56_10369.jpg', '/home/pi/Desktop/images/02052025/21/39/image_02052025_21_40_06_9356.jpg', '/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_16_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/39/image_02052025_21_39_26_10478.jpg
/home/pi/Desktop/images/02052025/21/39/image_02052025_21_39_36_10356.jpg
/home/pi/Desktop/images/02052025/21/39/image_02052025_21_39_46_9482.jpg
/home/pi/Desktop/images/02052025/21/39/image_02052025_21_39_56_10369.jpg
/home/pi/Desktop/images/02052025/21/39/image_02052025_21_40_06_9356.jpg
/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_16_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":["1355491372","1355491366","1355491369","1355491347","1355491361","1355491355"],"photo_ids_order":["1355491347","1355491355","1355491361","1355491366","1355491369","1355491372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cb27f2a2e0ff8646699b3e3f73968df3.jpg","text":"TemporaryFile(/tmp/multipartBody3358706323889338677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220232942,"filename":"image_02052025_21_40_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/5/2/43642c908d95f636f2b24c7a0c73c28b.jpg","text":"TemporaryFile(/tmp/multipartBody3089914056127834595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220232942,"filename":"image_02052025_21_39_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/5/2/b793931923b42a8887a5b9c10da9011f.jpg","text":"TemporaryFile(/tmp/multipartBody4174193218170064494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220232942,"filename":"image_02052025_21_40_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/5/2/2449da08100906ce6cd045c025b8077f.jpg","text":"TemporaryFile(/tmp/multipartBody4691876475974656639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220232942,"filename":"image_02052025_21_39_26_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d16df691f980cefe38095fdd8567a830.jpg","text":"TemporaryFile(/tmp/multipartBody3859731009845436168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220232942,"filename":"image_02052025_21_39_46_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/91d93784899451578700147911e56131.jpg","text":"TemporaryFile(/tmp/multipartBody1148573894338745733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220232942,"filename":"image_02052025_21_39_36_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355491361","file1":"1355491355","file0":"1355491347","file4":"1355491369","file5":"1355491372","file3":"1355491366"},"map_files_photo_id_array":[{"photo_id":"1355491372","filename":"file5"},{"photo_id":"1355491361","filename":"file2"},{"photo_id":"1355491369","filename":"file4"},{"photo_id":"1355491355","filename":"file1"},{"photo_id":"1355491347","filename":"file0"},{"photo_id":"1355491366","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355491372":["hashtag1","hashtag2"]},{"1355491366":["hashtag1","hashtag2"]},{"1355491369":["hashtag1","hashtag2"]},{"1355491347":["hashtag1","hashtag2"]},{"1355491361":["hashtag1","hashtag2"]},{"1355491355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355491372, 1355491366, 1355491369, 1355491347, 1355491361, 1355491355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22825050354004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:10:32.652666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_27_10440.jpg', '/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_36_9372.jpg', '/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_46_10349.jpg', '/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_56_9355.jpg', '/home/pi/Desktop/images/02052025/21/40/image_02052025_21_41_06_10350.jpg', '/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_16_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_27_10440.jpg
/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_36_9372.jpg
/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_46_10349.jpg
/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_56_9355.jpg
/home/pi/Desktop/images/02052025/21/40/image_02052025_21_41_06_10350.jpg
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_16_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 marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4150569438934326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 23:10:42.713117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_27_10440.jpg', '/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_36_9372.jpg', '/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_46_10349.jpg', '/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_56_9355.jpg', '/home/pi/Desktop/images/02052025/21/40/image_02052025_21_41_06_10350.jpg', '/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_16_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_27_10440.jpg
/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_36_9372.jpg
/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_46_10349.jpg
/home/pi/Desktop/images/02052025/21/40/image_02052025_21_40_56_9355.jpg
/home/pi/Desktop/images/02052025/21/40/image_02052025_21_41_06_10350.jpg
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_16_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":["1355491426","1355491408","1355491438","1355491428","1355491433","1355491418"],"photo_ids_order":["1355491408","1355491418","1355491426","1355491428","1355491433","1355491438"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6293ebec7afd59df842fa9e1aabecf43.jpg","text":"TemporaryFile(/tmp/multipartBody6982455600432613971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220303194,"filename":"image_02052025_21_40_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/5/2/fcd119d95f39c0f9f12498eaf722df83.jpg","text":"TemporaryFile(/tmp/multipartBody6082193059502784871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220303194,"filename":"image_02052025_21_40_27_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/67611f62bde28ddb07461862fa8f1644.jpg","text":"TemporaryFile(/tmp/multipartBody4747213977561320186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220303194,"filename":"image_02052025_21_41_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e2545e1ed39e0760eccee0c643499215.jpg","text":"TemporaryFile(/tmp/multipartBody8710366592435224605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220303194,"filename":"image_02052025_21_40_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/5/2/25eee26e94109438f365c86ace47bc3b.jpg","text":"TemporaryFile(/tmp/multipartBody6692793971275716813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220303194,"filename":"image_02052025_21_41_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/5/2/f18fc45e40790deda5a9e286fb97d7bb.jpg","text":"TemporaryFile(/tmp/multipartBody3600851616311051770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220303194,"filename":"image_02052025_21_40_36_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355491426","file1":"1355491418","file0":"1355491408","file4":"1355491433","file5":"1355491438","file3":"1355491428"},"map_files_photo_id_array":[{"photo_id":"1355491438","filename":"file5"},{"photo_id":"1355491426","filename":"file2"},{"photo_id":"1355491433","filename":"file4"},{"photo_id":"1355491418","filename":"file1"},{"photo_id":"1355491408","filename":"file0"},{"photo_id":"1355491428","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355491426":["hashtag1","hashtag2"]},{"1355491408":["hashtag1","hashtag2"]},{"1355491438":["hashtag1","hashtag2"]},{"1355491428":["hashtag1","hashtag2"]},{"1355491433":["hashtag1","hashtag2"]},{"1355491418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355491426, 1355491408, 1355491438, 1355491428, 1355491433, 1355491418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.94943690299988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:11:32.804789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_26_9368.jpg', '/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_36_10426.jpg', '/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_46_10361.jpg', '/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_56_9407.jpg', '/home/pi/Desktop/images/02052025/21/41/image_02052025_21_42_06_10380.jpg', '/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_16_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_26_9368.jpg
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_36_10426.jpg
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_46_10361.jpg
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_56_9407.jpg
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_42_06_10380.jpg
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_16_9409.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4013359546661377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 23:11:42.931447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_26_9368.jpg', '/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_36_10426.jpg', '/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_46_10361.jpg', '/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_56_9407.jpg', '/home/pi/Desktop/images/02052025/21/41/image_02052025_21_42_06_10380.jpg', '/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_16_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_26_9368.jpg
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_36_10426.jpg
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_46_10361.jpg
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_41_56_9407.jpg
/home/pi/Desktop/images/02052025/21/41/image_02052025_21_42_06_10380.jpg
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_16_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355491480","1355491474","1355491468","1355491470","1355491472","1355491466"],"photo_ids_order":["1355491466","1355491468","1355491470","1355491472","1355491474","1355491480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b2d4d0e94b1984056cb8d6a59a018b9d.jpg","text":"TemporaryFile(/tmp/multipartBody8892319041602149080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220363417,"filename":"image_02052025_21_42_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/5/2/944512421cc770a05eff8cbbb29b27e5.jpg","text":"TemporaryFile(/tmp/multipartBody6374585569381115708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220363417,"filename":"image_02052025_21_42_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/5/2/b11b4be550dfba4bb39b70a3ec487782.jpg","text":"TemporaryFile(/tmp/multipartBody2775684755844616328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220363417,"filename":"image_02052025_21_41_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/5/2/3fe7f939cae6a8de80acc75800408dcf.jpg","text":"TemporaryFile(/tmp/multipartBody2996374899451183711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220363417,"filename":"image_02052025_21_41_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/5/2/9c5e476c76e2c00441cd1c4a275165d7.jpg","text":"TemporaryFile(/tmp/multipartBody2181666122917869953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220363417,"filename":"image_02052025_21_41_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/5/2/c4bde9b217079c0727fa01a9def66a0b.jpg","text":"TemporaryFile(/tmp/multipartBody2708211963457261628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220363417,"filename":"image_02052025_21_41_26_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355491470","file1":"1355491468","file0":"1355491466","file4":"1355491474","file5":"1355491480","file3":"1355491472"},"map_files_photo_id_array":[{"photo_id":"1355491480","filename":"file5"},{"photo_id":"1355491470","filename":"file2"},{"photo_id":"1355491474","filename":"file4"},{"photo_id":"1355491468","filename":"file1"},{"photo_id":"1355491466","filename":"file0"},{"photo_id":"1355491472","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355491480":["hashtag1","hashtag2"]},{"1355491474":["hashtag1","hashtag2"]},{"1355491468":["hashtag1","hashtag2"]},{"1355491470":["hashtag1","hashtag2"]},{"1355491472":["hashtag1","hashtag2"]},{"1355491466":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355491480, 1355491474, 1355491468, 1355491470, 1355491472, 1355491466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8269419670105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:12:32.941408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_26_10378.jpg', '/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_36_10350.jpg', '/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_46_9477.jpg', '/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_56_10392.jpg', '/home/pi/Desktop/images/02052025/21/42/image_02052025_21_43_06_9433.jpg', '/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_16_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_26_10378.jpg
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_36_10350.jpg
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_46_9477.jpg
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_56_10392.jpg
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_43_06_9433.jpg
/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_16_10424.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38809728622436523 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 23:12:42.998921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_26_10378.jpg', '/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_36_10350.jpg', '/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_46_9477.jpg', '/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_56_10392.jpg', '/home/pi/Desktop/images/02052025/21/42/image_02052025_21_43_06_9433.jpg', '/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_16_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_26_10378.jpg
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_36_10350.jpg
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_46_9477.jpg
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_42_56_10392.jpg
/home/pi/Desktop/images/02052025/21/42/image_02052025_21_43_06_9433.jpg
/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_16_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355491516","1355491653","1355491751","1355491541","1355491520","1355491523"],"photo_ids_order":["1355491516","1355491520","1355491523","1355491541","1355491653","1355491751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/05f84c0f4d4b5b7fc1ac88b7adfcad5d.jpg","text":"TemporaryFile(/tmp/multipartBody9022698147999899790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220423479,"filename":"image_02052025_21_42_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/83ba4c24f8758f71bf521468277ed627.jpg","text":"TemporaryFile(/tmp/multipartBody5136068390390712501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220423479,"filename":"image_02052025_21_43_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/5/2/b4fc6c56ccfca886216b806807fe7760.jpg","text":"TemporaryFile(/tmp/multipartBody2743691897189479112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220423479,"filename":"image_02052025_21_43_16_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0977f5a742ca4e1679c3b603c6295a8b.jpg","text":"TemporaryFile(/tmp/multipartBody4888557956567346417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220423479,"filename":"image_02052025_21_42_56_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0171c38d341060ff3cd6ffb24addf356.jpg","text":"TemporaryFile(/tmp/multipartBody3888963993458250119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220423479,"filename":"image_02052025_21_42_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/5/2/35b3956dd76c30d264f5eb73082c8b81.jpg","text":"TemporaryFile(/tmp/multipartBody5910817722653312348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220423479,"filename":"image_02052025_21_42_46_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355491523","file1":"1355491520","file0":"1355491516","file4":"1355491653","file5":"1355491751","file3":"1355491541"},"map_files_photo_id_array":[{"photo_id":"1355491751","filename":"file5"},{"photo_id":"1355491523","filename":"file2"},{"photo_id":"1355491653","filename":"file4"},{"photo_id":"1355491520","filename":"file1"},{"photo_id":"1355491516","filename":"file0"},{"photo_id":"1355491541","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355491516":["hashtag1","hashtag2"]},{"1355491653":["hashtag1","hashtag2"]},{"1355491751":["hashtag1","hashtag2"]},{"1355491541":["hashtag1","hashtag2"]},{"1355491520":["hashtag1","hashtag2"]},{"1355491523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355491516, 1355491653, 1355491751, 1355491541, 1355491520, 1355491523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.760014057159424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:13:32.268929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_26_9468.jpg', '/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_36_10359.jpg', '/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_46_10436.jpg', '/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_56_9520.jpg', '/home/pi/Desktop/images/02052025/21/43/image_02052025_21_44_06_10368.jpg', '/home/pi/Desktop/images/02052025/21/44/image_02052025_21_44_16_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_26_9468.jpg
/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_36_10359.jpg
/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_46_10436.jpg
/home/pi/Desktop/images/02052025/21/43/image_02052025_21_43_56_9520.jpg
/home/pi/Desktop/images/02052025/21/43/image_02052025_21_44_06_10368.jpg
/home/pi/Desktop/images/02052025/21/44/image_02052025_21_44_16_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":["1355492245","1355491975","1355492026","1355492076","1355492184","1355492132"],"photo_ids_order":["1355491975","1355492026","1355492076","1355492132","1355492184","1355492245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3ee00d39b845dd5c424a47eb5b257ae8.jpg","text":"TemporaryFile(/tmp/multipartBody9092236092620920704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220472751,"filename":"image_02052025_21_44_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/5/2/ae2e841b48f0a95d38ef4ef932323771.jpg","text":"TemporaryFile(/tmp/multipartBody5758829180784257281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220472751,"filename":"image_02052025_21_43_26_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5766d53dab7cb7684e26c830b4d76d93.jpg","text":"TemporaryFile(/tmp/multipartBody6505646025451324517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220472751,"filename":"image_02052025_21_43_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/5/2/6b6a62015af322f0342718657651e2f9.jpg","text":"TemporaryFile(/tmp/multipartBody7503869535774157140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220472751,"filename":"image_02052025_21_43_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/5/2/d39c1f6b75b8ca73b7c366a3190bb22d.jpg","text":"TemporaryFile(/tmp/multipartBody2045281605358815148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220472751,"filename":"image_02052025_21_44_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/5/2/916a0541a6934c4c80511eac97d04dca.jpg","text":"TemporaryFile(/tmp/multipartBody5431257657408017471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220472751,"filename":"image_02052025_21_43_56_9520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355492076","file1":"1355492026","file0":"1355491975","file4":"1355492184","file5":"1355492245","file3":"1355492132"},"map_files_photo_id_array":[{"photo_id":"1355492245","filename":"file5"},{"photo_id":"1355492076","filename":"file2"},{"photo_id":"1355492184","filename":"file4"},{"photo_id":"1355492026","filename":"file1"},{"photo_id":"1355491975","filename":"file0"},{"photo_id":"1355492132","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355492245":["hashtag1","hashtag2"]},{"1355491975":["hashtag1","hashtag2"]},{"1355492026":["hashtag1","hashtag2"]},{"1355492076":["hashtag1","hashtag2"]},{"1355492184":["hashtag1","hashtag2"]},{"1355492132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355492245, 1355491975, 1355492026, 1355492076, 1355492184, 1355492132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96297264099121 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:14:32.390561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/44/image_02052025_21_44_26_10409.jpg', '/home/pi/Desktop/images/02052025/21/44/image_02052025_21_44_46_9419.jpg', '/home/pi/Desktop/images/02052025/21/44/image_02052025_21_44_56_10472.jpg', '/home/pi/Desktop/images/02052025/21/44/image_02052025_21_45_06_9424.jpg', '/home/pi/Desktop/images/02052025/21/45/image_02052025_21_45_16_10463.jpg', '/home/pi/Desktop/images/02052025/21/45/image_02052025_21_45_26_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/44/image_02052025_21_44_26_10409.jpg
/home/pi/Desktop/images/02052025/21/44/image_02052025_21_44_46_9419.jpg
/home/pi/Desktop/images/02052025/21/44/image_02052025_21_44_56_10472.jpg
/home/pi/Desktop/images/02052025/21/44/image_02052025_21_45_06_9424.jpg
/home/pi/Desktop/images/02052025/21/45/image_02052025_21_45_16_10463.jpg
/home/pi/Desktop/images/02052025/21/45/image_02052025_21_45_26_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355492676","1355492679","1355492673","1355492681","1355492684","1355492683"],"photo_ids_order":["1355492673","1355492676","1355492679","1355492681","1355492683","1355492684"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/278f116176c451b13f059993ec67bd74.jpg","text":"TemporaryFile(/tmp/multipartBody84247767193958672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220532872,"filename":"image_02052025_21_44_46_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eb25fbdc7bbfcc63279cb9e76fe04f2f.jpg","text":"TemporaryFile(/tmp/multipartBody3983676092010775290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220532872,"filename":"image_02052025_21_44_56_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c4d7c93f9672d0c94580e8dc51f587c7.jpg","text":"TemporaryFile(/tmp/multipartBody5611091956742895009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220532872,"filename":"image_02052025_21_44_26_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6be75ab47602f59c54d43d05155834fe.jpg","text":"TemporaryFile(/tmp/multipartBody2640897478339133327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220532872,"filename":"image_02052025_21_45_06_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a83e8d1aee052320b120351f883f7f25.jpg","text":"TemporaryFile(/tmp/multipartBody5983025239324350727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220532872,"filename":"image_02052025_21_45_26_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ee34d0234f559f0ddee2782e6100c723.jpg","text":"TemporaryFile(/tmp/multipartBody5630782505079523689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220532872,"filename":"image_02052025_21_45_16_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355492679","file1":"1355492676","file0":"1355492673","file4":"1355492683","file5":"1355492684","file3":"1355492681"},"map_files_photo_id_array":[{"photo_id":"1355492684","filename":"file5"},{"photo_id":"1355492679","filename":"file2"},{"photo_id":"1355492683","filename":"file4"},{"photo_id":"1355492676","filename":"file1"},{"photo_id":"1355492673","filename":"file0"},{"photo_id":"1355492681","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355492676":["hashtag1","hashtag2"]},{"1355492679":["hashtag1","hashtag2"]},{"1355492673":["hashtag1","hashtag2"]},{"1355492681":["hashtag1","hashtag2"]},{"1355492684":["hashtag1","hashtag2"]},{"1355492683":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355492676, 1355492679, 1355492673, 1355492681, 1355492684, 1355492683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18384027481079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:15:32.510269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/45/image_02052025_21_45_36_10366.jpg', '/home/pi/Desktop/images/02052025/21/45/image_02052025_21_45_46_10358.jpg', '/home/pi/Desktop/images/02052025/21/45/image_02052025_21_45_56_9360.jpg', '/home/pi/Desktop/images/02052025/21/45/image_02052025_21_46_06_10474.jpg', '/home/pi/Desktop/images/02052025/21/46/image_02052025_21_46_17_10412.jpg', '/home/pi/Desktop/images/02052025/21/46/image_02052025_21_46_26_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/45/image_02052025_21_45_36_10366.jpg
/home/pi/Desktop/images/02052025/21/45/image_02052025_21_45_46_10358.jpg
/home/pi/Desktop/images/02052025/21/45/image_02052025_21_45_56_9360.jpg
/home/pi/Desktop/images/02052025/21/45/image_02052025_21_46_06_10474.jpg
/home/pi/Desktop/images/02052025/21/46/image_02052025_21_46_17_10412.jpg
/home/pi/Desktop/images/02052025/21/46/image_02052025_21_46_26_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":["1355493022","1355493054","1355493108","1355493088","1355493107","1355493007"],"photo_ids_order":["1355493007","1355493022","1355493054","1355493088","1355493107","1355493108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0010bf70e28d394ed88910fd9e081c04.jpg","text":"TemporaryFile(/tmp/multipartBody6619794184717633575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220592992,"filename":"image_02052025_21_45_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ce2bda6fcf728d40bbf0c13875d1fcf9.jpg","text":"TemporaryFile(/tmp/multipartBody2090682948051456334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220592992,"filename":"image_02052025_21_45_56_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c544447819155ff369c9fcceb4e9b69c.jpg","text":"TemporaryFile(/tmp/multipartBody3104378131972338877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220592992,"filename":"image_02052025_21_46_26_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4a21d9bb88ea9be5ee549b6ea72f9801.jpg","text":"TemporaryFile(/tmp/multipartBody8955762596487534146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220592992,"filename":"image_02052025_21_46_06_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9276bf5c1c7514dba36021e894ef5a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1447227319320487290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220592992,"filename":"image_02052025_21_46_17_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f44f4fc4c48f291162c29463ab1e9fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6215411344027548723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220592992,"filename":"image_02052025_21_45_36_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355493054","file1":"1355493022","file0":"1355493007","file4":"1355493107","file5":"1355493108","file3":"1355493088"},"map_files_photo_id_array":[{"photo_id":"1355493108","filename":"file5"},{"photo_id":"1355493054","filename":"file2"},{"photo_id":"1355493107","filename":"file4"},{"photo_id":"1355493022","filename":"file1"},{"photo_id":"1355493007","filename":"file0"},{"photo_id":"1355493088","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355493022":["hashtag1","hashtag2"]},{"1355493054":["hashtag1","hashtag2"]},{"1355493108":["hashtag1","hashtag2"]},{"1355493088":["hashtag1","hashtag2"]},{"1355493107":["hashtag1","hashtag2"]},{"1355493007":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355493022, 1355493054, 1355493108, 1355493088, 1355493107, 1355493007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80468797683716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:16:32.868538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/46/image_02052025_21_46_36_10368.jpg', '/home/pi/Desktop/images/02052025/21/46/image_02052025_21_46_46_9359.jpg', '/home/pi/Desktop/images/02052025/21/46/image_02052025_21_46_56_10390.jpg', '/home/pi/Desktop/images/02052025/21/46/image_02052025_21_47_06_10344.jpg', '/home/pi/Desktop/images/02052025/21/47/image_02052025_21_47_16_9490.jpg', '/home/pi/Desktop/images/02052025/21/47/image_02052025_21_47_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/46/image_02052025_21_46_36_10368.jpg
/home/pi/Desktop/images/02052025/21/46/image_02052025_21_46_46_9359.jpg
/home/pi/Desktop/images/02052025/21/46/image_02052025_21_46_56_10390.jpg
/home/pi/Desktop/images/02052025/21/46/image_02052025_21_47_06_10344.jpg
/home/pi/Desktop/images/02052025/21/47/image_02052025_21_47_16_9490.jpg
/home/pi/Desktop/images/02052025/21/47/image_02052025_21_47_26_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355493273","1355493195","1355493348","1355493197","1355493191","1355493446"],"photo_ids_order":["1355493191","1355493195","1355493197","1355493273","1355493348","1355493446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9175ea4b1933555e28b8a042d9be9ce6.jpg","text":"TemporaryFile(/tmp/multipartBody6697628347087350459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220653341,"filename":"image_02052025_21_47_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/5/2/eaac7d3d5b223a21cabac5bb2aee641b.jpg","text":"TemporaryFile(/tmp/multipartBody3446817367825556489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220653341,"filename":"image_02052025_21_46_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/5/2/c8e903ac7289ef22ff5c773c6c4a1f82.jpg","text":"TemporaryFile(/tmp/multipartBody19309891803743509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220653341,"filename":"image_02052025_21_47_16_9490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/96d783c3df76b7b2e43f5e51667c6ace.jpg","text":"TemporaryFile(/tmp/multipartBody8177004078122749682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220653341,"filename":"image_02052025_21_46_56_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b8c4783df8f9ebe659a8619916685c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4999652581825052655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220653341,"filename":"image_02052025_21_46_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/5/2/5c19261de75f0c9c14faf85e6d4bce82.jpg","text":"TemporaryFile(/tmp/multipartBody1805957104369296853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220653341,"filename":"image_02052025_21_47_26_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355493197","file1":"1355493195","file0":"1355493191","file4":"1355493348","file5":"1355493446","file3":"1355493273"},"map_files_photo_id_array":[{"photo_id":"1355493446","filename":"file5"},{"photo_id":"1355493197","filename":"file2"},{"photo_id":"1355493348","filename":"file4"},{"photo_id":"1355493195","filename":"file1"},{"photo_id":"1355493191","filename":"file0"},{"photo_id":"1355493273","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355493273":["hashtag1","hashtag2"]},{"1355493195":["hashtag1","hashtag2"]},{"1355493348":["hashtag1","hashtag2"]},{"1355493197":["hashtag1","hashtag2"]},{"1355493191":["hashtag1","hashtag2"]},{"1355493446":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355493273, 1355493195, 1355493348, 1355493197, 1355493191, 1355493446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66630792617798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:17:33.026418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/47/image_02052025_21_47_36_9352.jpg', '/home/pi/Desktop/images/02052025/21/47/image_02052025_21_47_46_10374.jpg', '/home/pi/Desktop/images/02052025/21/47/image_02052025_21_47_56_10440.jpg', '/home/pi/Desktop/images/02052025/21/47/image_02052025_21_48_06_9464.jpg', '/home/pi/Desktop/images/02052025/21/48/image_02052025_21_48_16_10364.jpg', '/home/pi/Desktop/images/02052025/21/48/image_02052025_21_48_26_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/47/image_02052025_21_47_36_9352.jpg
/home/pi/Desktop/images/02052025/21/47/image_02052025_21_47_46_10374.jpg
/home/pi/Desktop/images/02052025/21/47/image_02052025_21_47_56_10440.jpg
/home/pi/Desktop/images/02052025/21/47/image_02052025_21_48_06_9464.jpg
/home/pi/Desktop/images/02052025/21/48/image_02052025_21_48_16_10364.jpg
/home/pi/Desktop/images/02052025/21/48/image_02052025_21_48_26_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355493916","1355493945","1355493930","1355493926","1355493941","1355493922"],"photo_ids_order":["1355493916","1355493922","1355493926","1355493930","1355493941","1355493945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/558c549bdd3a487960b167a4cf3de5a8.jpg","text":"TemporaryFile(/tmp/multipartBody9079422290742875846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220713507,"filename":"image_02052025_21_47_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/5/2/c01dd4f146519503e26156e5da801afe.jpg","text":"TemporaryFile(/tmp/multipartBody2322223771752108989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220713507,"filename":"image_02052025_21_48_26_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/11462008e25f8387be5cd8c6021d608c.jpg","text":"TemporaryFile(/tmp/multipartBody4305493510624585200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220713507,"filename":"image_02052025_21_48_06_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/232430ba445dac48842e66dd770e065a.jpg","text":"TemporaryFile(/tmp/multipartBody283406484353699744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220713507,"filename":"image_02052025_21_47_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/5/2/c703439c202def614a8b80184cc87677.jpg","text":"TemporaryFile(/tmp/multipartBody9086615774337906793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220713507,"filename":"image_02052025_21_48_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/5/2/2ffc2bda0552fd5fcf03de2a2a5e04b3.jpg","text":"TemporaryFile(/tmp/multipartBody4510827889378495933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220713507,"filename":"image_02052025_21_47_46_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355493926","file1":"1355493922","file0":"1355493916","file4":"1355493941","file5":"1355493945","file3":"1355493930"},"map_files_photo_id_array":[{"photo_id":"1355493945","filename":"file5"},{"photo_id":"1355493926","filename":"file2"},{"photo_id":"1355493941","filename":"file4"},{"photo_id":"1355493922","filename":"file1"},{"photo_id":"1355493916","filename":"file0"},{"photo_id":"1355493930","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355493916":["hashtag1","hashtag2"]},{"1355493945":["hashtag1","hashtag2"]},{"1355493930":["hashtag1","hashtag2"]},{"1355493926":["hashtag1","hashtag2"]},{"1355493941":["hashtag1","hashtag2"]},{"1355493922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355493916, 1355493945, 1355493930, 1355493926, 1355493941, 1355493922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26553702354431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:18:33.104197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/48/image_02052025_21_48_36_10478.jpg', '/home/pi/Desktop/images/02052025/21/48/image_02052025_21_48_47_10467.jpg', '/home/pi/Desktop/images/02052025/21/48/image_02052025_21_48_56_9442.jpg', '/home/pi/Desktop/images/02052025/21/48/image_02052025_21_49_06_10360.jpg', '/home/pi/Desktop/images/02052025/21/49/image_02052025_21_49_16_9329.jpg', '/home/pi/Desktop/images/02052025/21/49/image_02052025_21_49_26_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/48/image_02052025_21_48_36_10478.jpg
/home/pi/Desktop/images/02052025/21/48/image_02052025_21_48_47_10467.jpg
/home/pi/Desktop/images/02052025/21/48/image_02052025_21_48_56_9442.jpg
/home/pi/Desktop/images/02052025/21/48/image_02052025_21_49_06_10360.jpg
/home/pi/Desktop/images/02052025/21/49/image_02052025_21_49_16_9329.jpg
/home/pi/Desktop/images/02052025/21/49/image_02052025_21_49_26_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":["1355494734","1355494013","1355494756","1355494537","1355494369","1355494033"],"photo_ids_order":["1355494013","1355494033","1355494369","1355494537","1355494734","1355494756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4ded33e0e4d4be2b099ca8bae3932b89.jpg","text":"TemporaryFile(/tmp/multipartBody7792984249598813026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220773597,"filename":"image_02052025_21_49_16_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/86893668854971c49250346f8594e8db.jpg","text":"TemporaryFile(/tmp/multipartBody8690743651564947549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220773597,"filename":"image_02052025_21_48_36_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2db20fff9a76c5100a2b30311d331416.jpg","text":"TemporaryFile(/tmp/multipartBody8063385429508888323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220773597,"filename":"image_02052025_21_49_26_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c6268396e75eb48b7a186c20f50760b3.jpg","text":"TemporaryFile(/tmp/multipartBody2839268145837925583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220773597,"filename":"image_02052025_21_49_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/5/2/01b4edacce5f11f3ac3b39978e2e970b.jpg","text":"TemporaryFile(/tmp/multipartBody2779425225897603843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220773597,"filename":"image_02052025_21_48_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/5/2/a1f3a3512b2d2d43bd6de5e5e43f4eb9.jpg","text":"TemporaryFile(/tmp/multipartBody3519126306293978488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220773597,"filename":"image_02052025_21_48_47_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355494369","file1":"1355494033","file0":"1355494013","file4":"1355494734","file5":"1355494756","file3":"1355494537"},"map_files_photo_id_array":[{"photo_id":"1355494756","filename":"file5"},{"photo_id":"1355494369","filename":"file2"},{"photo_id":"1355494734","filename":"file4"},{"photo_id":"1355494033","filename":"file1"},{"photo_id":"1355494013","filename":"file0"},{"photo_id":"1355494537","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355494734":["hashtag1","hashtag2"]},{"1355494013":["hashtag1","hashtag2"]},{"1355494756":["hashtag1","hashtag2"]},{"1355494537":["hashtag1","hashtag2"]},{"1355494369":["hashtag1","hashtag2"]},{"1355494033":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355494734, 1355494013, 1355494756, 1355494537, 1355494369, 1355494033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.361138343811035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:19:32.317108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/49/image_02052025_21_49_36_10360.jpg', '/home/pi/Desktop/images/02052025/21/49/image_02052025_21_49_46_9474.jpg', '/home/pi/Desktop/images/02052025/21/49/image_02052025_21_49_56_10389.jpg', '/home/pi/Desktop/images/02052025/21/49/image_02052025_21_50_06_9351.jpg', '/home/pi/Desktop/images/02052025/21/50/image_02052025_21_50_16_10358.jpg', '/home/pi/Desktop/images/02052025/21/50/image_02052025_21_50_26_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/49/image_02052025_21_49_36_10360.jpg
/home/pi/Desktop/images/02052025/21/49/image_02052025_21_49_46_9474.jpg
/home/pi/Desktop/images/02052025/21/49/image_02052025_21_49_56_10389.jpg
/home/pi/Desktop/images/02052025/21/49/image_02052025_21_50_06_9351.jpg
/home/pi/Desktop/images/02052025/21/50/image_02052025_21_50_16_10358.jpg
/home/pi/Desktop/images/02052025/21/50/image_02052025_21_50_26_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355494812","1355494800","1355494784","1355494814","1355494816","1355494807"],"photo_ids_order":["1355494784","1355494800","1355494807","1355494812","1355494814","1355494816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/58b4c935e931ad037f9b8b3ed67b92fc.jpg","text":"TemporaryFile(/tmp/multipartBody6769312081762714844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220832794,"filename":"image_02052025_21_50_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/5/2/36c9d023aedcc94d33c073abe15e5947.jpg","text":"TemporaryFile(/tmp/multipartBody6374767832283977338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220832794,"filename":"image_02052025_21_49_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/5/2/fbb563e2b7f22f0cefa8677590bfbede.jpg","text":"TemporaryFile(/tmp/multipartBody3928725252396249263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220832794,"filename":"image_02052025_21_49_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/5/2/8ea4fa128a8b6ff9639148b929443671.jpg","text":"TemporaryFile(/tmp/multipartBody9147125109911717319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220832794,"filename":"image_02052025_21_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/5/2/20d1e0354c67aeb77f5e1c57379d802e.jpg","text":"TemporaryFile(/tmp/multipartBody5123956203650221333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220832794,"filename":"image_02052025_21_50_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/5/2/2437ca17376a7827d6d748c333f6eddb.jpg","text":"TemporaryFile(/tmp/multipartBody1913955272892715000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220832794,"filename":"image_02052025_21_49_56_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355494807","file1":"1355494800","file0":"1355494784","file4":"1355494814","file5":"1355494816","file3":"1355494812"},"map_files_photo_id_array":[{"photo_id":"1355494816","filename":"file5"},{"photo_id":"1355494807","filename":"file2"},{"photo_id":"1355494814","filename":"file4"},{"photo_id":"1355494800","filename":"file1"},{"photo_id":"1355494784","filename":"file0"},{"photo_id":"1355494812","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355494812":["hashtag1","hashtag2"]},{"1355494800":["hashtag1","hashtag2"]},{"1355494784":["hashtag1","hashtag2"]},{"1355494814":["hashtag1","hashtag2"]},{"1355494816":["hashtag1","hashtag2"]},{"1355494807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355494812, 1355494800, 1355494784, 1355494814, 1355494816, 1355494807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.836041688919067 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:20:32.651467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/50/image_02052025_21_50_36_9450.jpg', '/home/pi/Desktop/images/02052025/21/50/image_02052025_21_50_46_10375.jpg', '/home/pi/Desktop/images/02052025/21/50/image_02052025_21_50_56_9372.jpg', '/home/pi/Desktop/images/02052025/21/50/image_02052025_21_51_06_10352.jpg', '/home/pi/Desktop/images/02052025/21/51/image_02052025_21_51_16_10402.jpg', '/home/pi/Desktop/images/02052025/21/51/image_02052025_21_51_26_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/50/image_02052025_21_50_36_9450.jpg
/home/pi/Desktop/images/02052025/21/50/image_02052025_21_50_46_10375.jpg
/home/pi/Desktop/images/02052025/21/50/image_02052025_21_50_56_9372.jpg
/home/pi/Desktop/images/02052025/21/50/image_02052025_21_51_06_10352.jpg
/home/pi/Desktop/images/02052025/21/51/image_02052025_21_51_16_10402.jpg
/home/pi/Desktop/images/02052025/21/51/image_02052025_21_51_26_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355495126","1355495197","1355495167","1355495199","1355495190","1355495187"],"photo_ids_order":["1355495126","1355495167","1355495187","1355495190","1355495197","1355495199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/75958cebc17c5bdd5ae0ad401d1f945f.jpg","text":"TemporaryFile(/tmp/multipartBody225679036523435941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220893119,"filename":"image_02052025_21_50_36_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ab1e05c037594f24a4fabcb2c51aa58.jpg","text":"TemporaryFile(/tmp/multipartBody19114689251755736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220893119,"filename":"image_02052025_21_51_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/5/2/ab032066915e428167299608786aa5da.jpg","text":"TemporaryFile(/tmp/multipartBody1308931456651874481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220893119,"filename":"image_02052025_21_50_46_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4c3a0e5abaf4e22b621adfdd0ba06794.jpg","text":"TemporaryFile(/tmp/multipartBody912311381100230421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220893119,"filename":"image_02052025_21_51_26_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/25bb67665a92b2eeb6ce920f18f30e77.jpg","text":"TemporaryFile(/tmp/multipartBody8419785582427133961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220893119,"filename":"image_02052025_21_51_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/5/2/16aebeb933f2466e79d8d62e6913ca3d.jpg","text":"TemporaryFile(/tmp/multipartBody4949082168325219562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220893119,"filename":"image_02052025_21_50_56_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355495187","file1":"1355495167","file0":"1355495126","file4":"1355495197","file5":"1355495199","file3":"1355495190"},"map_files_photo_id_array":[{"photo_id":"1355495199","filename":"file5"},{"photo_id":"1355495187","filename":"file2"},{"photo_id":"1355495197","filename":"file4"},{"photo_id":"1355495167","filename":"file1"},{"photo_id":"1355495126","filename":"file0"},{"photo_id":"1355495190","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355495126":["hashtag1","hashtag2"]},{"1355495197":["hashtag1","hashtag2"]},{"1355495167":["hashtag1","hashtag2"]},{"1355495199":["hashtag1","hashtag2"]},{"1355495190":["hashtag1","hashtag2"]},{"1355495187":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355495126, 1355495197, 1355495167, 1355495199, 1355495190, 1355495187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87620449066162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:21:32.690712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/51/image_02052025_21_51_36_10363.jpg', '/home/pi/Desktop/images/02052025/21/51/image_02052025_21_51_46_10397.jpg', '/home/pi/Desktop/images/02052025/21/51/image_02052025_21_51_56_9451.jpg', '/home/pi/Desktop/images/02052025/21/51/image_02052025_21_52_06_10350.jpg', '/home/pi/Desktop/images/02052025/21/52/image_02052025_21_52_16_9359.jpg', '/home/pi/Desktop/images/02052025/21/52/image_02052025_21_52_26_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/51/image_02052025_21_51_36_10363.jpg
/home/pi/Desktop/images/02052025/21/51/image_02052025_21_51_46_10397.jpg
/home/pi/Desktop/images/02052025/21/51/image_02052025_21_51_56_9451.jpg
/home/pi/Desktop/images/02052025/21/51/image_02052025_21_52_06_10350.jpg
/home/pi/Desktop/images/02052025/21/52/image_02052025_21_52_16_9359.jpg
/home/pi/Desktop/images/02052025/21/52/image_02052025_21_52_26_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":["1355495243","1355495269","1355495242","1355495236","1355495247","1355495232"],"photo_ids_order":["1355495232","1355495236","1355495242","1355495243","1355495247","1355495269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4023a10c1af91fdcaeacd90c18b3c2f6.jpg","text":"TemporaryFile(/tmp/multipartBody6153064190299606523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220953176,"filename":"image_02052025_21_52_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/5/2/497065b21d70bb7a9e3460ff2c44f67e.jpg","text":"TemporaryFile(/tmp/multipartBody1617175986668085340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220953176,"filename":"image_02052025_21_52_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/5/2/6be788ff093c90bc2daf0c4f6152dd78.jpg","text":"TemporaryFile(/tmp/multipartBody129471686300960748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220953176,"filename":"image_02052025_21_51_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/5/2/d3e982ba91fa80a1002f3addde2b62fa.jpg","text":"TemporaryFile(/tmp/multipartBody362576776981857638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220953176,"filename":"image_02052025_21_51_46_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c827d5994845bf270cedc4443e473f4.jpg","text":"TemporaryFile(/tmp/multipartBody5021548088262610928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220953176,"filename":"image_02052025_21_52_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/5/2/2d1b55eaba73557d0a7b42768d548b5d.jpg","text":"TemporaryFile(/tmp/multipartBody430587839470044996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746220953176,"filename":"image_02052025_21_51_36_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355495242","file1":"1355495236","file0":"1355495232","file4":"1355495247","file5":"1355495269","file3":"1355495243"},"map_files_photo_id_array":[{"photo_id":"1355495269","filename":"file5"},{"photo_id":"1355495242","filename":"file2"},{"photo_id":"1355495247","filename":"file4"},{"photo_id":"1355495236","filename":"file1"},{"photo_id":"1355495232","filename":"file0"},{"photo_id":"1355495243","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355495243":["hashtag1","hashtag2"]},{"1355495269":["hashtag1","hashtag2"]},{"1355495242":["hashtag1","hashtag2"]},{"1355495236":["hashtag1","hashtag2"]},{"1355495247":["hashtag1","hashtag2"]},{"1355495232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355495243, 1355495269, 1355495242, 1355495236, 1355495247, 1355495232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80728578567505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:22:32.980254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/52/image_02052025_21_52_36_10346.jpg', '/home/pi/Desktop/images/02052025/21/52/image_02052025_21_52_46_9467.jpg', '/home/pi/Desktop/images/02052025/21/52/image_02052025_21_52_56_10378.jpg', '/home/pi/Desktop/images/02052025/21/52/image_02052025_21_53_06_9364.jpg', '/home/pi/Desktop/images/02052025/21/53/image_02052025_21_53_16_10366.jpg', '/home/pi/Desktop/images/02052025/21/53/image_02052025_21_53_26_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/52/image_02052025_21_52_36_10346.jpg
/home/pi/Desktop/images/02052025/21/52/image_02052025_21_52_46_9467.jpg
/home/pi/Desktop/images/02052025/21/52/image_02052025_21_52_56_10378.jpg
/home/pi/Desktop/images/02052025/21/52/image_02052025_21_53_06_9364.jpg
/home/pi/Desktop/images/02052025/21/53/image_02052025_21_53_16_10366.jpg
/home/pi/Desktop/images/02052025/21/53/image_02052025_21_53_26_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355495932","1355495869","1355495836","1355495902","1355495806","1355495751"],"photo_ids_order":["1355495751","1355495806","1355495836","1355495869","1355495902","1355495932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2e52967a4b144ea918b3566df09ce2a.jpg","text":"TemporaryFile(/tmp/multipartBody2360604566301689251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221013451,"filename":"image_02052025_21_53_26_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dbec3acd5a37bc5f7ab32070d5f9fb7f.jpg","text":"TemporaryFile(/tmp/multipartBody891330519779159713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221013451,"filename":"image_02052025_21_53_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/5/2/8fa41d8b6b37fda35c901a6b7b54c343.jpg","text":"TemporaryFile(/tmp/multipartBody1521696016587164525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221013451,"filename":"image_02052025_21_52_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/565b2e4c1c8d973d29a5bdb92863c66d.jpg","text":"TemporaryFile(/tmp/multipartBody623010110317205902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221013451,"filename":"image_02052025_21_53_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/56dc579c2ca332b597dd690bcbe590ea.jpg","text":"TemporaryFile(/tmp/multipartBody4068663901135934372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221013451,"filename":"image_02052025_21_52_46_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7973f474b193972c67da514c6fb14871.jpg","text":"TemporaryFile(/tmp/multipartBody5926789661877183335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221013451,"filename":"image_02052025_21_52_36_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355495836","file1":"1355495806","file0":"1355495751","file4":"1355495902","file5":"1355495932","file3":"1355495869"},"map_files_photo_id_array":[{"photo_id":"1355495932","filename":"file5"},{"photo_id":"1355495836","filename":"file2"},{"photo_id":"1355495902","filename":"file4"},{"photo_id":"1355495806","filename":"file1"},{"photo_id":"1355495751","filename":"file0"},{"photo_id":"1355495869","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355495932":["hashtag1","hashtag2"]},{"1355495869":["hashtag1","hashtag2"]},{"1355495836":["hashtag1","hashtag2"]},{"1355495902":["hashtag1","hashtag2"]},{"1355495806":["hashtag1","hashtag2"]},{"1355495751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355495932, 1355495869, 1355495836, 1355495902, 1355495806, 1355495751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.224773645401 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:23:33.035304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/53/image_02052025_21_53_36_9503.jpg', '/home/pi/Desktop/images/02052025/21/53/image_02052025_21_53_46_10372.jpg', '/home/pi/Desktop/images/02052025/21/53/image_02052025_21_53_56_9365.jpg', '/home/pi/Desktop/images/02052025/21/53/image_02052025_21_54_06_10360.jpg', '/home/pi/Desktop/images/02052025/21/54/image_02052025_21_54_16_10466.jpg', '/home/pi/Desktop/images/02052025/21/54/image_02052025_21_54_26_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/53/image_02052025_21_53_36_9503.jpg
/home/pi/Desktop/images/02052025/21/53/image_02052025_21_53_46_10372.jpg
/home/pi/Desktop/images/02052025/21/53/image_02052025_21_53_56_9365.jpg
/home/pi/Desktop/images/02052025/21/53/image_02052025_21_54_06_10360.jpg
/home/pi/Desktop/images/02052025/21/54/image_02052025_21_54_16_10466.jpg
/home/pi/Desktop/images/02052025/21/54/image_02052025_21_54_26_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355496227","1355496229","1355496220","1355496222","1355496225","1355496210"],"photo_ids_order":["1355496210","1355496220","1355496222","1355496225","1355496227","1355496229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/33341369f7837fbebdb8df6fa11b513b.jpg","text":"TemporaryFile(/tmp/multipartBody8763685356905506048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221073501,"filename":"image_02052025_21_54_16_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/facdbd9a500beb1e87cab8dbeba649f1.jpg","text":"TemporaryFile(/tmp/multipartBody4573264579210984442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221073501,"filename":"image_02052025_21_54_26_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/448dc7de33160c720be16c02175b02d9.jpg","text":"TemporaryFile(/tmp/multipartBody1316573374354314469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221073501,"filename":"image_02052025_21_53_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/5/2/d1d1fba850c59fc7c098117865fb1eab.jpg","text":"TemporaryFile(/tmp/multipartBody3510217815637327909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221073501,"filename":"image_02052025_21_53_56_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2e1f3f440207425f05286942146cb67d.jpg","text":"TemporaryFile(/tmp/multipartBody187517312748782436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221073501,"filename":"image_02052025_21_54_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/5/2/eadcee13a4f1b8c8dde3ba3623c4d4be.jpg","text":"TemporaryFile(/tmp/multipartBody2956804650634745404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221073501,"filename":"image_02052025_21_53_36_9503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355496222","file1":"1355496220","file0":"1355496210","file4":"1355496227","file5":"1355496229","file3":"1355496225"},"map_files_photo_id_array":[{"photo_id":"1355496229","filename":"file5"},{"photo_id":"1355496222","filename":"file2"},{"photo_id":"1355496227","filename":"file4"},{"photo_id":"1355496220","filename":"file1"},{"photo_id":"1355496210","filename":"file0"},{"photo_id":"1355496225","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355496227":["hashtag1","hashtag2"]},{"1355496229":["hashtag1","hashtag2"]},{"1355496220":["hashtag1","hashtag2"]},{"1355496222":["hashtag1","hashtag2"]},{"1355496225":["hashtag1","hashtag2"]},{"1355496210":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355496227, 1355496229, 1355496220, 1355496222, 1355496225, 1355496210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38525438308716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:24:32.257294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/54/image_02052025_21_54_36_10450.jpg', '/home/pi/Desktop/images/02052025/21/54/image_02052025_21_54_46_9367.jpg', '/home/pi/Desktop/images/02052025/21/54/image_02052025_21_54_56_10377.jpg', '/home/pi/Desktop/images/02052025/21/54/image_02052025_21_55_06_10360.jpg', '/home/pi/Desktop/images/02052025/21/55/image_02052025_21_55_16_9419.jpg', '/home/pi/Desktop/images/02052025/21/55/image_02052025_21_55_26_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/54/image_02052025_21_54_36_10450.jpg
/home/pi/Desktop/images/02052025/21/54/image_02052025_21_54_46_9367.jpg
/home/pi/Desktop/images/02052025/21/54/image_02052025_21_54_56_10377.jpg
/home/pi/Desktop/images/02052025/21/54/image_02052025_21_55_06_10360.jpg
/home/pi/Desktop/images/02052025/21/55/image_02052025_21_55_16_9419.jpg
/home/pi/Desktop/images/02052025/21/55/image_02052025_21_55_26_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355496437","1355496428","1355496401","1355496439","1355496342","1355496374"],"photo_ids_order":["1355496342","1355496374","1355496401","1355496428","1355496437","1355496439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b0399ea324e426187c908d15cb55c104.jpg","text":"TemporaryFile(/tmp/multipartBody6021001275369295149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221132756,"filename":"image_02052025_21_55_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/5/2/95411530eaca6d69e92e9cebbedf01c1.jpg","text":"TemporaryFile(/tmp/multipartBody3178794921344637646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221132756,"filename":"image_02052025_21_55_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/5/2/d1eff9beda1d5f99a60346c19853ba0b.jpg","text":"TemporaryFile(/tmp/multipartBody6991727797829154974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221132756,"filename":"image_02052025_21_54_56_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/737e1a65cbc874e3bd1d5e49802482fa.jpg","text":"TemporaryFile(/tmp/multipartBody6387747756978311681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221132756,"filename":"image_02052025_21_55_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f74ad5a4bce853d0ffdc1da6c22f5713.jpg","text":"TemporaryFile(/tmp/multipartBody5141746673593947734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221132756,"filename":"image_02052025_21_54_36_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f8cad55586af54818113bbaba8718e44.jpg","text":"TemporaryFile(/tmp/multipartBody6193856086602064362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221132756,"filename":"image_02052025_21_54_46_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355496401","file1":"1355496374","file0":"1355496342","file4":"1355496437","file5":"1355496439","file3":"1355496428"},"map_files_photo_id_array":[{"photo_id":"1355496439","filename":"file5"},{"photo_id":"1355496401","filename":"file2"},{"photo_id":"1355496437","filename":"file4"},{"photo_id":"1355496374","filename":"file1"},{"photo_id":"1355496342","filename":"file0"},{"photo_id":"1355496428","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355496437":["hashtag1","hashtag2"]},{"1355496428":["hashtag1","hashtag2"]},{"1355496401":["hashtag1","hashtag2"]},{"1355496439":["hashtag1","hashtag2"]},{"1355496342":["hashtag1","hashtag2"]},{"1355496374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355496437, 1355496428, 1355496401, 1355496439, 1355496342, 1355496374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.067784309387207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:25:32.361237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/55/image_02052025_21_55_36_9459.jpg', '/home/pi/Desktop/images/02052025/21/55/image_02052025_21_55_46_10362.jpg', '/home/pi/Desktop/images/02052025/21/55/image_02052025_21_55_56_10371.jpg', '/home/pi/Desktop/images/02052025/21/55/image_02052025_21_56_06_9466.jpg', '/home/pi/Desktop/images/02052025/21/56/image_02052025_21_56_16_10369.jpg', '/home/pi/Desktop/images/02052025/21/56/image_02052025_21_56_26_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/55/image_02052025_21_55_36_9459.jpg
/home/pi/Desktop/images/02052025/21/55/image_02052025_21_55_46_10362.jpg
/home/pi/Desktop/images/02052025/21/55/image_02052025_21_55_56_10371.jpg
/home/pi/Desktop/images/02052025/21/55/image_02052025_21_56_06_9466.jpg
/home/pi/Desktop/images/02052025/21/56/image_02052025_21_56_16_10369.jpg
/home/pi/Desktop/images/02052025/21/56/image_02052025_21_56_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":["1355496559","1355496574","1355496568","1355496570","1355496572","1355496575"],"photo_ids_order":["1355496559","1355496568","1355496570","1355496572","1355496574","1355496575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6bc3accac88ff01a10dc47041e16fe94.jpg","text":"TemporaryFile(/tmp/multipartBody5804313325205900264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221192840,"filename":"image_02052025_21_55_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/5/2/833bf08270429f81953aa48e0c6b9a50.jpg","text":"TemporaryFile(/tmp/multipartBody7336199817431412924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221192840,"filename":"image_02052025_21_56_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7317cb1db7a03a54b27c5f9f0ca73f22.jpg","text":"TemporaryFile(/tmp/multipartBody7191696931909423019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221192840,"filename":"image_02052025_21_55_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c8327515032c5ce7dcb9a332f15999aa.jpg","text":"TemporaryFile(/tmp/multipartBody3933243234672189699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221192840,"filename":"image_02052025_21_55_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/db0c568c22979942b21fcf46740936b4.jpg","text":"TemporaryFile(/tmp/multipartBody2407871823940622644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221192840,"filename":"image_02052025_21_56_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/5/2/13567fbdee2b1b8d0daae6509a370d29.jpg","text":"TemporaryFile(/tmp/multipartBody8171013770674835368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221192840,"filename":"image_02052025_21_56_26_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355496570","file1":"1355496568","file0":"1355496559","file4":"1355496574","file5":"1355496575","file3":"1355496572"},"map_files_photo_id_array":[{"photo_id":"1355496575","filename":"file5"},{"photo_id":"1355496570","filename":"file2"},{"photo_id":"1355496574","filename":"file4"},{"photo_id":"1355496568","filename":"file1"},{"photo_id":"1355496559","filename":"file0"},{"photo_id":"1355496572","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355496559":["hashtag1","hashtag2"]},{"1355496574":["hashtag1","hashtag2"]},{"1355496568":["hashtag1","hashtag2"]},{"1355496570":["hashtag1","hashtag2"]},{"1355496572":["hashtag1","hashtag2"]},{"1355496575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355496559, 1355496574, 1355496568, 1355496570, 1355496572, 1355496575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0022292137146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:26:32.486580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/56/image_02052025_21_56_36_10360.jpg', '/home/pi/Desktop/images/02052025/21/56/image_02052025_21_56_46_10364.jpg', '/home/pi/Desktop/images/02052025/21/56/image_02052025_21_56_56_9361.jpg', '/home/pi/Desktop/images/02052025/21/56/image_02052025_21_57_06_10447.jpg', '/home/pi/Desktop/images/02052025/21/57/image_02052025_21_57_16_10349.jpg', '/home/pi/Desktop/images/02052025/21/57/image_02052025_21_57_46_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/56/image_02052025_21_56_36_10360.jpg
/home/pi/Desktop/images/02052025/21/56/image_02052025_21_56_46_10364.jpg
/home/pi/Desktop/images/02052025/21/56/image_02052025_21_56_56_9361.jpg
/home/pi/Desktop/images/02052025/21/56/image_02052025_21_57_06_10447.jpg
/home/pi/Desktop/images/02052025/21/57/image_02052025_21_57_16_10349.jpg
/home/pi/Desktop/images/02052025/21/57/image_02052025_21_57_46_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355496608","1355496598","1355496613","1355496616","1355496604","1355496618"],"photo_ids_order":["1355496598","1355496604","1355496608","1355496613","1355496616","1355496618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/81ca86a2e20e742d4b3064aaa90cca30.jpg","text":"TemporaryFile(/tmp/multipartBody4122547497276536033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221252963,"filename":"image_02052025_21_56_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/5/2/9757b4c469139cf7f8de9c4664d4e59f.jpg","text":"TemporaryFile(/tmp/multipartBody7462069222727802485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221252963,"filename":"image_02052025_21_56_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/5/2/6b000a21ce28f75409cf0cc43d5047f2.jpg","text":"TemporaryFile(/tmp/multipartBody7955039803233065055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221252963,"filename":"image_02052025_21_57_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/5/2/2f5d09d04db61ca87746de544af0f2ab.jpg","text":"TemporaryFile(/tmp/multipartBody8550150341627604580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221252963,"filename":"image_02052025_21_57_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/5/2/103a117394040ba274f67c6e199b76c9.jpg","text":"TemporaryFile(/tmp/multipartBody5558143971074132682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221252963,"filename":"image_02052025_21_56_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ece70398e2fc726cee832a4bd4f12e0f.jpg","text":"TemporaryFile(/tmp/multipartBody2654329104786078561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221252963,"filename":"image_02052025_21_57_46_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355496608","file1":"1355496604","file0":"1355496598","file4":"1355496616","file5":"1355496618","file3":"1355496613"},"map_files_photo_id_array":[{"photo_id":"1355496618","filename":"file5"},{"photo_id":"1355496608","filename":"file2"},{"photo_id":"1355496616","filename":"file4"},{"photo_id":"1355496604","filename":"file1"},{"photo_id":"1355496598","filename":"file0"},{"photo_id":"1355496613","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355496608":["hashtag1","hashtag2"]},{"1355496598":["hashtag1","hashtag2"]},{"1355496613":["hashtag1","hashtag2"]},{"1355496616":["hashtag1","hashtag2"]},{"1355496604":["hashtag1","hashtag2"]},{"1355496618":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355496608, 1355496598, 1355496613, 1355496616, 1355496604, 1355496618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.017356157302856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:27:32.598037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/57/image_02052025_21_57_56_10450.jpg', '/home/pi/Desktop/images/02052025/21/57/image_02052025_21_58_06_9418.jpg', '/home/pi/Desktop/images/02052025/21/58/image_02052025_21_58_16_10428.jpg', '/home/pi/Desktop/images/02052025/21/58/image_02052025_21_58_46_10446.jpg', '/home/pi/Desktop/images/02052025/21/58/image_02052025_21_58_56_9421.jpg', '/home/pi/Desktop/images/02052025/21/58/image_02052025_21_59_06_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/57/image_02052025_21_57_56_10450.jpg
/home/pi/Desktop/images/02052025/21/57/image_02052025_21_58_06_9418.jpg
/home/pi/Desktop/images/02052025/21/58/image_02052025_21_58_16_10428.jpg
/home/pi/Desktop/images/02052025/21/58/image_02052025_21_58_46_10446.jpg
/home/pi/Desktop/images/02052025/21/58/image_02052025_21_58_56_9421.jpg
/home/pi/Desktop/images/02052025/21/58/image_02052025_21_59_06_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355496661","1355496664","1355496643","1355496652","1355496648","1355496657"],"photo_ids_order":["1355496643","1355496648","1355496652","1355496657","1355496661","1355496664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bf237704161286325f914ca01ffdd265.jpg","text":"TemporaryFile(/tmp/multipartBody3413096993666003216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221313101,"filename":"image_02052025_21_58_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/5/2/b3141d2de04ae006011da26c0972534f.jpg","text":"TemporaryFile(/tmp/multipartBody6145425050789713556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221313101,"filename":"image_02052025_21_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/5/2/ceafc56175bcf5cd8d9d798c2911dd37.jpg","text":"TemporaryFile(/tmp/multipartBody5864985198942309838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221313101,"filename":"image_02052025_21_57_56_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ff92a48a57aaa567b262630405d96018.jpg","text":"TemporaryFile(/tmp/multipartBody7716040471364453532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221313101,"filename":"image_02052025_21_58_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/5/2/7a33475031b9459518605e362b586d62.jpg","text":"TemporaryFile(/tmp/multipartBody6289525848830798034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221313101,"filename":"image_02052025_21_58_06_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/cd646a2e6da6c528ff747caa5cafd4c2.jpg","text":"TemporaryFile(/tmp/multipartBody91599677678928852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221313101,"filename":"image_02052025_21_58_46_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355496652","file1":"1355496648","file0":"1355496643","file4":"1355496661","file5":"1355496664","file3":"1355496657"},"map_files_photo_id_array":[{"photo_id":"1355496664","filename":"file5"},{"photo_id":"1355496652","filename":"file2"},{"photo_id":"1355496661","filename":"file4"},{"photo_id":"1355496648","filename":"file1"},{"photo_id":"1355496643","filename":"file0"},{"photo_id":"1355496657","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355496661":["hashtag1","hashtag2"]},{"1355496664":["hashtag1","hashtag2"]},{"1355496643":["hashtag1","hashtag2"]},{"1355496652":["hashtag1","hashtag2"]},{"1355496648":["hashtag1","hashtag2"]},{"1355496657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355496661, 1355496664, 1355496643, 1355496652, 1355496648, 1355496657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2588791847229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:28:32.807227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/21/59/image_02052025_21_59_16_10430.jpg', '/home/pi/Desktop/images/02052025/21/59/image_02052025_21_59_26_9382.jpg', '/home/pi/Desktop/images/02052025/21/59/image_02052025_21_59_36_10403.jpg', '/home/pi/Desktop/images/02052025/21/59/image_02052025_21_59_46_9465.jpg', '/home/pi/Desktop/images/02052025/21/59/image_02052025_21_59_56_10444.jpg', '/home/pi/Desktop/images/02052025/22/01/image_02052025_22_01_15_10074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/21/59/image_02052025_21_59_16_10430.jpg
/home/pi/Desktop/images/02052025/21/59/image_02052025_21_59_26_9382.jpg
/home/pi/Desktop/images/02052025/21/59/image_02052025_21_59_36_10403.jpg
/home/pi/Desktop/images/02052025/21/59/image_02052025_21_59_46_9465.jpg
/home/pi/Desktop/images/02052025/21/59/image_02052025_21_59_56_10444.jpg
/home/pi/Desktop/images/02052025/22/01/image_02052025_22_01_15_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":["1355496713","1355496703","1355496693","1355496711","1355496708","1355496698"],"photo_ids_order":["1355496693","1355496698","1355496703","1355496708","1355496711","1355496713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1a80e0f2e3dd0d7217c76568e8f84bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5295083490355460987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221373296,"filename":"image_02052025_22_01_15_10074.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/50fb58eb4aee761ea066b1b68bcdb9ec.jpg","text":"TemporaryFile(/tmp/multipartBody1960129532753691504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221373296,"filename":"image_02052025_21_59_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/5/2/8e586b025c1ed2b60426ab4ca64518f2.jpg","text":"TemporaryFile(/tmp/multipartBody1399525695006239677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221373296,"filename":"image_02052025_21_59_16_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d47a3ee79400a5ea0752796224a7afbb.jpg","text":"TemporaryFile(/tmp/multipartBody1633241887166267954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221373296,"filename":"image_02052025_21_59_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/5/2/a7c067bd2b80f79cd3383315265a110d.jpg","text":"TemporaryFile(/tmp/multipartBody3456926759988284515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221373296,"filename":"image_02052025_21_59_46_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c5df3fdbb7e9bd4c5e6e8a7fdb9a8ffc.jpg","text":"TemporaryFile(/tmp/multipartBody2043316083629799439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221373296,"filename":"image_02052025_21_59_26_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355496703","file1":"1355496698","file0":"1355496693","file4":"1355496711","file5":"1355496713","file3":"1355496708"},"map_files_photo_id_array":[{"photo_id":"1355496713","filename":"file5"},{"photo_id":"1355496703","filename":"file2"},{"photo_id":"1355496711","filename":"file4"},{"photo_id":"1355496698","filename":"file1"},{"photo_id":"1355496693","filename":"file0"},{"photo_id":"1355496708","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355496713":["hashtag1","hashtag2"]},{"1355496703":["hashtag1","hashtag2"]},{"1355496693":["hashtag1","hashtag2"]},{"1355496711":["hashtag1","hashtag2"]},{"1355496708":["hashtag1","hashtag2"]},{"1355496698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355496713, 1355496703, 1355496693, 1355496711, 1355496708, 1355496698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.691935062408447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:29:33.044139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/01/image_02052025_22_01_25_10428.jpg', '/home/pi/Desktop/images/02052025/22/01/image_02052025_22_01_36_10468.jpg', '/home/pi/Desktop/images/02052025/22/01/image_02052025_22_01_45_9425.jpg', '/home/pi/Desktop/images/02052025/22/01/image_02052025_22_01_56_10442.jpg', '/home/pi/Desktop/images/02052025/22/01/image_02052025_22_02_05_9439.jpg', '/home/pi/Desktop/images/02052025/22/02/image_02052025_22_02_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/01/image_02052025_22_01_25_10428.jpg
/home/pi/Desktop/images/02052025/22/01/image_02052025_22_01_36_10468.jpg
/home/pi/Desktop/images/02052025/22/01/image_02052025_22_01_45_9425.jpg
/home/pi/Desktop/images/02052025/22/01/image_02052025_22_01_56_10442.jpg
/home/pi/Desktop/images/02052025/22/01/image_02052025_22_02_05_9439.jpg
/home/pi/Desktop/images/02052025/22/02/image_02052025_22_02_15_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355497022","1355496935","1355496874","1355496996","1355496907","1355496969"],"photo_ids_order":["1355496874","1355496907","1355496935","1355496969","1355496996","1355497022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2743e871d680f22dfb9f5d1a42a55a53.jpg","text":"TemporaryFile(/tmp/multipartBody7389361548539124877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221433531,"filename":"image_02052025_22_02_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/5/2/3fe5e9d6fbad9b75be3530f74f857220.jpg","text":"TemporaryFile(/tmp/multipartBody2364372552260359338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221433531,"filename":"image_02052025_22_01_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/5/2/c0a3331a2f9509de87af0bb1ffe9e95d.jpg","text":"TemporaryFile(/tmp/multipartBody190994203228116194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221433531,"filename":"image_02052025_22_01_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/5/2/26c74713688c868cf5e48e495aea45d2.jpg","text":"TemporaryFile(/tmp/multipartBody4496723892695225559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221433531,"filename":"image_02052025_22_02_05_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a0ecfc1f5041db3a026471ce3e7e8f5b.jpg","text":"TemporaryFile(/tmp/multipartBody7294223191330773880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221433531,"filename":"image_02052025_22_01_36_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/38d81e9bcec6c1e4b387ade813991baf.jpg","text":"TemporaryFile(/tmp/multipartBody5323322019614280824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221433531,"filename":"image_02052025_22_01_56_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355496935","file1":"1355496907","file0":"1355496874","file4":"1355496996","file5":"1355497022","file3":"1355496969"},"map_files_photo_id_array":[{"photo_id":"1355497022","filename":"file5"},{"photo_id":"1355496935","filename":"file2"},{"photo_id":"1355496996","filename":"file4"},{"photo_id":"1355496907","filename":"file1"},{"photo_id":"1355496874","filename":"file0"},{"photo_id":"1355496969","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355497022":["hashtag1","hashtag2"]},{"1355496935":["hashtag1","hashtag2"]},{"1355496874":["hashtag1","hashtag2"]},{"1355496996":["hashtag1","hashtag2"]},{"1355496907":["hashtag1","hashtag2"]},{"1355496969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355497022, 1355496935, 1355496874, 1355496996, 1355496907, 1355496969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37016201019287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:30:33.105201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/02/image_02052025_22_02_25_9432.jpg', '/home/pi/Desktop/images/02052025/22/02/image_02052025_22_02_35_10451.jpg', '/home/pi/Desktop/images/02052025/22/02/image_02052025_22_02_46_10359.jpg', '/home/pi/Desktop/images/02052025/22/02/image_02052025_22_02_55_9368.jpg', '/home/pi/Desktop/images/02052025/22/02/image_02052025_22_03_05_10359.jpg', '/home/pi/Desktop/images/02052025/22/03/image_02052025_22_03_16_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/02/image_02052025_22_02_25_9432.jpg
/home/pi/Desktop/images/02052025/22/02/image_02052025_22_02_35_10451.jpg
/home/pi/Desktop/images/02052025/22/02/image_02052025_22_02_46_10359.jpg
/home/pi/Desktop/images/02052025/22/02/image_02052025_22_02_55_9368.jpg
/home/pi/Desktop/images/02052025/22/02/image_02052025_22_03_05_10359.jpg
/home/pi/Desktop/images/02052025/22/03/image_02052025_22_03_16_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355497357","1355497321","1355497440","1355497290","1355497413","1355497387"],"photo_ids_order":["1355497290","1355497321","1355497357","1355497387","1355497413","1355497440"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c68f62775c0fd552265b97bf0ee5f65f.jpg","text":"TemporaryFile(/tmp/multipartBody8876978795545623057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221493671,"filename":"image_02052025_22_02_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/5/2/13ab986bbde4f96da4ec9c0205d62e8a.jpg","text":"TemporaryFile(/tmp/multipartBody8295911134905991424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221493671,"filename":"image_02052025_22_02_35_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/808888a130440c94bdff4290ef47180b.jpg","text":"TemporaryFile(/tmp/multipartBody2636056410229458488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221493671,"filename":"image_02052025_22_03_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/182ba09da4f1c44693a0c8b93dafb758.jpg","text":"TemporaryFile(/tmp/multipartBody183400404784765640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221493671,"filename":"image_02052025_22_02_25_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b3de8eec23ff98b8156ea4eb17f38dee.jpg","text":"TemporaryFile(/tmp/multipartBody8985732471348175423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221493671,"filename":"image_02052025_22_03_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/5/2/1ecdc74a2bbf310f7b0eeb8fc08cec27.jpg","text":"TemporaryFile(/tmp/multipartBody5739710461404027165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221493671,"filename":"image_02052025_22_02_55_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355497357","file1":"1355497321","file0":"1355497290","file4":"1355497413","file5":"1355497440","file3":"1355497387"},"map_files_photo_id_array":[{"photo_id":"1355497440","filename":"file5"},{"photo_id":"1355497357","filename":"file2"},{"photo_id":"1355497413","filename":"file4"},{"photo_id":"1355497321","filename":"file1"},{"photo_id":"1355497290","filename":"file0"},{"photo_id":"1355497387","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355497357":["hashtag1","hashtag2"]},{"1355497321":["hashtag1","hashtag2"]},{"1355497440":["hashtag1","hashtag2"]},{"1355497290":["hashtag1","hashtag2"]},{"1355497413":["hashtag1","hashtag2"]},{"1355497387":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355497357, 1355497321, 1355497440, 1355497290, 1355497413, 1355497387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.600393772125244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:31:32.248023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/03/image_02052025_22_03_25_9452.jpg', '/home/pi/Desktop/images/02052025/22/03/image_02052025_22_03_35_10363.jpg', '/home/pi/Desktop/images/02052025/22/03/image_02052025_22_03_45_9516.jpg', '/home/pi/Desktop/images/02052025/22/03/image_02052025_22_03_55_10369.jpg', '/home/pi/Desktop/images/02052025/22/03/image_02052025_22_04_05_9352.jpg', '/home/pi/Desktop/images/02052025/22/04/image_02052025_22_04_15_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/03/image_02052025_22_03_25_9452.jpg
/home/pi/Desktop/images/02052025/22/03/image_02052025_22_03_35_10363.jpg
/home/pi/Desktop/images/02052025/22/03/image_02052025_22_03_45_9516.jpg
/home/pi/Desktop/images/02052025/22/03/image_02052025_22_03_55_10369.jpg
/home/pi/Desktop/images/02052025/22/03/image_02052025_22_04_05_9352.jpg
/home/pi/Desktop/images/02052025/22/04/image_02052025_22_04_15_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355497807","1355497803","1355497823","1355497826","1355497811","1355497814"],"photo_ids_order":["1355497803","1355497807","1355497811","1355497814","1355497823","1355497826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2b0e1c9d0a45ac423bc255244a67ddb6.jpg","text":"TemporaryFile(/tmp/multipartBody2080580684848561162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221552737,"filename":"image_02052025_22_03_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/5/2/435d918054ebaaaa510f24399e6c4777.jpg","text":"TemporaryFile(/tmp/multipartBody8251948375514463400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221552737,"filename":"image_02052025_22_03_25_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/de2a72f3ff7a51b612812c0633774b67.jpg","text":"TemporaryFile(/tmp/multipartBody8177091296121150678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221552737,"filename":"image_02052025_22_04_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/5/2/14ed3ee8a7224a7026b16c81fe23eb00.jpg","text":"TemporaryFile(/tmp/multipartBody2090050274328925534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221552737,"filename":"image_02052025_22_04_15_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9f7f3bb188fe86a1f21826d8081aab6b.jpg","text":"TemporaryFile(/tmp/multipartBody2271995369858748784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221552737,"filename":"image_02052025_22_03_45_9516.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0875f1e8fd04027b4313fbb5c5717ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3837890219569605387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221552737,"filename":"image_02052025_22_03_55_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355497811","file1":"1355497807","file0":"1355497803","file4":"1355497823","file5":"1355497826","file3":"1355497814"},"map_files_photo_id_array":[{"photo_id":"1355497826","filename":"file5"},{"photo_id":"1355497811","filename":"file2"},{"photo_id":"1355497823","filename":"file4"},{"photo_id":"1355497807","filename":"file1"},{"photo_id":"1355497803","filename":"file0"},{"photo_id":"1355497814","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355497807":["hashtag1","hashtag2"]},{"1355497803":["hashtag1","hashtag2"]},{"1355497823":["hashtag1","hashtag2"]},{"1355497826":["hashtag1","hashtag2"]},{"1355497811":["hashtag1","hashtag2"]},{"1355497814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355497807, 1355497803, 1355497823, 1355497826, 1355497811, 1355497814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38258171081543 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:32:32.372924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/04/image_02052025_22_04_26_10391.jpg', '/home/pi/Desktop/images/02052025/22/04/image_02052025_22_04_35_9363.jpg', '/home/pi/Desktop/images/02052025/22/04/image_02052025_22_04_45_10354.jpg', '/home/pi/Desktop/images/02052025/22/04/image_02052025_22_04_55_9549.jpg', '/home/pi/Desktop/images/02052025/22/04/image_02052025_22_05_05_10358.jpg', '/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_16_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/04/image_02052025_22_04_26_10391.jpg
/home/pi/Desktop/images/02052025/22/04/image_02052025_22_04_35_9363.jpg
/home/pi/Desktop/images/02052025/22/04/image_02052025_22_04_45_10354.jpg
/home/pi/Desktop/images/02052025/22/04/image_02052025_22_04_55_9549.jpg
/home/pi/Desktop/images/02052025/22/04/image_02052025_22_05_05_10358.jpg
/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_16_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355497992","1355497956","1355497878","1355497866","1355497920","1355497886"],"photo_ids_order":["1355497866","1355497878","1355497886","1355497920","1355497956","1355497992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/816c1004b9fdae47f8a0b31be195cbe4.jpg","text":"TemporaryFile(/tmp/multipartBody4866003688392744802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221612850,"filename":"image_02052025_22_05_16_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/53fa2667bdb297c934e8d007ef27267c.jpg","text":"TemporaryFile(/tmp/multipartBody2921122701524927193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221612850,"filename":"image_02052025_22_05_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/5/2/f04d93bb6f8a7b361a2b833399bc1f97.jpg","text":"TemporaryFile(/tmp/multipartBody7723319294301849758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221612850,"filename":"image_02052025_22_04_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/59ec99af8bb3e032d7100272d4682f14.jpg","text":"TemporaryFile(/tmp/multipartBody3805234779424599116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221612850,"filename":"image_02052025_22_04_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/5/2/96f9ff5ed3f449868684b9ccf6a2f54d.jpg","text":"TemporaryFile(/tmp/multipartBody3461362020061901031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221612850,"filename":"image_02052025_22_04_55_9549.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c123108dbb1381eba2f201d2addaa89b.jpg","text":"TemporaryFile(/tmp/multipartBody1196999620139770055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221612850,"filename":"image_02052025_22_04_45_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355497886","file1":"1355497878","file0":"1355497866","file4":"1355497956","file5":"1355497992","file3":"1355497920"},"map_files_photo_id_array":[{"photo_id":"1355497992","filename":"file5"},{"photo_id":"1355497886","filename":"file2"},{"photo_id":"1355497956","filename":"file4"},{"photo_id":"1355497878","filename":"file1"},{"photo_id":"1355497866","filename":"file0"},{"photo_id":"1355497920","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355497992":["hashtag1","hashtag2"]},{"1355497956":["hashtag1","hashtag2"]},{"1355497878":["hashtag1","hashtag2"]},{"1355497866":["hashtag1","hashtag2"]},{"1355497920":["hashtag1","hashtag2"]},{"1355497886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355497992, 1355497956, 1355497878, 1355497866, 1355497920, 1355497886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.22253680229187 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:33:32.498840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_25_9356.jpg', '/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_35_10370.jpg', '/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_45_9347.jpg', '/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_55_10365.jpg', '/home/pi/Desktop/images/02052025/22/05/image_02052025_22_06_05_10355.jpg', '/home/pi/Desktop/images/02052025/22/06/image_02052025_22_06_15_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_25_9356.jpg
/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_35_10370.jpg
/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_45_9347.jpg
/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_55_10365.jpg
/home/pi/Desktop/images/02052025/22/05/image_02052025_22_06_05_10355.jpg
/home/pi/Desktop/images/02052025/22/06/image_02052025_22_06_15_9439.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39437174797058105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 23:33:42.491094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_25_9356.jpg', '/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_35_10370.jpg', '/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_45_9347.jpg', '/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_55_10365.jpg', '/home/pi/Desktop/images/02052025/22/05/image_02052025_22_06_05_10355.jpg', '/home/pi/Desktop/images/02052025/22/06/image_02052025_22_06_15_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_25_9356.jpg
/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_35_10370.jpg
/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_45_9347.jpg
/home/pi/Desktop/images/02052025/22/05/image_02052025_22_05_55_10365.jpg
/home/pi/Desktop/images/02052025/22/05/image_02052025_22_06_05_10355.jpg
/home/pi/Desktop/images/02052025/22/06/image_02052025_22_06_15_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355499075","1355498973","1355498919","1355499026","1355499140","1355498849"],"photo_ids_order":["1355498849","1355498919","1355498973","1355499026","1355499075","1355499140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f7f1171c7550ee44d24416bbb3b61ff5.jpg","text":"TemporaryFile(/tmp/multipartBody2092855851252989306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221682969,"filename":"image_02052025_22_06_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f63d401a27db07227c3c88b4819e6330.jpg","text":"TemporaryFile(/tmp/multipartBody8148985727169933388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221682969,"filename":"image_02052025_22_05_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/5/2/5c86adfbaf663ca699eec1989e5f20ab.jpg","text":"TemporaryFile(/tmp/multipartBody3437149765336891168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221682969,"filename":"image_02052025_22_05_35_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8546a83eb1474a4c6f0e1e9cc3ebdcad.jpg","text":"TemporaryFile(/tmp/multipartBody8605903253202641144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221682969,"filename":"image_02052025_22_05_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/5/2/d80a93460a6f477c860099ab86558499.jpg","text":"TemporaryFile(/tmp/multipartBody2960980630532050812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221682969,"filename":"image_02052025_22_06_15_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/547812cdfed049af4b176903cbe10431.jpg","text":"TemporaryFile(/tmp/multipartBody3460643701907440383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221682969,"filename":"image_02052025_22_05_25_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355498973","file1":"1355498919","file0":"1355498849","file4":"1355499075","file5":"1355499140","file3":"1355499026"},"map_files_photo_id_array":[{"photo_id":"1355499140","filename":"file5"},{"photo_id":"1355498973","filename":"file2"},{"photo_id":"1355499075","filename":"file4"},{"photo_id":"1355498919","filename":"file1"},{"photo_id":"1355498849","filename":"file0"},{"photo_id":"1355499026","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355499075":["hashtag1","hashtag2"]},{"1355498973":["hashtag1","hashtag2"]},{"1355498919":["hashtag1","hashtag2"]},{"1355499026":["hashtag1","hashtag2"]},{"1355499140":["hashtag1","hashtag2"]},{"1355498849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355499075, 1355498973, 1355498919, 1355499026, 1355499140, 1355498849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.710172653198242 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:34:32.644625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/06/image_02052025_22_06_25_10443.jpg', '/home/pi/Desktop/images/02052025/22/06/image_02052025_22_06_35_9369.jpg', '/home/pi/Desktop/images/02052025/22/06/image_02052025_22_06_55_10363.jpg', '/home/pi/Desktop/images/02052025/22/06/image_02052025_22_07_05_9393.jpg', '/home/pi/Desktop/images/02052025/22/07/image_02052025_22_07_15_10366.jpg', '/home/pi/Desktop/images/02052025/22/07/image_02052025_22_07_26_10487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/06/image_02052025_22_06_25_10443.jpg
/home/pi/Desktop/images/02052025/22/06/image_02052025_22_06_35_9369.jpg
/home/pi/Desktop/images/02052025/22/06/image_02052025_22_06_55_10363.jpg
/home/pi/Desktop/images/02052025/22/06/image_02052025_22_07_05_9393.jpg
/home/pi/Desktop/images/02052025/22/07/image_02052025_22_07_15_10366.jpg
/home/pi/Desktop/images/02052025/22/07/image_02052025_22_07_26_10487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355500227","1355500253","1355500294","1355500395","1355500452","1355500347"],"photo_ids_order":["1355500227","1355500253","1355500294","1355500347","1355500395","1355500452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/569003e9775a3a0ca6d73586c92b2923.jpg","text":"TemporaryFile(/tmp/multipartBody2244391414143342244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221733110,"filename":"image_02052025_22_06_25_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b8c703059b803aeefebf0f5bd677b33c.jpg","text":"TemporaryFile(/tmp/multipartBody2944629553520369775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221733110,"filename":"image_02052025_22_06_35_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0dc5498a0f83d22075ca590faa1da1db.jpg","text":"TemporaryFile(/tmp/multipartBody6786995954935113613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221733110,"filename":"image_02052025_22_06_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/5/2/4eeed33860c5cb290591ba553b9f91cc.jpg","text":"TemporaryFile(/tmp/multipartBody135215916678124911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221733110,"filename":"image_02052025_22_07_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/5/2/7f5c3c9a797ff885f2d1d57e11639450.jpg","text":"TemporaryFile(/tmp/multipartBody5316357098043280966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221733110,"filename":"image_02052025_22_07_26_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/1b47f24f3a1f0814d0df93350b6020f2.jpg","text":"TemporaryFile(/tmp/multipartBody5872203395127687678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221733110,"filename":"image_02052025_22_07_05_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355500294","file1":"1355500253","file0":"1355500227","file4":"1355500395","file5":"1355500452","file3":"1355500347"},"map_files_photo_id_array":[{"photo_id":"1355500452","filename":"file5"},{"photo_id":"1355500294","filename":"file2"},{"photo_id":"1355500395","filename":"file4"},{"photo_id":"1355500253","filename":"file1"},{"photo_id":"1355500227","filename":"file0"},{"photo_id":"1355500347","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355500227":["hashtag1","hashtag2"]},{"1355500253":["hashtag1","hashtag2"]},{"1355500294":["hashtag1","hashtag2"]},{"1355500395":["hashtag1","hashtag2"]},{"1355500452":["hashtag1","hashtag2"]},{"1355500347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355500227, 1355500253, 1355500294, 1355500395, 1355500452, 1355500347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.14500856399536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:35:32.968657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/07/image_02052025_22_07_35_9382.jpg', '/home/pi/Desktop/images/02052025/22/07/image_02052025_22_07_45_10357.jpg', '/home/pi/Desktop/images/02052025/22/07/image_02052025_22_07_55_9519.jpg', '/home/pi/Desktop/images/02052025/22/07/image_02052025_22_08_05_10398.jpg', '/home/pi/Desktop/images/02052025/22/08/image_02052025_22_08_16_10355.jpg', '/home/pi/Desktop/images/02052025/22/08/image_02052025_22_08_25_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/07/image_02052025_22_07_35_9382.jpg
/home/pi/Desktop/images/02052025/22/07/image_02052025_22_07_45_10357.jpg
/home/pi/Desktop/images/02052025/22/07/image_02052025_22_07_55_9519.jpg
/home/pi/Desktop/images/02052025/22/07/image_02052025_22_08_05_10398.jpg
/home/pi/Desktop/images/02052025/22/08/image_02052025_22_08_16_10355.jpg
/home/pi/Desktop/images/02052025/22/08/image_02052025_22_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":["1355500955","1355500949","1355500978","1355500989","1355500944","1355500988"],"photo_ids_order":["1355500944","1355500949","1355500955","1355500978","1355500988","1355500989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9d5c5468c15d96f9d188c12e2f9854dc.jpg","text":"TemporaryFile(/tmp/multipartBody326598820529041988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221793441,"filename":"image_02052025_22_07_55_9519.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5c02a34d5d966a414b49aff40e1efbda.jpg","text":"TemporaryFile(/tmp/multipartBody7571954686761622598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221793441,"filename":"image_02052025_22_07_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/750655065e305ec24d25dd76d061ad68.jpg","text":"TemporaryFile(/tmp/multipartBody7471651982393795403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221793441,"filename":"image_02052025_22_08_05_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8f3283c6296743c47a67aa95abd9c2a0.jpg","text":"TemporaryFile(/tmp/multipartBody4080320899138733556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221793441,"filename":"image_02052025_22_08_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/5/2/546d2f9526b0ece5757798c56ccf7810.jpg","text":"TemporaryFile(/tmp/multipartBody633953406473764541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221793441,"filename":"image_02052025_22_07_35_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/688c90d1e3971d315b2bf8aee4af479e.jpg","text":"TemporaryFile(/tmp/multipartBody8839084371727889075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221793441,"filename":"image_02052025_22_08_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355500955","file1":"1355500949","file0":"1355500944","file4":"1355500988","file5":"1355500989","file3":"1355500978"},"map_files_photo_id_array":[{"photo_id":"1355500989","filename":"file5"},{"photo_id":"1355500955","filename":"file2"},{"photo_id":"1355500988","filename":"file4"},{"photo_id":"1355500949","filename":"file1"},{"photo_id":"1355500944","filename":"file0"},{"photo_id":"1355500978","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355500955":["hashtag1","hashtag2"]},{"1355500949":["hashtag1","hashtag2"]},{"1355500978":["hashtag1","hashtag2"]},{"1355500989":["hashtag1","hashtag2"]},{"1355500944":["hashtag1","hashtag2"]},{"1355500988":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355500955, 1355500949, 1355500978, 1355500989, 1355500944, 1355500988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09681820869446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:36:32.977348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/08/image_02052025_22_08_36_10430.jpg', '/home/pi/Desktop/images/02052025/22/08/image_02052025_22_08_45_9359.jpg', '/home/pi/Desktop/images/02052025/22/08/image_02052025_22_08_55_10377.jpg', '/home/pi/Desktop/images/02052025/22/08/image_02052025_22_09_06_10349.jpg', '/home/pi/Desktop/images/02052025/22/09/image_02052025_22_09_15_9420.jpg', '/home/pi/Desktop/images/02052025/22/09/image_02052025_22_09_25_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/08/image_02052025_22_08_36_10430.jpg
/home/pi/Desktop/images/02052025/22/08/image_02052025_22_08_45_9359.jpg
/home/pi/Desktop/images/02052025/22/08/image_02052025_22_08_55_10377.jpg
/home/pi/Desktop/images/02052025/22/08/image_02052025_22_09_06_10349.jpg
/home/pi/Desktop/images/02052025/22/09/image_02052025_22_09_15_9420.jpg
/home/pi/Desktop/images/02052025/22/09/image_02052025_22_09_25_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":["1355501339","1355501210","1355501296","1355501238","1355501172","1355501267"],"photo_ids_order":["1355501172","1355501210","1355501238","1355501267","1355501296","1355501339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2fac66033ce00a5b7a965ecfca692250.jpg","text":"TemporaryFile(/tmp/multipartBody5513297513949537670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221853442,"filename":"image_02052025_22_09_25_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2ae84aba1de8584f453bf5b08cd98756.jpg","text":"TemporaryFile(/tmp/multipartBody2886888085000166449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221853442,"filename":"image_02052025_22_08_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/5/2/095c047f0cee7d7e908ce0102039dc85.jpg","text":"TemporaryFile(/tmp/multipartBody7223326124572742420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221853442,"filename":"image_02052025_22_09_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/5/2/e45e28dd6bb426367fb8a71f3602ad6b.jpg","text":"TemporaryFile(/tmp/multipartBody6763913265140065509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221853442,"filename":"image_02052025_22_08_55_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6178fbf54aa41541dc026178c55b6cbc.jpg","text":"TemporaryFile(/tmp/multipartBody1033808651421297203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221853442,"filename":"image_02052025_22_08_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/5/2/35f7602ff5016aec83e738da39cd0efe.jpg","text":"TemporaryFile(/tmp/multipartBody317036992040893855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221853442,"filename":"image_02052025_22_09_06_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501238","file1":"1355501210","file0":"1355501172","file4":"1355501296","file5":"1355501339","file3":"1355501267"},"map_files_photo_id_array":[{"photo_id":"1355501339","filename":"file5"},{"photo_id":"1355501238","filename":"file2"},{"photo_id":"1355501296","filename":"file4"},{"photo_id":"1355501210","filename":"file1"},{"photo_id":"1355501172","filename":"file0"},{"photo_id":"1355501267","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501339":["hashtag1","hashtag2"]},{"1355501210":["hashtag1","hashtag2"]},{"1355501296":["hashtag1","hashtag2"]},{"1355501238":["hashtag1","hashtag2"]},{"1355501172":["hashtag1","hashtag2"]},{"1355501267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501339, 1355501210, 1355501296, 1355501238, 1355501172, 1355501267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.796820402145386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:37:33.128488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/09/image_02052025_22_09_35_9474.jpg', '/home/pi/Desktop/images/02052025/22/09/image_02052025_22_09_45_10471.jpg', '/home/pi/Desktop/images/02052025/22/09/image_02052025_22_09_55_9416.jpg', '/home/pi/Desktop/images/02052025/22/09/image_02052025_22_10_05_10360.jpg', '/home/pi/Desktop/images/02052025/22/10/image_02052025_22_10_16_10439.jpg', '/home/pi/Desktop/images/02052025/22/10/image_02052025_22_10_25_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/09/image_02052025_22_09_35_9474.jpg
/home/pi/Desktop/images/02052025/22/09/image_02052025_22_09_45_10471.jpg
/home/pi/Desktop/images/02052025/22/09/image_02052025_22_09_55_9416.jpg
/home/pi/Desktop/images/02052025/22/09/image_02052025_22_10_05_10360.jpg
/home/pi/Desktop/images/02052025/22/10/image_02052025_22_10_16_10439.jpg
/home/pi/Desktop/images/02052025/22/10/image_02052025_22_10_25_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":["1355501584","1355501563","1355501602","1355501454","1355501610","1355501564"],"photo_ids_order":["1355501454","1355501563","1355501564","1355501584","1355501602","1355501610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/37f84e74d5e0c78b198b3a6dc61b3bc2.jpg","text":"TemporaryFile(/tmp/multipartBody87074805730781558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221913605,"filename":"image_02052025_22_10_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/5/2/d89b889bf35fea5a8f498a413d2db01d.jpg","text":"TemporaryFile(/tmp/multipartBody160566215803184345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221913605,"filename":"image_02052025_22_09_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/5/2/85f46a3027856d40a5dc59e86718a3c1.jpg","text":"TemporaryFile(/tmp/multipartBody7485757663312610310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221913605,"filename":"image_02052025_22_10_16_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b1b53c67d66c69a58891f77c5fa76317.jpg","text":"TemporaryFile(/tmp/multipartBody1039171444551069699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221913605,"filename":"image_02052025_22_09_35_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a91bf794982f9eb602b1116c0c8332cd.jpg","text":"TemporaryFile(/tmp/multipartBody1459226777470184847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221913605,"filename":"image_02052025_22_10_25_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dc2383e9291fb12bea7c20c1abc2acfe.jpg","text":"TemporaryFile(/tmp/multipartBody3636047909147835583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221913605,"filename":"image_02052025_22_09_55_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501564","file1":"1355501563","file0":"1355501454","file4":"1355501602","file5":"1355501610","file3":"1355501584"},"map_files_photo_id_array":[{"photo_id":"1355501610","filename":"file5"},{"photo_id":"1355501564","filename":"file2"},{"photo_id":"1355501602","filename":"file4"},{"photo_id":"1355501563","filename":"file1"},{"photo_id":"1355501454","filename":"file0"},{"photo_id":"1355501584","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501584":["hashtag1","hashtag2"]},{"1355501563":["hashtag1","hashtag2"]},{"1355501602":["hashtag1","hashtag2"]},{"1355501454":["hashtag1","hashtag2"]},{"1355501610":["hashtag1","hashtag2"]},{"1355501564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501584, 1355501563, 1355501602, 1355501454, 1355501610, 1355501564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.902252197265625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:38:32.272020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/10/image_02052025_22_10_35_10365.jpg', '/home/pi/Desktop/images/02052025/22/10/image_02052025_22_10_55_10387.jpg', '/home/pi/Desktop/images/02052025/22/10/image_02052025_22_11_06_10354.jpg', '/home/pi/Desktop/images/02052025/22/11/image_02052025_22_11_15_9456.jpg', '/home/pi/Desktop/images/02052025/22/11/image_02052025_22_11_25_10432.jpg', '/home/pi/Desktop/images/02052025/22/11/image_02052025_22_11_35_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/10/image_02052025_22_10_35_10365.jpg
/home/pi/Desktop/images/02052025/22/10/image_02052025_22_10_55_10387.jpg
/home/pi/Desktop/images/02052025/22/10/image_02052025_22_11_06_10354.jpg
/home/pi/Desktop/images/02052025/22/11/image_02052025_22_11_15_9456.jpg
/home/pi/Desktop/images/02052025/22/11/image_02052025_22_11_25_10432.jpg
/home/pi/Desktop/images/02052025/22/11/image_02052025_22_11_35_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355501633","1355501630","1355501632","1355501626","1355501622","1355501631"],"photo_ids_order":["1355501622","1355501626","1355501630","1355501631","1355501632","1355501633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d28b587746401eb0981da1e0bd3c7849.jpg","text":"TemporaryFile(/tmp/multipartBody358077552453645295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221972744,"filename":"image_02052025_22_11_35_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/8c9cf8a33c45b9c6e132792f2cd81846.jpg","text":"TemporaryFile(/tmp/multipartBody6678761260354648740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221972744,"filename":"image_02052025_22_11_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/5/2/a0a0b764aba6f44f44afb812f4a41541.jpg","text":"TemporaryFile(/tmp/multipartBody1713594677730851100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221972744,"filename":"image_02052025_22_11_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ca39480ecd9e2c910adfd7d5e44c143d.jpg","text":"TemporaryFile(/tmp/multipartBody8326677139650511786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221972744,"filename":"image_02052025_22_10_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/5/2/a37e9079ccaff66720cbe49992452f57.jpg","text":"TemporaryFile(/tmp/multipartBody8844768040470754829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221972744,"filename":"image_02052025_22_10_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/52b0f8a6cee6ec770462c9a15ca35d99.jpg","text":"TemporaryFile(/tmp/multipartBody4835631784259905585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746221972744,"filename":"image_02052025_22_11_15_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501630","file1":"1355501626","file0":"1355501622","file4":"1355501632","file5":"1355501633","file3":"1355501631"},"map_files_photo_id_array":[{"photo_id":"1355501633","filename":"file5"},{"photo_id":"1355501630","filename":"file2"},{"photo_id":"1355501632","filename":"file4"},{"photo_id":"1355501626","filename":"file1"},{"photo_id":"1355501622","filename":"file0"},{"photo_id":"1355501631","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501633":["hashtag1","hashtag2"]},{"1355501630":["hashtag1","hashtag2"]},{"1355501632":["hashtag1","hashtag2"]},{"1355501626":["hashtag1","hashtag2"]},{"1355501622":["hashtag1","hashtag2"]},{"1355501631":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501633, 1355501630, 1355501632, 1355501626, 1355501622, 1355501631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.279579877853394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:39:32.602740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/11/image_02052025_22_11_45_10440.jpg', '/home/pi/Desktop/images/02052025/22/11/image_02052025_22_11_55_9371.jpg', '/home/pi/Desktop/images/02052025/22/11/image_02052025_22_12_05_10414.jpg', '/home/pi/Desktop/images/02052025/22/12/image_02052025_22_12_15_10350.jpg', '/home/pi/Desktop/images/02052025/22/12/image_02052025_22_12_25_9465.jpg', '/home/pi/Desktop/images/02052025/22/12/image_02052025_22_12_35_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/11/image_02052025_22_11_45_10440.jpg
/home/pi/Desktop/images/02052025/22/11/image_02052025_22_11_55_9371.jpg
/home/pi/Desktop/images/02052025/22/11/image_02052025_22_12_05_10414.jpg
/home/pi/Desktop/images/02052025/22/12/image_02052025_22_12_15_10350.jpg
/home/pi/Desktop/images/02052025/22/12/image_02052025_22_12_25_9465.jpg
/home/pi/Desktop/images/02052025/22/12/image_02052025_22_12_35_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355501660","1355501656","1355501659","1355501650","1355501653","1355501658"],"photo_ids_order":["1355501650","1355501653","1355501656","1355501658","1355501659","1355501660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9e2c18d46a681a0fc9916b4e8002af2c.jpg","text":"TemporaryFile(/tmp/multipartBody8411942424220136523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222033073,"filename":"image_02052025_22_12_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/5/2/1c6d552886e8dabfa067e39db5e73c57.jpg","text":"TemporaryFile(/tmp/multipartBody2377069927612170069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222033073,"filename":"image_02052025_22_12_05_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/be252181e7507be7ff33f76c47163605.jpg","text":"TemporaryFile(/tmp/multipartBody6015687753026023750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222033073,"filename":"image_02052025_22_12_25_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eac374ff159aa85d5e3406b10236522f.jpg","text":"TemporaryFile(/tmp/multipartBody8241587560084806032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222033073,"filename":"image_02052025_22_11_45_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bee30fb7ea8b22ade9fcea50ca12b4b6.jpg","text":"TemporaryFile(/tmp/multipartBody110561311336960897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222033073,"filename":"image_02052025_22_11_55_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2c3b3d4bb40b996250ed2b010beab216.jpg","text":"TemporaryFile(/tmp/multipartBody311449105531461972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222033073,"filename":"image_02052025_22_12_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501656","file1":"1355501653","file0":"1355501650","file4":"1355501659","file5":"1355501660","file3":"1355501658"},"map_files_photo_id_array":[{"photo_id":"1355501660","filename":"file5"},{"photo_id":"1355501656","filename":"file2"},{"photo_id":"1355501659","filename":"file4"},{"photo_id":"1355501653","filename":"file1"},{"photo_id":"1355501650","filename":"file0"},{"photo_id":"1355501658","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501660":["hashtag1","hashtag2"]},{"1355501656":["hashtag1","hashtag2"]},{"1355501659":["hashtag1","hashtag2"]},{"1355501650":["hashtag1","hashtag2"]},{"1355501653":["hashtag1","hashtag2"]},{"1355501658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501660, 1355501656, 1355501659, 1355501650, 1355501653, 1355501658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.87244439125061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:40:32.597633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/12/image_02052025_22_12_55_9475.jpg', '/home/pi/Desktop/images/02052025/22/12/image_02052025_22_13_05_10355.jpg', '/home/pi/Desktop/images/02052025/22/13/image_02052025_22_13_15_9399.jpg', '/home/pi/Desktop/images/02052025/22/13/image_02052025_22_13_25_10374.jpg', '/home/pi/Desktop/images/02052025/22/13/image_02052025_22_13_36_10380.jpg', '/home/pi/Desktop/images/02052025/22/13/image_02052025_22_13_45_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/12/image_02052025_22_12_55_9475.jpg
/home/pi/Desktop/images/02052025/22/12/image_02052025_22_13_05_10355.jpg
/home/pi/Desktop/images/02052025/22/13/image_02052025_22_13_15_9399.jpg
/home/pi/Desktop/images/02052025/22/13/image_02052025_22_13_25_10374.jpg
/home/pi/Desktop/images/02052025/22/13/image_02052025_22_13_36_10380.jpg
/home/pi/Desktop/images/02052025/22/13/image_02052025_22_13_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":["1355501692","1355501695","1355501685","1355501694","1355501696","1355501687"],"photo_ids_order":["1355501685","1355501687","1355501692","1355501694","1355501695","1355501696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d00140f0fbb905c80362d244e9023c6.jpg","text":"TemporaryFile(/tmp/multipartBody697527532880471051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222093103,"filename":"image_02052025_22_13_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/5/2/56cf72f4e040be7bfe387ac43af1f80a.jpg","text":"TemporaryFile(/tmp/multipartBody4742141581989807336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222093103,"filename":"image_02052025_22_13_36_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5fd01e02d0cd9a5c32277dfc0365ca66.jpg","text":"TemporaryFile(/tmp/multipartBody216287897878704046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222093103,"filename":"image_02052025_22_12_55_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4494d2802902c3f6a14081b590897fb7.jpg","text":"TemporaryFile(/tmp/multipartBody2132583557737373120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222093103,"filename":"image_02052025_22_13_25_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2a7c3bd0f81e06abf84ae6bfd4ada6d5.jpg","text":"TemporaryFile(/tmp/multipartBody7510661239203140238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222093103,"filename":"image_02052025_22_13_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/5/2/9f7080cae921b6819e6c00963851e1bb.jpg","text":"TemporaryFile(/tmp/multipartBody9082163261080925031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222093103,"filename":"image_02052025_22_13_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501692","file1":"1355501687","file0":"1355501685","file4":"1355501695","file5":"1355501696","file3":"1355501694"},"map_files_photo_id_array":[{"photo_id":"1355501696","filename":"file5"},{"photo_id":"1355501692","filename":"file2"},{"photo_id":"1355501695","filename":"file4"},{"photo_id":"1355501687","filename":"file1"},{"photo_id":"1355501685","filename":"file0"},{"photo_id":"1355501694","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501692":["hashtag1","hashtag2"]},{"1355501695":["hashtag1","hashtag2"]},{"1355501685":["hashtag1","hashtag2"]},{"1355501694":["hashtag1","hashtag2"]},{"1355501696":["hashtag1","hashtag2"]},{"1355501687":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501692, 1355501695, 1355501685, 1355501694, 1355501696, 1355501687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.911389589309692 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:41:32.800018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/13/image_02052025_22_13_55_10384.jpg', '/home/pi/Desktop/images/02052025/22/13/image_02052025_22_14_05_9348.jpg', '/home/pi/Desktop/images/02052025/22/14/image_02052025_22_14_15_10333.jpg', '/home/pi/Desktop/images/02052025/22/14/image_02052025_22_14_25_10364.jpg', '/home/pi/Desktop/images/02052025/22/14/image_02052025_22_14_35_9502.jpg', '/home/pi/Desktop/images/02052025/22/14/image_02052025_22_14_45_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/13/image_02052025_22_13_55_10384.jpg
/home/pi/Desktop/images/02052025/22/13/image_02052025_22_14_05_9348.jpg
/home/pi/Desktop/images/02052025/22/14/image_02052025_22_14_15_10333.jpg
/home/pi/Desktop/images/02052025/22/14/image_02052025_22_14_25_10364.jpg
/home/pi/Desktop/images/02052025/22/14/image_02052025_22_14_35_9502.jpg
/home/pi/Desktop/images/02052025/22/14/image_02052025_22_14_45_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355501729","1355501720","1355501731","1355501725","1355501734","1355501733"],"photo_ids_order":["1355501720","1355501725","1355501729","1355501731","1355501733","1355501734"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/87e67e6d07d37909bd3bc9ff4387d98c.jpg","text":"TemporaryFile(/tmp/multipartBody1435820455429731146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222153284,"filename":"image_02052025_22_14_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/5/2/1088e37adb478c63b4dfee4440ace08c.jpg","text":"TemporaryFile(/tmp/multipartBody6614231308029359890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222153284,"filename":"image_02052025_22_13_55_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b9dbc6dc89449abde391a9cf19a7e729.jpg","text":"TemporaryFile(/tmp/multipartBody4729517890724416206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222153284,"filename":"image_02052025_22_14_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/5/2/7f595f8c4608cba4e35b4b082539e54e.jpg","text":"TemporaryFile(/tmp/multipartBody8708896980410205667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222153284,"filename":"image_02052025_22_14_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/5/2/9c269a23c5bb99061f5a6ba06a9a3956.jpg","text":"TemporaryFile(/tmp/multipartBody8975808998427620565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222153284,"filename":"image_02052025_22_14_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/5/2/08a3c6dbca8b5ef227b6ba59ea5c64e0.jpg","text":"TemporaryFile(/tmp/multipartBody7354036877693248662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222153284,"filename":"image_02052025_22_14_35_9502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501729","file1":"1355501725","file0":"1355501720","file4":"1355501733","file5":"1355501734","file3":"1355501731"},"map_files_photo_id_array":[{"photo_id":"1355501734","filename":"file5"},{"photo_id":"1355501729","filename":"file2"},{"photo_id":"1355501733","filename":"file4"},{"photo_id":"1355501725","filename":"file1"},{"photo_id":"1355501720","filename":"file0"},{"photo_id":"1355501731","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501729":["hashtag1","hashtag2"]},{"1355501720":["hashtag1","hashtag2"]},{"1355501731":["hashtag1","hashtag2"]},{"1355501725":["hashtag1","hashtag2"]},{"1355501734":["hashtag1","hashtag2"]},{"1355501733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501729, 1355501720, 1355501731, 1355501725, 1355501734, 1355501733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.570998430252075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:42:32.997047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/14/image_02052025_22_14_55_9430.jpg', '/home/pi/Desktop/images/02052025/22/14/image_02052025_22_15_05_10380.jpg', '/home/pi/Desktop/images/02052025/22/15/image_02052025_22_15_15_10366.jpg', '/home/pi/Desktop/images/02052025/22/15/image_02052025_22_15_25_9405.jpg', '/home/pi/Desktop/images/02052025/22/15/image_02052025_22_15_35_10371.jpg', '/home/pi/Desktop/images/02052025/22/15/image_02052025_22_15_45_9460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/14/image_02052025_22_14_55_9430.jpg
/home/pi/Desktop/images/02052025/22/14/image_02052025_22_15_05_10380.jpg
/home/pi/Desktop/images/02052025/22/15/image_02052025_22_15_15_10366.jpg
/home/pi/Desktop/images/02052025/22/15/image_02052025_22_15_25_9405.jpg
/home/pi/Desktop/images/02052025/22/15/image_02052025_22_15_35_10371.jpg
/home/pi/Desktop/images/02052025/22/15/image_02052025_22_15_45_9460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355501776","1355501772","1355501775","1355501769","1355501760","1355501765"],"photo_ids_order":["1355501760","1355501765","1355501769","1355501772","1355501775","1355501776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7d9e9a1373541577192c76f4a4a3a898.jpg","text":"TemporaryFile(/tmp/multipartBody6888416482606374423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222213466,"filename":"image_02052025_22_15_45_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/874ae5ffd83ad85ed3830bc747c91e1b.jpg","text":"TemporaryFile(/tmp/multipartBody8872735034234491271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222213466,"filename":"image_02052025_22_15_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/5/2/f2e9e3ed830a6fda5c04e9f621d53fd4.jpg","text":"TemporaryFile(/tmp/multipartBody7152612509546232711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222213466,"filename":"image_02052025_22_15_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/5/2/bc937b9e277eaf0d8d27d48454001d31.jpg","text":"TemporaryFile(/tmp/multipartBody4273809288435168881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222213466,"filename":"image_02052025_22_15_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/5/2/1941e4035e51b24680cc67bc5ee8128d.jpg","text":"TemporaryFile(/tmp/multipartBody7710290605208905151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222213466,"filename":"image_02052025_22_14_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/5/2/b4cac215e9a4fa20c75847ad19a9a182.jpg","text":"TemporaryFile(/tmp/multipartBody4581139007616242837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222213466,"filename":"image_02052025_22_15_05_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501769","file1":"1355501765","file0":"1355501760","file4":"1355501775","file5":"1355501776","file3":"1355501772"},"map_files_photo_id_array":[{"photo_id":"1355501776","filename":"file5"},{"photo_id":"1355501769","filename":"file2"},{"photo_id":"1355501775","filename":"file4"},{"photo_id":"1355501765","filename":"file1"},{"photo_id":"1355501760","filename":"file0"},{"photo_id":"1355501772","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501776":["hashtag1","hashtag2"]},{"1355501772":["hashtag1","hashtag2"]},{"1355501775":["hashtag1","hashtag2"]},{"1355501769":["hashtag1","hashtag2"]},{"1355501760":["hashtag1","hashtag2"]},{"1355501765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501776, 1355501772, 1355501775, 1355501769, 1355501760, 1355501765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.67829179763794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:43:32.336414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/15/image_02052025_22_15_55_10429.jpg', '/home/pi/Desktop/images/02052025/22/15/image_02052025_22_16_06_10380.jpg', '/home/pi/Desktop/images/02052025/22/16/image_02052025_22_16_15_9425.jpg', '/home/pi/Desktop/images/02052025/22/16/image_02052025_22_16_25_10420.jpg', '/home/pi/Desktop/images/02052025/22/16/image_02052025_22_16_45_10415.jpg', '/home/pi/Desktop/images/02052025/22/16/image_02052025_22_16_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/15/image_02052025_22_15_55_10429.jpg
/home/pi/Desktop/images/02052025/22/15/image_02052025_22_16_06_10380.jpg
/home/pi/Desktop/images/02052025/22/16/image_02052025_22_16_15_9425.jpg
/home/pi/Desktop/images/02052025/22/16/image_02052025_22_16_25_10420.jpg
/home/pi/Desktop/images/02052025/22/16/image_02052025_22_16_45_10415.jpg
/home/pi/Desktop/images/02052025/22/16/image_02052025_22_16_55_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355501810","1355501813","1355501807","1355501804","1355501812","1355501802"],"photo_ids_order":["1355501802","1355501804","1355501807","1355501810","1355501812","1355501813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6c6a665cfddf66a159a242d5edf34a42.jpg","text":"TemporaryFile(/tmp/multipartBody2280312176921886842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222272805,"filename":"image_02052025_22_16_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/5/2/e243e4023624c8216b7075d64579773a.jpg","text":"TemporaryFile(/tmp/multipartBody1370546083592773202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222272805,"filename":"image_02052025_22_16_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/5/2/429e78170a04f73d10bda0294ee397c5.jpg","text":"TemporaryFile(/tmp/multipartBody8881932505839628821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222272805,"filename":"image_02052025_22_16_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/5/2/1e22dec742c40d7f479297ba8296f912.jpg","text":"TemporaryFile(/tmp/multipartBody6829818778329270466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222272805,"filename":"image_02052025_22_16_06_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f0c0dd15e98da4ad7b382cead1cd2f5.jpg","text":"TemporaryFile(/tmp/multipartBody5645026081849362332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222272805,"filename":"image_02052025_22_16_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/5/2/3c25a886b8f0c217a3030f4de4cbcb48.jpg","text":"TemporaryFile(/tmp/multipartBody418978030663435005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222272805,"filename":"image_02052025_22_15_55_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501807","file1":"1355501804","file0":"1355501802","file4":"1355501812","file5":"1355501813","file3":"1355501810"},"map_files_photo_id_array":[{"photo_id":"1355501813","filename":"file5"},{"photo_id":"1355501807","filename":"file2"},{"photo_id":"1355501812","filename":"file4"},{"photo_id":"1355501804","filename":"file1"},{"photo_id":"1355501802","filename":"file0"},{"photo_id":"1355501810","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501810":["hashtag1","hashtag2"]},{"1355501813":["hashtag1","hashtag2"]},{"1355501807":["hashtag1","hashtag2"]},{"1355501804":["hashtag1","hashtag2"]},{"1355501812":["hashtag1","hashtag2"]},{"1355501802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501810, 1355501813, 1355501807, 1355501804, 1355501812, 1355501802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43098497390747 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:44:32.366846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/16/image_02052025_22_17_05_9429.jpg', '/home/pi/Desktop/images/02052025/22/17/image_02052025_22_17_15_10353.jpg', '/home/pi/Desktop/images/02052025/22/17/image_02052025_22_17_26_10369.jpg', '/home/pi/Desktop/images/02052025/22/17/image_02052025_22_17_35_9434.jpg', '/home/pi/Desktop/images/02052025/22/17/image_02052025_22_17_45_10389.jpg', '/home/pi/Desktop/images/02052025/22/17/image_02052025_22_17_55_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/16/image_02052025_22_17_05_9429.jpg
/home/pi/Desktop/images/02052025/22/17/image_02052025_22_17_15_10353.jpg
/home/pi/Desktop/images/02052025/22/17/image_02052025_22_17_26_10369.jpg
/home/pi/Desktop/images/02052025/22/17/image_02052025_22_17_35_9434.jpg
/home/pi/Desktop/images/02052025/22/17/image_02052025_22_17_45_10389.jpg
/home/pi/Desktop/images/02052025/22/17/image_02052025_22_17_55_9467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355501872","1355501848","1355501851","1355501873","1355501864","1355501858"],"photo_ids_order":["1355501848","1355501851","1355501858","1355501864","1355501872","1355501873"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/ac34e911f2ba9af5c83b196e7a8e08d2.jpg","text":"TemporaryFile(/tmp/multipartBody3854144651511067570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222332833,"filename":"image_02052025_22_17_45_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/00ef97d1d368e01755bb86f6949779c8.jpg","text":"TemporaryFile(/tmp/multipartBody4412399668227131089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222332833,"filename":"image_02052025_22_17_05_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3ae5f8cc9e4127c495658c8bdb4bf4e2.jpg","text":"TemporaryFile(/tmp/multipartBody8967042367794706491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222332833,"filename":"image_02052025_22_17_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/5/2/70978b89220b153bd721e5dc1715ad9e.jpg","text":"TemporaryFile(/tmp/multipartBody3167520588093462372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222332833,"filename":"image_02052025_22_17_55_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a929646cfa089b93e32d1d872d91441e.jpg","text":"TemporaryFile(/tmp/multipartBody3973627750263814746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222332833,"filename":"image_02052025_22_17_35_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7b9110c16e33718499d1a7b1ed09f7dd.jpg","text":"TemporaryFile(/tmp/multipartBody4375944558599825459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222332833,"filename":"image_02052025_22_17_26_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501858","file1":"1355501851","file0":"1355501848","file4":"1355501872","file5":"1355501873","file3":"1355501864"},"map_files_photo_id_array":[{"photo_id":"1355501873","filename":"file5"},{"photo_id":"1355501858","filename":"file2"},{"photo_id":"1355501872","filename":"file4"},{"photo_id":"1355501851","filename":"file1"},{"photo_id":"1355501848","filename":"file0"},{"photo_id":"1355501864","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501872":["hashtag1","hashtag2"]},{"1355501848":["hashtag1","hashtag2"]},{"1355501851":["hashtag1","hashtag2"]},{"1355501873":["hashtag1","hashtag2"]},{"1355501864":["hashtag1","hashtag2"]},{"1355501858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501872, 1355501848, 1355501851, 1355501873, 1355501864, 1355501858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.50931143760681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:45:32.480795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/17/image_02052025_22_18_05_10360.jpg', '/home/pi/Desktop/images/02052025/22/18/image_02052025_22_18_16_10357.jpg', '/home/pi/Desktop/images/02052025/22/18/image_02052025_22_18_25_9406.jpg', '/home/pi/Desktop/images/02052025/22/18/image_02052025_22_18_35_10386.jpg', '/home/pi/Desktop/images/02052025/22/18/image_02052025_22_18_45_9421.jpg', '/home/pi/Desktop/images/02052025/22/18/image_02052025_22_18_55_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/17/image_02052025_22_18_05_10360.jpg
/home/pi/Desktop/images/02052025/22/18/image_02052025_22_18_16_10357.jpg
/home/pi/Desktop/images/02052025/22/18/image_02052025_22_18_25_9406.jpg
/home/pi/Desktop/images/02052025/22/18/image_02052025_22_18_35_10386.jpg
/home/pi/Desktop/images/02052025/22/18/image_02052025_22_18_45_9421.jpg
/home/pi/Desktop/images/02052025/22/18/image_02052025_22_18_55_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":["1355501933","1355501929","1355501926","1355501925","1355501922","1355501919"],"photo_ids_order":["1355501919","1355501922","1355501925","1355501926","1355501929","1355501933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0953f682532ea32d13a591ded7e5f942.jpg","text":"TemporaryFile(/tmp/multipartBody3210507439589169568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222392965,"filename":"image_02052025_22_18_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/5/2/1998a8f12e03939990728ec8e64e7f04.jpg","text":"TemporaryFile(/tmp/multipartBody1830250047439605763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222392965,"filename":"image_02052025_22_18_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/5/2/d351241305fa1ca860570c27a6c28806.jpg","text":"TemporaryFile(/tmp/multipartBody1385951829049572989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222392965,"filename":"image_02052025_22_18_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/147153e5cbea3a458fac094de5d114e4.jpg","text":"TemporaryFile(/tmp/multipartBody7384641855235867675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222392965,"filename":"image_02052025_22_18_25_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b7b4f9e67474c767fa44b77ea62d4ea3.jpg","text":"TemporaryFile(/tmp/multipartBody5401819202141080847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222392965,"filename":"image_02052025_22_18_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/5/2/00b27b827cc428474673a2cf05d0684a.jpg","text":"TemporaryFile(/tmp/multipartBody1836088427538380674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222392965,"filename":"image_02052025_22_18_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501925","file1":"1355501922","file0":"1355501919","file4":"1355501929","file5":"1355501933","file3":"1355501926"},"map_files_photo_id_array":[{"photo_id":"1355501933","filename":"file5"},{"photo_id":"1355501925","filename":"file2"},{"photo_id":"1355501929","filename":"file4"},{"photo_id":"1355501922","filename":"file1"},{"photo_id":"1355501919","filename":"file0"},{"photo_id":"1355501926","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501933":["hashtag1","hashtag2"]},{"1355501929":["hashtag1","hashtag2"]},{"1355501926":["hashtag1","hashtag2"]},{"1355501925":["hashtag1","hashtag2"]},{"1355501922":["hashtag1","hashtag2"]},{"1355501919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501933, 1355501929, 1355501926, 1355501925, 1355501922, 1355501919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.975358486175537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:46:32.814923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/18/image_02052025_22_19_06_10370.jpg', '/home/pi/Desktop/images/02052025/22/19/image_02052025_22_19_15_9341.jpg', '/home/pi/Desktop/images/02052025/22/19/image_02052025_22_19_25_10368.jpg', '/home/pi/Desktop/images/02052025/22/19/image_02052025_22_19_36_10343.jpg', '/home/pi/Desktop/images/02052025/22/19/image_02052025_22_19_45_9370.jpg', '/home/pi/Desktop/images/02052025/22/19/image_02052025_22_19_55_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/18/image_02052025_22_19_06_10370.jpg
/home/pi/Desktop/images/02052025/22/19/image_02052025_22_19_15_9341.jpg
/home/pi/Desktop/images/02052025/22/19/image_02052025_22_19_25_10368.jpg
/home/pi/Desktop/images/02052025/22/19/image_02052025_22_19_36_10343.jpg
/home/pi/Desktop/images/02052025/22/19/image_02052025_22_19_45_9370.jpg
/home/pi/Desktop/images/02052025/22/19/image_02052025_22_19_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":["1355501962","1355501961","1355501958","1355501952","1355501955","1355501960"],"photo_ids_order":["1355501952","1355501955","1355501958","1355501960","1355501961","1355501962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/31c8f7626a1807c27f048c89204a3677.jpg","text":"TemporaryFile(/tmp/multipartBody8171684778552190328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222453307,"filename":"image_02052025_22_19_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/5/2/05d87c94aa01af81d40010e6e1809c10.jpg","text":"TemporaryFile(/tmp/multipartBody538099843718040901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222453307,"filename":"image_02052025_22_19_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/5/2/4846f8febc2e7b906f60d42e31fd18c3.jpg","text":"TemporaryFile(/tmp/multipartBody8904507300012977824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222453307,"filename":"image_02052025_22_19_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/5/2/0742dac320b4e5bbe49635bb809e4105.jpg","text":"TemporaryFile(/tmp/multipartBody7507563418005583172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222453307,"filename":"image_02052025_22_19_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/5/2/f35da9baeac654122d9cea62a2dce2cc.jpg","text":"TemporaryFile(/tmp/multipartBody2331203216391852269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222453307,"filename":"image_02052025_22_19_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/5/2/563bc6252674d23515e7c2a77d69c4a7.jpg","text":"TemporaryFile(/tmp/multipartBody4630371444587964564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222453307,"filename":"image_02052025_22_19_36_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501958","file1":"1355501955","file0":"1355501952","file4":"1355501961","file5":"1355501962","file3":"1355501960"},"map_files_photo_id_array":[{"photo_id":"1355501962","filename":"file5"},{"photo_id":"1355501958","filename":"file2"},{"photo_id":"1355501961","filename":"file4"},{"photo_id":"1355501955","filename":"file1"},{"photo_id":"1355501952","filename":"file0"},{"photo_id":"1355501960","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501962":["hashtag1","hashtag2"]},{"1355501961":["hashtag1","hashtag2"]},{"1355501958":["hashtag1","hashtag2"]},{"1355501952":["hashtag1","hashtag2"]},{"1355501955":["hashtag1","hashtag2"]},{"1355501960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501962, 1355501961, 1355501958, 1355501952, 1355501955, 1355501960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.36353039741516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:47:33.039729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/19/image_02052025_22_20_05_9432.jpg', '/home/pi/Desktop/images/02052025/22/20/image_02052025_22_20_15_10425.jpg', '/home/pi/Desktop/images/02052025/22/20/image_02052025_22_20_26_10359.jpg', '/home/pi/Desktop/images/02052025/22/20/image_02052025_22_20_35_9425.jpg', '/home/pi/Desktop/images/02052025/22/20/image_02052025_22_20_45_10366.jpg', '/home/pi/Desktop/images/02052025/22/20/image_02052025_22_20_55_9509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/19/image_02052025_22_20_05_9432.jpg
/home/pi/Desktop/images/02052025/22/20/image_02052025_22_20_15_10425.jpg
/home/pi/Desktop/images/02052025/22/20/image_02052025_22_20_26_10359.jpg
/home/pi/Desktop/images/02052025/22/20/image_02052025_22_20_35_9425.jpg
/home/pi/Desktop/images/02052025/22/20/image_02052025_22_20_45_10366.jpg
/home/pi/Desktop/images/02052025/22/20/image_02052025_22_20_55_9509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355501986","1355501988","1355501982","1355501979","1355501975","1355501984"],"photo_ids_order":["1355501975","1355501979","1355501982","1355501984","1355501986","1355501988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6ed423d08f00e45fbfe73a0897c3647c.jpg","text":"TemporaryFile(/tmp/multipartBody99429111204441600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222513569,"filename":"image_02052025_22_20_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/99aa64b76ef34525bac19b046f5dff27.jpg","text":"TemporaryFile(/tmp/multipartBody71125685444586921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222513569,"filename":"image_02052025_22_20_55_9509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/149fe0a851119268925aecfc7859a248.jpg","text":"TemporaryFile(/tmp/multipartBody5923119801375021079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222513569,"filename":"image_02052025_22_20_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/5/2/5d79283d860de651d12f410af2383d7a.jpg","text":"TemporaryFile(/tmp/multipartBody8281582611782155829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222513569,"filename":"image_02052025_22_20_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/9ae1f033af8ef9609d79994741cc661d.jpg","text":"TemporaryFile(/tmp/multipartBody5500017431649267004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222513569,"filename":"image_02052025_22_20_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/5/2/e967a885fd06c44b8ec78fbd407ba9c1.jpg","text":"TemporaryFile(/tmp/multipartBody5844110133558458173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222513569,"filename":"image_02052025_22_20_35_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355501982","file1":"1355501979","file0":"1355501975","file4":"1355501986","file5":"1355501988","file3":"1355501984"},"map_files_photo_id_array":[{"photo_id":"1355501988","filename":"file5"},{"photo_id":"1355501982","filename":"file2"},{"photo_id":"1355501986","filename":"file4"},{"photo_id":"1355501979","filename":"file1"},{"photo_id":"1355501975","filename":"file0"},{"photo_id":"1355501984","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355501986":["hashtag1","hashtag2"]},{"1355501988":["hashtag1","hashtag2"]},{"1355501982":["hashtag1","hashtag2"]},{"1355501979":["hashtag1","hashtag2"]},{"1355501975":["hashtag1","hashtag2"]},{"1355501984":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355501986, 1355501988, 1355501982, 1355501979, 1355501975, 1355501984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.482659816741943 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:48:33.101776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/20/image_02052025_22_21_05_10360.jpg', '/home/pi/Desktop/images/02052025/22/21/image_02052025_22_21_16_10365.jpg', '/home/pi/Desktop/images/02052025/22/21/image_02052025_22_21_25_9353.jpg', '/home/pi/Desktop/images/02052025/22/21/image_02052025_22_21_35_10361.jpg', '/home/pi/Desktop/images/02052025/22/21/image_02052025_22_21_55_10426.jpg', '/home/pi/Desktop/images/02052025/22/21/image_02052025_22_22_06_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/20/image_02052025_22_21_05_10360.jpg
/home/pi/Desktop/images/02052025/22/21/image_02052025_22_21_16_10365.jpg
/home/pi/Desktop/images/02052025/22/21/image_02052025_22_21_25_9353.jpg
/home/pi/Desktop/images/02052025/22/21/image_02052025_22_21_35_10361.jpg
/home/pi/Desktop/images/02052025/22/21/image_02052025_22_21_55_10426.jpg
/home/pi/Desktop/images/02052025/22/21/image_02052025_22_22_06_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":["1355502029","1355502031","1355502019","1355502010","1355502013","1355502035"],"photo_ids_order":["1355502010","1355502013","1355502019","1355502029","1355502031","1355502035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0157a6ef4f63c052e9fc294c51bcaf86.jpg","text":"TemporaryFile(/tmp/multipartBody4219528333345396034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222573639,"filename":"image_02052025_22_21_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/5/2/3c45f66e20818ded44834f5e8790c997.jpg","text":"TemporaryFile(/tmp/multipartBody78684815835957883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222573639,"filename":"image_02052025_22_21_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/5/2/8b44c4c2dac947ee2d71966e0b141055.jpg","text":"TemporaryFile(/tmp/multipartBody5282063989991837334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222573639,"filename":"image_02052025_22_21_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/221f5defd2dae8470fbf5ec7dc63ade4.jpg","text":"TemporaryFile(/tmp/multipartBody2202960106388080858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222573639,"filename":"image_02052025_22_21_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/5/2/99b8d4e8e0850fe814bf56339785061e.jpg","text":"TemporaryFile(/tmp/multipartBody2466252607023843327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222573639,"filename":"image_02052025_22_21_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f2cccf74b8e1e6ffde91d35d007551be.jpg","text":"TemporaryFile(/tmp/multipartBody3944269614726582770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222573639,"filename":"image_02052025_22_22_06_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355502019","file1":"1355502013","file0":"1355502010","file4":"1355502031","file5":"1355502035","file3":"1355502029"},"map_files_photo_id_array":[{"photo_id":"1355502035","filename":"file5"},{"photo_id":"1355502019","filename":"file2"},{"photo_id":"1355502031","filename":"file4"},{"photo_id":"1355502013","filename":"file1"},{"photo_id":"1355502010","filename":"file0"},{"photo_id":"1355502029","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355502029":["hashtag1","hashtag2"]},{"1355502031":["hashtag1","hashtag2"]},{"1355502019":["hashtag1","hashtag2"]},{"1355502010":["hashtag1","hashtag2"]},{"1355502013":["hashtag1","hashtag2"]},{"1355502035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355502029, 1355502031, 1355502019, 1355502010, 1355502013, 1355502035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.414896726608276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:49:32.420135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/22/image_02052025_22_22_15_9447.jpg', '/home/pi/Desktop/images/02052025/22/22/image_02052025_22_22_25_10380.jpg', '/home/pi/Desktop/images/02052025/22/22/image_02052025_22_22_35_9360.jpg', '/home/pi/Desktop/images/02052025/22/22/image_02052025_22_22_56_10357.jpg', '/home/pi/Desktop/images/02052025/22/22/image_02052025_22_23_05_9343.jpg', '/home/pi/Desktop/images/02052025/22/23/image_02052025_22_23_15_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/22/image_02052025_22_22_15_9447.jpg
/home/pi/Desktop/images/02052025/22/22/image_02052025_22_22_25_10380.jpg
/home/pi/Desktop/images/02052025/22/22/image_02052025_22_22_35_9360.jpg
/home/pi/Desktop/images/02052025/22/22/image_02052025_22_22_56_10357.jpg
/home/pi/Desktop/images/02052025/22/22/image_02052025_22_23_05_9343.jpg
/home/pi/Desktop/images/02052025/22/23/image_02052025_22_23_15_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":["1355502061","1355502060","1355502063","1355502057","1355502062","1355502059"],"photo_ids_order":["1355502057","1355502059","1355502060","1355502061","1355502062","1355502063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/44ce89afe560e0098b21d11197150f6d.jpg","text":"TemporaryFile(/tmp/multipartBody6190885861926119029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222632890,"filename":"image_02052025_22_22_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/5/2/0ebd0c9ff4f98ec29c8380dad1a565c1.jpg","text":"TemporaryFile(/tmp/multipartBody8171914586810624556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222632890,"filename":"image_02052025_22_22_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/5/2/bb8eaad0babcbdbde0666daa9782fe84.jpg","text":"TemporaryFile(/tmp/multipartBody8195816313126957577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222632890,"filename":"image_02052025_22_23_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/5/2/615074d489d3fd3709acf1c22c5d525d.jpg","text":"TemporaryFile(/tmp/multipartBody334536873045987155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222632890,"filename":"image_02052025_22_22_15_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0b0b3dc4bfebfcf44e9b867f30dcb0c9.jpg","text":"TemporaryFile(/tmp/multipartBody6904842210022810491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222632890,"filename":"image_02052025_22_23_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/5/2/34ff5c34409f4bb3863145c3e5854e45.jpg","text":"TemporaryFile(/tmp/multipartBody4724716331994972740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222632890,"filename":"image_02052025_22_22_25_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355502060","file1":"1355502059","file0":"1355502057","file4":"1355502062","file5":"1355502063","file3":"1355502061"},"map_files_photo_id_array":[{"photo_id":"1355502063","filename":"file5"},{"photo_id":"1355502060","filename":"file2"},{"photo_id":"1355502062","filename":"file4"},{"photo_id":"1355502059","filename":"file1"},{"photo_id":"1355502057","filename":"file0"},{"photo_id":"1355502061","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355502061":["hashtag1","hashtag2"]},{"1355502060":["hashtag1","hashtag2"]},{"1355502063":["hashtag1","hashtag2"]},{"1355502057":["hashtag1","hashtag2"]},{"1355502062":["hashtag1","hashtag2"]},{"1355502059":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355502061, 1355502060, 1355502063, 1355502057, 1355502062, 1355502059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91655254364014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:50:32.731345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/23/image_02052025_22_23_26_10439.jpg', '/home/pi/Desktop/images/02052025/22/23/image_02052025_22_23_35_9376.jpg', '/home/pi/Desktop/images/02052025/22/23/image_02052025_22_23_45_10439.jpg', '/home/pi/Desktop/images/02052025/22/23/image_02052025_22_23_55_9398.jpg', '/home/pi/Desktop/images/02052025/22/23/image_02052025_22_24_05_10368.jpg', '/home/pi/Desktop/images/02052025/22/24/image_02052025_22_24_15_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/23/image_02052025_22_23_26_10439.jpg
/home/pi/Desktop/images/02052025/22/23/image_02052025_22_23_35_9376.jpg
/home/pi/Desktop/images/02052025/22/23/image_02052025_22_23_45_10439.jpg
/home/pi/Desktop/images/02052025/22/23/image_02052025_22_23_55_9398.jpg
/home/pi/Desktop/images/02052025/22/23/image_02052025_22_24_05_10368.jpg
/home/pi/Desktop/images/02052025/22/24/image_02052025_22_24_15_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":["1355502097","1355502124","1355502112","1355502084","1355502086","1355502089"],"photo_ids_order":["1355502084","1355502086","1355502089","1355502097","1355502112","1355502124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/4f8ce8343d0b1ecaa6dc5fdbe1ae3fb6.jpg","text":"TemporaryFile(/tmp/multipartBody271893504600790343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222693232,"filename":"image_02052025_22_23_55_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/41095180756ac3fce94300aa8ff4b7e5.jpg","text":"TemporaryFile(/tmp/multipartBody7265920590497505576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222693232,"filename":"image_02052025_22_24_15_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a4d7fdc4970f416a4d575700c51d2e90.jpg","text":"TemporaryFile(/tmp/multipartBody7765034316704716064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222693232,"filename":"image_02052025_22_24_05_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b44fcef2ed653e05d8ad50c882b87735.jpg","text":"TemporaryFile(/tmp/multipartBody1721703634920888047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222693232,"filename":"image_02052025_22_23_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/5/2/ec88fc684ea197c55d38f975d1c1f9d4.jpg","text":"TemporaryFile(/tmp/multipartBody931089540668525825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222693232,"filename":"image_02052025_22_23_35_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/273e722fe15883b53577a5dd886381ca.jpg","text":"TemporaryFile(/tmp/multipartBody922655680495292689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222693232,"filename":"image_02052025_22_23_45_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355502089","file1":"1355502086","file0":"1355502084","file4":"1355502112","file5":"1355502124","file3":"1355502097"},"map_files_photo_id_array":[{"photo_id":"1355502124","filename":"file5"},{"photo_id":"1355502089","filename":"file2"},{"photo_id":"1355502112","filename":"file4"},{"photo_id":"1355502086","filename":"file1"},{"photo_id":"1355502084","filename":"file0"},{"photo_id":"1355502097","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355502097":["hashtag1","hashtag2"]},{"1355502124":["hashtag1","hashtag2"]},{"1355502112":["hashtag1","hashtag2"]},{"1355502084":["hashtag1","hashtag2"]},{"1355502086":["hashtag1","hashtag2"]},{"1355502089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355502097, 1355502124, 1355502112, 1355502084, 1355502086, 1355502089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.453245639801025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:51:32.732660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/24/image_02052025_22_24_25_10376.jpg', '/home/pi/Desktop/images/02052025/22/24/image_02052025_22_24_35_10359.jpg', '/home/pi/Desktop/images/02052025/22/24/image_02052025_22_24_45_9439.jpg', '/home/pi/Desktop/images/02052025/22/24/image_02052025_22_24_55_10368.jpg', '/home/pi/Desktop/images/02052025/22/24/image_02052025_22_25_06_10347.jpg', '/home/pi/Desktop/images/02052025/22/25/image_02052025_22_25_15_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/24/image_02052025_22_24_25_10376.jpg
/home/pi/Desktop/images/02052025/22/24/image_02052025_22_24_35_10359.jpg
/home/pi/Desktop/images/02052025/22/24/image_02052025_22_24_45_9439.jpg
/home/pi/Desktop/images/02052025/22/24/image_02052025_22_24_55_10368.jpg
/home/pi/Desktop/images/02052025/22/24/image_02052025_22_25_06_10347.jpg
/home/pi/Desktop/images/02052025/22/25/image_02052025_22_25_15_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355502175","1355502172","1355502160","1355502177","1355502171","1355502173"],"photo_ids_order":["1355502160","1355502171","1355502172","1355502173","1355502175","1355502177"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/caad371ffd97fafd08b6299992fd1e15.jpg","text":"TemporaryFile(/tmp/multipartBody5478809988455800765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222753202,"filename":"image_02052025_22_25_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/5/2/25d43d3e4710b0946d8d3f4865fb46f5.jpg","text":"TemporaryFile(/tmp/multipartBody6423295642800071916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222753202,"filename":"image_02052025_22_24_45_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/6d8bd34ed95bf8451c0805970bdb5335.jpg","text":"TemporaryFile(/tmp/multipartBody6007437974184487999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222753202,"filename":"image_02052025_22_24_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/455f8397d20b57bdc4a95e328ea92595.jpg","text":"TemporaryFile(/tmp/multipartBody2845896499068598110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222753202,"filename":"image_02052025_22_25_15_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/f027c8f6d700c1410287c08d578feb89.jpg","text":"TemporaryFile(/tmp/multipartBody7622048652577570490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222753202,"filename":"image_02052025_22_24_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/0fb4b96c1ea8ea07c2e38d71fbd324e8.jpg","text":"TemporaryFile(/tmp/multipartBody4500353852768405291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222753202,"filename":"image_02052025_22_24_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355502172","file1":"1355502171","file0":"1355502160","file4":"1355502175","file5":"1355502177","file3":"1355502173"},"map_files_photo_id_array":[{"photo_id":"1355502177","filename":"file5"},{"photo_id":"1355502172","filename":"file2"},{"photo_id":"1355502175","filename":"file4"},{"photo_id":"1355502171","filename":"file1"},{"photo_id":"1355502160","filename":"file0"},{"photo_id":"1355502173","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355502175":["hashtag1","hashtag2"]},{"1355502172":["hashtag1","hashtag2"]},{"1355502160":["hashtag1","hashtag2"]},{"1355502177":["hashtag1","hashtag2"]},{"1355502171":["hashtag1","hashtag2"]},{"1355502173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355502175, 1355502172, 1355502160, 1355502177, 1355502171, 1355502173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17107939720154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:52:33.084657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/25/image_02052025_22_25_26_10470.jpg', '/home/pi/Desktop/images/02052025/22/25/image_02052025_22_25_35_9380.jpg', '/home/pi/Desktop/images/02052025/22/25/image_02052025_22_25_45_10354.jpg', '/home/pi/Desktop/images/02052025/22/25/image_02052025_22_25_56_10346.jpg', '/home/pi/Desktop/images/02052025/22/25/image_02052025_22_26_05_9426.jpg', '/home/pi/Desktop/images/02052025/22/26/image_02052025_22_26_15_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/25/image_02052025_22_25_26_10470.jpg
/home/pi/Desktop/images/02052025/22/25/image_02052025_22_25_35_9380.jpg
/home/pi/Desktop/images/02052025/22/25/image_02052025_22_25_45_10354.jpg
/home/pi/Desktop/images/02052025/22/25/image_02052025_22_25_56_10346.jpg
/home/pi/Desktop/images/02052025/22/25/image_02052025_22_26_05_9426.jpg
/home/pi/Desktop/images/02052025/22/26/image_02052025_22_26_15_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355502209","1355502200","1355502219","1355502213","1355502197","1355502216"],"photo_ids_order":["1355502197","1355502200","1355502209","1355502213","1355502216","1355502219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bd0ddd37e0f9b161f49922edd662144f.jpg","text":"TemporaryFile(/tmp/multipartBody9781481199487190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222813556,"filename":"image_02052025_22_25_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/5/2/fe0af449d17c2771bc1fefa30398a3c2.jpg","text":"TemporaryFile(/tmp/multipartBody5785490630039846682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222813556,"filename":"image_02052025_22_25_35_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/918078e65a7abb2a7498b78c63632344.jpg","text":"TemporaryFile(/tmp/multipartBody4677390194953910784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222813556,"filename":"image_02052025_22_26_15_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/65adab6f09684bf5c6c484d29a90ac31.jpg","text":"TemporaryFile(/tmp/multipartBody9059446867277595243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222813556,"filename":"image_02052025_22_25_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/5/2/65ef7f26e6e8263ad931bec0e7d90614.jpg","text":"TemporaryFile(/tmp/multipartBody3785175752748319478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222813556,"filename":"image_02052025_22_25_26_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/7076f69656b6f5751f9873ae363034f8.jpg","text":"TemporaryFile(/tmp/multipartBody1333263794018567585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222813556,"filename":"image_02052025_22_26_05_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355502209","file1":"1355502200","file0":"1355502197","file4":"1355502216","file5":"1355502219","file3":"1355502213"},"map_files_photo_id_array":[{"photo_id":"1355502219","filename":"file5"},{"photo_id":"1355502209","filename":"file2"},{"photo_id":"1355502216","filename":"file4"},{"photo_id":"1355502200","filename":"file1"},{"photo_id":"1355502197","filename":"file0"},{"photo_id":"1355502213","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355502209":["hashtag1","hashtag2"]},{"1355502200":["hashtag1","hashtag2"]},{"1355502219":["hashtag1","hashtag2"]},{"1355502213":["hashtag1","hashtag2"]},{"1355502197":["hashtag1","hashtag2"]},{"1355502216":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355502209, 1355502200, 1355502219, 1355502213, 1355502197, 1355502216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.473951816558838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:53:32.216211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/26/image_02052025_22_26_25_9430.jpg', '/home/pi/Desktop/images/02052025/22/26/image_02052025_22_26_35_10420.jpg', '/home/pi/Desktop/images/02052025/22/26/image_02052025_22_26_55_9389.jpg', '/home/pi/Desktop/images/02052025/22/26/image_02052025_22_27_05_10373.jpg', '/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_15_9448.jpg', '/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_25_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/26/image_02052025_22_26_25_9430.jpg
/home/pi/Desktop/images/02052025/22/26/image_02052025_22_26_35_10420.jpg
/home/pi/Desktop/images/02052025/22/26/image_02052025_22_26_55_9389.jpg
/home/pi/Desktop/images/02052025/22/26/image_02052025_22_27_05_10373.jpg
/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_15_9448.jpg
/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_25_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355502262","1355502259","1355502253","1355502255","1355502249","1355502251"],"photo_ids_order":["1355502249","1355502251","1355502253","1355502255","1355502259","1355502262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/aa6aa7be3c10da14d434c4972fc482ac.jpg","text":"TemporaryFile(/tmp/multipartBody3718804191652270018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222872685,"filename":"image_02052025_22_27_25_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/e145101723e224bb714af24fae861ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2468830918521194958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222872685,"filename":"image_02052025_22_27_15_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/3f91b7e5e8450264ad132263c86aa3ab.jpg","text":"TemporaryFile(/tmp/multipartBody2924398866470347566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222872685,"filename":"image_02052025_22_26_55_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/dbdea186ec2439bfb4db4a1e4cd1402f.jpg","text":"TemporaryFile(/tmp/multipartBody6084896970976408855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222872685,"filename":"image_02052025_22_27_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/2336e9bbdddbf32a82a9a84108bec2b1.jpg","text":"TemporaryFile(/tmp/multipartBody8655100095885022661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222872685,"filename":"image_02052025_22_26_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/5/2/3639797d86e34d55b5f187313f721335.jpg","text":"TemporaryFile(/tmp/multipartBody7020947599745429014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222872685,"filename":"image_02052025_22_26_35_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355502253","file1":"1355502251","file0":"1355502249","file4":"1355502259","file5":"1355502262","file3":"1355502255"},"map_files_photo_id_array":[{"photo_id":"1355502262","filename":"file5"},{"photo_id":"1355502253","filename":"file2"},{"photo_id":"1355502259","filename":"file4"},{"photo_id":"1355502251","filename":"file1"},{"photo_id":"1355502249","filename":"file0"},{"photo_id":"1355502255","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355502262":["hashtag1","hashtag2"]},{"1355502259":["hashtag1","hashtag2"]},{"1355502253":["hashtag1","hashtag2"]},{"1355502255":["hashtag1","hashtag2"]},{"1355502249":["hashtag1","hashtag2"]},{"1355502251":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355502262, 1355502259, 1355502253, 1355502255, 1355502249, 1355502251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.631699562072754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:54:32.367950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_36_10284.jpg', '/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_45_9468.jpg', '/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_55_10372.jpg', '/home/pi/Desktop/images/02052025/22/27/image_02052025_22_28_05_9342.jpg', '/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_25_10369.jpg', '/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_35_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_36_10284.jpg
/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_45_9468.jpg
/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_55_10372.jpg
/home/pi/Desktop/images/02052025/22/27/image_02052025_22_28_05_9342.jpg
/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_25_10369.jpg
/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_35_9424.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38442063331604004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-05-02 23:54:42.390622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_36_10284.jpg', '/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_45_9468.jpg', '/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_55_10372.jpg', '/home/pi/Desktop/images/02052025/22/27/image_02052025_22_28_05_9342.jpg', '/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_25_10369.jpg', '/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_35_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_36_10284.jpg
/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_45_9468.jpg
/home/pi/Desktop/images/02052025/22/27/image_02052025_22_27_55_10372.jpg
/home/pi/Desktop/images/02052025/22/27/image_02052025_22_28_05_9342.jpg
/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_25_10369.jpg
/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_35_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":["1355502307","1355502301","1355502303","1355502296","1355502293","1355502302"],"photo_ids_order":["1355502293","1355502296","1355502301","1355502302","1355502303","1355502307"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5ef35426db967ec147bc54136473a871.jpg","text":"TemporaryFile(/tmp/multipartBody6014344931466072962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222942877,"filename":"image_02052025_22_28_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/5/2/54207048192475c0cf6a55822734592e.jpg","text":"TemporaryFile(/tmp/multipartBody4554601149488530049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222942877,"filename":"image_02052025_22_27_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/578d691d9d7c6acf3b719e017a12bced.jpg","text":"TemporaryFile(/tmp/multipartBody533731741403207857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222942877,"filename":"image_02052025_22_28_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c2caf168690590ba616ea1f9749b27eb.jpg","text":"TemporaryFile(/tmp/multipartBody4639789842358019208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222942877,"filename":"image_02052025_22_27_45_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/b4ce82051487785482c8a9f2874eab6a.jpg","text":"TemporaryFile(/tmp/multipartBody7779713131768616404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222942877,"filename":"image_02052025_22_27_36_10284.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/bdea82bde194330dd6959ded7b0ba83d.jpg","text":"TemporaryFile(/tmp/multipartBody2114820932980096101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222942877,"filename":"image_02052025_22_28_05_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355502301","file1":"1355502296","file0":"1355502293","file4":"1355502303","file5":"1355502307","file3":"1355502302"},"map_files_photo_id_array":[{"photo_id":"1355502307","filename":"file5"},{"photo_id":"1355502301","filename":"file2"},{"photo_id":"1355502303","filename":"file4"},{"photo_id":"1355502296","filename":"file1"},{"photo_id":"1355502293","filename":"file0"},{"photo_id":"1355502302","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355502307":["hashtag1","hashtag2"]},{"1355502301":["hashtag1","hashtag2"]},{"1355502303":["hashtag1","hashtag2"]},{"1355502296":["hashtag1","hashtag2"]},{"1355502293":["hashtag1","hashtag2"]},{"1355502302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355502307, 1355502301, 1355502303, 1355502296, 1355502293, 1355502302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09472465515137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:55:32.530734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_45_10382.jpg', '/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_56_10378.jpg', '/home/pi/Desktop/images/02052025/22/28/image_02052025_22_29_05_9366.jpg', '/home/pi/Desktop/images/02052025/22/29/image_02052025_22_29_15_10357.jpg', '/home/pi/Desktop/images/02052025/22/29/image_02052025_22_29_25_9357.jpg', '/home/pi/Desktop/images/02052025/22/29/image_02052025_22_29_35_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_45_10382.jpg
/home/pi/Desktop/images/02052025/22/28/image_02052025_22_28_56_10378.jpg
/home/pi/Desktop/images/02052025/22/28/image_02052025_22_29_05_9366.jpg
/home/pi/Desktop/images/02052025/22/29/image_02052025_22_29_15_10357.jpg
/home/pi/Desktop/images/02052025/22/29/image_02052025_22_29_25_9357.jpg
/home/pi/Desktop/images/02052025/22/29/image_02052025_22_29_35_10456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355502328","1355502330","1355502324","1355502326","1355502320","1355502317"],"photo_ids_order":["1355502317","1355502320","1355502324","1355502326","1355502328","1355502330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/5b72feb48e68a06ed3272ff3fd048a5b.jpg","text":"TemporaryFile(/tmp/multipartBody3737847260511034502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222993003,"filename":"image_02052025_22_29_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/5/2/719eab136326be340188ab0f5a4e1d53.jpg","text":"TemporaryFile(/tmp/multipartBody7285611500939440072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222993003,"filename":"image_02052025_22_29_35_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/a6ce8350cc23abcd0b274c4f2f71bd38.jpg","text":"TemporaryFile(/tmp/multipartBody4704445257891027959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222993003,"filename":"image_02052025_22_29_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/5/2/a3727959f410136d6fd230ecb59f416c.jpg","text":"TemporaryFile(/tmp/multipartBody6114060147118491342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222993003,"filename":"image_02052025_22_29_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/5/2/eece1cb778cc31e43f5fc74ac432fae8.jpg","text":"TemporaryFile(/tmp/multipartBody835101781563060715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222993003,"filename":"image_02052025_22_28_56_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/d697e0f3aa645f252a64537c1950ab25.jpg","text":"TemporaryFile(/tmp/multipartBody1957509151201713138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746222993003,"filename":"image_02052025_22_28_45_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355502324","file1":"1355502320","file0":"1355502317","file4":"1355502328","file5":"1355502330","file3":"1355502326"},"map_files_photo_id_array":[{"photo_id":"1355502330","filename":"file5"},{"photo_id":"1355502324","filename":"file2"},{"photo_id":"1355502328","filename":"file4"},{"photo_id":"1355502320","filename":"file1"},{"photo_id":"1355502317","filename":"file0"},{"photo_id":"1355502326","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355502328":["hashtag1","hashtag2"]},{"1355502330":["hashtag1","hashtag2"]},{"1355502324":["hashtag1","hashtag2"]},{"1355502326":["hashtag1","hashtag2"]},{"1355502320":["hashtag1","hashtag2"]},{"1355502317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355502328, 1355502330, 1355502324, 1355502326, 1355502320, 1355502317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.868162393569946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:56:32.695889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/29/image_02052025_22_29_46_10349.jpg', '/home/pi/Desktop/images/02052025/22/29/image_02052025_22_29_55_9447.jpg', '/home/pi/Desktop/images/02052025/22/29/image_02052025_22_30_05_10356.jpg', '/home/pi/Desktop/images/02052025/22/30/image_02052025_22_30_16_10365.jpg', '/home/pi/Desktop/images/02052025/22/30/image_02052025_22_30_25_9478.jpg', '/home/pi/Desktop/images/02052025/22/30/image_02052025_22_30_36_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/29/image_02052025_22_29_46_10349.jpg
/home/pi/Desktop/images/02052025/22/29/image_02052025_22_29_55_9447.jpg
/home/pi/Desktop/images/02052025/22/29/image_02052025_22_30_05_10356.jpg
/home/pi/Desktop/images/02052025/22/30/image_02052025_22_30_16_10365.jpg
/home/pi/Desktop/images/02052025/22/30/image_02052025_22_30_25_9478.jpg
/home/pi/Desktop/images/02052025/22/30/image_02052025_22_30_36_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1355502466","1355502628","1355502678","1355502522","1355502408","1355502578"],"photo_ids_order":["1355502408","1355502466","1355502522","1355502578","1355502628","1355502678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/c48f9df46fa95f4d02da2b69292f6b1c.jpg","text":"TemporaryFile(/tmp/multipartBody8904956956109116689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746223053165,"filename":"image_02052025_22_29_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/5/2/ee000895ba9561363e061bc9c2862f5d.jpg","text":"TemporaryFile(/tmp/multipartBody6759724723293480256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746223053165,"filename":"image_02052025_22_30_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/5/2/ba1240460c38c21814167efd7d26c36e.jpg","text":"TemporaryFile(/tmp/multipartBody5847347750174464115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746223053165,"filename":"image_02052025_22_30_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/5/2/14e086a228b0ed6bd39b92224250afca.jpg","text":"TemporaryFile(/tmp/multipartBody3449918412465088991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746223053165,"filename":"image_02052025_22_30_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/2/eff7c5fe3362a9e68ce15c2e3d9b7f6d.jpg","text":"TemporaryFile(/tmp/multipartBody8680200624505445572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746223053165,"filename":"image_02052025_22_29_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/5/2/4b83bb671e98c5942fea3f4120aba942.jpg","text":"TemporaryFile(/tmp/multipartBody3055507703651009327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1746223053165,"filename":"image_02052025_22_30_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1355502522","file1":"1355502466","file0":"1355502408","file4":"1355502628","file5":"1355502678","file3":"1355502578"},"map_files_photo_id_array":[{"photo_id":"1355502678","filename":"file5"},{"photo_id":"1355502522","filename":"file2"},{"photo_id":"1355502628","filename":"file4"},{"photo_id":"1355502466","filename":"file1"},{"photo_id":"1355502408","filename":"file0"},{"photo_id":"1355502578","filename":"file3"}],"portfolio_id":22589093,"hashtag_by_photo_ids":[{"1355502466":["hashtag1","hashtag2"]},{"1355502628":["hashtag1","hashtag2"]},{"1355502678":["hashtag1","hashtag2"]},{"1355502522":["hashtag1","hashtag2"]},{"1355502408":["hashtag1","hashtag2"]},{"1355502578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22589093 used, photo_id : ArrayBuffer(1355502466, 1355502628, 1355502678, 1355502522, 1355502408, 1355502578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.809284925460815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-05-02 23:57:32.797844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250502 ORDER BY id_local ASC LIMIT 6;
  port_id : 22589093
  datou_current_id : 2781402
in upload_from_sqlite, uploading in 22589093
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02052025/22/30/image_02052025_22_30_45_9474.jpg', '/home/pi/Desktop/images/02052025/22/30/image_02052025_22_30_55_10365.jpg', '/home/pi/Desktop/images/02052025/22/30/image_02052025_22_31_05_9333.jpg', '/home/pi/Desktop/images/02052025/22/31/image_02052025_22_31_15_10360.jpg', '/home/pi/Desktop/images/02052025/22/31/image_02052025_22_31_25_10377.jpg', '/home/pi/Desktop/images/02052025/22/31/image_02052025_22_31_35_9475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2781402&datou=0
/home/pi/Desktop/images/02052025/22/30/image_02052025_22_30_45_9474.jpg
/home/pi/Desktop/images/02052025/22/30/image_02052025_22_30_55_10365.jpg
/home/pi/Desktop/images/02052025/22/30/image_02052025_22_31_05_9333.jpg
/home/pi/Desktop/images/02052025/22/31/image_02052025_22_31_15_10360.jpg
/home/pi/Desktop/images/02052025/22/31/image_02052025_22_31_25_10377.jpg
/home/pi/Desktop/images/02052025/22/31/image_02052025_22_31_35_9475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
